Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp191 Builder->CreateExtractElement(BO->getOperand(0), EI.getOperand(1), in visitExtractElementInst()
194 Builder->CreateExtractElement(BO->getOperand(1), EI.getOperand(1), in visitExtractElementInst()
236 Value *EE = Builder->CreateExtractElement(CI->getOperand(0), in visitExtractElementInst()
255 Cond = Builder->CreateExtractElement(Cond, in visitExtractElementInst()
261 = Builder->CreateExtractElement(TrueVal, in visitExtractElementInst()
266 = Builder->CreateExtractElement(FalseVal, in visitExtractElementInst()
986 auto *Ext = Builder->CreateExtractElement( in visitShuffleVectorInst()
DInstCombineCasts.cpp1867 Builder->CreateExtractElement(Src, in visitBitCast()
DInstCombineCalls.cpp1540 Builder->CreateExtractElement(Idx < 16 ? Op0ToUse : Op1ToUse, in visitCallInst()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp2920 return CGF.Builder.CreateExtractElement(Result, C0); in EmitCommonNeonSISDBuiltinExpr()
3886 return Builder.CreateExtractElement(Ops[0], Ops[1], "vget_lane"); in EmitARMBuiltinExpr()
4119 Ops[1] = Builder.CreateExtractElement(Ops[1], Ops[2]); in EmitARMBuiltinExpr()
4641 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
4642 Value *Op1 = Builder.CreateExtractElement(Vec, Idx1, "lane1"); in EmitAArch64BuiltinExpr()
4654 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
4655 Value *Op1 = Builder.CreateExtractElement(Vec, Idx1, "lane1"); in EmitAArch64BuiltinExpr()
4667 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
4668 Value *Op1 = Builder.CreateExtractElement(Vec, Idx1, "lane1"); in EmitAArch64BuiltinExpr()
4823 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)), in EmitAArch64BuiltinExpr()
[all …]
DCGExprScalar.cpp1030 Value *Indx = Builder.CreateExtractElement(Mask, IIndx, "shuf_idx"); in VisitShuffleVectorExpr()
1032 Value *VExt = Builder.CreateExtractElement(LHS, Indx, "shuf_elt"); in VisitShuffleVectorExpr()
1161 return Builder.CreateExtractElement(Base, Idx, "vecext"); in VisitArraySubscriptExpr()
DCGExpr.cpp1444 return RValue::get(Builder.CreateExtractElement(Load, LV.getVectorIdx(), in EmitLoadOfLValue()
1504 return RValue::get(Builder.CreateExtractElement(Vec, Elt)); in EmitLoadOfExtVectorElementLValue()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp357 auto X1 = Builder.CreateExtractElement(Vec, 1); in TEST_F()
358 auto X2 = Builder.CreateExtractElement(Vec, Builder.getInt32(2)); in TEST_F()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1221 Value *Predicate = Builder.CreateExtractElement(Mask, Builder.getInt32(Idx)); in ScalarizeMaskedLoad()
1326 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx)); in ScalarizeMaskedStore()
1343 Value *Predicate = Builder.CreateExtractElement(Mask, Builder.getInt32(Idx)); in ScalarizeMaskedStore()
1357 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx)); in ScalarizeMaskedStore()
1438 Value *Ptr = Builder.CreateExtractElement(Ptrs, Builder.getInt32(Idx), in ScalarizeMaskedGather()
1471 Value *Predicate = Builder.CreateExtractElement(Mask, in ScalarizeMaskedGather()
1487 Value *Ptr = Builder.CreateExtractElement(Ptrs, Builder.getInt32(Idx), in ScalarizeMaskedGather()
1568 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx), in ScalarizeMaskedScatter()
1570 Value *Ptr = Builder.CreateExtractElement(Ptrs, Builder.getInt32(Idx), in ScalarizeMaskedScatter()
1584 Value *Predicate = Builder.CreateExtractElement(Mask, in ScalarizeMaskedScatter()
[all …]
/external/llvm/include/llvm/IR/
DConstantFolder.h218 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
DNoFolder.h272 Instruction *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
DIRBuilder.h1570 Value *CreateExtractElement(Value *Vec, Value *Idx,
1574 return Insert(Folder.CreateExtractElement(VC, IC), Name);
1578 Value *CreateExtractElement(Value *Vec, uint64_t Idx,
1580 return CreateExtractElement(Vec, getInt64(Idx), Name);
/external/llvm/include/llvm/Analysis/
DTargetFolder.h243 Constant *CreateExtractElement(Constant *Vec, Constant *Idx) const { in CreateExtractElement() function
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp323 return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]); in remapConstantExpr()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp213 Value *ExtractElement = Builder.CreateExtractElement(VecValue, Index); in tryPromoteAllocaToVector()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2256 Value *NewPtr = Builder.CreateExtractElement( in vectorizeInterleaveGroup()
2399 FirstBasePtr = Builder.CreateExtractElement(FirstBasePtr, Zero); in vectorizeMemoryInstruction()
2433 Index = Builder.CreateExtractElement(Index, Zero); in vectorizeMemoryInstruction()
2444 Ptr = Builder.CreateExtractElement(PtrVal[0], Zero); in vectorizeMemoryInstruction()
2579 Cmp = Builder.CreateExtractElement(Cond[Part], Builder.getInt32(Width)); in scalarizeInstruction()
2592 Op = Builder.CreateExtractElement(Op, Builder.getInt32(Width)); in scalarizeInstruction()
3458 ReducedPartRdx = Builder.CreateExtractElement(TmpVec, in vectorizeLoop()
3792 Builder.CreateExtractElement(Cond[0], Builder.getInt32(0)); in vectorizeBlockInLoop()
5773 Builder.CreateExtractElement(Cond[Part], Builder.getInt32(0)); in scalarizeInstruction()
DSLPVectorizer.cpp2595 Value *Ex = Builder.CreateExtractElement(Vec, Lane); in vectorizeTree()
2602 Value *Ex = Builder.CreateExtractElement(Vec, Lane); in vectorizeTree()
2608 Value *Ex = Builder.CreateExtractElement(Vec, Lane); in vectorizeTree()
3536 Instruction *Extract = cast<Instruction>(Builder.CreateExtractElement( in tryToVectorizeList()
3891 return Builder.CreateExtractElement(TmpVec, Builder.getInt32(0)); in emitReduction()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp423 StoredValue = IRB.CreateExtractElement( in instrumentLoadOrStore()
DMemorySanitizer.cpp1326 setShadow(&I, IRB.CreateExtractElement(getShadow(&I, 0), I.getOperand(1), in visitExtractElementInst()
2083 AggShadow = IRB.CreateExtractElement( in handleVectorConvertIntrinsic()
2086 Value *MoreShadow = IRB.CreateExtractElement( in handleVectorConvertIntrinsic()
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp241 CV[I] = Builder.CreateExtractElement(V, Builder.getInt32(I), in operator []()
DScalarReplAggregates.cpp804 Value *V = Builder.CreateExtractElement(FromVal, Idx); in ConvertScalar_ExtractValue()
DRewriteStatepointsForGC.cpp1985 Elements.push_back(Builder.CreateExtractElement(V, Builder.getInt32(i))); in splitVectorValues()
DSROA.cpp2092 V = IRB.CreateExtractElement(V, IRB.getInt32(BeginIndex), in extractVector()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1626 Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0), in insertSinCosCall()
1628 Cos = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 1), in insertSinCosCall()
/external/llvm/lib/IR/
DCore.cpp2760 return wrap(unwrap(B)->CreateExtractElement(unwrap(VecVal), unwrap(Index), in LLVMBuildExtractElement()
/external/llvm/bindings/go/llvm/
Dir.go1684 func (b Builder) CreateExtractElement(vec, i Value, name string) (v Value) { func

12