Home
last modified time | relevance | path

Searched refs:UndefVec (Results 1 – 16 of 16) sorted by relevance

/external/llvm-project/llvm/unittests/Analysis/
DVectorUtilsTest.cpp80 Value *UndefVec = UndefValue::get(FixedVectorType::get(IRB.getInt8Ty(), 4)); in TEST_F() local
81 EXPECT_TRUE(isSplatValue(UndefVec)); in TEST_F()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1111 UndefValue *UndefVec = UndefValue::get(VecTy); in foldInsSequenceIntoSplat() local
1114 FirstIE = InsertElementInst::Create(UndefVec, SplatVal, Zero, "", &InsElt); in foldInsSequenceIntoSplat()
1122 return new ShuffleVectorInst(FirstIE, UndefVec, Mask); in foldInsSequenceIntoSplat()
1861 UndefValue *UndefVec = UndefValue::get(Shuf.getType()); in canonicalizeInsertSplat() local
1863 Value *NewIns = Builder.CreateInsertElement(UndefVec, X, Zero); in canonicalizeInsertSplat()
1876 return new ShuffleVectorInst(NewIns, UndefVec, NewMask); in canonicalizeInsertSplat()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp800 UndefValue *UndefVec = UndefValue::get(VecTy); in foldInsSequenceIntoSplat() local
803 FirstIE = InsertElementInst::Create(UndefVec, SplatVal, Zero, "", &InsElt); in foldInsSequenceIntoSplat()
811 return new ShuffleVectorInst(FirstIE, UndefVec, ConstantVector::get(Mask)); in foldInsSequenceIntoSplat()
1525 UndefValue *UndefVec = UndefValue::get(Shuf.getType()); in canonicalizeInsertSplat() local
1527 Value *NewIns = Builder.CreateInsertElement(UndefVec, X, Zero); in canonicalizeInsertSplat()
1539 return new ShuffleVectorInst(NewIns, UndefVec, ConstantVector::get(NewMask)); in canonicalizeInsertSplat()
/external/llvm-project/llvm/unittests/IR/
DPatternMatch.cpp943 Value *UndefVec = UndefValue::get(VecTy); in TEST_F() local
944 Value *VI1 = IRB.CreateInsertElement(UndefVec, IRB.getInt8(1), (uint64_t)0); in TEST_F()
954 Value *SI1 = IRB.CreateShuffleVector(VI1, UndefVec, Zero); in TEST_F()
956 Value *SI3 = IRB.CreateShuffleVector(VI3, UndefVec, Zero); in TEST_F()
957 Value *SI4 = IRB.CreateShuffleVector(VI4, UndefVec, Zero); in TEST_F()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp643 auto UndefVec = buildUndef(DstTy); in buildShuffleSplat() local
645 auto InsElt = buildInsertVectorElement(DstTy, UndefVec, Src, Zero); in buildShuffleSplat()
647 return buildShuffleVector(DstTy, InsElt, UndefVec, ZeroMask); in buildShuffleSplat()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2318 Value *UndefVec = UndefValue::get(VecTy); in vectorizeInterleaveGroup() local
2335 NewLoadInstr, UndefVec, StrideMask, "strided.vec"); in vectorizeInterleaveGroup()
2382 Value *IVec = Builder.CreateShuffleVector(WideVec, UndefVec, IMask, in vectorizeInterleaveGroup()
2658 Value *UndefVec = in scalarizeInstruction() local
2662 VectorParts &VecResults = WidenMap.splat(Instr, UndefVec); in scalarizeInstruction()
6259 Value *UndefVec = IsVoidRetTy ? nullptr : UndefValue::get(Instr->getType()); in scalarizeInstruction() local
6261 VectorParts &VecResults = WidenMap.splat(Instr, UndefVec); in scalarizeInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2234 Value *UndefVec = UndefValue::get(VecTy); in vectorizeInterleaveGroup() local
2265 GroupMask, UndefVec, "wide.masked.vec"); in vectorizeInterleaveGroup()
2286 NewLoads[Part], UndefVec, StrideMask, "strided.vec"); in vectorizeInterleaveGroup()
2333 Value *IVec = Builder.CreateShuffleVector(WideVec, UndefVec, IMask, in vectorizeInterleaveGroup()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2573 Value *UndefVec = UndefValue::get(VecTy); in vectorizeInterleaveGroup() local
2606 GroupMask, UndefVec, "wide.masked.vec"); in vectorizeInterleaveGroup()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp35661 SDValue UndefVec = TLO.DAG.getUNDEF(VT); in SimplifyDemandedVectorEltsForTargetNode() local
35663 insertSubVector(UndefVec, ExtOp, 0, TLO.DAG, DL, ExtSizeInBits); in SimplifyDemandedVectorEltsForTargetNode()
35697 SDValue UndefVec = TLO.DAG.getUNDEF(VT); in SimplifyDemandedVectorEltsForTargetNode() local
35699 insertSubVector(UndefVec, ExtOp, 0, TLO.DAG, DL, ExtSizeInBits); in SimplifyDemandedVectorEltsForTargetNode()
35711 SDValue UndefVec = TLO.DAG.getUNDEF(VT); in SimplifyDemandedVectorEltsForTargetNode() local
35712 SDValue Insert = insertSubVector(UndefVec, Ext, 0, TLO.DAG, DL, 128); in SimplifyDemandedVectorEltsForTargetNode()
35739 SDValue UndefVec = TLO.DAG.getUNDEF(VT); in SimplifyDemandedVectorEltsForTargetNode() local
35741 insertSubVector(UndefVec, ExtOp, 0, TLO.DAG, DL, ExtSizeInBits); in SimplifyDemandedVectorEltsForTargetNode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3085 SDValue UndefVec = DAG.getBuildVector(MVT::v4i16, DL, in LowerTruncateVectorStore() local
3089 Value, UndefVec); in LowerTruncateVectorStore()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7984 SDValue UndefVec = DAG.getUNDEF(VecVT); in widenVec() local
7986 Ops[i] = UndefVec; in widenVec()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp8628 SDValue UndefVec = DAG.getUNDEF(VecVT); in widenVec() local
8630 Ops[i] = UndefVec; in widenVec()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp38037 SDValue UndefVec = TLO.DAG.getUNDEF(VT); in SimplifyDemandedVectorEltsForTargetNode() local
38039 insertSubVector(UndefVec, ExtOp, 0, TLO.DAG, DL, ExtSizeInBits); in SimplifyDemandedVectorEltsForTargetNode()
38051 SDValue UndefVec = TLO.DAG.getUNDEF(VT); in SimplifyDemandedVectorEltsForTargetNode() local
38052 SDValue Insert = insertSubVector(UndefVec, Ext, 0, TLO.DAG, DL, 128); in SimplifyDemandedVectorEltsForTargetNode()
38096 SDValue UndefVec = TLO.DAG.getUNDEF(VT); in SimplifyDemandedVectorEltsForTargetNode() local
38098 insertSubVector(UndefVec, ExtOp, 0, TLO.DAG, DL, ExtSizeInBits); in SimplifyDemandedVectorEltsForTargetNode()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp4000 SDValue UndefVec = DAG.getBuildVector(MVT::v4i16, DL, in LowerTruncateVectorStore() local
4004 Value, UndefVec); in LowerTruncateVectorStore()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp19311 SDValue UndefVec = DAG.getUNDEF(N0.getOperand(0).getValueType()); in visitVECTOR_SHUFFLE() local
19313 N0.getOperand(0), UndefVec); in visitVECTOR_SHUFFLE()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp20734 SDValue UndefVec = DAG.getUNDEF(N0.getOperand(0).getValueType()); in visitVECTOR_SHUFFLE() local
20736 N0.getOperand(0), UndefVec); in visitVECTOR_SHUFFLE()