Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp199 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedLoad()
301 Value *OneElt = Builder.CreateExtractElement(Src, Idx); in scalarizeMaskedStore()
330 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedStore()
343 Value *OneElt = Builder.CreateExtractElement(Src, Idx); in scalarizeMaskedStore()
416 Value *Ptr = Builder.CreateExtractElement(Ptrs, Idx, "Ptr" + Twine(Idx)); in scalarizeMaskedGather()
449 Predicate = Builder.CreateExtractElement(Mask, Idx, "Mask" + Twine(Idx)); in scalarizeMaskedGather()
461 Value *Ptr = Builder.CreateExtractElement(Ptrs, Idx, "Ptr" + Twine(Idx)); in scalarizeMaskedGather()
541 Builder.CreateExtractElement(Src, Idx, "Elt" + Twine(Idx)); in scalarizeMaskedScatter()
542 Value *Ptr = Builder.CreateExtractElement(Ptrs, Idx, "Ptr" + Twine(Idx)); in scalarizeMaskedScatter()
570 Predicate = Builder.CreateExtractElement(Mask, Idx, "Mask" + Twine(Idx)); in scalarizeMaskedScatter()
[all …]
DInterleavedAccessPass.cpp411 Extract->replaceAllUsesWith(Builder.CreateExtractElement(Vector, Index)); in tryReplaceExtracts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp446 Values.push_back(Builder.CreateExtractElement(V, I)); in extractValues()
585 Value *NumEltI = Builder.CreateExtractElement(Num, I); in visitFDiv()
586 Value *DenEltI = Builder.CreateExtractElement(Den, I); in visitFDiv()
910 Value *NumEltN = Builder.CreateExtractElement(Num, N); in visitBinaryOperator()
911 Value *DenEltN = Builder.CreateExtractElement(Den, N); in visitBinaryOperator()
DAMDGPUAtomicOptimizer.cpp464 Value *const ExtractLo = B.CreateExtractElement(BitCast, B.getInt32(0)); in optimizeAtomic()
465 Value *const ExtractHi = B.CreateExtractElement(BitCast, B.getInt32(1)); in optimizeAtomic()
DAMDGPUPromoteAlloca.cpp436 Value *ExtractElement = Builder.CreateExtractElement(VecValue, Index); in tryPromoteAllocaToVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp1000 Mask = Builder.CreateExtractElement(Mask, (uint64_t)0); in EmitX86ScalarSelect()
1399 Value* Extract1 = Builder.CreateExtractElement(B, (uint64_t)0); in upgradeMaskedMove()
1400 Value* Extract2 = Builder.CreateExtractElement(Src, (uint64_t)0); in upgradeMaskedMove()
1706 Builder.CreateExtractElement(Arg1, (uint64_t)0, "extractelement"); in UpgradeIntrinsicCall()
1747 Value *Elt = Builder.CreateExtractElement(BC0, (uint64_t)0); in UpgradeIntrinsicCall()
1815 Value *Elt0 = Builder.CreateExtractElement(Vec, (uint64_t)0); in UpgradeIntrinsicCall()
1931 Value *Elt0 = Builder.CreateExtractElement(CI->getArgOperand(0), in UpgradeIntrinsicCall()
1933 Value *Elt1 = Builder.CreateExtractElement(CI->getArgOperand(1), in UpgradeIntrinsicCall()
2085 Rep = Builder.CreateExtractElement(CI->getArgOperand(1), (uint64_t)0); in UpgradeIntrinsicCall()
3070 Ops[0] = Builder.CreateExtractElement(Ops[0], (uint64_t)0); in UpgradeIntrinsicCall()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp380 Value *E0 = Builder.CreateExtractElement(X, Index); in visitExtractElementInst()
381 Value *E1 = Builder.CreateExtractElement(Y, Index); in visitExtractElementInst()
390 Value *E0 = Builder.CreateExtractElement(X, Index); in visitExtractElementInst()
391 Value *E1 = Builder.CreateExtractElement(Y, Index); in visitExtractElementInst()
434 Value *EE = Builder.CreateExtractElement(CI->getOperand(0), Index); in visitExtractElementInst()
2049 auto *Ext = Builder.CreateExtractElement( in visitShuffleVectorInst()
DInstCombineCalls.cpp2773 Value *LHS = Builder.CreateExtractElement(Arg0, (uint64_t)0); in visitCallInst()
2774 Value *RHS = Builder.CreateExtractElement(Arg1, (uint64_t)0); in visitCallInst()
2806 Mask = Builder.CreateExtractElement(Mask, (uint64_t)0); in visitCallInst()
2808 Value *Passthru = Builder.CreateExtractElement(II->getArgOperand(2), in visitCallInst()
3296 Builder.CreateExtractElement(Idx < 16 ? Op0ToUse : Op1ToUse, in visitCallInst()
DInstCombineCasts.cpp2493 Builder.CreateExtractElement(Src, in visitBitCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp1054 Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(), in vectorizeStoreChain()
1211 Value *V = Builder.CreateExtractElement(LI, Builder.getInt32(NewIdx), in vectorizeLoadChain()
1233 Builder.CreateExtractElement(LI, Builder.getInt32(I), CV->getName()); in vectorizeLoadChain()
DVPlan.cpp214 NewCond = State->Builder.CreateExtractElement(NewCond, in execute()
DSLPVectorizer.cpp4652 Value *Ex = Builder.CreateExtractElement(Vec, Lane); in vectorizeTree()
4677 Value *Ex = Builder.CreateExtractElement(Vec, Lane); in vectorizeTree()
4685 Value *Ex = Builder.CreateExtractElement(Vec, Lane); in vectorizeTree()
4692 Value *Ex = Builder.CreateExtractElement(Vec, Lane); in vectorizeTree()
6956 return Builder.CreateExtractElement(TmpVec, Builder.getInt32(0)); in emitReduction()
DLoopVectorize.cpp2103 return Builder.CreateExtractElement(U, Builder.getInt32(Instance.Lane)); in getOrCreateScalarValue()
3416 NewI = B.CreateExtractElement(O0, EE->getOperand(2)); in truncateToMinimalBitwidths()
3639 ExtractForScalar = Builder.CreateExtractElement( in fixFirstOrderRecurrence()
3649 ExtractForPhiUsedOutsideLoop = Builder.CreateExtractElement( in fixFirstOrderRecurrence()
7457 ConditionBit = State.Builder.CreateExtractElement( in execute()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h253 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
DNoFolder.h318 Instruction *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
DIRBuilder.h2520 Value *CreateExtractElement(Value *Vec, Value *Idx,
2524 return Insert(Folder.CreateExtractElement(VC, IC), Name);
2528 Value *CreateExtractElement(Value *Vec, uint64_t Idx,
2530 return CreateExtractElement(Vec, getInt64(Idx), Name);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp268 return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]); in remapConstantExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h245 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerMatrixIntrinsics.cpp743 Value *RH = Builder.CreateExtractElement(Rhs.getColumn(J), K); in LowerMultiply()
771 Value *Elt = Builder.CreateExtractElement(C.value(), Row); in LowerTranspose()
DScalarizer.cpp303 CV[I] = Builder.CreateExtractElement(V, Builder.getInt32(I), in operator []()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp812 Builder.CreateExtractElement(Src, Builder.getInt32(ExtractIdx)); in getOrderedReduction()
869 return Builder.CreateExtractElement(TmpVec, Builder.getInt32(0)); in getShuffleReduction()
DSimplifyLibCalls.cpp2162 Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0), in insertSinCosCall()
2164 Cos = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 1), in insertSinCosCall()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactor.cpp312 jit->builder->CreateExtractElement(cmp, static_cast<uint64_t>(0)), retTy); in lowerSignMask()
316 jit->builder->CreateExtractElement(cmp, i), retTy); in lowerSignMask()
329 jit->builder->CreateExtractElement(cmp, static_cast<uint64_t>(0)), retTy); in lowerFPSignMask()
333 jit->builder->CreateExtractElement(cmp, i), retTy); in lowerFPSignMask()
1129 …jit->builder->CreateCondBr(jit->builder->CreateExtractElement(i1Mask, idx), thenBlock, mergeBlock); in createMaskedStore()
1248 …jit->builder->CreateCondBr(jit->builder->CreateExtractElement(i1Mask, idx), thenBlock, mergeBlock); in createScatter()
1251 auto el = jit->builder->CreateExtractElement(val, idx); in createScatter()
1252 auto elPtr = jit->builder->CreateExtractElement(elPtrs, idx); in createScatter()
1651 return V(jit->builder->CreateExtractElement(V(vector), V(createConstantInt(index)))); in createExtractElement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1857 setShadow(&I, IRB.CreateExtractElement(getShadow(&I, 0), I.getOperand(1), in visitExtractElementInst()
2643 AggShadow = IRB.CreateExtractElement( in handleVectorConvertIntrinsic()
2646 Value *MoreShadow = IRB.CreateExtractElement( in handleVectorConvertIntrinsic()
2689 Value *S1 = IRB.CreateExtractElement(S, (uint64_t)0); in LowerElementShadowExtend()
2966 Value *Acc = IRB.CreateExtractElement( in handleMaskedLoad()
2970 Value *More = IRB.CreateExtractElement( in handleMaskedLoad()
DThreadSanitizer.cpp543 StoredValue = IRB.CreateExtractElement( in instrumentLoadOrStore()

12