/external/llvm-project/llvm/test/Transforms/LoopVectorize/X86/ |
D | outer_loop_test1_no_explicit_vect_width.ll | 22 ; 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/ |
D | outer_loop_test1_no_explicit_vect_width.ll | 21 ; 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/ |
D | outer_loop_test1.ll | 18 ; 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/ |
D | ConstantsTest.cpp | 661 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/ |
D | CombinerHelper.cpp | 942 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/ |
D | WebAssemblyISelLowering.cpp | 1566 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/ |
D | AArch64ISelLowering.cpp | 7403 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/ |
D | InstCombineVectorOps.cpp | 1072 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/ |
D | InstCombineVectorOps.cpp | 761 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/ |
D | AArch64ISelLowering.cpp | 8801 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/ |
D | X86ISelLowering.h | 867 bool isConstantSplat(SDValue Op, APInt &SplatVal,
|
D | X86ISelDAGToDAG.cpp | 888 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/ |
D | X86ISelLowering.h | 720 bool isConstantSplat(SDValue Op, APInt &SplatVal);
|
D | X86ISelDAGToDAG.cpp | 3915 APInt SplatVal; in combineIncDecVector() local 3916 if (!X86::isConstantSplat(OneVec, SplatVal) || !SplatVal.isOneValue()) in combineIncDecVector()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 1034 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/ |
D | Constants.cpp | 1655 Constant *SplatVal = IElt->getOperand(1); in getSplatValue() local 1660 return SplatVal; in getSplatValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeIntegerTypes.cpp | 4288 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()
|
D | LegalizeDAG.cpp | 2020 SDValue SplatVal = Node->getOperand(0); in ExpandSPLAT_VECTOR() local 2022 return DAG.getSplatBuildVector(VT, DL, SplatVal); in ExpandSPLAT_VECTOR()
|
D | SelectionDAG.cpp | 139 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/ |
D | LegalizeIntegerTypes.cpp | 4694 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()
|
D | LegalizeDAG.cpp | 2077 SDValue SplatVal = Node->getOperand(0); in ExpandSPLAT_VECTOR() local 2079 return DAG.getSplatBuildVector(VT, DL, SplatVal); in ExpandSPLAT_VECTOR()
|
D | SelectionDAG.cpp | 141 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/ |
D | PPCISelLowering.cpp | 9915 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/ |
D | AArch64ISelLowering.cpp | 8707 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/ |
D | SelectionDAG.cpp | 96 bool ISD::isConstantSplatVector(const SDNode *N, APInt &SplatVal) { in isConstantSplatVector() argument 105 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs) && in isConstantSplatVector()
|