Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp188 cast<ShuffleVectorInst>(Builder.CreateShuffleVector( in decompose()
288 TransposedMatrix[i] = Builder.CreateShuffleVector( in reorderSubVector()
299 Temp[i / 2] = Builder.CreateShuffleVector( in reorderSubVector()
311 Builder.CreateShuffleVector(Temp[2 * i], Temp[2 * i + 1], Concat); in reorderSubVector()
341 Builder.CreateShuffleVector(Matrix[0], Matrix[1], MaskLow); in interleave8bitStride4VF8()
343 Builder.CreateShuffleVector(Matrix[2], Matrix[3], MaskLow); in interleave8bitStride4VF8()
349 Builder.CreateShuffleVector(IntrVec1Low, IntrVec2Low, MaskLowWord); in interleave8bitStride4VF8()
351 Builder.CreateShuffleVector(IntrVec1Low, IntrVec2Low, MaskHighWord); in interleave8bitStride4VF8()
393 IntrVec[0] = Builder.CreateShuffleVector(Matrix[0], Matrix[1], MaskLow); in interleave8bitStride4()
394 IntrVec[1] = Builder.CreateShuffleVector(Matrix[0], Matrix[1], MaskHigh); in interleave8bitStride4()
[all …]
/external/llvm/lib/IR/
DAutoUpgrade.cpp450 Res = Builder.CreateShuffleVector(Res, Op, makeArrayRef(Idxs, NumElts)); in UpgradeX86PSLLDQIntrinsics()
484 Res = Builder.CreateShuffleVector(Op, Res, makeArrayRef(Idxs, NumElts)); in UpgradeX86PSRLDQIntrinsics()
503 Mask = Builder.CreateShuffleVector(Mask, Mask, in getX86MaskVec()
554 Value *Align = Builder.CreateShuffleVector(Op1, Op0, in UpgradeX86PALIGNRIntrinsics()
626 Cmp = Builder.CreateShuffleVector(Cmp, in upgradeMaskedCompare()
706 Rep = Builder.CreateShuffleVector(Rep, UndefValue::get(SrcTy), in UpgradeIntrinsicCall()
923 Value *SV = Builder.CreateShuffleVector( in UpgradeIntrinsicCall()
936 Rep = Builder.CreateShuffleVector(Load, UndefValue::get(Load->getType()), in UpgradeIntrinsicCall()
946 Rep = Builder.CreateShuffleVector(Op, UndefValue::get(Op->getType()), in UpgradeIntrinsicCall()
997 Rep = Builder.CreateShuffleVector(Op0, Op1, Idxs); in UpgradeIntrinsicCall()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.cc269 b()->CreateShuffleVector(vector, llvm::UndefValue::get(vector_type()), in AddReduce()
311 b()->CreateShuffleVector(lhs, rhs, llvm::ConstantVector::get(mask_a)); in AvxStyleHorizontalAdd()
313 b()->CreateShuffleVector(lhs, rhs, llvm::ConstantVector::get(mask_b)); in AvxStyleHorizontalAdd()
324 return b()->CreateShuffleVector(vector, llvm::UndefValue::get(vector_type()), in ExtractLowHalf()
334 return b()->CreateShuffleVector(vector, llvm::UndefValue::get(vector_type()), in ExtractHighHalf()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAutoUpgrade.cpp766 Res = Builder.CreateShuffleVector(Res, Op, makeArrayRef(Idxs, NumElts)); in UpgradeX86PSLLDQIntrinsics()
800 Res = Builder.CreateShuffleVector(Op, Res, makeArrayRef(Idxs, NumElts)); in UpgradeX86PSRLDQIntrinsics()
819 Mask = Builder.CreateShuffleVector(Mask, Mask, in getX86MaskVec()
895 Value *Align = Builder.CreateShuffleVector(Op1, Op0, in UpgradeX86ALIGNIntrinsics()
1014 Vec = Builder.CreateShuffleVector(Vec, in ApplyX86MaskOn1BitsVec()
1604 LHS = Builder.CreateShuffleVector(LHS, LHS, in UpgradeIntrinsicCall()
1606 RHS = Builder.CreateShuffleVector(RHS, RHS, in UpgradeIntrinsicCall()
1610 Rep = Builder.CreateShuffleVector(RHS, LHS, in UpgradeIntrinsicCall()
1846 Rep = Builder.CreateShuffleVector(Rep, Rep, ShuffleMask); in UpgradeIntrinsicCall()
1986 Value *SV = Builder.CreateShuffleVector( in UpgradeIntrinsicCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPatternMatch.cpp469 Value *SI1 = IRB.CreateShuffleVector(VI1, UndefVec, Zero); in TEST_F()
470 Value *SI2 = IRB.CreateShuffleVector(VI3, VI4, IdxVec); in TEST_F()
471 Value *SI3 = IRB.CreateShuffleVector(VI3, UndefVec, Zero); in TEST_F()
472 Value *SI4 = IRB.CreateShuffleVector(VI4, UndefVec, Zero); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp212 Value *Shuf = Builder.CreateShuffleVector(Load, UndefValue::get(V4Ty), in runOnFunction()
DAMDGPURewriteOutArguments.cpp411 Val = B.CreateShuffleVector(Val, UndefValue::get(Val->getType()), in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DVectorUtils.cpp545 V2 = Builder.CreateShuffleVector(V2, UndefValue::get(VecTy2), ExtMask); in concatenateTwoVectors()
549 return Builder.CreateShuffleVector(V1, V2, Mask); in concatenateTwoVectors()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp532 return Builder.CreateShuffleVector(II.getArgOperand(0), V1, ShuffleMask); in simplifyX86insertps()
598 Value *SV = Builder.CreateShuffleVector( in simplifyX86extrq()
679 Value *SV = Builder.CreateShuffleVector(Builder.CreateBitCast(Op0, ShufTy), in simplifyX86insertq()
769 return Builder.CreateShuffleVector(V1, V2, ShuffleMask); in simplifyX86pshufb()
821 return Builder.CreateShuffleVector(V1, V2, ShuffleMask); in simplifyX86vpermilvar()
857 return Builder.CreateShuffleVector(V1, V2, ShuffleMask); in simplifyX86vpermv()
923 return Builder.CreateShuffleVector(V0, V1, ShuffleMask); in simplifyX86vperm2()
1583 VectorHalfAsShorts = Builder->CreateShuffleVector( in visitCallInst()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h220 Constant *CreateShuffleVector(Constant *V1, Constant *V2, in CreateShuffleVector() function
DTargetFolder.h237 Constant *CreateShuffleVector(Constant *V1, Constant *V2, in CreateShuffleVector() function
DNoFolder.h268 Instruction *CreateShuffleVector(Constant *V1, Constant *V2, in CreateShuffleVector() function
/external/llvm/include/llvm/IR/
DConstantFolder.h227 Constant *CreateShuffleVector(Constant *V1, Constant *V2, in CreateShuffleVector() function
DNoFolder.h281 Instruction *CreateShuffleVector(Constant *V1, Constant *V2, in CreateShuffleVector() function
DIRBuilder.h1622 Value *CreateShuffleVector(Value *V1, Value *V2, Value *Mask,
1627 return Insert(Folder.CreateShuffleVector(V1C, V2C, MC), Name);
1631 Value *CreateShuffleVector(Value *V1, Value *V2, ArrayRef<uint32_t> IntMask,
1634 return CreateShuffleVector(V1, V2, Mask, Name);
1732 return CreateShuffleVector(V, Undef, Zeros, Name + ".splat");
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantFolder.h259 Constant *CreateShuffleVector(Constant *V1, Constant *V2, in CreateShuffleVector() function
DNoFolder.h324 Instruction *CreateShuffleVector(Constant *V1, Constant *V2, in CreateShuffleVector() function
DIRBuilder.h1948 Value *CreateShuffleVector(Value *V1, Value *V2, Value *Mask,
1953 return Insert(Folder.CreateShuffleVector(V1C, V2C, MC), Name);
1957 Value *CreateShuffleVector(Value *V1, Value *V2, ArrayRef<uint32_t> IntMask,
1960 return CreateShuffleVector(V1, V2, Mask, Name);
2087 return CreateShuffleVector(V, Undef, Zeros, Name + ".splat");
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp276 return Builder.CreateShuffleVector(NewOperands[0], NewOperands[1], in remapConstantExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h251 Constant *CreateShuffleVector(Constant *V1, Constant *V2, in CreateShuffleVector() function
/external/llvm/include/llvm/Analysis/
DTargetFolder.h252 Constant *CreateShuffleVector(Constant *V1, Constant *V2, in CreateShuffleVector() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp664 Mask = Builder.CreateShuffleVector(Mask, Mask, in simplifyX86round()
770 return Builder.CreateShuffleVector(II.getArgOperand(0), V1, ShuffleMask); in simplifyX86insertps()
836 Value *SV = Builder.CreateShuffleVector( in simplifyX86extrq()
917 Value *SV = Builder.CreateShuffleVector(Builder.CreateBitCast(Op0, ShufTy), in simplifyX86insertq()
1007 return Builder.CreateShuffleVector(V1, V2, ShuffleMask); in simplifyX86pshufb()
1057 return Builder.CreateShuffleVector(V1, V2, ShuffleMask); in simplifyX86vpermilvar()
1094 return Builder.CreateShuffleVector(V1, V2, ShuffleMask); in simplifyX86vpermv()
1530 return Builder.CreateShuffleVector(V1, V2, ShuffleMask); in simplifyNeonTbl1()
2307 VectorHalfAsShorts = Builder.CreateShuffleVector( in visitCallInst()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp326 return Builder.CreateShuffleVector(NewOperands[0], NewOperands[1], in remapConstantExpr()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp2569 return Builder.CreateShuffleVector(V, V, SV, "lane"); in EmitNeonSplat()
3491 return Builder.CreateShuffleVector(Ops[0], Ops[1], Indices, "vext"); in EmitCommonNeonBuiltinExpr()
3695 SV = Builder.CreateShuffleVector(Ops[1], Ops[2], Indices, "vtrn"); in EmitCommonNeonBuiltinExpr()
3722 SV = Builder.CreateShuffleVector(Ops[1], Ops[2], Indices, "vuzp"); in EmitCommonNeonBuiltinExpr()
3741 SV = Builder.CreateShuffleVector(Ops[1], Ops[2], Indices, "vzip"); in EmitCommonNeonBuiltinExpr()
3799 TblOps.push_back(CGF.Builder.CreateShuffleVector(Ops[PairPos], in packTBLDVectorList()
3809 TblOps.push_back(CGF.Builder.CreateShuffleVector(Ops[PairPos], in packTBLDVectorList()
4457 Ops[1] = Builder.CreateShuffleVector(Ops[1], Ops[1], SV); in EmitARMBuiltinExpr()
4467 return Builder.CreateShuffleVector(Ops[1], Ld, SV, "vld1q_lane"); in EmitARMBuiltinExpr()
4587 Ops[1] = Builder.CreateShuffleVector(Ops[1], Ops[1], SV); in EmitARMBuiltinExpr()
[all …]
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2141 return Builder.CreateShuffleVector(Vec, UndefValue::get(Vec->getType()), in reverseVector()
2206 V2 = Builder.CreateShuffleVector(V2, UndefValue::get(VecTy2), ExtMask); in ConcatenateTwoVectors()
2210 return Builder.CreateShuffleVector(V1, V2, Mask); in ConcatenateTwoVectors()
2334 Value *StridedVec = Builder.CreateShuffleVector( in vectorizeInterleaveGroup()
2382 Value *IVec = Builder.CreateShuffleVector(WideVec, UndefVec, IMask, in vectorizeInterleaveGroup()
3421 NewI = B.CreateShuffleVector(O0, O1, SI->getMask()); in truncateToMinimalBitwidths()
3648 Value *Shuf = Builder.CreateShuffleVector( in vectorizeLoop()
3840 ? Builder.CreateShuffleVector(Incoming, PreviousParts[Part], in fixFirstOrderRecurrence()

123