Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/test/Transforms/LoopVectorize/X86/
Douter_loop_test1_no_explicit_vect_width.ll22 ; CHECK: %[[SplatVal:.*]] = insertelement <4 x i32> undef, i32 %n, i32 0
23 ; CHECK: %[[Splat:.*]] = shufflevector <4 x i32> %[[SplatVal]], <4 x i32> undef, <4 x i32> zeroinit…
51 ; AVX: %[[SplatVal:.*]] = insertelement <8 x i32> undef, i32 %n, i32 0
52 ; AVX: %[[Splat:.*]] = shufflevector <8 x i32> %[[SplatVal]], <8 x i32> undef, <8 x i32> zeroinitia…
/external/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/
Douter_loop_test1_no_explicit_vect_width.ll21 ; CHECK: %[[SplatVal:.*]] = insertelement <4 x i32> undef, i32 %n, i32 0
22 ; CHECK: %[[Splat:.*]] = shufflevector <4 x i32> %[[SplatVal]], <4 x i32> undef, <4 x i32> zeroinit…
88 ; CHECK: %[[SplatVal:.*]] = insertelement <2 x i64> undef, i64 %n, i32 0
89 ; CHECK: %[[Splat:.*]] = shufflevector <2 x i64> %[[SplatVal]], <2 x i64> undef, <2 x i32> zeroinit…
/external/llvm-project/llvm/test/Transforms/LoopVectorize/
Douter_loop_test1.ll18 ; CHECK: %[[SplatVal:.*]] = insertelement <4 x i32> undef, i32 %n, i32 0
19 ; CHECK: %[[Splat:.*]] = shufflevector <4 x i32> %[[SplatVal]], <4 x i32> undef, <4 x i32> zeroinit…
/external/llvm-project/llvm/unittests/IR/
DConstantsTest.cpp661 Constant *SplatVal = Splat->getSplatValue(); in TEST() local
662 EXPECT_NE(nullptr, SplatVal); in TEST()
663 EXPECT_EQ(SplatVal, C); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp942 APInt SplatVal = APInt::getSplat(NumBits, Scalar); in getMemsetValue() local
943 return MIB.buildConstant(Ty, SplatVal).getReg(0); in getMemsetValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp1566 SDValue SplatVal; in LowerShift() local
1568 !(SplatVal = ShiftVec->getSplatValue())) in LowerShift()
1572 auto *SplatConst = dyn_cast<ConstantSDNode>(SplatVal); in LowerShift()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7403 SDValue SplatVal = Op.getOperand(0); in LowerSPLAT_VECTOR() local
7411 SplatVal = DAG.getAnyExtOrTrunc(SplatVal, dl, MVT::i32); in LowerSPLAT_VECTOR()
7412 return DAG.getNode(AArch64ISD::DUP, dl, VT, SplatVal); in LowerSPLAT_VECTOR()
7414 SplatVal = DAG.getAnyExtOrTrunc(SplatVal, dl, MVT::i64); in LowerSPLAT_VECTOR()
7415 return DAG.getNode(AArch64ISD::DUP, dl, VT, SplatVal); in LowerSPLAT_VECTOR()
7420 SplatVal = DAG.getAnyExtOrTrunc(SplatVal, dl, MVT::i64); in LowerSPLAT_VECTOR()
7421 SplatVal = DAG.getNode(ISD::SIGN_EXTEND_INREG, dl, MVT::i64, SplatVal, in LowerSPLAT_VECTOR()
7426 DAG.getConstant(0, dl, MVT::i64), SplatVal); in LowerSPLAT_VECTOR()
11204 SDValue SplatVal, unsigned NumVecElts) { in splitStoreSplat() argument
11207 unsigned EltOffset = SplatVal.getValueType().getSizeInBits() / 8; in splitStoreSplat()
[all …]
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1072 Value *SplatVal = InsElt.getOperand(1); in foldInsSequenceIntoSplat() local
1081 if (!Idx || CurrIE->getOperand(1) != SplatVal) in foldInsSequenceIntoSplat()
1114 FirstIE = InsertElementInst::Create(UndefVec, SplatVal, Zero, "", &InsElt); in foldInsSequenceIntoSplat()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp761 Value *SplatVal = InsElt.getOperand(1); in foldInsSequenceIntoSplat() local
770 if (!Idx || CurrIE->getOperand(1) != SplatVal) in foldInsSequenceIntoSplat()
803 FirstIE = InsertElementInst::Create(UndefVec, SplatVal, Zero, "", &InsElt); in foldInsSequenceIntoSplat()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8801 SDValue SplatVal = Op.getOperand(0); in LowerSPLAT_VECTOR() local
8812 if (auto *ConstVal = dyn_cast<ConstantSDNode>(SplatVal)) { in LowerSPLAT_VECTOR()
8819 SplatVal = DAG.getAnyExtOrTrunc(SplatVal, dl, MVT::i64); in LowerSPLAT_VECTOR()
8820 SplatVal = DAG.getNode(ISD::SIGN_EXTEND_INREG, dl, MVT::i64, SplatVal, in LowerSPLAT_VECTOR()
8825 DAG.getConstant(0, dl, MVT::i64), SplatVal); in LowerSPLAT_VECTOR()
8830 SplatVal = DAG.getAnyExtOrTrunc(SplatVal, dl, MVT::i32); in LowerSPLAT_VECTOR()
8833 SplatVal = DAG.getAnyExtOrTrunc(SplatVal, dl, MVT::i64); in LowerSPLAT_VECTOR()
8845 return DAG.getNode(AArch64ISD::DUP, dl, VT, SplatVal); in LowerSPLAT_VECTOR()
13497 SDValue SplatVal, unsigned NumVecElts) { in splitStoreSplat() argument
13500 unsigned EltOffset = SplatVal.getValueType().getSizeInBits() / 8; in splitStoreSplat()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.h867 bool isConstantSplat(SDValue Op, APInt &SplatVal,
DX86ISelDAGToDAG.cpp888 APInt SplatVal; in PreprocessISelDAG() local
889 if (X86::isConstantSplat(N->getOperand(1), SplatVal) && in PreprocessISelDAG()
890 SplatVal.isOneValue()) { in PreprocessISelDAG()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.h720 bool isConstantSplat(SDValue Op, APInt &SplatVal);
DX86ISelDAGToDAG.cpp3915 APInt SplatVal; in combineIncDecVector() local
3916 if (!X86::isConstantSplat(OneVec, SplatVal) || !SplatVal.isOneValue()) in combineIncDecVector()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp1034 APInt SplatVal = APInt::getSplat(NumBits, Scalar); in getMemsetValue() local
1035 return MIB.buildConstant(Ty, SplatVal).getReg(0); in getMemsetValue()
/external/llvm-project/llvm/lib/IR/
DConstants.cpp1655 Constant *SplatVal = IElt->getOperand(1); in getSplatValue() local
1660 return SplatVal; in getSplatValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp4288 SDValue SplatVal = N->getOperand(0); in PromoteIntRes_SPLAT_VECTOR() local
4290 assert(!SplatVal.getValueType().isVector() && "Input must be a scalar"); in PromoteIntRes_SPLAT_VECTOR()
4297 SDValue Op = DAG.getNode(ISD::ANY_EXTEND, dl, NOutElemVT, SplatVal); in PromoteIntRes_SPLAT_VECTOR()
DLegalizeDAG.cpp2020 SDValue SplatVal = Node->getOperand(0); in ExpandSPLAT_VECTOR() local
2022 return DAG.getSplatBuildVector(VT, DL, SplatVal); in ExpandSPLAT_VECTOR()
DSelectionDAG.cpp139 bool ISD::isConstantSplatVector(const SDNode *N, APInt &SplatVal) { in isConstantSplatVector() argument
148 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp4694 SDValue SplatVal = N->getOperand(0); in PromoteIntRes_SPLAT_VECTOR() local
4696 assert(!SplatVal.getValueType().isVector() && "Input must be a scalar"); in PromoteIntRes_SPLAT_VECTOR()
4703 SDValue Op = DAG.getNode(ISD::ANY_EXTEND, dl, NOutElemVT, SplatVal); in PromoteIntRes_SPLAT_VECTOR()
DLegalizeDAG.cpp2077 SDValue SplatVal = Node->getOperand(0); in ExpandSPLAT_VECTOR() local
2079 return DAG.getSplatBuildVector(VT, DL, SplatVal); in ExpandSPLAT_VECTOR()
DSelectionDAG.cpp141 bool ISD::isConstantSplatVector(const SDNode *N, APInt &SplatVal) { in isConstantSplatVector() argument
146 SplatVal = Op0->getAPIntValue().truncOrSelf(EltSize); in isConstantSplatVector()
159 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9915 unsigned SplatVal = APSplatValue.getZExtValue(); in lowerToXXSPLTI32DX() local
9917 SplatVal |= (SplatVal << SplatBitSize); in lowerToXXSPLTI32DX()
9921 Index, DAG.getTargetConstant(SplatVal, DL, MVT::i32)); in lowerToXXSPLTI32DX()
14683 SDValue SplatVal = cast<BuildVectorSDNode>(RHS.getNode())->getSplatValue(); in combineVectorShuffle() local
14684 RHS = DAG.getSplatBuildVector(RHS.getValueType(), dl, SplatVal); in combineVectorShuffle()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8707 SDValue SplatVal = StVal.getOperand(1); in replaceSplatVectorStore() local
8715 if (NextInsertElt.getOperand(1) != SplatVal) in replaceSplatVectorStore()
8730 DAG.getStore(St->getChain(), DL, SplatVal, BasePtr, St->getPointerInfo(), in replaceSplatVectorStore()
8737 NewST1 = DAG.getStore(NewST1.getValue(0), DL, SplatVal, OffsetPtr, in replaceSplatVectorStore()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp96 bool ISD::isConstantSplatVector(const SDNode *N, APInt &SplatVal) { in isConstantSplatVector() argument
105 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs) && in isConstantSplatVector()

12