reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Constants.h
 1196   static Constant *getExtractElement(Constant *Vec, Constant *Idx,

References

include/llvm/Analysis/TargetFolder.h
  246     return Fold(ConstantExpr::getExtractElement(Vec, Idx));
include/llvm/IR/ConstantFolder.h
  254     return ConstantExpr::getExtractElement(Vec, Idx);
lib/Analysis/ConstantFolding.cpp
 1056     return ConstantExpr::getExtractElement(Ops[0], Ops[1]);
lib/AsmParser/LLParser.cpp
 3638       ID.ConstantVal = ConstantExpr::getExtractElement(Elts[0], Elts[1]);
lib/Bitcode/Reader/BitcodeReader.cpp
 2662       V = ConstantExpr::getExtractElement(Op0, Op1);
lib/IR/ConstantFold.cpp
   63       ConstantExpr::getExtractElement(CV, ConstantInt::get(Ty, i));
  581         ConstantExpr::getExtractElement(V, ConstantInt::get(Ty, i));
  745       Constant *V1Element = ConstantExpr::getExtractElement(V1,
  747       Constant *V2Element = ConstantExpr::getExtractElement(V2,
  850     Constant *C = ConstantExpr::getExtractElement(Val, ConstantInt::get(Ty, i));
  886         ConstantExpr::getExtractElement(V2,
  890       InElt = ConstantExpr::getExtractElement(V1, ConstantInt::get(Ty, Elt));
  975       Constant *Elt = ConstantExpr::getExtractElement(C, ExtractIdx);
 1313       Constant *LHS = ConstantExpr::getExtractElement(C1, ExtractIdx);
 1314       Constant *RHS = ConstantExpr::getExtractElement(C2, ExtractIdx);
 1928         ConstantExpr::getExtractElement(C1, ConstantInt::get(Ty, i));
 1930         ConstantExpr::getExtractElement(C2, ConstantInt::get(Ty, i));
lib/IR/Constants.cpp
 1267     return ConstantExpr::getExtractElement(Ops[0], Ops[1], OnlyIfReducedTy);
lib/IR/Core.cpp
 1772   return wrap(ConstantExpr::getExtractElement(unwrap<Constant>(VectorConstant),
unittests/IR/ConstantsTest.cpp
  288   CHECK(ConstantExpr::getExtractElement(P6, One), "extractelement <2 x i16> "
  291   EXPECT_EQ(Undef16, ConstantExpr::getExtractElement(P6, Two));
  292   EXPECT_EQ(Undef16, ConstantExpr::getExtractElement(P6, Big));
  293   EXPECT_EQ(Undef16, ConstantExpr::getExtractElement(P6, Undef64));
  295   EXPECT_EQ(Elt, ConstantExpr::getExtractElement(