Lines Matching defs:getConstant
1583 return getNode(ISD::AND, DL, OpVT, Op, getConstant(Imm, DL, OpVT));
1601 return getNode(ISD::VP_AND, DL, OpVT, Op, getConstant(Imm, DL, OpVT), Mask,
1618 return getNode(ISD::SUB, DL, VT, getConstant(0, DL, VT), Val);
1654 return getConstant(0, DL, VT);
1659 return getConstant(1, DL, VT);
1666 SDValue SelectionDAG::getConstant(uint64_t Val, const SDLoc &DL, EVT VT,
1668 return getConstant(APInt(VT.getScalarSizeInBits(), Val, /*isSigned=*/false),
1672 SDValue SelectionDAG::getConstant(const APInt &Val, const SDLoc &DL, EVT VT,
1674 return getConstant(*ConstantInt::get(*Context, Val), DL, VT, isT, isO);
1677 SDValue SelectionDAG::getConstant(const ConstantInt &Val, const SDLoc &DL,
1725 ScalarParts.push_back(getConstant(
1742 EltParts.push_back(getConstant(
1754 // perform this reversal because getConstant() is producing a vector
1797 return getConstant(APInt(Size, Val, /*isSigned=*/true), DL, VT, isT, isO);
1802 return getConstant(APInt::getAllOnes(VT.getScalarSizeInBits()), DL, VT,
1808 return getConstant(Val, DL, TLI->getPointerTy(getDataLayout()), isTarget);
1815 return getConstant(Val, DL, ShiftVT);
1826 return getConstant(Val, DL, TLI->getVectorIdxTy(getDataLayout()), isTarget);
2098 return getConstant(0, DL, VT);
2105 return getConstant(MulImm * C->getZExtValue(), DL, VT);
2108 return getNode(ISD::VSCALE, DL, VT, getConstant(MulImm, DL, VT));
2117 return getConstant(EC.getKnownMinValue(), DL, VT);
2136 getConstant(StepVal * i, DL, ResVT.getVectorElementType()));
2710 getConstant(MA->value() - 1, dl, VAList.getValueType()));
2719 getConstant(getDataLayout().getTypeAllocSize(
2824 return getConstant(0, dl, VT);
6054 return DAG.getConstant(0, DL, VT);
6318 return getConstant(0, DL, VT);
6338 return getConstant(0, DL, VT);
6432 return getConstant(0, DL, VT);
6704 return getConstant(Val.sextOrTrunc(VT.getSizeInBits()), DL, VT,
6711 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), DL, VT,
6716 return getConstant(Val.sextOrTrunc(VT.getSizeInBits()), DL, VT,
6718 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), DL, VT,
6721 return getConstant(Val.abs(), DL, VT, C->isTargetOpcode(),
6724 return getConstant(Val.reverseBits(), DL, VT, C->isTargetOpcode(),
6727 return getConstant(Val.byteSwap(), DL, VT, C->isTargetOpcode(),
6730 return getConstant(Val.popcount(), DL, VT, C->isTargetOpcode(),
6734 return getConstant(Val.countl_zero(), DL, VT, C->isTargetOpcode(),
6738 return getConstant(Val.countr_zero(), DL, VT, C->isTargetOpcode(),
6822 return getConstant(IntVal, DL, VT);
6832 return getConstant(V.bitcastToAPInt().getZExtValue(), DL, VT);
6836 return getConstant((uint16_t)V.bitcastToAPInt().getZExtValue(), DL,
6839 return getConstant((uint16_t)V.bitcastToAPInt().getZExtValue(), DL,
6842 return getConstant((uint32_t)V.bitcastToAPInt().getZExtValue(), DL,
6845 return getConstant(V.bitcastToAPInt().getZExtValue(), DL, VT);
6870 SDValue Folded = getConstant(*FoldAttempt, DL, VT);
6892 return getConstant(Val, DL, ConstantVT);
6975 Ops[I] = getConstant(DstBits[I].sext(BVEltBits), DL, BVEltVT);
7589 return getConstant(Val.extractBits(ElementSize, Shift), DL, VT);
7656 return getConstant(0, DL, VT); // fold op(undef, arg2) -> 0
7668 return getConstant(0, DL, VT);
7681 return getConstant(0, DL, VT); // fold op(arg1, undef) -> 0
7980 return DAG.getConstant(Val, dl, VT, false, IsOpaque);
7996 DAG.getConstant(Magic, dl, IntVT));
8016 return DAG.getConstant(0, dl, VT);
8023 DAG.getConstant(0, dl,
8048 return DAG.getConstant(Val, dl, VT);
8063 Index = getConstant(Offset.getFixedValue(), DL, VT);
10251 return getConstant(0, SDLoc(X.getNode()), X.getValueType());
10507 SDValue ZeroOverFlow = getConstant(0, DL, VTList.VTs[1]);
10570 getConstant(Val.extractBits(Width, Width), DL, VTList.VTs[0]);
10571 SDValue Lo = getConstant(Val.trunc(Width), DL, VTList.VTs[0]);
10587 getConstant(FrexpMant.isFinite() ? FrexpExp : 0, DL, VTList.VTs[1]);
12867 getConstant(0, dl, OvEltVT));
13037 ? getConstant(HalfMinNumElts, DL, VT)
13554 return getConstant(0, DL, VT);
13556 return getConstant(1, DL, VT);
13561 return getConstant(APInt::getSignedMinValue(VT.getSizeInBits()), DL, VT);
13563 return getConstant(APInt::getSignedMaxValue(VT.getSizeInBits()), DL, VT);