Home
last modified time | relevance | path

Searched refs:CreateInsertElement (Results 1 – 25 of 25) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp170 VResult = Builder.CreateInsertElement(VResult, Load, Idx); in scalarizeMaskedLoad()
214 Value *NewVResult = Builder.CreateInsertElement(VResult, Load, Idx); in scalarizeMaskedLoad()
420 Builder.CreateInsertElement(VResult, Load, Idx, "Res" + Twine(Idx)); in scalarizeMaskedGather()
465 Builder.CreateInsertElement(VResult, Load, Idx, "Res" + Twine(Idx)); in scalarizeMaskedGather()
630 Builder.CreateInsertElement(VResult, Load, Idx, "Res" + Twine(Idx)); in scalarizeMaskedExpandLoad()
674 Value *NewVResult = Builder.CreateInsertElement(VResult, Load, Idx); in scalarizeMaskedExpandLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAtomicOptimizer.cpp502 Value *const PartialInsert = B.CreateInsertElement( in optimizeAtomic()
505 B.CreateInsertElement(PartialInsert, ReadLaneHi, B.getInt32(1)); in optimizeAtomic()
601 Value *const PartialInsert = B.CreateInsertElement( in optimizeAtomic()
604 B.CreateInsertElement(PartialInsert, ReadFirstLaneHi, B.getInt32(1)); in optimizeAtomic()
DAMDGPUCodeGenPrepare.cpp457 NewVal = Builder.CreateInsertElement(NewVal, Values[I], I); in insertValues()
595 NewFDiv = Builder.CreateInsertElement(NewFDiv, NewElt, I); in visitFDiv()
915 NewDiv = Builder.CreateInsertElement(NewDiv, NewElt, N); in visitBinaryOperator()
DAMDGPUPromoteAlloca.cpp451 Value *NewVecValue = Builder.CreateInsertElement(VecValue, in tryPromoteAllocaToVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp222 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
271 return Builder.CreateInsertElement(NewOperands[0], NewOperands[1], in remapConstantExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h257 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() function
DNoFolder.h322 Instruction *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() function
DIRBuilder.h2533 Value *CreateInsertElement(Value *Vec, Value *NewElt, Value *Idx,
2538 return Insert(Folder.CreateInsertElement(VC, NC, IC), Name);
2542 Value *CreateInsertElement(Value *Vec, Value *NewElt, uint64_t Idx,
2544 return CreateInsertElement(Vec, NewElt, getInt64(Idx), Name);
2685 V = CreateInsertElement(Undef, V, ConstantInt::get(I32Ty, 0),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h249 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp1402 return Builder.CreateInsertElement(A, Select, (uint64_t)0); in upgradeMaskedMove()
1819 Rep = Builder.CreateInsertElement(Vec, Elt0, (uint64_t)0); in UpgradeIntrinsicCall()
1944 Rep = Builder.CreateInsertElement(CI->getArgOperand(0), EltOp, in UpgradeIntrinsicCall()
2079 Rep = Builder.CreateInsertElement(CI->getArgOperand(0), Rep, (uint64_t)0); in UpgradeIntrinsicCall()
2083 Rep = Builder.CreateInsertElement(CI->getArgOperand(0), Rep, (uint64_t)0); in UpgradeIntrinsicCall()
2087 Rep = Builder.CreateInsertElement(CI->getArgOperand(0), Rep, (uint64_t)0); in UpgradeIntrinsicCall()
2266 Rep = Builder.CreateInsertElement(Rep, Load, in UpgradeIntrinsicCall()
3088 Rep = Builder.CreateInsertElement(CI->getArgOperand(0), Rep, in UpgradeIntrinsicCall()
3103 Rep = Builder.CreateInsertElement(Constant::getNullValue(CI->getType()), in UpgradeIntrinsicCall()
3161 Rep = Builder.CreateInsertElement(CI->getArgOperand(IsMask3 ? 2 : 0), in UpgradeIntrinsicCall()
DCore.cpp3879 return wrap(unwrap(B)->CreateInsertElement(unwrap(VecVal), unwrap(EltVal), in LLVMBuildInsertElement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp726 V = Builder.CreateInsertElement(V, Op0[Op0I++], Builder.getInt32(MidI), in visitBitCastInst()
863 Res = Builder.CreateInsertElement(Res, CV[I], Builder.getInt32(I), in finish()
DLowerMatrixIntrinsics.cpp775 Builder.CreateInsertElement(ResultColumn, Elt, C.index()); in LowerTranspose()
DSROA.cpp2215 V = IRB.CreateInsertElement(Old, V, IRB.getInt32(BeginIndex), in insertVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp1060 Builder.CreateInsertElement(Vec, Extract, Builder.getInt32(NewIdx)); in vectorizeStoreChain()
1073 Builder.CreateInsertElement(Vec, Extract, Builder.getInt32(I)); in vectorizeStoreChain()
DLoopVectorize.cpp2114 VectorValue = Builder.CreateInsertElement(VectorValue, ScalarInst, in packScalarIntoVectorValue()
3411 NewI = B.CreateInsertElement(O0, O1, IE->getOperand(2)); in truncateToMinimalBitwidths()
3565 VectorInit = Builder.CreateInsertElement( in fixFirstOrderRecurrence()
3733 Builder.CreateInsertElement(Identity, ReductionStartValue, Zero); in fixReduction()
DSLPVectorizer.cpp3941 Vec = Builder.CreateInsertElement(Vec, VL[i], Builder.getInt32(i)); in Gather()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp920 Value *NewInsElt1 = Builder.CreateInsertElement(X, ScalarC, IdxC2); in hoistInsEltConst()
1045 Value *NewInsElt = Builder.CreateInsertElement(VecSrc, ScalarSrc, IdxOp); in visitInsertElementInst()
1527 Value *NewIns = Builder.CreateInsertElement(UndefVec, X, Zero); in canonicalizeInsertSplat()
DInstCombineSimplifyDemanded.cpp1087 return Builder.CreateInsertElement(UndefValue::get(II->getType()), NewCall, in simplifyAMDGCNMemoryIntrinsicDemanded()
DInstCombineCalls.cpp2814 V = Builder.CreateInsertElement(Arg0, V, (uint64_t)0); in visitCallInst()
3301 Result = Builder.CreateInsertElement(Result, ExtractedElts[Idx], in visitCallInst()
DInstCombineCasts.cpp2084 Result = IC.Builder.CreateInsertElement(Result, Elements[i], in optimizeIntegerToVectorInsertions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1360 ShadowVec = IRB.CreateInsertElement( in storeShadow()
DMemorySanitizer.cpp1865 setShadow(&I, IRB.CreateInsertElement(getShadow(&I, 0), getShadow(&I, 1), in visitInsertElementInst()
2664 ResultShadow = IRB.CreateInsertElement( in handleVectorConvertIntrinsic()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactor.cpp1657 return V(jit->builder->CreateInsertElement(V(vector), V(element), V(createConstantInt(index)))); in createInsertElement()
/third_party/skia/src/core/
DSkVM.cpp2839 v = b->CreateInsertElement(v, F(vals[x]), (uint64_t)0); in setupLLVM()