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

References

include/llvm/IR/IRBuilder.h
 2341     return CreateExtractElement(Vec, getInt64(Idx), Name);
lib/IR/AutoUpgrade.cpp
 1909       Value *Elt0 = Builder.CreateExtractElement(CI->getArgOperand(0),
 1911       Value *Elt1 = Builder.CreateExtractElement(CI->getArgOperand(1),
lib/IR/Core.cpp
 3871   return wrap(unwrap(B)->CreateExtractElement(unwrap(VecVal), unwrap(Index),
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  463     Value *const ExtractLo = B.CreateExtractElement(BitCast, B.getInt32(0));
  464     Value *const ExtractHi = B.CreateExtractElement(BitCast, B.getInt32(1));
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  434       Value *ExtractElement = Builder.CreateExtractElement(VecValue, Index);
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  268     return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 3203               Builder.CreateExtractElement(Idx < 16 ? Op0ToUse : Op1ToUse,
lib/Transforms/InstCombine/InstCombineCasts.cpp
 2396           Builder.CreateExtractElement(Src,
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2808         Value *Extract = Builder.CreateExtractElement(Vec, Elem);
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  380     Value *E0 = Builder.CreateExtractElement(X, Index);
  381     Value *E1 = Builder.CreateExtractElement(Y, Index);
  390     Value *E0 = Builder.CreateExtractElement(X, Index);
  391     Value *E1 = Builder.CreateExtractElement(Y, Index);
  434         Value *EE = Builder.CreateExtractElement(CI->getOperand(0), Index);
 2047       auto *Ext = Builder.CreateExtractElement(
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1861     setShadow(&I, IRB.CreateExtractElement(getShadow(&I, 0), I.getOperand(1),
 2647       AggShadow = IRB.CreateExtractElement(
 2650         Value *MoreShadow = IRB.CreateExtractElement(
 2965         Value *Acc = IRB.CreateExtractElement(
 2969           Value *More = IRB.CreateExtractElement(
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  542       StoredValue = IRB.CreateExtractElement(
lib/Transforms/Scalar/SROA.cpp
 2194     V = IRB.CreateExtractElement(V, IRB.getInt32(BeginIndex),
lib/Transforms/Scalar/Scalarizer.cpp
  293     CV[I] = Builder.CreateExtractElement(V, Builder.getInt32(I),
lib/Transforms/Utils/LoopUtils.cpp
  800         Builder.CreateExtractElement(Src, Builder.getInt32(ExtractIdx));
  857   return Builder.CreateExtractElement(TmpVec, Builder.getInt32(0));
lib/Transforms/Utils/SimplifyLibCalls.cpp
 2112     Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0),
 2114     Cos = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 1),
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
 1053         Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(),
 1210         Value *V = Builder.CreateExtractElement(LI, Builder.getInt32(NewIdx),
 1232           Builder.CreateExtractElement(LI, Builder.getInt32(I), CV->getName());
lib/Transforms/Vectorize/LoopVectorize.cpp
 2092   return Builder.CreateExtractElement(U, Builder.getInt32(Instance.Lane));
 3379         NewI = B.CreateExtractElement(O0, EE->getOperand(2));
 3599     ExtractForScalar = Builder.CreateExtractElement(
 3609     ExtractForPhiUsedOutsideLoop = Builder.CreateExtractElement(
 7384       ConditionBit = State.Builder.CreateExtractElement(
lib/Transforms/Vectorize/SLPVectorizer.cpp
 4306       Value *Ex = Builder.CreateExtractElement(Vec, Lane);
 4331             Value *Ex = Builder.CreateExtractElement(Vec, Lane);
 4339         Value *Ex = Builder.CreateExtractElement(Vec, Lane);
 4346       Value *Ex = Builder.CreateExtractElement(Vec, Lane);
 6611     return Builder.CreateExtractElement(TmpVec, Builder.getInt32(0));
lib/Transforms/Vectorize/VPlan.cpp
  213     NewCond = State->Builder.CreateExtractElement(NewCond,
tools/clang/lib/CodeGen/CGBuiltin.cpp
 5230     return CGF.Builder.CreateExtractElement(Result, C0);
 6441     return Builder.CreateExtractElement(Ops[0], Ops[1], "vget_lane");
 6757     Ops[1] = Builder.CreateExtractElement(Ops[1], Ops[2]);
 7703     Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0");
 7704     Value *Op1 = Builder.CreateExtractElement(Vec, Idx1, "lane1");
 7716     Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0");
 7717     Value *Op1 = Builder.CreateExtractElement(Vec, Idx1, "lane1");
 7729     Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0");
 7730     Value *Op1 = Builder.CreateExtractElement(Vec, Idx1, "lane1");
 7910     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7915     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7920     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7925     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7930     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7935     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7940     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7945     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7950     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7955     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7960     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7965     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7971     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7977     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 8019     Ops[1] = Builder.CreateExtractElement(Ops[1], CI, "lane0");
 8107     Ops[2] = Builder.CreateExtractElement(Ops[2], EmitScalarExpr(E->getArg(3)),
 8116     Ops[1] = Builder.CreateExtractElement(Ops[1], CI, "lane0");
 8143     Ops[2] = Builder.CreateExtractElement(Ops[2], EmitScalarExpr(E->getArg(3)),
 8160     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 8164     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 8381       Ops[2] = Builder.CreateExtractElement(Ops[2], Ops[3], "extract");
 8417     Ops[2] = Builder.CreateExtractElement(Ops[2], Ops[3], "extract");
 8708     Ops[1] = Builder.CreateExtractElement(Ops[1], Ops[2], "extract");
 8723     Ops[1] = Builder.CreateExtractElement(Ops[1], Ops[2], "extract");
 9162     Ops[1] = Builder.CreateExtractElement(Ops[1], Ops[2]);
12818     return Builder.CreateExtractElement(Unpacked, Index);
14234     Value *Extract = Builder.CreateExtractElement(Vec, Lane);
tools/clang/lib/CodeGen/CGExpr.cpp
 1803     return RValue::get(Builder.CreateExtractElement(Load, LV.getVectorIdx(),
 1864     return RValue::get(Builder.CreateExtractElement(Vec, Elt));
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1620       Value *Indx = Builder.CreateExtractElement(Mask, IIndx, "shuf_idx");
 1622       Value *VExt = Builder.CreateExtractElement(LHS, Indx, "shuf_elt");
 1754   return Builder.CreateExtractElement(Base, Idx, "vecext");
tools/polly/lib/CodeGen/BlockGenerators.cpp
 1215       Value *Scalar = Builder.CreateExtractElement(Vector, Builder.getInt32(i));
 1256           Builder.CreateExtractElement(NewVector, Builder.getInt32(i));
unittests/IR/IRBuilderTest.cpp
  778   auto X2 = Builder.CreateExtractElement(Vec, Builder.getInt32(2));
unittests/IR/PatternMatch.cpp
  926   Value *EX1 = IRB.CreateExtractElement(VI4, Val);