/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A D | RISCVISelDAGToDAG.h | 64 bool selectVSplat(SDValue N, SDValue &SplatVal); 65 bool selectVSplatSimm5(SDValue N, SDValue &SplatVal); 66 bool selectVSplatUimm5(SDValue N, SDValue &SplatVal); 67 bool selectVSplatSimm5Plus1(SDValue N, SDValue &SplatVal); 68 bool selectVSplatSimm5Plus1NonZero(SDValue N, SDValue &SplatVal);
|
H A D | RISCVISelDAGToDAG.cpp | 1338 bool RISCVDAGToDAGISel::selectVSplat(SDValue N, SDValue &SplatVal) { in selectVSplat() argument 1343 SplatVal = N.getOperand(0); in selectVSplat() 1349 static bool selectVSplatSimmHelper(SDValue N, SDValue &SplatVal, in selectVSplatSimmHelper() argument 1378 SplatVal = DAG.getTargetConstant(SplatImm, SDLoc(N), XLenVT); in selectVSplatSimmHelper() 1382 bool RISCVDAGToDAGISel::selectVSplatSimm5(SDValue N, SDValue &SplatVal) { in selectVSplatSimm5() argument 1383 return selectVSplatSimmHelper(N, SplatVal, *CurDAG, *Subtarget, in selectVSplatSimm5() 1387 bool RISCVDAGToDAGISel::selectVSplatSimm5Plus1(SDValue N, SDValue &SplatVal) { in selectVSplatSimm5Plus1() argument 1389 N, SplatVal, *CurDAG, *Subtarget, in selectVSplatSimm5Plus1() 1394 SDValue &SplatVal) { in selectVSplatSimm5Plus1NonZero() argument 1396 N, SplatVal, *CurDAG, *Subtarget, [](int64_t Imm) { in selectVSplatSimm5Plus1NonZero() [all …]
|
H A D | RISCVISelLowering.cpp | 2903 SDValue SplatVal = Op.getOperand(0); in lowerVectorMaskSplat() local 2914 assert(SplatVal.getValueType() == XLenVT && in lowerVectorMaskSplat() 2917 SplatVal = DAG.getNode(ISD::AND, DL, XLenVT, SplatVal, in lowerVectorMaskSplat() 2919 SDValue LHS = DAG.getSplatVector(InterVT, DL, SplatVal); in lowerVectorMaskSplat()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 4189 if (auto SplatVal = DAG.getSplatValue(Index.getOperand(1))) { in selectGatherScatterAddrMode() local 4190 if (isa<ConstantSDNode>(SplatVal)) in selectGatherScatterAddrMode() 4191 Offset = cast<ConstantSDNode>(SplatVal); in selectGatherScatterAddrMode() 4193 BasePtr = SplatVal; in selectGatherScatterAddrMode() 7198 SDValue SplatVal = DAG.getSExtOrTrunc(CCVal, DL, SplatValVT); in LowerSELECT() local 7199 SDValue SplatPred = DAG.getNode(ISD::SPLAT_VECTOR, DL, PredVT, SplatVal); in LowerSELECT() 9176 SDValue SplatVal = Op.getOperand(0); in LowerSPLAT_VECTOR() local 9187 if (auto *ConstVal = dyn_cast<ConstantSDNode>(SplatVal)) { in LowerSPLAT_VECTOR() 9194 SplatVal = DAG.getAnyExtOrTrunc(SplatVal, dl, MVT::i64); in LowerSPLAT_VECTOR() 9195 SplatVal = DAG.getNode(ISD::SIGN_EXTEND_INREG, dl, MVT::i64, SplatVal, in LowerSPLAT_VECTOR() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 889 bool isConstantSplat(SDValue Op, APInt &SplatVal,
|
H A D | X86ISelDAGToDAG.cpp | 890 APInt SplatVal; in PreprocessISelDAG() local 891 if (X86::isConstantSplat(N->getOperand(1), SplatVal) && in PreprocessISelDAG() 892 SplatVal.isOneValue()) { in PreprocessISelDAG()
|
H A D | X86ISelLowering.cpp | 6844 bool isConstantSplat(SDValue Op, APInt &SplatVal, bool AllowPartialUndefs) { in isConstantSplat() argument 6861 SplatVal = EltBits[SplatIndex]; in isConstantSplat() 30539 APInt SplatVal; in ReplaceNodeResults() local 30540 if (ISD::isConstantSplatVector(N->getOperand(1).getNode(), SplatVal)) { in ReplaceNodeResults() 30546 SDValue N1 = DAG.getConstant(SplatVal, dl, ResVT); in ReplaceNodeResults() 44306 APInt SplatVal; in combineAndMaskToShift() local 44307 if (!ISD::isConstantSplatVector(Op1.getNode(), SplatVal) || in combineAndMaskToShift() 44308 !SplatVal.isMask()) in combineAndMaskToShift() 44323 unsigned ShiftVal = SplatVal.countTrailingOnes(); in combineAndMaskToShift()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 141 bool ISD::isConstantSplatVector(const SDNode *N, APInt &SplatVal) { in isConstantSplatVector() argument 146 SplatVal = Op0->getAPIntValue().truncOrSelf(EltSize); in isConstantSplatVector() 150 SplatVal = Op0->getValueAPF().bitcastToAPInt().truncOrSelf(EltSize); in isConstantSplatVector() 163 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector() 177 APInt SplatVal; in isConstantSplatVectorAllOnes() local 178 return isConstantSplatVector(N, SplatVal) && SplatVal.isAllOnesValue(); in isConstantSplatVectorAllOnes() 226 APInt SplatVal; in isConstantSplatVectorAllZeros() local 227 return isConstantSplatVector(N, SplatVal) && SplatVal.isNullValue(); in isConstantSplatVectorAllZeros()
|
H A D | LegalizeIntegerTypes.cpp | 4772 SDValue SplatVal = N->getOperand(0); in PromoteIntRes_SPLAT_VECTOR() local 4774 assert(!SplatVal.getValueType().isVector() && "Input must be a scalar"); in PromoteIntRes_SPLAT_VECTOR() 4781 SDValue Op = DAG.getNode(ISD::ANY_EXTEND, dl, NOutElemVT, SplatVal); in PromoteIntRes_SPLAT_VECTOR()
|
H A D | LegalizeDAG.cpp | 1970 SDValue SplatVal = Node->getOperand(0); in ExpandSPLAT_VECTOR() local 1972 return DAG.getSplatBuildVector(VT, DL, SplatVal); in ExpandSPLAT_VECTOR()
|
H A D | DAGCombiner.cpp | 9629 SDValue SplatVal = DAG.getSplatValue(LHS); in refineUniformBase() local 9630 if (!SplatVal) in refineUniformBase() 9633 BasePtr = SplatVal; in refineUniformBase()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Constants.cpp | 1719 Constant *SplatVal = IElt->getOperand(1); in getSplatValue() local 1724 return SplatVal; in getSplatValue()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 1194 APInt SplatVal = APInt::getSplat(NumBits, Scalar); in getMemsetValue() local 1195 return MIB.buildConstant(Ty, SplatVal).getReg(0); in getMemsetValue()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 9641 unsigned SplatVal = APSplatValue.getZExtValue(); in lowerToXXSPLTI32DX() local 9643 SplatVal |= (SplatVal << SplatBitSize); in lowerToXXSPLTI32DX() 9647 Index, DAG.getTargetConstant(SplatVal, DL, MVT::i32)); in lowerToXXSPLTI32DX() 14592 SDValue SplatVal = in combineVectorShuffle() local 14594 TheSplat = DAG.getSplatBuildVector(TheSplat.getValueType(), dl, SplatVal); in combineVectorShuffle()
|