HomeSort by: relevance | last modified time | path
    Searched refs:SplatVal (Results 1 - 15 of 15) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
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);
RISCVISelDAGToDAG.cpp 1338 bool RISCVDAGToDAGISel::selectVSplat(SDValue N, SDValue &SplatVal) {
1343 SplatVal = N.getOperand(0);
1349 static bool selectVSplatSimmHelper(SDValue N, SDValue &SplatVal,
1378 SplatVal = DAG.getTargetConstant(SplatImm, SDLoc(N), XLenVT);
1382 bool RISCVDAGToDAGISel::selectVSplatSimm5(SDValue N, SDValue &SplatVal) {
1383 return selectVSplatSimmHelper(N, SplatVal, *CurDAG, *Subtarget,
1387 bool RISCVDAGToDAGISel::selectVSplatSimm5Plus1(SDValue N, SDValue &SplatVal) {
1389 N, SplatVal, *CurDAG, *Subtarget,
1394 SDValue &SplatVal) {
1396 N, SplatVal, *CurDAG, *Subtarget, [](int64_t Imm)
    [all...]
RISCVISelLowering.cpp 2903 SDValue SplatVal = Op.getOperand(0);
2914 assert(SplatVal.getValueType() == XLenVT &&
2917 SplatVal = DAG.getNode(ISD::AND, DL, XLenVT, SplatVal,
2919 SDValue LHS = DAG.getSplatVector(InterVT, DL, SplatVal);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 1072 Value *SplatVal = InsElt.getOperand(1);
1081 if (!Idx || CurrIE->getOperand(1) != SplatVal)
1114 FirstIE = InsertElementInst::Create(UndefVec, SplatVal, Zero, "", &InsElt);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64ISelLowering.cpp 4189 if (auto SplatVal = DAG.getSplatValue(Index.getOperand(1))) {
4190 if (isa<ConstantSDNode>(SplatVal))
4191 Offset = cast<ConstantSDNode>(SplatVal);
4193 BasePtr = SplatVal;
7198 SDValue SplatVal = DAG.getSExtOrTrunc(CCVal, DL, SplatValVT);
7199 SDValue SplatPred = DAG.getNode(ISD::SPLAT_VECTOR, DL, PredVT, SplatVal);
9176 SDValue SplatVal = Op.getOperand(0);
9187 if (auto *ConstVal = dyn_cast<ConstantSDNode>(SplatVal)) {
9194 SplatVal = DAG.getAnyExtOrTrunc(SplatVal, dl, MVT::i64)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelLowering.h 886 /// undefined, return true and return the constant value in \p SplatVal.
889 bool isConstantSplat(SDValue Op, APInt &SplatVal,
X86ISelDAGToDAG.cpp 890 APInt SplatVal;
891 if (X86::isConstantSplat(N->getOperand(1), SplatVal) &&
892 SplatVal.isOneValue()) {
X86ISelLowering.cpp 6844 bool isConstantSplat(SDValue Op, APInt &SplatVal, bool AllowPartialUndefs) {
6861 SplatVal = EltBits[SplatIndex];
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp 141 bool ISD::isConstantSplatVector(const SDNode *N, APInt &SplatVal) {
146 SplatVal = Op0->getAPIntValue().truncOrSelf(EltSize);
150 SplatVal = Op0->getValueAPF().bitcastToAPInt().truncOrSelf(EltSize);
163 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs,
177 APInt SplatVal;
178 return isConstantSplatVector(N, SplatVal) && SplatVal.isAllOnesValue();
226 APInt SplatVal;
227 return isConstantSplatVector(N, SplatVal) && SplatVal.isNullValue()
    [all...]
LegalizeIntegerTypes.cpp 4772 SDValue SplatVal = N->getOperand(0);
4774 assert(!SplatVal.getValueType().isVector() && "Input must be a scalar");
4781 SDValue Op = DAG.getNode(ISD::ANY_EXTEND, dl, NOutElemVT, SplatVal);
LegalizeDAG.cpp 1970 SDValue SplatVal = Node->getOperand(0);
1972 return DAG.getSplatBuildVector(VT, DL, SplatVal);
DAGCombiner.cpp 9629 SDValue SplatVal = DAG.getSplatValue(LHS);
9630 if (!SplatVal)
9633 BasePtr = SplatVal;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
CombinerHelper.cpp 1194 APInt SplatVal = APInt::getSplat(NumBits, Scalar);
1195 return MIB.buildConstant(Ty, SplatVal).getReg(0);
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Constants.cpp 1719 Constant *SplatVal = IElt->getOperand(1);
1724 return SplatVal;
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp 9641 unsigned SplatVal = APSplatValue.getZExtValue();
9643 SplatVal |= (SplatVal << SplatBitSize);
9647 Index, DAG.getTargetConstant(SplatVal, DL, MVT::i32));
14592 SDValue SplatVal =
14594 TheSplat = DAG.getSplatBuildVector(TheSplat.getValueType(), dl, SplatVal);

Completed in 128 milliseconds