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

References

include/llvm/IR/IRBuilder.h
 2355     return CreateInsertElement(Vec, NewElt, getInt64(Idx), Name);
 2492     V = CreateInsertElement(Undef, V, ConstantInt::get(I32Ty, 0),
lib/IR/AutoUpgrade.cpp
 1922       Rep = Builder.CreateInsertElement(CI->getArgOperand(0), EltOp,
 2244         Rep = Builder.CreateInsertElement(Rep, Load,
lib/IR/Core.cpp
 3878   return wrap(unwrap(B)->CreateInsertElement(unwrap(VecVal), unwrap(EltVal),
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  501       Value *const PartialInsert = B.CreateInsertElement(
  504           B.CreateInsertElement(PartialInsert, ReadLaneHi, B.getInt32(1));
  600       Value *const PartialInsert = B.CreateInsertElement(
  603           B.CreateInsertElement(PartialInsert, ReadFirstLaneHi, B.getInt32(1));
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  449       Value *NewVecValue = Builder.CreateInsertElement(VecValue,
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  222       NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx);
  271     return Builder.CreateInsertElement(NewOperands[0], NewOperands[1],
lib/Transforms/InstCombine/InstCombineCalls.cpp
 3208           Result = Builder.CreateInsertElement(Result, ExtractedElts[Idx],
lib/Transforms/InstCombine/InstCombineCasts.cpp
 2024     Result = IC.Builder.CreateInsertElement(Result, Elements[i],
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  920     Value *NewInsElt1 = Builder.CreateInsertElement(X, ScalarC, IdxC2);
 1045     Value *NewInsElt = Builder.CreateInsertElement(VecSrc, ScalarSrc, IdxOp);
 1541   Value *NewIns = Builder.CreateInsertElement(UndefVec, X, Zero);
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1356       ShadowVec = IRB.CreateInsertElement(
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1869     setShadow(&I, IRB.CreateInsertElement(getShadow(&I, 0), getShadow(&I, 1),
 2668         ResultShadow = IRB.CreateInsertElement(
lib/Transforms/Scalar/SROA.cpp
 2218     V = IRB.CreateInsertElement(Old, V, IRB.getInt32(BeginIndex),
lib/Transforms/Scalar/Scalarizer.cpp
  706         V = Builder.CreateInsertElement(V, Op0[Op0I++], Builder.getInt32(MidI),
  843         Res = Builder.CreateInsertElement(Res, CV[I], Builder.getInt32(I),
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
 1059             Builder.CreateInsertElement(Vec, Extract, Builder.getInt32(NewIdx));
 1072           Builder.CreateInsertElement(Vec, Extract, Builder.getInt32(I));
lib/Transforms/Vectorize/LoopVectorize.cpp
 2103   VectorValue = Builder.CreateInsertElement(VectorValue, ScalarInst,
 3374         NewI = B.CreateInsertElement(O0, O1, IE->getOperand(2));
 3535     VectorInit = Builder.CreateInsertElement(
 3693         Builder.CreateInsertElement(Identity, ReductionStartValue, Zero);
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3620     Vec = Builder.CreateInsertElement(Vec, VL[i], Builder.getInt32(i));
tools/clang/lib/CodeGen/CGBuiltin.cpp
 5223         CGF.Builder.CreateInsertElement(UndefValue::get(ArgTy), Ops[j], C0);
 5527     Ops[0] = Builder.CreateInsertElement(V, Ld, CI);
 6459     return Builder.CreateInsertElement(Ops[1], Ops[0], Ops[2], "vset_lane");
 6696     return Builder.CreateInsertElement(Ops[1], Ld, Ops[2], "vld1_lane");
 7043   Op = Builder.CreateInsertElement(V, Op, CI);
 7893     return Builder.CreateInsertElement(Ops[1], Ops[0], Ops[2], "vset_lane");
 7899     return Builder.CreateInsertElement(Ops[1], Ops[0], Ops[2], "vset_lane");
 7905     return Builder.CreateInsertElement(Ops[1], Ops[0], Ops[2], "vset_lane");
 9144     return Builder.CreateInsertElement(Ops[1], Ops[0], Ops[2], "vld1_lane");
 9156     Ops[0] = Builder.CreateInsertElement(V, Ops[0], CI);
 9484     Result = Builder.CreateInsertElement(Result, Ops[i], Builder.getInt32(i));
14268       return Builder.CreateInsertElement(Vec, Trunc, Lane);
14274       return Builder.CreateInsertElement(Vec, Val, Lane);
tools/clang/lib/CodeGen/CGExpr.cpp
 1934       Vec = Builder.CreateInsertElement(Vec, Src.getScalarVal(),
 2154     Vec = Builder.CreateInsertElement(Vec, SrcVal, Elt);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1623       NewV = Builder.CreateInsertElement(NewV, VExt, IIndx, "shuf_ins");
 1852       V = Builder.CreateInsertElement(V, Init, Builder.getInt32(CurIdx),
 1928     V = Builder.CreateInsertElement(V, Init, Idx, "vecinit");
tools/polly/lib/CodeGen/BlockGenerators.cpp
 1030     Vector = Builder.CreateInsertElement(
 1117     Vector = Builder.CreateInsertElement(
 1283     Vector = Builder.CreateInsertElement(Vector, ScalarMaps[i][Inst],
unittests/IR/IRBuilderTest.cpp
  775   Vec = Builder.CreateInsertElement(Vec, Elt1, Builder.getInt8(1));
unittests/IR/PatternMatch.cpp
  922   Value *VI2 = IRB.CreateInsertElement(VI1, Val2, Val);
  924   Value *VI4 = IRB.CreateInsertElement(VI1, IRB.getInt8(2), Val);