reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/AArch64/AArch64GenDAGISel.inc
115640   return CurDAG->getTargetConstant(N->getZExtValue(), SDLoc(N), MVT::i32);
115646   uint64_t enc = AArch64_AM::encodeLogicalImmediate(N->getZExtValue(), 32);
115653   uint64_t enc = AArch64_AM::encodeLogicalImmediate(N->getZExtValue(), 64);
115660   AArch64CC::CondCode CC = static_cast<AArch64CC::CondCode>(N->getZExtValue());
115668   uint64_t enc = (32 - N->getZExtValue()) & 0x1f;
115675   uint64_t enc = 31 - N->getZExtValue();
115683   uint64_t enc = (64 - N->getZExtValue()) & 0x3f;
115690   uint64_t enc = 63 - N->getZExtValue();
115698   uint64_t enc = 31 - N->getZExtValue();
115706   uint64_t enc = 63 - N->getZExtValue();
115714   uint64_t enc = 63 - N->getZExtValue();
115722   uint64_t enc = 31 - N->getZExtValue();
115729   uint64_t enc = 63 - N->getZExtValue();
115784   return CurDAG->getTargetConstant(8 + N->getZExtValue(), SDLoc(N), MVT::i32);
115790   return CurDAG->getTargetConstant(8 * N->getZExtValue(), SDLoc(N), MVT::i64);
115796   return CurDAG->getTargetConstant(4 * N->getZExtValue(), SDLoc(N), MVT::i64);
115802   return CurDAG->getTargetConstant(2 * N->getZExtValue(), SDLoc(N), MVT::i64);
gen/lib/Target/AMDGPU/AMDGPUGenDAGISel.inc
79427   return isMask_32(N->getZExtValue());
79444   return N->getZExtValue() < 32;
79800   return CurDAG->getTargetConstant(N->getZExtValue(), SDLoc(N), MVT::i1);
79818   return CurDAG->getTargetConstant(N->getZExtValue(), SDLoc(N), MVT::i8);
79824   return CurDAG->getTargetConstant(N->getZExtValue() & 1, SDLoc(N), MVT::i8);
79830   return CurDAG->getTargetConstant((N->getZExtValue() >> 1) & 1, SDLoc(N), MVT::i8);
79836   return CurDAG->getTargetConstant((N->getZExtValue() >> 2) & 1, SDLoc(N), MVT::i8);
79842   return CurDAG->getTargetConstant((N->getZExtValue() >> 3) & 1, SDLoc(N), MVT::i8);
79848   return CurDAG->getTargetConstant(countPopulation(N->getZExtValue()), SDLoc(N),
gen/lib/Target/AMDGPU/R600GenDAGISel.inc
12313   return isMask_32(N->getZExtValue());
12622   return CurDAG->getTargetConstant(countPopulation(N->getZExtValue()), SDLoc(N),
gen/lib/Target/ARM/ARMGenDAGISel.inc
54035   return (((uint32_t)N->getZExtValue()) & 0xFFFFUL) == 0;
54084   return ARM_AM::getT2SOImmVal(~((uint32_t)N->getZExtValue())) != -1;
54094   uint64_t EltVal = ARM_AM::decodeVMOVModImm(ConstVal->getZExtValue(), EltBits);
54103     int32_t v = N->getZExtValue();
54124   uint32_t Val = -N->getZExtValue();
54133     unsigned Value = -(unsigned)N->getZExtValue();
54142   return (uint32_t)-N->getZExtValue() < 8;
54150   unsigned Val = -N->getZExtValue();
54166  return (uint32_t)(-N->getZExtValue()) < 4096;
54203     return ARM_AM::getSOImmVal(~(uint32_t)N->getZExtValue()) != -1;
54231   return ARM::isBitFieldInvertedMask(N->getZExtValue());
54239    uint64_t Imm = N->getZExtValue();
54307   uint64_t Imm = N->getZExtValue();
54646   return (((uint32_t)N->getZExtValue()) & 0x1FUL) == 0x1FUL;
54656   uint64_t EltVal = ARM_AM::decodeVMOVModImm(ConstVal->getZExtValue(), EltBits);
54665   return (uint32_t)(~N->getZExtValue()) < 255;
54734   return ARM_AM::isThumbImmShiftedVal((unsigned)N->getZExtValue());
54742   return ~((uint32_t)N->getZExtValue()) < 256;
55025   return CurDAG->getTargetConstant((uint32_t)N->getZExtValue() >> 16, SDLoc(N),
55032   return CurDAG->getTargetConstant(~((uint32_t)N->getZExtValue()), SDLoc(N),
55039   switch (N->getZExtValue()){
55051   return CurDAG->getTargetConstant(-(int)N->getZExtValue(), SDLoc(N), MVT::i32);
55057   return CurDAG->getTargetConstant(-((int)N->getZExtValue()), SDLoc(N),
55065   return CurDAG->getTargetConstant(ARM::dsub_0 + N->getZExtValue()/4, SDLoc(N),
55072   return CurDAG->getTargetConstant(N->getZExtValue() & 3, SDLoc(N), MVT::i32);
55079   return CurDAG->getTargetConstant(ARM::dsub_0 + N->getZExtValue()/2, SDLoc(N),
55086   return CurDAG->getTargetConstant(N->getZExtValue() & 1, SDLoc(N), MVT::i32);
55092   return CurDAG->getTargetConstant(~(int)N->getZExtValue(), SDLoc(N), MVT::i32);
55106   return CurDAG->getTargetConstant((int)N->getZExtValue() - 1, SDLoc(N),
55113   return CurDAG->getTargetConstant((int)N->getZExtValue() - 1, SDLoc(N),
55120   unsigned Imm = N->getZExtValue();
55127   ARMCC::CondCodes CC = static_cast<ARMCC::CondCodes>(N->getZExtValue());
55136   return CurDAG->getTargetConstant(ARM::dsub_0 + N->getZExtValue()/8, SDLoc(N),
55143   return CurDAG->getTargetConstant(N->getZExtValue() & 7, SDLoc(N), MVT::i32);
55150   return CurDAG->getTargetConstant(ARM::ssub_0 + N->getZExtValue(), SDLoc(N),
55158   return CurDAG->getTargetConstant(ARM::ssub_0 + N->getZExtValue()/2, SDLoc(N),
55166   return CurDAG->getTargetConstant(ARM::dsub_0 + N->getZExtValue(), SDLoc(N),
55173   unsigned V = ARM_AM::getThumbImmNonShiftedVal((unsigned)N->getZExtValue());
55180   unsigned V = ARM_AM::getThumbImmValShift((unsigned)N->getZExtValue());
55187   return CurDAG->getTargetConstant(N->getZExtValue() - 255, SDLoc(N), MVT::i32);
gen/lib/Target/AVR/AVRGenDAGISel.inc
 1581   uint64_t val = N->getZExtValue();
 1606   return isPowerOf2_32(uint8_t(N->getZExtValue()));
 1631   return isPowerOf2_32(uint8_t(~N->getZExtValue()));
 1639   uint64_t val = N->getZExtValue();
 1666   uint64_t val = N->getZExtValue();
 1674  return isUInt<6>(N->getZExtValue()); 
 1754   return CurDAG->getTargetConstant(uint8_t(N->getZExtValue()) - 0x20, SDLoc(N), MVT::i8);
 1760   return CurDAG->getTargetConstant(Log2_32(uint8_t(N->getZExtValue())),
 1767   return CurDAG->getTargetConstant(Log2_32(uint8_t(~N->getZExtValue())),
gen/lib/Target/BPF/BPFGenDAGISel.inc
 2028 return (N->getZExtValue() == ISD::SETEQ);
 2035 return (N->getZExtValue() == ISD::SETUGT);
 2042 return (N->getZExtValue() == ISD::SETUGE);
 2049 return (N->getZExtValue() == ISD::SETNE);
 2056 return (N->getZExtValue() == ISD::SETGT);
 2063 return (N->getZExtValue() == ISD::SETGE);
 2070 return (N->getZExtValue() == ISD::SETULT);
 2077 return (N->getZExtValue() == ISD::SETULE);
 2084 return (N->getZExtValue() == ISD::SETLT);
 2091 return (N->getZExtValue() == ISD::SETLE);
gen/lib/Target/Hexagon/HexagonGenDAGISel.inc
72432   uint8_t NV = ~N->getZExtValue();
72441   uint16_t NV = ~N->getZExtValue();
72450   uint32_t NV = ~N->getZExtValue();
72459   uint32_t V = N->getZExtValue();
72621   uint64_t V = N->getZExtValue();
72630   uint64_t V = N->getZExtValue();
72681   uint64_t NV = ~N->getZExtValue();
72690   uint64_t NV = ~N->getZExtValue();
72698 uint64_t V = N->getZExtValue();return isUInt<32>(V) && V <= 31;
72704 uint64_t V = N->getZExtValue();return isUInt<32>(V) && V > 31;
72710 uint64_t V = N->getZExtValue();return isUInt<8>(V) && V > 31;
72716 uint64_t V = N->getZExtValue();return isUInt<32>(V) && V > 32;
72859   uint64_t V = N->getZExtValue();
72980   uint8_t NV = ~N->getZExtValue();
72987   uint16_t NV = ~N->getZExtValue();
72994   uint32_t NV = ~N->getZExtValue();
73001   uint8_t V = N->getZExtValue();
73008   uint16_t V = N->getZExtValue();
73015   uint32_t V = N->getZExtValue();
73058   uint64_t V = N->getZExtValue();
73065   uint32_t V = N->getZExtValue();
73073   uint64_t NV = ~N->getZExtValue();
73080   uint32_t V = N->getZExtValue();
73149   return CurDAG->getTargetConstant(N->getZExtValue() / 8, SDLoc(N), MVT::i32);
73165   uint32_t V = N->getZExtValue();
73174   uint32_t V = N->getZExtValue();
gen/lib/Target/Lanai/LanaiGenDAGISel.inc
 1445     return ((N->getZExtValue() & 0xFFFFUL) == N->getZExtValue());
 1445     return ((N->getZExtValue() & 0xFFFFUL) == N->getZExtValue());
 1454     return ((N->getZExtValue() & 0xFFFF0000UL) == N->getZExtValue());
 1454     return ((N->getZExtValue() & 0xFFFF0000UL) == N->getZExtValue());
 1463     return (N->getZExtValue() >= 0xFFFF0000UL);
 1472     return ((N->getZExtValue() & 0xFFFFUL) == 0xFFFFUL);
 1499     return ((N->getZExtValue() & 0x1FFFFFUL) == N->getZExtValue());
 1499     return ((N->getZExtValue() & 0x1FFFFFUL) == N->getZExtValue());
 1551   return CurDAG->getTargetConstant((uint64_t)N->getZExtValue() & 0xffff,
 1558   return CurDAG->getTargetConstant((uint64_t)N->getZExtValue() >> 16, SDLoc(N),
 1571   return CurDAG->getTargetConstant((uint64_t)N->getZExtValue() & 0x1fffff,
gen/lib/Target/Mips/MipsGenDAGISel.inc
30127     uint64_t Imm = N->getZExtValue();
30140     uint64_t Imm = N->getZExtValue();
30153     uint64_t Imm = N->getZExtValue();
30180     return (uint32_t)N->getZExtValue() == (unsigned short)N->getZExtValue();
30180     return (uint32_t)N->getZExtValue() == (unsigned short)N->getZExtValue();
30182     return (uint64_t)N->getZExtValue() == (unsigned short)N->getZExtValue();
30182     return (uint64_t)N->getZExtValue() == (unsigned short)N->getZExtValue();
30195  return isUInt<16>(N->getZExtValue()); 
30229  return isUInt<7>(N->getZExtValue()); 
30333   return isUInt<5>(N->getZExtValue() - 1);
30341   return isUInt<5>(N->getZExtValue() - 33);
30349   return isUInt<5>(N->getZExtValue() - 32);
30420   return isUInt<16>(N->getZExtValue()) && !isInt<16>(N->getSExtValue());
30442   uint64_t Val = N->getZExtValue();
30450  return isUInt<32>(N->getZExtValue()); 
30623   return getImm(N, Log2_64((unsigned) N->getZExtValue()));
30629   return getImm(N, Log2_64((unsigned) (N->getZExtValue() >> 32)));
30639   return getImm(N, N->getZExtValue() & 0xFFFF);
30645   return getImm(N, 31 - N->getZExtValue());
30651   return getImm(N, (N->getZExtValue() >> 16) & 0xFFFF);
gen/lib/Target/NVPTX/NVPTXGenDAGISel.inc
72355   return CurDAG->getTargetConstant(32 - N->getZExtValue(), SDLoc(N), MVT::i32);
72361     return CurDAG->getTargetConstant(64-N->getZExtValue(), SDLoc(N), MVT::i32);
gen/lib/Target/PowerPC/PPCGenDAGISel.inc
44258   return (uint64_t)N->getZExtValue() == (unsigned short)N->getZExtValue();
44258   return (uint64_t)N->getZExtValue() == (unsigned short)N->getZExtValue();
44300   return (N->getZExtValue() & ~uint64_t(0xFFFF0000)) == 0;
44322   if (N->getZExtValue() & 0xFFFF) return false;
44326   return N->getZExtValue() == (uint64_t)(int)N->getZExtValue();
44326   return N->getZExtValue() == (uint64_t)(int)N->getZExtValue();
44441     return isRunOfOnes((unsigned)N->getZExtValue(), mb, me);
44451   return cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() == 0;
44459   return cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() == 1;
44882   return getI32Imm((unsigned)N->getZExtValue() >> 16, SDLoc(N));
44889   return getI32Imm((unsigned short)N->getZExtValue(), SDLoc(N));
44896   long Val = N->getZExtValue();
44905   (void)isRunOfOnes((unsigned)N->getZExtValue(), mb, me);
44914   (void)isRunOfOnes((unsigned)N->getZExtValue(), mb, me);
44921   return getI32Imm (N->getZExtValue(), SDLoc(N));
44928   return getI32Imm(31 - N->getZExtValue(), SDLoc(N));
44935   return getI32Imm(63 - N->getZExtValue(), SDLoc(N));
44942   return N->getZExtValue() ? getI32Imm(32 - N->getZExtValue(), SDLoc(N))
44942   return N->getZExtValue() ? getI32Imm(32 - N->getZExtValue(), SDLoc(N))
44950   return N->getZExtValue() ? getI32Imm(64 - N->getZExtValue(), SDLoc(N))
44950   return N->getZExtValue() ? getI32Imm(64 - N->getZExtValue(), SDLoc(N))
gen/lib/Target/RISCV/RISCVGenDAGISel.inc
14189   return CurDAG->getTargetConstant(((N->getZExtValue()+0x800) >> 12) & 0xfffff,
14196   return CurDAG->getTargetConstant(SignExtend64<12>(N->getZExtValue()),
gen/lib/Target/Sparc/SparcGenDAGISel.inc
 3559   return N->hasOneUse() && isShiftedUInt<22, 10>(~(unsigned)N->getZExtValue());
 3573   return isShiftedUInt<22, 10>(N->getZExtValue());
 3580  return isUInt<32>(N->getZExtValue()); 
 3635   return CurDAG->getTargetConstant(~(unsigned)N->getZExtValue() >> 10, SDLoc(N),
 3649   return CurDAG->getTargetConstant((unsigned)N->getZExtValue() >> 10, SDLoc(N),
 3656   return CurDAG->getTargetConstant((unsigned)N->getZExtValue() & 1023, SDLoc(N),
 3663   uint64_t Val = (~N->getZExtValue() >> 10) & ((1u << 22) - 1);
 3670   return CurDAG->getTargetConstant(~(~N->getZExtValue() & 0x3ff), SDLoc(N),
 3677   uint64_t Val = (N->getZExtValue() >> 42) & ((1u << 22) - 1);
 3684   uint64_t Val = (N->getZExtValue() >> 32) & ((1u << 10) - 1);
gen/lib/Target/SystemZ/SystemZGenDAGISel.inc
29861   return isUInt<4>(N->getZExtValue());
30014   return isUInt<3>(N->getZExtValue());
30022   return isUInt<2>(N->getZExtValue());
30030   return isUInt<1>(N->getZExtValue());
30094   return isUInt<32>(N->getZExtValue());
30102   return SystemZ::isImmLF(N->getZExtValue());
30110   return SystemZ::isImmHF(N->getZExtValue());
30139   return SystemZ::isImmLL(N->getZExtValue());
30148   return SystemZ::isImmLH(N->getZExtValue());
30156   return SystemZ::isImmHL(N->getZExtValue());
30164   return SystemZ::isImmHH(N->getZExtValue());
30173   return isUInt<8>(N->getZExtValue());
30181   return SystemZ::isImmLL(uint32_t(~N->getZExtValue()));
30189   return SystemZ::isImmLH(uint32_t(~N->getZExtValue()));
30197   return SystemZ::isImmLL(uint64_t(~N->getZExtValue()));
30205   return SystemZ::isImmLH(uint64_t(~N->getZExtValue()));
30213   return SystemZ::isImmHL(uint64_t(~N->getZExtValue()));
30221   return SystemZ::isImmHH(uint64_t(~N->getZExtValue()));
30229   return SystemZ::isImmLF(uint64_t(~N->getZExtValue()));
30237   return SystemZ::isImmHF(uint64_t(~N->getZExtValue()));
30244  return (N->getZExtValue() < 16); 
30264   unsigned Type = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
30273   unsigned Type = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
30284   return isUInt<16>(N->getZExtValue());
30327   return SystemZ::isImmLH(uint64_t(-N->getZExtValue()));
30335   return SystemZ::isImmLF(uint64_t(-N->getZExtValue()));
30351   return (N->getZExtValue() & 0x3f) == 0x3f;
30359   return (N->getZExtValue() % 64 == 0);
30421   return isUInt<12>(N->getZExtValue());
30513   return CurDAG->getTargetConstant(uint8_t(N->getZExtValue()), SDLoc(N),
30520   return CurDAG->getTargetConstant(int8_t(N->getZExtValue()), SDLoc(N),
30527   return CurDAG->getTargetConstant(int16_t(N->getZExtValue()), SDLoc(N),
30534   return CurDAG->getTargetConstant(int16_t(-N->getZExtValue()), SDLoc(N),
30541   return CurDAG->getTargetConstant(int32_t(-N->getZExtValue()), SDLoc(N),
30548   return CurDAG->getTargetConstant(uint32_t(N->getZExtValue()), SDLoc(N),
30555   uint64_t Value = N->getZExtValue() & 0x00000000FFFFFFFFULL;
30562   uint64_t Value = N->getZExtValue() >> 32;
30569   uint64_t Value = N->getZExtValue() & 0x000000000000FFFFULL;
30576   uint64_t Value = (N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16;
30583   uint64_t Value = (N->getZExtValue() & 0x0000FFFF00000000ULL) >> 32;
30590   uint64_t Value = (N->getZExtValue() & 0xFFFF000000000000ULL) >> 48;
30597   return CurDAG->getTargetConstant(uint16_t(N->getZExtValue()), SDLoc(N),
30604   return CurDAG->getTargetConstant(int32_t(N->getZExtValue()), SDLoc(N),
30611   return CurDAG->getTargetConstant(N->getZExtValue() & 0xfe, SDLoc(N),
30618   uint64_t Value = (-N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16;
30625   uint64_t Value = -N->getZExtValue() & 0x00000000FFFFFFFFULL;
30632   return CurDAG->getTargetConstant(uint32_t(-N->getZExtValue()), SDLoc(N),
30639   return CurDAG->getTargetConstant(N->getZExtValue() & 0xfff, SDLoc(N),
gen/lib/Target/X86/X86GenDAGISel.inc
254418   uint64_t Imm = N->getZExtValue() & 0x7;
254745   uint8_t Imm = N->getZExtValue();
254752   unsigned Length = countTrailingOnes(N->getZExtValue());
254760   return getI8Imm(countTrailingOnes(N->getZExtValue()), SDLoc(N));
254774   return getI32Imm((uint32_t)N->getZExtValue(), SDLoc(N));
254780   uint8_t Imm = X86::getSwappedVCMPImm(N->getZExtValue() & 0x1f);
254804   X86::CondCode CC = static_cast<X86::CondCode>(N->getZExtValue());
254813   return getI8Imm(32 - N->getZExtValue(), SDLoc(N));
254820   return getI8Imm(64 - N->getZExtValue(), SDLoc(N));
254833   return getI8Imm(N->getZExtValue() * 2, SDLoc(N));
254851   return getI8Imm(N->getZExtValue() * 8, SDLoc(N));
254857   return getI8Imm(N->getZExtValue() * 4, SDLoc(N));
254864   uint8_t Imm = N->getZExtValue();
254878   uint8_t Imm = N->getZExtValue();
254892   uint8_t Imm = N->getZExtValue();
254906   uint8_t Imm = N->getZExtValue();
254922   uint8_t Imm = N->getZExtValue();
254937   uint8_t Imm = N->getZExtValue() & 0x7;
254945   uint8_t Imm = N->getZExtValue() & 0xff;
254952   uint8_t Imm = N->getZExtValue() & 0x0f;
254959   uint8_t Imm = N->getZExtValue();
254971   uint8_t Imm = N->getZExtValue();
254983   uint8_t Imm = N->getZExtValue();
254995   uint8_t Imm = N->getZExtValue();
255007   uint8_t Imm = N->getZExtValue();
255019   uint8_t Imm = N->getZExtValue();
255031   uint8_t Imm = N->getZExtValue() & 0x03;
255038   return getI8Imm(N->getZExtValue() ^ 0x22, SDLoc(N));
gen/lib/Target/XCore/XCoreGenDAGISel.inc
 2276   return (uint32_t)N->getZExtValue() <= 11;
 2284   uint32_t value = (uint32_t)N->getZExtValue();
 2293   return -((uint32_t)N->getZExtValue()) <= 11;
 2301   uint32_t value = (uint32_t)N->getZExtValue();
 2394   uint32_t value = (uint32_t)N->getZExtValue();
 2406   uint32_t value = (uint32_t)N->getZExtValue();
 2418   return (uint32_t)N->getZExtValue() < (1 << 6);
 2426   return (uint32_t)N->getZExtValue() < (1 << 16);
 2477   assert(N->getZExtValue() % 4 == 0);
 2478   return getI32Imm(N->getZExtValue()/4, SDLoc(N));
 2485   uint32_t value = N->getZExtValue();
 2493   uint32_t value = N->getZExtValue();
 2502   uint32_t value = N->getZExtValue();
 2510   assert(isMask_32(N->getZExtValue()));
 2512   return getI32Imm(32 - countLeadingZeros((uint32_t)N->getZExtValue()),
include/llvm/CodeGen/SelectionDAGNodes.h
 1607   return cast<ConstantSDNode>(getOperand(Num))->getZExtValue();
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 4613         unsigned ShiftBits = CShift->getZExtValue();
 5349     if (!N01C || (N01C->getZExtValue() != 0xFF00 &&
 5350                   N01C->getZExtValue() != 0xFFFF))
 5360     if (!N11C || N11C->getZExtValue() != 0xFF)
 5377   if (N01C->getZExtValue() != 8 || N11C->getZExtValue() != 8)
 5377   if (N01C->getZExtValue() != 8 || N11C->getZExtValue() != 8)
 5386     if (!N001C || N001C->getZExtValue() != 0xFF)
 5399     if (!N101C || (N101C->getZExtValue() != 0xFF00 &&
 5400                    N101C->getZExtValue() != 0xFFFF))
 5466   switch (N1C->getZExtValue()) {
 5491       if (!C || C->getZExtValue() != 8)
 5499       if (!C || C->getZExtValue() != 8)
 5508     if (!C || C->getZExtValue() != 8)
 5516     if (!C || C->getZExtValue() != 8)
 6361     uint64_t BitShift = ShiftOp->getZExtValue();
 7447       uint64_t C1 = N0C1->getZExtValue();
 7448       uint64_t C2 = N1C->getZExtValue();
 7468         uint64_t c1 = N0C1->getZExtValue();
 7469         uint64_t c2 = N1C->getZExtValue();
 7565     unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue();
 7615       EVT TruncVT = EVT::getIntegerVT(Ctx, OpSizeInBits - N1C->getZExtValue());
 7621       int ShiftAmt = N1C->getZExtValue() - N01C->getZExtValue();
 7621       int ShiftAmt = N1C->getZExtValue() - N01C->getZExtValue();
 7655       unsigned ShiftAmt = N1C->getZExtValue();
 7697         SDValue Amt = DAG.getConstant(N1C->getZExtValue() + TruncBits, DL,
 7784       uint64_t c1 = N001C->getZExtValue();
 7785       uint64_t c2 = N1C->getZExtValue();
 7824       uint64_t ShiftAmt = N1C->getZExtValue();
 7966     unsigned ShAmt = Cst->getZExtValue();
10196     uint64_t ShiftAmt = N01->getZExtValue();
10228       ShAmt = ConstShift->getZExtValue();
10280       ShLeftAmt = N01->getZExtValue();
10452         if (((VTBits - EVTBits) - ShAmt->getZExtValue()) < InSignBits)
10601       int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue();
16526       NewMask[InsIndex] = XOffset + ExtrIndex->getZExtValue();
16617   unsigned Elt = IndexC->getZExtValue();
16700     int Elt = ConstEltNo->getZExtValue();
16836     SDValue Elt = VecOp.getOperand(IndexC->getZExtValue());
16854     unsigned ExtractIndex = IndexC->getZExtValue();
16896     int OrigElt = Shuf->getMaskElt(IndexC->getZExtValue());
16945         DemandedElts.setBit(CstElt->getZExtValue());
16996   int Elt = IndexC->getZExtValue();
17592         return C->getZExtValue();
17671           return CNode->getZExtValue();
18027       (IndexC->getZExtValue() % SubVT.getVectorNumElements()) == 0) {
18028     uint64_t SubIdx = IndexC->getZExtValue() / SubVT.getVectorNumElements();
18096   unsigned ExtractIndex = ExtractIndexC->getZExtValue();
18210   unsigned Offset = ExtIdx->getZExtValue() * VT.getScalarType().getStoreSize();
18306           unsigned IdxVal = IdxC->getZExtValue();
18342       if (InsIdx->getZExtValue() * SmallVT.getScalarSizeInBits() ==
18343           ExtIdx->getZExtValue() * NVT.getScalarSizeInBits())
19203       int Elt = C0->getZExtValue();
19310   uint64_t InsIdx = cast<ConstantSDNode>(N2)->getZExtValue();
19374     Ops[cast<ConstantSDNode>(N2)->getZExtValue() / Factor] = N1;
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
  498     unsigned SubIdx = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
  553     unsigned SubIdx = cast<ConstantSDNode>(N2)->getZExtValue();
  585       MIB.addImm(SD->getZExtValue());
  613   unsigned DstRCIdx = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
  631   unsigned DstRCIdx = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue();
  652         unsigned SubIdx = cast<ConstantSDNode>(Op)->getZExtValue();
 1066                           getZExtValue();
 1078         cast<ConstantSDNode>(Node->getOperand(i))->getZExtValue();
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  415         ShufOps.push_back(i != InsertPos->getZExtValue() ? i : NumElts);
 1598   unsigned Align = cast<ConstantSDNode>(Tmp3)->getZExtValue();
 3032     if (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) {
 3494            cast<ConstantSDNode>(Tmp2.getOperand(1))->getZExtValue() == 1))
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
 2153     uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
  196   SDValue Part = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() ?
  403   return cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() ? Hi : Lo;
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 1158   uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
 1183     unsigned IdxVal = ConstIdx->getZExtValue();
 1456     unsigned IdxVal = CIdx->getZExtValue();
 2207   uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
 2226     uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
 3675   uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
  491           cast<ConstantSDNode>(Node->getOperand(i))->getZExtValue();
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  333       unsigned DstRCIdx = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue();
 1371           cast<ConstantSDNode>(Node->getOperand(i))->getZExtValue();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2165       unsigned Amt = RHSC->getZExtValue();
 2296       uint64_t Idx = SubIdx->getZExtValue();
 2566       uint64_t Idx = SubIdx->getZExtValue();
 2599       uint64_t Idx = SubIdx->getZExtValue();
 3164       unsigned Idx = ConstEltNo->getZExtValue();
 3185       unsigned EltIdx = CEltNo->getZExtValue();
 3573       return Tmp - C->getZExtValue();
 3768       unsigned EltIdx = CEltNo->getZExtValue();
 3816           APInt::getOneBitSet(NumSrcElts, ConstEltNo->getZExtValue());
 3829       uint64_t Idx = SubIdx->getZExtValue();
 3861       uint64_t Idx = SubIdx->getZExtValue();
 5169            N2C && (N2C->getZExtValue() == 0 || N2C->getZExtValue() == 1) &&
 5169            N2C && (N2C->getZExtValue() == 0 || N2C->getZExtValue() == 1) &&
 5249                      N1.getOperand(N2C->getZExtValue() / Factor),
 5250                      getConstant(N2C->getZExtValue() % Factor, DL,
 5257       SDValue Elt = N1.getOperand(N2C->getZExtValue());
 5278         if (N1Op2C->getZExtValue() == N2C->getZExtValue()) {
 5278         if (N1Op2C->getZExtValue() == N2C->getZExtValue()) {
 5299     assert(N2C && (unsigned)N2C->getZExtValue() < 2 && "Bad EXTRACT_ELEMENT!");
 5309       return N1.getOperand(N2C->getZExtValue());
 5314       unsigned Shift = ElementSize * N2C->getZExtValue();
 5330         assert((VT.getVectorNumElements() + N2C->getZExtValue()
 5349         return N1.getOperand(N2C->getZExtValue() / Factor);
 5509     if (N3C && N3C->getZExtValue() >= N1.getValueType().getVectorNumElements())
 5538                 cast<ConstantSDNode>(Index)->getZExtValue()
 5727     SrcDelta = cast<ConstantSDNode>(Src.getOperand(1))->getZExtValue();
 6175                                              ConstantSize->getZExtValue(),Align,
 6196                                    ConstantSize->getZExtValue(), Align, isVol,
 6292                                ConstantSize->getZExtValue(), Align, isVol,
 6394       getMemsetStores(*this, dl, Chain, Dst, Src, ConstantSize->getZExtValue(),
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 7992         cast<ConstantSDNode>(AsmNodeOperands[CurOp])->getZExtValue();
 8252           cast<ConstantSDNode>(AsmNodeOperands[CurOp])->getZExtValue();
 8715                   cast<ConstantSDNode>(IDVal)->getZExtValue(), DL, MVT::i64));
 8718                   cast<ConstantSDNode>(NBytesVal)->getZExtValue(), DL,
 8766     Callee = DAG.getIntPtrConstant(ConstCallee->getZExtValue(), dl,
 8775   unsigned NumArgs = cast<ConstantSDNode>(NArgVal)->getZExtValue();
 8810                   cast<ConstantSDNode>(IDVal)->getZExtValue(), dl, MVT::i64));
 8813                   cast<ConstantSDNode>(NBytesVal)->getZExtValue(), dl,
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  145     unsigned IID = cast<ConstantSDNode>(getOperand(OpNo))->getZExtValue();
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 2045     unsigned Flags = cast<ConstantSDNode>(InOps[i])->getZExtValue();
 2059         Flags = cast<ConstantSDNode>(InOps[CurOp])->getZExtValue();
 2062           Flags = cast<ConstantSDNode>(InOps[CurOp])->getZExtValue();
 3654       cast<ConstantSDNode>(N->getOperand(HasInputChain))->getZExtValue();
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  709         !DemandedElts[CIdx->getZExtValue()])
  846       unsigned Idx = CIdx->getZExtValue();
  921       uint64_t Idx = SubIdx->getZExtValue();
 1282       unsigned ShAmt = SA->getZExtValue();
 1295               unsigned C1 = SA2->getZExtValue();
 1379       unsigned ShAmt = SA->getZExtValue();
 1401               unsigned C1 = SA2->getZExtValue();
 1445       unsigned ShAmt = SA->getZExtValue();
 1761         uint64_t ShVal = ShAmt->getZExtValue();
 1809         DemandedSrcElts = APInt::getOneBitSet(NumSrcElts, CIdx->getZExtValue());
 2299       uint64_t Idx = SubIdx->getZExtValue();
 2318       unsigned Idx = CIdx->getZExtValue();
 4082         int64_t ExtVal = ExtOpc == ISD::ZERO_EXTEND ? C->getZExtValue()
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  248     Imm = C->getZExtValue();
  306   uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue();
  337   uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue();
  382   unsigned ShiftVal = CSD->getZExtValue();
  437     unsigned Val = RHS->getZExtValue() & (BitSize - 1);
  485     uint64_t AndMask = CSD->getZExtValue();
  658     ShiftVal = CSD->getZExtValue();
  751         uint64_t RHSC = RHS->getZExtValue();
  813       int64_t RHSC = (int64_t)RHS->getZExtValue();
  889   if (!CSD || (CSD->getZExtValue() & 0x7) != CSD->getZExtValue())
  889   if (!CSD || (CSD->getZExtValue() & 0x7) != CSD->getZExtValue())
  908   unsigned ShiftVal = CSD->getZExtValue();
 1036     int64_t ImmOff = (int64_t)cast<ConstantSDNode>(RHS)->getZExtValue();
 1218   int OffsetVal = (int)OffsetOp->getZExtValue();
 1395       cast<ConstantSDNode>(N->getOperand(NumVecs + 2))->getZExtValue();
 1435       cast<ConstantSDNode>(N->getOperand(NumVecs + 1))->getZExtValue();
 1487       cast<ConstantSDNode>(N->getOperand(NumVecs + 2))->getZExtValue();
 1519       cast<ConstantSDNode>(N->getOperand(NumVecs + 1))->getZExtValue();
 1829     Immr = cast<ConstantSDNode>(N->getOperand(1).getNode())->getZExtValue();
 1830     Imms = cast<ConstantSDNode>(N->getOperand(2).getNode())->getZExtValue();
 1902       cast<const ConstantSDNode>(Op.getOperand(1).getNode())->getZExtValue();
 1938       cast<const ConstantSDNode>(Op.getOperand(1).getNode())->getZExtValue();
 1940       cast<const ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue();
 1948       cast<const ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue();
 1976       cast<const ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue();
 1978       cast<const ConstantSDNode>(Op.getOperand(3).getNode())->getZExtValue();
 2744     uint64_t Immed = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
 2827       cast<ConstantSDNode>(IRG_SP->getOperand(1))->getZExtValue() !=
 2837   int TagOffset = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue();
 2857   int TagOffset = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue();
 2971     unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
 3315     unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue();
 3361     unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
lib/Target/AArch64/AArch64ISelLowering.cpp
 1046   uint64_t Imm = C->getZExtValue();
 1076     Intrinsic::ID IntID = static_cast<Intrinsic::ID>(CN->getZExtValue());
 1092     unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1943         uint64_t Mask = MaskCst->getZExtValue();
 1959       uint64_t Shift = ShiftCst->getZExtValue();
 1975     uint64_t C = RHSC->getZExtValue();
 2039       !isLegalArithImmed(cast<ConstantSDNode>(RHS)->getZExtValue())) {
 2069     if ((RHSC->getZExtValue() >> 16 == 0) && isa<LoadSDNode>(LHS) &&
 2073       int16_t ValueofRHS = cast<ConstantSDNode>(RHS)->getZExtValue();
 2381   unsigned IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
 2382   unsigned Locality = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue();
 2383   unsigned IsData = cast<ConstantSDNode>(Op.getOperand(4))->getZExtValue();
 2663         if (!isUIntN(HalfSize, C->getZExtValue()))
 2821   unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 4733     if (RHSC && RHSC->getZExtValue() == 0 && ProduceNonFlagSettingCondBr) {
 5093         const uint32_t TrueVal32 = CTVal->getZExtValue();
 5094         const uint32_t FalseVal32 = CFVal->getZExtValue();
 5513   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 5579   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 6119     uint64_t CVal = C->getZExtValue();
 6307     unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue();
 6962       Lane += cast<ConstantSDNode>(V1.getOperand(1))->getZExtValue();
 7341   ConstVal = FirstElt->getZExtValue();
 7351     unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
 7397   uint64_t C2 = C2node->getZExtValue();
 7487                     CstLane->getZExtValue());
 7831   if (!CI || CI->getZExtValue() >= VT.getVectorNumElements())
 7865   if (!CI || CI->getZExtValue() >= VT.getVectorNumElements())
 7905   unsigned Val = Cst->getZExtValue();
 8322   unsigned Align = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
 9286   if (!ShiftAmt || ShiftAmt->getZExtValue() != ShiftEltTy.getSizeInBits() - 1)
 9801             CN0->getZExtValue() != (BitMask & ~CN1->getZExtValue())) {
 9801             CN0->getZExtValue() != (BitMask & ~CN1->getZExtValue())) {
 9889       uint64_t ShiftAmt = C->getZExtValue();
 9930   uint64_t idx = cast<ConstantSDNode>(Op0->getOperand(1))->getZExtValue();
10210       cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue());
10451   if (!CMask || CMask->getZExtValue() != Mask)
10781     uint64_t IndexVal = CIndex->getZExtValue();
10887     if (!LaneC || LaneC->getZExtValue() >= VT.getVectorNumElements())
10920       uint32_t IncVal = CInc->getZExtValue();
11037     unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
11093       uint32_t IncVal = CInc->getZExtValue();
11342     uint32_t CNV = CN->getZExtValue();
11413   unsigned CC = cast<ConstantSDNode>(CCVal)->getZExtValue();
11497     if ((C->getZExtValue() >> Bit) & 1)
11503     if (C->getZExtValue() <= Bit &&
11504         (Bit - C->getZExtValue()) < Op->getValueType(0).getSizeInBits()) {
11505       Bit = Bit - C->getZExtValue();
11512     Bit = Bit + C->getZExtValue();
11519     if ((Bit + C->getZExtValue()) < Op->getValueType(0).getSizeInBits()) {
11520       Bit = Bit + C->getZExtValue();
11527     if ((C->getZExtValue() >> Bit) & 1)
11537   unsigned Bit = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
11682     MinOffset = std::min(MinOffset, C->getZExtValue());
11778     switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
   31   if (bzeroName && (!SizeValue || SizeValue->getZExtValue() > 256)) {
  115   uint64_t ObjSize = cast<ConstantSDNode>(Size)->getZExtValue();
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  336       if (ShiftAmt->getZExtValue() == 16) {
  577     unsigned RCID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
  582     unsigned SubRegIdx = cast<ConstantSDNode>(SubRegOp)->getZExtValue();
  821       Imm = C->getZExtValue();
  848     uint32_t OffsetVal = Offset->getZExtValue();
  849     uint32_t WidthVal = Width->getZExtValue();
  953     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
  957     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
  961     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
 1177       Offset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i16);
 1223     if (isUInt<16>(CAddr->getZExtValue())) {
 1228       Offset = CurDAG->getTargetConstant(CAddr->getZExtValue(), DL, MVT::i16);
 1249     unsigned DWordOffset0 = C1->getZExtValue() / 4;
 1261       unsigned DWordOffset0 = C->getZExtValue() / 4;
 1296     unsigned DWordOffset0 = CAddr->getZExtValue() / 4;
 1298     assert(4 * DWordOffset0 == CAddr->getZExtValue());
 1350     if (isUInt<32>(C1->getZExtValue()))
 1399   if (SIInstrInfo::isLegalMUBUFImmOffset(C1->getZExtValue())) {
 1401     Offset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i16);
 1410                   CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i32)),
 1491     unsigned Imm = CAddr->getZExtValue();
 1531     if (SIInstrInfo::isLegalMUBUFImmOffset(C1->getZExtValue()) &&
 1535       ImmOffset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i16);
 1552   if (!CAddr || !SIInstrInfo::isLegalMUBUFImmOffset(CAddr->getZExtValue()))
 1569   Offset = CurDAG->getTargetConstant(CAddr->getZExtValue(), DL, MVT::i16);
 1885       Offset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i32);
 1920     uint32_t BVal = B->getZExtValue();
 1921     uint32_t CVal = C->getZExtValue();
 1946         uint32_t ShiftVal = Shift->getZExtValue();
 1947         uint32_t MaskVal = Mask->getZExtValue();
 1968         uint32_t ShiftVal = Shift->getZExtValue();
 1969         uint32_t MaskVal = Mask->getZExtValue() >> ShiftVal;
 2003                             Amt->getZExtValue(), Width));
 2284     ImmOffset = ConstOffset->getZExtValue();
 2324   unsigned IntrID = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
 2339   unsigned IntrID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
 2361   unsigned IntrID = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
 2617     return CurDAG->getConstant(C->getZExtValue() << 16, SL, MVT::i32);
 2750     IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr),
 2811     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
 2815     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
 2819     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
 2834       && isInt<16>(IMMOffset->getZExtValue())) {
 2837       Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr),
 2842              && isInt<16>(IMMOffset->getZExtValue())) {
 2846     Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr),
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  575     switch (cast<ConstantSDNode>(N->getOperand(0))->getZExtValue()) {
  718       unsigned IntrID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
 1250   unsigned Start = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
 2772     unsigned IID = cast<ConstantSDNode>(Node24->getOperand(0))->getZExtValue();
 2978   unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
 3022   unsigned RHSVal = RHS->getZExtValue();
 3092   unsigned RHSVal = RHS->getZExtValue();
 3124   unsigned ShiftAmt = RHS->getZExtValue();
 3194       if (2 * K->getZExtValue() == Src.getValueType().getScalarSizeInBits()) {
 3918         uint64_t CVal = C->getZExtValue();
 3990     uint32_t WidthVal = Width->getZExtValue() & 0x1f;
 3999     uint32_t OffsetVal = Offset->getZExtValue() & 0x1f;
 4036                                        CVal->getZExtValue(),
 4416     uint32_t Width = CWidth->getZExtValue() & 0x1f;
 4478     unsigned Sel = CMask->getZExtValue();
 4517     unsigned IID = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 4544     unsigned SignBits = 32 - Width->getZExtValue() + 1;
 4555     return Width ? 32 - (Width->getZExtValue() & 0x1f) : 1;
 4645       = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/AMDGPU/R600ISelLowering.cpp
  503                          cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
  528                          cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1754           ->getZExtValue();
 1763           ->getZExtValue();
 1785     unsigned Idx = cast<ConstantSDNode>(Swz[i])->getZExtValue();
 1793     unsigned Idx = cast<ConstantSDNode>(Swz[i])->getZExtValue();
 1916     unsigned Elt = cast<ConstantSDNode>(EltNo)->getZExtValue();
 1954         unsigned Element = Const->getZExtValue();
 1963         unsigned Element = Const->getZExtValue();
 2141           Consts.push_back(Cst->getZExtValue());
 2147     Consts.push_back(Cst->getZExtValue());
 2158     if (cast<ConstantSDNode>(Imm)->getZExtValue())
 2182       uint64_t Value = C->getZExtValue();
 2200       if (C->getZExtValue())
lib/Target/AMDGPU/SIISelLowering.cpp
 4264     unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
 4391     switch (cast<ConstantSDNode>(Intr->getOperand(1))->getZExtValue()) {
 4538   if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() != 0)
 4773   unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
 4813     unsigned Idx = KIdx->getZExtValue();
 5196   uint64_t Value = CachePolicyConst->getZExtValue();
 5301   uint64_t Value = TexFailCtrlConst->getZExtValue();
 5366     DMask = DMaskConst->getZExtValue();
 5505     Unorm = UnormConst->getZExtValue() ? True : False;
 5675   unsigned CachePolicy = cast<ConstantSDNode>(GLC)->getZExtValue();
 5691   uint64_t InstOffset = cast<ConstantSDNode>(Ops[5])->getZExtValue();
 5711   unsigned IntrinsicID = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 6115   unsigned IntrID = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
 6243     unsigned Glc = cast<ConstantSDNode>(Op.getOperand(5))->getZExtValue();
 6244     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
 6247       IdxEn = Idx->getZExtValue() != 0;
 6330     unsigned Dfmt = cast<ConstantSDNode>(Op.getOperand(7))->getZExtValue();
 6331     unsigned Nfmt = cast<ConstantSDNode>(Op.getOperand(8))->getZExtValue();
 6332     unsigned Glc = cast<ConstantSDNode>(Op.getOperand(9))->getZExtValue();
 6333     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(10))->getZExtValue();
 6336       IdxEn = Idx->getZExtValue() != 0;
 6414     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
 6417       IdxEn = Idx->getZExtValue() != 0;
 6627     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(7))->getZExtValue();
 6630       IdxEn = Idx->getZExtValue() != 0;
 6770   unsigned IntrinsicID = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
 6782       DAG.getTargetConstant(Tgt->getZExtValue(), DL, MVT::i8), // tgt
 6783       DAG.getTargetConstant(En->getZExtValue(), DL, MVT::i8),  // en
 6789       DAG.getTargetConstant(VM->getZExtValue(), DL, MVT::i1)
 6807       DAG.getTargetConstant(Tgt->getZExtValue(), DL, MVT::i8), // tgt
 6808       DAG.getTargetConstant(En->getZExtValue(), DL, MVT::i8),  // en
 6814       DAG.getTargetConstant(VM->getZExtValue(), DL, MVT::i1)
 6836     unsigned Dfmt = cast<ConstantSDNode>(Op.getOperand(8))->getZExtValue();
 6837     unsigned Nfmt = cast<ConstantSDNode>(Op.getOperand(9))->getZExtValue();
 6838     unsigned Glc = cast<ConstantSDNode>(Op.getOperand(10))->getZExtValue();
 6839     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(11))->getZExtValue();
 6842       IdxEn = Idx->getZExtValue() != 0;
 6918     unsigned Glc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
 6919     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(7))->getZExtValue();
 6922       IdxEn = Idx->getZExtValue() != 0;
 7045     unsigned Slc = cast<ConstantSDNode>(Op.getOperand(6))->getZExtValue();
 7048       IdxEn = Idx->getZExtValue() != 0;
 7126     unsigned ImmOffset = C1->getZExtValue();
 7166     uint32_t Imm = C->getZExtValue();
 8129   uint64_t Val = CRHS->getZExtValue();
 8195   uint32_t C = N1->getZExtValue();
 8251     uint64_t Mask = CRHS->getZExtValue();
 8256         unsigned Shift = CShift->getZExtValue();
 8344         Mask->getZExtValue() & ~OrdMask :
 8345         Mask->getZExtValue() & OrdMask;
 8437       uint32_t NewMask = (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask;
 8437       uint32_t NewMask = (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask;
 8849       = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 9347     unsigned BitIndex = Idx->getZExtValue() * EltSize;
 9549     if (!C || C->getZExtValue() != 0) break;
 9587   if (!C || C->getZExtValue() != 0)
 9808     uint64_t CRHSVal = CRHS->getZExtValue();
 9887       unsigned SrcOffset = C->getZExtValue() + 8 * Offset;
10363     if (!FI->getZExtValue() && !BC->getZExtValue())
10363     if (!FI->getZExtValue() && !BC->getZExtValue())
10872       cast<ConstantSDNode>(N->getOperand(0))->getZExtValue());
10875       cast<ConstantSDNode>(N->getOperand(1))->getZExtValue());
lib/Target/AMDGPU/SIInstrInfo.cpp
  181     Offset0 = cast<ConstantSDNode>(Load0->getOperand(Offset0Idx))->getZExtValue();
  182     Offset1 = cast<ConstantSDNode>(Load1->getOperand(Offset1Idx))->getZExtValue();
  206     Offset0 = Load0Offset->getZExtValue();
  207     Offset1 = Load1Offset->getZExtValue();
  239     Offset0 = cast<ConstantSDNode>(Off0)->getZExtValue();
  240     Offset1 = cast<ConstantSDNode>(Off1)->getZExtValue();
lib/Target/ARC/ARCISelDAGToDAG.cpp
   53     Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32);
  172     uint64_t CVal = cast<ConstantSDNode>(N)->getZExtValue();
lib/Target/ARC/ARCISelLowering.cpp
  717   assert(cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() == 0 &&
lib/Target/ARM/ARMBaseInstrInfo.cpp
 4391         cast<ConstantSDNode>(DefNode->getOperand(2))->getZExtValue();
 4404         cast<ConstantSDNode>(DefNode->getOperand(2))->getZExtValue();
 4418         cast<ConstantSDNode>(DefNode->getOperand(2))->getZExtValue();
lib/Target/ARM/ARMISelDAGToDAG.cpp
  106     Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32);
  304     Imm = cast<ConstantSDNode>(N)->getZExtValue();
  338   ScaledConstant = (int) C->getZExtValue();
  502   unsigned MulConstVal = MulConst->getZExtValue();
  558   ShImmVal = RHS->getZExtValue() & 31;
  659       int RHSC = (int)RHS->getZExtValue();
  706       ShAmt = Sh->getZExtValue();
  728         ShAmt = Sh->getZExtValue();
  780       ShAmt = Sh->getZExtValue();
 1024     if (NC->getZExtValue() * 8 == LdSt->getMemoryVT().getSizeInBits())
 1035     Label = CurDAG->getTargetConstant(cast<ConstantSDNode>(N1)->getZExtValue(),
 1249     int RHSC = (int)RHS->getZExtValue();
 1377     int RHSC = (int)RHS->getZExtValue();
 1401       ShAmt = Sh->getZExtValue();
 1442   uint32_t RHSC = (int)RHS->getZExtValue();
 1557   if (!COffs || COffs->getZExtValue() != 4)
 1786   unsigned Alignment = cast<ConstantSDNode>(Align)->getZExtValue();
 1918   return C && C->getZExtValue() == VecTy.getSizeInBits() / 8 * NumVecs;
 2230     cast<ConstantSDNode>(N->getOperand(Vec0Idx + NumVecs))->getZExtValue();
 2236     Alignment = cast<ConstantSDNode>(Align)->getZExtValue();
 2388   int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue();
 2412     int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue();
 2443       (CarryInConstant->getZExtValue() & CarryMask) == CarryExpected) {
 2520     Alignment = cast<ConstantSDNode>(Align)->getZExtValue();
 2800       Size == SRAConstant->getZExtValue()) {
 2985     unsigned Val = cast<ConstantSDNode>(N)->getZExtValue();
 3067       unsigned RHSV = C->getZExtValue();
 3119       uint32_t Imm = (uint32_t) N1C->getZExtValue();
 3133           CurDAG->getConstant(~N1C->getZExtValue(), dl, MVT::i32);
 3178       unsigned N1CVal = N1C->getZExtValue();
 3179       unsigned N2CVal = N2C->getZExtValue();
 3259     if (!Zero || Zero->getZExtValue() != 0 ||
 3333     unsigned CC = (unsigned) cast<ConstantSDNode>(N2)->getZExtValue();
 3338         uint64_t ID = cast<ConstantSDNode>(Int->getOperand(1))->getZExtValue();
 3344             cast<ConstantSDNode>(Int.getOperand(3))->getZExtValue(), dl,
 3446           (ARMCC::CondCodes)cast<ConstantSDNode>(ARMcc)->getZExtValue();
 3798     unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
 3815       Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(2))->getZExtValue(), dl)); /* coproc */
 3816       Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(), dl)); /* opc */
 3817       Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(4))->getZExtValue(), dl)); /* CRm */
 4264     unsigned IntNo = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
 4658       Flag = C->getZExtValue();
lib/Target/ARM/ARMISelLowering.cpp
 1766     return Const->getZExtValue() == 16;
 1774     return Const->getZExtValue() == 16;
 1782     return Const->getZExtValue() == 16;
 3587           ->getZExtValue();
 3627   unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 3758   auto SSID = static_cast<SyncScope::ID>(SSIDNode->getZExtValue());
 3773   AtomicOrdering Ord = static_cast<AtomicOrdering>(OrdN->getZExtValue());
 3800   unsigned isRead = ~cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue() & 1;
 3806   unsigned isData = cast<ConstantSDNode>(Op.getOperand(4))->getZExtValue();
 4185     unsigned C = RHSC->getZExtValue();
 4253     unsigned Mask = cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue();
 4255     uint64_t RHSV = RHSC->getZExtValue();
 4274       cast<ConstantSDNode>(RHS)->getZExtValue() == 0x80000000U &&
 4276       cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue() < 31) {
 4278       cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue() + 1;
 4576       unsigned CMOVTrueVal = CMOVTrue->getZExtValue();
 4577       unsigned CMOVFalseVal = CMOVFalse->getZExtValue();
 4926     unsigned TVal = CTVal->getZExtValue();
 4927     unsigned FVal = CFVal->getZExtValue();
 5012     if (cast<ConstantSDNode>(ARMcc)->getZExtValue() == ARMCC::PL)
 5197         (ARMCC::CondCodes)cast<const ConstantSDNode>(ARMcc)->getZExtValue();
 5250           (ARMCC::CondCodes)cast<const ConstantSDNode>(ARMcc)->getZExtValue();
 5536   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 5559   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 6096         (Con && (Con->getZExtValue() == 0 || Con->getZExtValue() >= 32)))
 6096         (Con && (Con->getZExtValue() == 0 || Con->getZExtValue() >= 32)))
 7019   Val = cast<ConstantSDNode>(N)->getZExtValue();
 7072     bool BitSet = V.isUndef() ? false : cast<ConstantSDNode>(V)->getZExtValue();
 7382     unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue();
 8005   unsigned Lane = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
 8068   unsigned Lane = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
 8182   unsigned Index = cast<ConstantSDNode>(V2)->getZExtValue();
 8254         if (!isUIntN(HalfSize, C->getZExtValue()))
 9244   unsigned IntNo = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
11088       if (!C0 || !C1 || C0->getZExtValue() != nextIndex
11089           || C1->getZExtValue() != nextIndex+1)
11172     if (Const->getZExtValue() != 31)
11352       static_cast<ConstantSDNode *>(LowAddSub->getNode())->getZExtValue() ==
11710                                      C2Int.getBitWidth() - C2->getZExtValue());
11919   uint32_t C1 = (uint32_t)N1C->getZExtValue();
11937   uint32_t C2 = (uint32_t)N01C->getZExtValue();
12152   unsigned Mask = MaskC->getZExtValue();
12159     unsigned Val = N1C->getZExtValue();
12180     unsigned Mask2 = N11C->getZExtValue();
12227     unsigned ShAmtC = cast<ConstantSDNode>(ShAmt)->getZExtValue();
12274                     ->getZExtValue();
12277                     ->getZExtValue();
12280                     ->getZExtValue();
12283                     ->getZExtValue();
12522     unsigned InvMask = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
12529     unsigned Mask2 = N11C->getZExtValue();
12909       unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
12980     if (NumBytes >= 3 * 16 && (!CInc || CInc->getZExtValue() != NumBytes)) {
13113   unsigned IntNo = cast<ConstantSDNode>(VLD->getOperand(1))->getZExtValue();
13130     cast<ConstantSDNode>(VLD->getOperand(NumVecs+3))->getZExtValue();
13138         VLDLaneNo != cast<ConstantSDNode>(User->getOperand(1))->getZExtValue())
13198   unsigned Imm = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
13583   unsigned IntNo = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
13752       if (C->getZExtValue() == 16 && N0.getOpcode() == ISD::BSWAP &&
13772     uint32_t ShiftAmt = static_cast<uint32_t>(ShiftAmtNode->getZExtValue());
13776     uint32_t AndMask = static_cast<uint32_t>(AndMaskNode->getZExtValue());
14066     unsigned IntOp = cast<ConstantSDNode>(N.getOperand(1))->getZExtValue();
14110       Imm = Const->getZExtValue();
14144   unsigned IntOp = cast<ConstantSDNode>(Int->getOperand(1))->getZExtValue();
14175       cast<ConstantSDNode>(Int.getOperand(3))->getZExtValue(), dl, MVT::i32);
14214     (ARMCC::CondCodes)cast<ConstantSDNode>(ARMcc)->getZExtValue();
14225     if ((LHS00C && LHS00C->getZExtValue() == 0) &&
14226         (LHS01C && LHS01C->getZExtValue() == 1) &&
14227         (LHS1C && LHS1C->getZExtValue() == 1) &&
14228         (RHSC && RHSC->getZExtValue() == 0)) {
14254     (ARMCC::CondCodes)cast<ConstantSDNode>(ARMcc)->getZExtValue();
14297     if ((LHS0C && LHS0C->getZExtValue() == 0) &&
14298         (LHS1C && LHS1C->getZExtValue() == 1) &&
14299         (RHSC && RHSC->getZExtValue() == 0)) {
14531     switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
15134       int RHSC = (int)RHS->getZExtValue();
15148       int RHSC = (int)RHS->getZExtValue();
15191     int RHSC = (int)RHS->getZExtValue();
15217   int RHSC = (int)RHS->getZExtValue();
15335     if (!RHS || RHS->getZExtValue() != 4)
15416     Intrinsic::ID IntID = static_cast<Intrinsic::ID>(CN->getZExtValue());
15450     unsigned Idx = Pos->getZExtValue();
15497   unsigned Mask = C->getZExtValue();
16071     unsigned Align = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
lib/Target/ARM/ARMSelectionDAGInfo.cpp
   54       if (ConstantSrc->getZExtValue() == 0)
  143   uint64_t SizeVal = ConstantSize->getZExtValue();
lib/Target/AVR/AVRISelDAGToDAG.cpp
   85     int RHSC = (int)RHS->getZExtValue();
  341   int CST = (int)cast<ConstantSDNode>(BasePtr.getOperand(1))->getZExtValue();
lib/Target/AVR/AVRISelLowering.cpp
  309   uint64_t ShiftAmount = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
 1935     uint64_t CUVal64 = C->getZExtValue();
lib/Target/BPF/BPFISelDAGToDAG.cpp
  205     unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
  278           getConstantFieldValue(GADN, CDN->getZExtValue(), size, new_val.c);
  481   unsigned IntNo = cast<ConstantSDNode>(BaseV->getOperand(1))->getZExtValue();
  482   uint64_t MaskV = MaskN->getZExtValue();
lib/Target/BPF/BPFSelectionDAGInfo.cpp
   29   unsigned CopyLen = ConstantSize->getZExtValue();
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
  190   unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue();
  282   switch (cast<ConstantSDNode>(C->getOperand(1))->getZExtValue()) {
  323   unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue();
  364   unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue();
  639   unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
  663   unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
  721     assert(!(cast<ConstantSDNode>(N)->getZExtValue() >> 1));
 1052     unsigned CV = CN->getZExtValue();
 1059     unsigned EV = EN->getZExtValue();
 1116     uint32_t CV = SN->getZExtValue();
 1124     uint32_t Mask = MN->getZExtValue();
 1334     int32_t V = cast<const ConstantSDNode>(N)->getZExtValue();
 1386       if (!IsAligned(Const->getZExtValue()))
 1469       if (!S || S->getZExtValue() != 32)
 1525       if (C->getZExtValue() == Mask) {
 1531       if (C->getZExtValue() == Mask) {
 1543       if ((C->getZExtValue() & Mask) == 0) {
 1549       if ((C->getZExtValue() & Mask) == 0) {
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
 2085     unsigned S = CN->getZExtValue() % HST.getVectorLength();
 2133   unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
 2170   unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
 2199   unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
lib/Target/Hexagon/HexagonISelLowering.cpp
  590     unsigned Flags = cast<ConstantSDNode>(Op.getOperand(i))->getZExtValue();
  649   unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
  977   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
  999   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1683   unsigned Addr = CA->getZExtValue();
 2336     unsigned Off = IdxN->getZExtValue() * ElemWidth;
 2416     unsigned W = C->getZExtValue() * ValWidth;
 2490       uint32_t C = CN->getZExtValue();
 2754     uint32_t VY = CY->getZExtValue();
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
  765   unsigned Idx = cast<ConstantSDNode>(IdxV.getNode())->getZExtValue();
  813   unsigned Idx = cast<ConstantSDNode>(IdxV.getNode())->getZExtValue();
  894         unsigned Idx = CN->getZExtValue();
 1168   unsigned Idx = cast<ConstantSDNode>(IdxV.getNode())->getZExtValue();
lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp
   27   uint64_t SizeVal = ConstantSize->getZExtValue();
lib/Target/Lanai/LanaiISelLowering.cpp
  308       if (C->getZExtValue() == 0) {
  316       if (isUInt<16>(C->getZExtValue())) {
  325       if (C->getZExtValue() <= 31) {
  326         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(C),
  814       if (RHSC->getZExtValue() == 0xFFFFFFFF) {
  824       if (RHSC->getZExtValue() == 0)
  832       if (RHSC->getZExtValue() == 0xFFFFFFFF) {
  842       if (RHSC->getZExtValue() == 0)
 1060   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1083   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
  311     if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 1)
  317     if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 2)
lib/Target/MSP430/MSP430ISelLowering.cpp
  954   uint64_t ShiftAmount = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
 1158   switch (cast<ConstantSDNode>(TargetCC)->getZExtValue()) {
 1261   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1287   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1341     uint64_t RHSC = RHS->getZExtValue();
lib/Target/Mips/Mips16ISelDAGToDAG.cpp
  131           Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy);
  137       Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy);
lib/Target/Mips/MipsISelLowering.cpp
  708   if (!FalseC->getZExtValue()) {
  764   if (!FalseC || FalseC->getZExtValue())
  801       !isShiftedMask(CN->getZExtValue(), SMPos, SMSize))
  813     Pos = CN->getZExtValue();
  833     Pos = CN->getZExtValue();
  849     if (CN->getZExtValue() <= 0xffff)
  891         !isShiftedMask(CN->getZExtValue(), SMPos1, SMSize1))
  903     unsigned Shamt = CN->getZExtValue();
 1126   Pos = CN->getZExtValue();
 1136       !isShiftedMask(CN->getZExtValue(), SMPos, SMSize))
 1917     (Mips::CondCode)cast<ConstantSDNode>(CCNode)->getZExtValue();
 2376   if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() != 0) {
 2397   if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() != 0) {
 4047       int64_t Val = C->getZExtValue();
 4057       uint64_t Val = (uint64_t)C->getZExtValue();
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
   78   uint64_t RegNum = cast<ConstantSDNode>(RegIdx)->getZExtValue();
  296         if (!isAligned(Alignment, CN->getZExtValue()))
  300       Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr),
  444       unsigned CnstOff = CN->getZExtValue();
  834     switch (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) {
  851     switch (cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue()) {
  867     switch (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) {
lib/Target/Mips/MipsSEISelLowering.cpp
  917       unsigned TotalBits = ShAmount->getZExtValue() + ExtendTy.getSizeInBits();
 1423             IsSigned ? CImm->getSExtValue() : CImm->getZExtValue(), IsSigned),
 1543   unsigned Intrinsic = cast<ConstantSDNode>(Op->getOperand(0))->getZExtValue();
 2315   unsigned Intr = cast<ConstantSDNode>(Op->getOperand(1))->getZExtValue();
 2390   unsigned Intr = cast<ConstantSDNode>(Op->getOperand(1))->getZExtValue();
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
  507   unsigned IID = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
  621       if (IdxConst->getZExtValue() == 0)
  623       else if (IdxConst->getZExtValue() == 1)
  719   unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
 1037       N->getOperand(N->getNumOperands() - 1))->getZExtValue();
 1242     unsigned IID = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
 2160   unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue();
 2175   unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue();
 2245   unsigned ParamVal = cast<ConstantSDNode>(Param)->getZExtValue();
 2247   unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue();
 3399     uint64_t MaskVal = Mask->getZExtValue();
 3417         uint64_t StartVal = StartConst->getZExtValue();
 3449       uint64_t ShiftAmt = ShiftCnst->getZExtValue();
 3465       uint64_t MaskVal = MaskCnst->getZExtValue();
 3510       uint64_t InnerShiftAmt = ShlCnst->getZExtValue();
 3518       uint64_t OuterShiftAmt = ShrCnst->getZExtValue();
 3610         Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(OpNode),
 3654       Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(OpNode),
lib/Target/NVPTX/NVPTXISelLowering.cpp
 4497     uint64_t MaskVal = MaskCnst->getZExtValue();
 4517         getZExtValue();
 4916   unsigned IntrinNo = cast<ConstantSDNode>(Intrin.getNode())->getZExtValue();
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  487     Imm = cast<ConstantSDNode>(N)->getZExtValue();
  497     Imm = cast<ConstantSDNode>(N)->getZExtValue();
 1093   int64_t Imm = cast<ConstantSDNode>(N)->getZExtValue();
 4849                 N2C->getZExtValue() == 1ULL && CC == ISD::SETNE &&
 5003     unsigned PCC = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
 5510     uint64_t True  = cast<ConstantSDNode>(TrueRes)->getZExtValue(),
 5511              False = cast<ConstantSDNode>(FalseRes)->getZExtValue();
lib/Target/PowerPC/PPCISelLowering.cpp
 2147       int Val = cast<ConstantSDNode>(UniquedVals[Multiple-1])->getZExtValue();
 2176     Value = CN->getZExtValue();
 2246   Imm = (int16_t)cast<ConstantSDNode>(N)->getZExtValue();
 2248     return Imm == (int32_t)cast<ConstantSDNode>(N)->getZExtValue();
 2250     return Imm == (int64_t)cast<ConstantSDNode>(N)->getZExtValue();
 2392       assert(!cast<ConstantSDNode>(N.getOperand(1).getOperand(1))->getZExtValue()
 2441          (int64_t)CN->getZExtValue() == (int)CN->getZExtValue()) &&
 2441          (int64_t)CN->getZExtValue() == (int)CN->getZExtValue()) &&
 2442         (!EncodingAlignment || (CN->getZExtValue() % EncodingAlignment) == 0)) {
 2443       int Addr = (int)CN->getZExtValue();
 4751   int Addr = C->getZExtValue();
 4758           (int)C->getZExtValue() >> 2, SDLoc(Op),
 9199       cast<ConstantSDNode>(Intrin.getOperand(0))->getZExtValue();
 9445     cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 9489   switch (cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue()) {
 9525   switch (cast<ConstantSDNode>(Op.getOperand(ArgStart))->getZExtValue()) {
 9640     unsigned InsertAtElement = C->getZExtValue();
 9697   unsigned Offset = 4*cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
10060     int Idx = cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue();
10203     if (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() !=
11772     switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
11818     switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
12878     Index = ExtOp->getZExtValue();
12996   int FirstElem = Ext1Op->getZExtValue();
12997   int SecondElem = Ext2Op->getZExtValue();
13768       unsigned IID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
13788                 cast<ConstantSDNode>(UI->getOperand(0))->getZExtValue() == IID) {
13804                 (cast<ConstantSDNode>(Add->getOperand(1))->getZExtValue() -
13805                  cast<ConstantSDNode>(UI->getOperand(1))->getZExtValue()) %
13811                     cast<ConstantSDNode>(VI->getOperand(0))->getZExtValue() == IID) {
13859       switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
13872       switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
13974         cast<ConstantSDNode>(Cond.getOperand(1))->getZExtValue() ==
14000         cast<ConstantSDNode>(LHS.getOperand(0).getOperand(1))->getZExtValue() ==
14007         cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue() ==
14013       unsigned Val = cast<ConstantSDNode>(RHS)->getZExtValue();
14037       unsigned Val = cast<ConstantSDNode>(RHS)->getZExtValue();
14059       switch (cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue()) {
14142     switch (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue()) {
14515   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
14543   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
15126       if (Mask->getZExtValue() == OpSizeInBits - 1)
15156     ShiftBy = DCI.DAG.getConstant(CN1->getZExtValue(), DL, MVT::i32);
15301     if (!ConstNode || ConstNode->getZExtValue() != 64)
lib/Target/RISCV/RISCVISelDAGToDAG.cpp
   92     Mask = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
  148       uint64_t ShAmt = cast<ConstantSDNode>(Op1.getNode())->getZExtValue();
lib/Target/RISCV/RISCVISelLowering.cpp
  680   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
  705   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 2701         if (C->getZExtValue() == 0)
 2708         uint64_t CVal = C->getZExtValue();
lib/Target/Sparc/SparcISelDAGToDAG.cpp
   99         Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr),
  184       Flag = C->getZExtValue();
lib/Target/Sparc/SparcISelLowering.cpp
 1893     SPCC = cast<ConstantSDNode>(LHS.getOperand(2))->getZExtValue();
 2547   unsigned Align = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
 2991   unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  731   uint64_t AndMask = MaskNode->getZExtValue();
  792     uint64_t Mask = MaskNode->getZExtValue();
  815     uint64_t Mask = ~MaskNode->getZExtValue();
  837     RxSBG.Rotate = (RxSBG.Rotate + CountNode->getZExtValue()) & 63;
  882     uint64_t Count = CountNode->getZExtValue();
  909     uint64_t Count = CountNode->getZExtValue();
 1178   unsigned Elem = ElemN->getZExtValue();
 1220   unsigned Elem = ElemN->getZExtValue();
 1487         uint64_t Val = Op1->getZExtValue();
 1501               if (Op0Op1->getZExtValue() == (uint64_t)-1)
 1530       uint64_t Val = cast<ConstantSDNode>(Node)->getZExtValue();
 1554         cast<ConstantSDNode>(CCValid.getNode())->getZExtValue();
 1556         cast<ConstantSDNode>(CCMask.getNode())->getZExtValue();
 1828   if (FalseOp->getZExtValue() != 0)
 1837   int CCValid = CCValidOp->getZExtValue();
 1838   int CCMask = CCMaskOp->getZExtValue();
lib/Target/SystemZ/SystemZISelLowering.cpp
 1160         if (isUInt<8>(C->getZExtValue()))
 1161           Ops.push_back(DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
 1167         if (isUInt<12>(C->getZExtValue()))
 1168           Ops.push_back(DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
 1188         if (C->getZExtValue() == 0x7fffffff)
 1189           Ops.push_back(DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
 1712   unsigned Id = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
 1738   unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1996   uint64_t Value = ConstOp1->getZExtValue();
 2045       Value != ConstOp1->getZExtValue())
 2087   if (ConstOp1 && ConstOp1->getZExtValue() == 0)
 2105         isUInt<16>(ConstOp1->getZExtValue()))
 2124       cast<ConstantSDNode>(C.Op0.getOperand(1))->getZExtValue() == 0xffffffff)
 2188       cast<ConstantSDNode>(C.Op1)->getZExtValue() == 0) {
 2190     if (C1 && C1->getZExtValue() == 32) {
 2213       cast<ConstantSDNode>(C.Op1)->getZExtValue() == 0) {
 2233   uint64_t Amount = Shift->getZExtValue();
 2345   uint64_t CmpVal = ConstOp1->getZExtValue();
 2357     MaskVal = Mask->getZExtValue();
 2419   if (Mask && Mask->getZExtValue() == MaskVal)
 2438   if ((~Known.Zero).getZExtValue() & ~Mask->getZExtValue())
 2484     uint64_t Constant = cast<ConstantSDNode>(CmpOp1)->getZExtValue();
 2771           cast<ConstantSDNode>(Neg.getOperand(0))->getZExtValue() == 0 &&
 2806       cast<ConstantSDNode>(C.Op1)->getZExtValue() == 0) {
 3060   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 3091   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 3220                        dyn_cast<ConstantSDNode>(Align)->getZExtValue() : 0);
 3410     int64_t Value = int32_t(cast<ConstantSDNode>(LowOp)->getZExtValue());
 3420     uint64_t Mask = cast<ConstantSDNode>(HighOp.getOperand(1))->getZExtValue();
 3624     cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue());
 3626     cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue());
 3894   bool IsData = cast<ConstantSDNode>(Op.getOperand(4))->getZExtValue();
 3900   bool IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue();
 3946   unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 4538       unsigned Elem = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
 4810     uint64_t Index = cast<ConstantSDNode>(Op2)->getZExtValue();
 4837     uint64_t Index = CIndexN->getZExtValue();
 5392           unsigned NewIndex = (IndexN->getZExtValue() + 1) * Scale - 1;
 5418       SDValue Ops[] = { DAG.getConstant(TrueOp->getZExtValue(), DL, VT),
 5419                         DAG.getConstant(FalseOp->getZExtValue(), DL, VT),
 5469         unsigned NewShlAmt = ShlAmt->getZExtValue() + Extra;
 5470         unsigned NewSraAmt = SraAmt->getZExtValue() + Extra;
 5720                           IndexN->getZExtValue(), DCI, false);
 5754       cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue() == 0) {
 5762           cast<ConstantSDNode>(U->getOperand(1))->getZExtValue() == 1) {
 5805       cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue() == 0) {
 5813           cast<ConstantSDNode>(U->getOperand(1))->getZExtValue() == 2) {
 5981     if (CompareRHS->getZExtValue() == FalseVal->getZExtValue())
 5981     if (CompareRHS->getZExtValue() == FalseVal->getZExtValue())
 5983     else if (CompareRHS->getZExtValue() != TrueVal->getZExtValue())
 5983     else if (CompareRHS->getZExtValue() != TrueVal->getZExtValue())
 5991     CCValid = NewCCValid->getZExtValue();
 5992     CCMask = NewCCMask->getZExtValue();
 6004     if (!SRACount || SRACount->getZExtValue() != 30)
 6010     if (!SHLCount || SHLCount->getZExtValue() != 30 - SystemZ::IPM_CC)
 6020     if (CompareRHS->getZExtValue() != 0)
 6052   int CCValidVal = CCValid->getZExtValue();
 6053   int CCMaskVal = CCMask->getZExtValue();
 6076   int CCValidVal = CCValid->getZExtValue();
 6077   int CCMaskVal = CCMask->getZExtValue();
 6098   int CCValidVal = CCValid->getZExtValue();
 6099   int CCMaskVal = CCMask->getZExtValue();
 6109   int SelectCCValidVal = SelectCCValid->getZExtValue();
 6110   int SelectCCMaskVal = SelectCCMask->getZExtValue();
 6116   if (TrueVal->getZExtValue() != 0 && FalseVal->getZExtValue() == 0)
 6116   if (TrueVal->getZExtValue() != 0 && FalseVal->getZExtValue() == 0)
 6118   else if (TrueVal->getZExtValue() == 0 && FalseVal->getZExtValue() != 0)
 6118   else if (TrueVal->getZExtValue() == 0 && FalseVal->getZExtValue() != 0)
 6192     unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 6236       unsigned Mask = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue();
 6245       unsigned FirstIdx = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue();
 6322     unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 6422     unsigned Id = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
   57                       Chain, Dst, Src, CSize->getZExtValue());
   85     uint64_t Bytes = CSize->getZExtValue();
   93       uint64_t ByteVal = CByte->getZExtValue();
  128     if (CByte && CByte->getZExtValue() == 0)
  184     uint64_t Bytes = CSize->getZExtValue();
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
   96         cast<ConstantSDNode>(Node->getOperand(2).getNode())->getZExtValue();
  169     unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue();
  195     unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue();
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
 1067   unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1204     IntNo = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();
 1207     IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1231     int Tag = cast<ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue();
 1274         static_cast<ConstantSDNode *>(Index.getNode())->getZExtValue();
lib/Target/X86/X86ISelDAGToDAG.cpp
 1916       unsigned Val = CN->getZExtValue();
 1982         if (CN->getZExtValue() == 3 || CN->getZExtValue() == 5 ||
 1982         if (CN->getZExtValue() == 3 || CN->getZExtValue() == 5 ||
 1983             CN->getZExtValue() == 9) {
 1984           AM.Scale = unsigned(CN->getZExtValue())-1;
 1997             uint64_t Disp = AddVal->getSExtValue() * CN->getZExtValue();
 2144     if (!ShAmtC || ShAmtC->getZExtValue() > 3)
 2150                                             ShAmtC->getZExtValue());
 2161     AM.Scale = 1 << ShAmtC->getZExtValue();
 2224   AM.Scale = cast<ConstantSDNode>(Mgs->getScale())->getZExtValue();
 2362     uint64_t ImmVal = CN->getZExtValue();
 3284     if (!V0 || V0->getZExtValue() != Bitwidth)
 3488   uint64_t Mask = MaskCst->getZExtValue();
 3492   uint64_t Shift = ShiftCst->getZExtValue();
 3663         cast<ConstantSDNode>(Add1)->getZExtValue() % Size == 0) {
 3669                cast<ConstantSDNode>(Add0)->getZExtValue() != 0 &&
 3670                cast<ConstantSDNode>(Add0)->getZExtValue() % Size == 0) {
 3760   uint64_t ShAmt = ShlCst->getZExtValue();
 5010       uint64_t Mask = C->getZExtValue();
lib/Target/X86/X86ISelLowering.cpp
 5665   unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
 6433     DecodeBLENDMask(NumElems, cast<ConstantSDNode>(ImmN)->getZExtValue(), Mask);
 6441                     cast<ConstantSDNode>(ImmN)->getZExtValue(), Mask);
 6448     DecodeINSERTPSMask(cast<ConstantSDNode>(ImmN)->getZExtValue(), Mask);
 6501     DecodePALIGNRMask(NumElems, cast<ConstantSDNode>(ImmN)->getZExtValue(),
 6511     DecodePSLLDQMask(NumElems, cast<ConstantSDNode>(ImmN)->getZExtValue(),
 6519     DecodePSRLDQMask(NumElems, cast<ConstantSDNode>(ImmN)->getZExtValue(),
 6528                     cast<ConstantSDNode>(ImmN)->getZExtValue(), Mask);
 6534     DecodePSHUFHWMask(NumElems, cast<ConstantSDNode>(ImmN)->getZExtValue(),
 6541     DecodePSHUFLWMask(NumElems, cast<ConstantSDNode>(ImmN)->getZExtValue(),
 6595     DecodeVPERMMask(NumElems, cast<ConstantSDNode>(ImmN)->getZExtValue(), Mask);
 6608     DecodeVPERM2X128Mask(NumElems, cast<ConstantSDNode>(ImmN)->getZExtValue(),
 6617                               cast<ConstantSDNode>(ImmN)->getZExtValue(), Mask);
 6642       unsigned CtrlImm = CtrlOp->getZExtValue();
 8381   int Idx = cast<ConstantSDNode>(ExtIdx)->getZExtValue();
 8489       Immediate |= (cast<ConstantSDNode>(In)->getZExtValue() & 0x1) << idx;
 8520       Immediate |= (cast<ConstantSDNode>(In)->getZExtValue() & 0x1) << idx;
 8642     unsigned I0 = cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue();
 8643     unsigned I1 = cast<ConstantSDNode>(Op1.getOperand(1))->getZExtValue();
 8795     unsigned I0 = cast<ConstantSDNode>(Op0.getOperand(1))->getZExtValue();
 9680     unsigned InsertC = cast<ConstantSDNode>(InsIndex)->getZExtValue();
12547       int Idx = (int)ConstantIdx->getZExtValue();
17349   unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
17416   unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
17562   uint64_t IdxVal = N2C->getZExtValue();
17737   unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
19941     unsigned CIdx = cast<ConstantSDNode>(Idx)->getZExtValue();
20393     uint64_t AndRHSVal = AndRHS->getZExtValue();
21467     unsigned CondCode = cast<ConstantSDNode>(CC)->getZExtValue();
22021       switch (cast<ConstantSDNode>(CC)->getZExtValue()) {
22525                                       CShAmt->getZExtValue(), DAG);
22656     if (MaskConst->getZExtValue() & 0x1)
22748       unsigned RC = C->getZExtValue();
22762       RC = C->getZExtValue();
23259           DAG.getTargetConstant(Round->getZExtValue() & 0xf, dl, MVT::i32);
23269           DAG.getTargetConstant(Round->getZExtValue() & 0xf, dl, MVT::i32);
23625       ShAmt = DAG.getTargetConstant(C->getZExtValue(), DL, MVT::i32);
23681   SDValue Scale = DAG.getTargetConstant(C->getZExtValue(), dl,
23710   SDValue Scale = DAG.getTargetConstant(C->getZExtValue(), dl,
23746   SDValue Scale = DAG.getTargetConstant(C->getZExtValue(), dl,
23776   SDValue Scale = DAG.getTargetConstant(C->getZExtValue(), dl,
25722       APInt C(SVTBits, ND->getZExtValue());
25869                                                     Cst1->getZExtValue(), DAG);
25871                                                     Cst2->getZExtValue(), DAG);
31528       unsigned ShAmt = ShiftImm->getZExtValue();
33616     unsigned InsertPSMask = cast<ConstantSDNode>(Op2)->getZExtValue();
34319     unsigned ShiftAmt = Amt->getZExtValue();
34358     unsigned ShiftAmt = Amt->getZExtValue();
34751       unsigned ShAmt = ShiftImm->getZExtValue();
34761             int Diff = ShAmt - Shift2Imm->getZExtValue();
34792       unsigned ShAmt = ShiftImm->getZExtValue();
34816       unsigned ShAmt = ShiftImm->getZExtValue();
34866       unsigned Idx = CIdx->getZExtValue();
34904       unsigned Idx = CIdx->getZExtValue();
35007         !DemandedElts[CIdx->getZExtValue()])
35113   int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue();
35324     if (!In.isUndef() && (cast<ConstantSDNode>(In)->getZExtValue() & 0x1))
36403       uint64_t Idx = CIdx->getZExtValue();
37381   if (C->getZExtValue() == 1) {
37384   } else if (C->getZExtValue() != 0)
37446     if (FVal && FVal->getZExtValue() != 0) {
37447       if (FVal->getZExtValue() != 1)
37454     if (FValIsFalse && TVal->getZExtValue() != 1)
37456     if (!FValIsFalse && TVal->getZExtValue() != 0)
38139   if (isPowerOf2_64(C->getZExtValue()))
38204     NewMul = combineMulSpecial(C->getZExtValue(), N, DAG, VT, DL);
38207     assert(C->getZExtValue() != 0 &&
38208            C->getZExtValue() != (VT == MVT::i64 ? UINT64_MAX : UINT32_MAX) &&
38564   unsigned ShiftVal = cast<ConstantSDNode>(N1)->getZExtValue();
38583     unsigned ShiftVal2 = cast<ConstantSDNode>(N0.getOperand(1))->getZExtValue();
41311     unsigned IdxN00 = ConstN00Elt->getZExtValue();
41312     unsigned IdxN01 = ConstN01Elt->getZExtValue();
41313     unsigned IdxN10 = ConstN10Elt->getZExtValue();
41314     unsigned IdxN11 = ConstN11Elt->getZExtValue();
41721   if (!RHSC || RHSC->getZExtValue() != 1 || LHS->getOpcode() != X86ISD::SETCC)
42248   int64_t AddConstant = Sext ? AddOp1->getSExtValue() : AddOp1->getZExtValue();
43882     unsigned Idx0L = Const0L->getZExtValue(), Idx1L = Const1L->getZExtValue(),
43882     unsigned Idx0L = Const0L->getZExtValue(), Idx1L = Const1L->getZExtValue(),
43883              Idx0H = Const0H->getZExtValue(), Idx1H = Const1H->getZExtValue();
43883              Idx0H = Const0H->getZExtValue(), Idx1H = Const1H->getZExtValue();
44011     unsigned IdxN00 = ConstN00Elt->getZExtValue();
44012     unsigned IdxN01 = ConstN01Elt->getZExtValue();
44013     unsigned IdxN10 = ConstN10Elt->getZExtValue();
44014     unsigned IdxN11 = ConstN11Elt->getZExtValue();
44551   unsigned ExtIdx = cast<ConstantSDNode>(Ext->getOperand(1))->getZExtValue();
44626   unsigned IdxVal = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
45627       if (C->getZExtValue() <= 31) {
45628         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45636       if (C->getZExtValue() <= 63) {
45637         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45646         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45654       if (C->getZExtValue() == 0xff || C->getZExtValue() == 0xffff ||
45654       if (C->getZExtValue() == 0xff || C->getZExtValue() == 0xffff ||
45655           (Subtarget.is64Bit() && C->getZExtValue() == 0xffffffff)) {
45664       if (C->getZExtValue() <= 3) {
45665         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45673       if (C->getZExtValue() <= 255) {
45674         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45682       if (C->getZExtValue() <= 127) {
45683         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45707                                            C->getZExtValue())) {
45708         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45724       int64_t ExtVal = ExtOpc == ISD::ZERO_EXTEND ? CST->getZExtValue()
lib/Target/X86/X86SelectionDAGInfo.cpp
   69       ConstantSize->getZExtValue() > Subtarget.getMaxInlineSizeThreshold()) {
  103   uint64_t SizeVal = ConstantSize->getZExtValue();
  111     uint64_t Val = ValC->getZExtValue() & 255;
  313                                   ConstantSize->getZExtValue(),
lib/Target/XCore/XCoreISelDAGToDAG.cpp
   54       uint32_t value = (uint32_t)N->getZExtValue();
  136     uint64_t Val = cast<ConstantSDNode>(N)->getZExtValue();
  244   unsigned IntNo = cast<ConstantSDNode>(Addr->getOperand(1))->getZExtValue();
lib/Target/XCore/XCoreISelLowering.cpp
  778   if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() > 0)
  794   if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() > 0)
  916   unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
 1596     switch (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue()) {
 1717         (N0C && N1C && N0C->getZExtValue() < N1C->getZExtValue()))
 1717         (N0C && N1C && N0C->getZExtValue() < N1C->getZExtValue()))
 1833       unsigned IntNo = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue();