Lines Matching defs:getConstant
1541 return getNode(ISD::AND, DL, OpVT, Op, getConstant(Imm, DL, OpVT));
1559 return getNode(ISD::VP_AND, DL, OpVT, Op, getConstant(Imm, DL, OpVT), Mask,
1576 return getNode(ISD::SUB, DL, VT, getConstant(0, DL, VT), Val);
1612 return getConstant(0, DL, VT);
1617 return getConstant(1, DL, VT);
1624 SDValue SelectionDAG::getConstant(uint64_t Val, const SDLoc &DL, EVT VT,
1629 "getConstant with a uint64_t value that doesn't fit in the type!");
1630 return getConstant(APInt(EltVT.getSizeInBits(), Val), DL, VT, isT, isO);
1633 SDValue SelectionDAG::getConstant(const APInt &Val, const SDLoc &DL, EVT VT,
1635 return getConstant(*ConstantInt::get(*Context, Val), DL, VT, isT, isO);
1638 SDValue SelectionDAG::getConstant(const ConstantInt &Val, const SDLoc &DL,
1681 ScalarParts.push_back(getConstant(
1698 EltParts.push_back(getConstant(
1710 // perform this reversal because getConstant() is producing a vector
1752 return getConstant(Val, DL, TLI->getPointerTy(getDataLayout()), isTarget);
1759 return getConstant(Val, DL, ShiftVT);
1770 return getConstant(Val, DL, TLI->getVectorIdxTy(getDataLayout()), isTarget);
2036 return getConstant(0, DL, VT);
2043 return getConstant(MulImm * C->getZExtValue(), DL, VT);
2046 return getNode(ISD::VSCALE, DL, VT, getConstant(MulImm, DL, VT));
2055 return getConstant(EC.getKnownMinValue(), DL, VT);
2074 getConstant(StepVal * i, DL, ResVT.getVectorElementType()));
2429 getConstant(MA->value() - 1, dl, VAList.getValueType()));
2433 getConstant(-(int64_t)MA->value(), dl, VAList.getValueType()));
2438 getConstant(getDataLayout().getTypeAllocSize(
2538 return getConstant(0, dl, VT);
5754 return DAG.getConstant(0, DL, VT);
6018 return getConstant(0, DL, VT);
6038 return getConstant(0, DL, VT);
6132 return getConstant(0, DL, VT);
6404 return getConstant(Val.sextOrTrunc(VT.getSizeInBits()), DL, VT,
6411 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), DL, VT,
6416 return getConstant(Val.sextOrTrunc(VT.getSizeInBits()), DL, VT,
6418 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), DL, VT,
6421 return getConstant(Val.abs(), DL, VT, C->isTargetOpcode(),
6424 return getConstant(Val.reverseBits(), DL, VT, C->isTargetOpcode(),
6427 return getConstant(Val.byteSwap(), DL, VT, C->isTargetOpcode(),
6430 return getConstant(Val.popcount(), DL, VT, C->isTargetOpcode(),
6434 return getConstant(Val.countl_zero(), DL, VT, C->isTargetOpcode(),
6438 return getConstant(Val.countr_zero(), DL, VT, C->isTargetOpcode(),
6523 return getConstant(IntVal, DL, VT);
6533 return getConstant(V.bitcastToAPInt().getZExtValue(), DL, VT);
6537 return getConstant((uint16_t)V.bitcastToAPInt().getZExtValue(), DL,
6540 return getConstant((uint16_t)V.bitcastToAPInt().getZExtValue(), DL,
6543 return getConstant((uint32_t)V.bitcastToAPInt().getZExtValue(), DL,
6546 return getConstant(V.bitcastToAPInt().getZExtValue(), DL, VT);
6571 SDValue Folded = getConstant(*FoldAttempt, DL, VT);
6638 Ops[I] = getConstant(DstBits[I].sext(BVEltBits), DL, BVEltVT);
7126 return getConstant(Val, DL, ConstantVT);
7279 return getConstant(Val.extractBits(ElementSize, Shift), DL, VT);
7346 return getConstant(0, DL, VT); // fold op(undef, arg2) -> 0
7358 return getConstant(0, DL, VT);
7371 return getConstant(0, DL, VT); // fold op(arg1, undef) -> 0
7652 return DAG.getConstant(Val, dl, VT, false, IsOpaque);
7669 DAG.getConstant(Magic, dl, IntVT));
7689 return DAG.getConstant(0, dl, VT);
7696 DAG.getConstant(0, dl,
7721 return DAG.getConstant(Val, dl, VT);
7736 Index = getConstant(Offset.getFixedValue(), DL, VT);
9937 return getConstant(0, SDLoc(X.getNode()), X.getValueType());
10191 SDValue ZeroOverFlow = getConstant(0, DL, VTList.VTs[1]);
10254 getConstant(Val.extractBits(Width, Width), DL, VTList.VTs[0]);
10255 SDValue Lo = getConstant(Val.trunc(Width), DL, VTList.VTs[0]);
10271 getConstant(FrexpMant.isFinite() ? FrexpExp : 0, DL, VTList.VTs[1]);
12512 getConstant(0, dl, OvEltVT));
12682 ? getConstant(HalfMinNumElts, DL, VT)
13162 return getConstant(0, DL, VT);
13164 return getConstant(1, DL, VT);
13169 return getConstant(APInt::getSignedMinValue(VT.getSizeInBits()), DL, VT);
13171 return getConstant(APInt::getSignedMaxValue(VT.getSizeInBits()), DL, VT);