Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp196 Builder.CreateExtractElement(Mask, Builder.getInt32(Idx)); in scalarizeMaskedLoad()
301 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx)); in scalarizeMaskedStore()
318 Builder.CreateExtractElement(Mask, Builder.getInt32(Idx)); in scalarizeMaskedStore()
332 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx)); in scalarizeMaskedStore()
413 Value *Ptr = Builder.CreateExtractElement(Ptrs, Builder.getInt32(Idx), in scalarizeMaskedGather()
444 Value *Predicate = Builder.CreateExtractElement(Mask, Builder.getInt32(Idx), in scalarizeMaskedGather()
459 Value *Ptr = Builder.CreateExtractElement(Ptrs, Builder.getInt32(Idx), in scalarizeMaskedGather()
540 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx), in scalarizeMaskedScatter()
542 Value *Ptr = Builder.CreateExtractElement(Ptrs, Builder.getInt32(Idx), in scalarizeMaskedScatter()
556 Value *Predicate = Builder.CreateExtractElement(Mask, Builder.getInt32(Idx), in scalarizeMaskedScatter()
[all …]
DInterleavedAccessPass.cpp405 Extract->replaceAllUsesWith(Builder.CreateExtractElement(Vector, Index)); in tryReplaceExtracts()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAutoUpgrade.cpp849 Mask = Builder.CreateExtractElement(Mask, (uint64_t)0); in EmitX86ScalarSelect()
1067 Value* Extract1 = Builder.CreateExtractElement(B, (uint64_t)0); in upgradeMaskedMove()
1068 Value* Extract2 = Builder.CreateExtractElement(Src, (uint64_t)0); in upgradeMaskedMove()
1437 Builder.CreateExtractElement(Arg1, (uint64_t)0, "extractelement"); in UpgradeIntrinsicCall()
1478 Value *Elt = Builder.CreateExtractElement(BC0, (uint64_t)0); in UpgradeIntrinsicCall()
1546 Value *Elt0 = Builder.CreateExtractElement(Vec, (uint64_t)0); in UpgradeIntrinsicCall()
1659 Value *Elt0 = Builder.CreateExtractElement(CI->getArgOperand(0), in UpgradeIntrinsicCall()
1661 Value *Elt1 = Builder.CreateExtractElement(CI->getArgOperand(1), in UpgradeIntrinsicCall()
1668 Value *Elt0 = Builder.CreateExtractElement(CI->getArgOperand(0), in UpgradeIntrinsicCall()
1670 Value *Elt1 = Builder.CreateExtractElement(CI->getArgOperand(1), in UpgradeIntrinsicCall()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp206 Builder->CreateExtractElement(BO->getOperand(0), EI.getOperand(1), in visitExtractElementInst()
209 Builder->CreateExtractElement(BO->getOperand(1), EI.getOperand(1), in visitExtractElementInst()
252 Value *EE = Builder->CreateExtractElement(CI->getOperand(0), in visitExtractElementInst()
271 Cond = Builder->CreateExtractElement(Cond, in visitExtractElementInst()
277 = Builder->CreateExtractElement(TrueVal, in visitExtractElementInst()
282 = Builder->CreateExtractElement(FalseVal, in visitExtractElementInst()
1075 auto *Ext = Builder->CreateExtractElement( in visitShuffleVectorInst()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.cc274 return b()->CreateExtractElement(vector, b()->getInt32(0), name()); in AddReduce()
353 b()->CreateExtractElement(init_values, b()->getInt32(i))); in ComputeHorizontalSums()
391 b()->CreateExtractElement(i < (lane_width / 2) ? low : high, in ComputeAvxOptimizedHorizontalSums()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp193 Builder->CreateExtractElement(BO->getOperand(0), EI.getOperand(1), in visitExtractElementInst()
196 Builder->CreateExtractElement(BO->getOperand(1), EI.getOperand(1), in visitExtractElementInst()
238 Value *EE = Builder->CreateExtractElement(CI->getOperand(0), in visitExtractElementInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp455 Value *NumEltI = Builder.CreateExtractElement(Num, I); in visitFDiv()
456 Value *DenEltI = Builder.CreateExtractElement(Den, I); in visitFDiv()
777 Value *NumEltN = Builder.CreateExtractElement(Num, N); in visitBinaryOperator()
778 Value *DenEltN = Builder.CreateExtractElement(Den, N); in visitBinaryOperator()
/external/swiftshader/third_party/LLVM/
DOnlyX86.patch162 - Builder->CreateExtractElement(Idx < 16 ? Op0 : Op1,
209 + // Builder->CreateExtractElement(Idx < 16 ? Op0 : Op1,
/external/clang/lib/CodeGen/
DCGBuiltin.cpp3329 return CGF.Builder.CreateExtractElement(Result, C0); in EmitCommonNeonSISDBuiltinExpr()
4363 return Builder.CreateExtractElement(Ops[0], Ops[1], "vget_lane"); in EmitARMBuiltinExpr()
4596 Ops[1] = Builder.CreateExtractElement(Ops[1], Ops[2]); in EmitARMBuiltinExpr()
5113 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
5114 Value *Op1 = Builder.CreateExtractElement(Vec, Idx1, "lane1"); in EmitAArch64BuiltinExpr()
5126 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
5127 Value *Op1 = Builder.CreateExtractElement(Vec, Idx1, "lane1"); in EmitAArch64BuiltinExpr()
5139 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
5140 Value *Op1 = Builder.CreateExtractElement(Vec, Idx1, "lane1"); in EmitAArch64BuiltinExpr()
5295 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)), in EmitAArch64BuiltinExpr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPatternMatch.cpp464 Value *EX1 = IRB.CreateExtractElement(VI4, Val); in TEST_F()
465 Value *EX2 = IRB.CreateExtractElement(VI4, (uint64_t)0); in TEST_F()
466 Value *EX3 = IRB.CreateExtractElement(IdxVec, (uint64_t)1); in TEST_F()
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp782 Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(), in vectorizeStoreChain()
946 Value *V = Builder.CreateExtractElement(LI, Builder.getInt32(NewIdx)); in vectorizeLoadChain()
968 Value *V = Builder.CreateExtractElement(LI, Builder.getInt32(I)); in vectorizeLoadChain()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1259 Value *Predicate = Builder.CreateExtractElement(Mask, Builder.getInt32(Idx)); in scalarizeMaskedLoad()
1364 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx)); in scalarizeMaskedStore()
1381 Value *Predicate = Builder.CreateExtractElement(Mask, Builder.getInt32(Idx)); in scalarizeMaskedStore()
1395 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx)); in scalarizeMaskedStore()
1476 Value *Ptr = Builder.CreateExtractElement(Ptrs, Builder.getInt32(Idx), in scalarizeMaskedGather()
1509 Value *Predicate = Builder.CreateExtractElement(Mask, in scalarizeMaskedGather()
1525 Value *Ptr = Builder.CreateExtractElement(Ptrs, Builder.getInt32(Idx), in scalarizeMaskedGather()
1606 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx), in scalarizeMaskedScatter()
1608 Value *Ptr = Builder.CreateExtractElement(Ptrs, Builder.getInt32(Idx), in scalarizeMaskedScatter()
1622 Value *Predicate = Builder.CreateExtractElement(Mask, in scalarizeMaskedScatter()
[all …]
DInterleavedAccessPass.cpp327 Extract->replaceAllUsesWith(Builder.CreateExtractElement(Vector, Index)); in tryReplaceExtracts()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp367 auto X1 = Builder.CreateExtractElement(Vec, 1); in TEST_F()
368 auto X2 = Builder.CreateExtractElement(Vec, Builder.getInt32(2)); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emission_utils.cc235 {all_warps_mask, builder->CreateExtractElement(x, i), offset, in EmitFullWarpShuffleDown()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp1016 Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(), in vectorizeStoreChain()
1179 Value *V = Builder.CreateExtractElement(LI, Builder.getInt32(NewIdx), in vectorizeLoadChain()
1201 Builder.CreateExtractElement(LI, Builder.getInt32(I), CV->getName()); in vectorizeLoadChain()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h211 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
DTargetFolder.h228 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
DNoFolder.h259 Instruction *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
/external/llvm/include/llvm/IR/
DConstantFolder.h218 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantFolder.h250 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp269 return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]); in remapConstantExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp232 Builder.CreateExtractElement(BO->getOperand(0), EI.getOperand(1), in visitExtractElementInst()
235 Builder.CreateExtractElement(BO->getOperand(1), EI.getOperand(1), in visitExtractElementInst()
278 Value *EE = Builder.CreateExtractElement(CI->getOperand(0), in visitExtractElementInst()
1509 auto *Ext = Builder.CreateExtractElement( in visitShuffleVectorInst()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h242 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
/external/llvm/include/llvm/Analysis/
DTargetFolder.h243 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function

123