|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/ParallelJIT/ParallelJIT.cpp 254 return (void*)(intptr_t)gv.IntVal.getZExtValue();
gen/lib/Target/AArch64/AArch64GenDAGISel.inc114981 return AArch64_AM::isLogicalImmediate(Imm.getZExtValue(), 32);
114988 return AArch64_AM::isLogicalImmediate(Imm.getZExtValue(), 64);
115418 Imm.bitcastToAPInt().getZExtValue());
115753 N->getValueAPF().bitcastToAPInt().getZExtValue(), SDLoc(N), MVT::i32);
115770 .getZExtValue());
115778 N->getValueAPF().bitcastToAPInt().getZExtValue(), SDLoc(N), MVT::i64);
gen/lib/Target/AArch64/AArch64GenGlobalISel.inc 830 Imm.bitcastToAPInt().getZExtValue());
848 return AArch64_AM::isLogicalImmediate(Imm.getZExtValue(), 32);
855 return AArch64_AM::isLogicalImmediate(Imm.getZExtValue(), 64);
gen/lib/Target/AMDGPU/AMDGPUGenDAGISel.inc79856 N->getValueAPF().bitcastToAPInt().getZExtValue(), SDLoc(N), MVT::i32);
79882 N->getValueAPF().bitcastToAPInt().getZExtValue(), SDLoc(N), MVT::i64);
gen/lib/Target/ARM/ARMGenDAGISel.inc54222 unsigned N16bitSignExt = apIntN.trunc(16).sext(32).getZExtValue();
54726 return ARM_AM::isSOImmTwoPartVal(Imm.getZExtValue());
55099 unsigned N16bitSignExt = apIntN.trunc(16).sext(32).getZExtValue();
gen/lib/Target/ARM/ARMGenGlobalISel.inc 730 return ARM_AM::isSOImmTwoPartVal(Imm.getZExtValue());
gen/lib/Target/Hexagon/HexagonGenDAGISel.inc73131 return CurDAG->getTargetConstant(I.getZExtValue(), SDLoc(N),
gen/tools/clang/include/clang/AST/AttrImpl.inc 661 return alignmentExpr ? alignmentExpr->EvaluateKnownConstInt(Ctx).getZExtValue() * Ctx.getCharWidth() : Ctx.getTargetDefaultAlignForAttributeAligned();
include/llvm/ADT/APInt.h 482 return ugt(Limit) ? Limit : getZExtValue();
1147 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() == Val;
1198 return (isSingleWord() || getActiveBits() <= 64) && getZExtValue() < RHS;
1268 return (!isSingleWord() && getActiveBits() > 64) || getZExtValue() > RHS;
include/llvm/ADT/APSInt.h 95 return isSigned() ? getSExtValue() : getZExtValue();
include/llvm/Analysis/ScalarEvolutionExpressions.h 71 return (unsigned short)Size.getZExtValue();
include/llvm/Analysis/Utils/Local.h 54 uint64_t OpValue = OpC->getUniqueInteger().getZExtValue();
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h 111 auto MIBMask = Builder.buildConstant(DstTy, Mask.getZExtValue());
include/llvm/IR/Constants.h 149 return Val.getZExtValue();
include/llvm/MC/MCAsmMacro.h 117 return IntVal.getZExtValue();
include/llvm/Support/CheckedArithmetic.h 37 return Signed ? Out.getSExtValue() : Out.getZExtValue();
lib/Analysis/ConstantFolding.cpp 970 unsigned ElIdx = SL.getElementContainingOffset(Offset.getZExtValue());
2316 unsigned Scale = Op3->getValue().getZExtValue();
lib/Analysis/Lint.cpp 341 Size = LocationSize::precise(Len->getValue().getZExtValue());
lib/Analysis/Loads.cpp 280 const uint64_t LoadSize = Size.getZExtValue();
lib/Analysis/LoopAccessAnalysis.cpp 1524 (couldPreventStoreLoadForward(Val.abs().getZExtValue(), TypeByteSize) ||
lib/Analysis/MemoryBuiltins.cpp 498 Size = getSizeWithOverflow(Data).getZExtValue();
565 return APInt(IntTyBits, alignTo(Size.getZExtValue(), Align(Alignment)));
lib/Analysis/MemoryLocation.cpp 96 Size = LocationSize::precise(C->getValue().getZExtValue());
117 Size = LocationSize::precise(C->getValue().getZExtValue());
lib/Analysis/ScalarEvolution.cpp 7908 unsigned NumIterations = BEs.getZExtValue(); // must be in range
lib/Analysis/ValueTracking.cpp 926 uint64_t ShiftAmtKZ = Known.Zero.zextOrTrunc(64).getZExtValue();
927 uint64_t ShiftAmtKO = Known.One.zextOrTrunc(64).getZExtValue();
2461 unsigned ShAmtLimited = ShAmt->getZExtValue();
2474 Tmp2 = ShAmt->getZExtValue();
lib/Analysis/VectorUtils.cpp 428 uint64_t V = DB.getDemandedBits(I).getZExtValue();
lib/AsmParser/LLParser.cpp 2795 uint64_t Size = Lex.getAPSIntVal().getZExtValue();
3953 Result.assign(U.getZExtValue());
4973 Elements.push_back(U.getZExtValue());
lib/Bitcode/Writer/BitcodeWriter.cpp 2367 Record.push_back(CFP->getValueAPF().bitcastToAPInt().getZExtValue());
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 2350 return Value.zextOrTrunc(8).getZExtValue();
lib/CodeGen/AsmPrinter/DwarfUnit.cpp 568 Unsigned ? Val.getZExtValue() : Val.getSExtValue());
lib/CodeGen/GlobalISel/GISelKnownBits.cpp 320 uint64_t Shift = RHSKnown.getConstant().getZExtValue();
lib/CodeGen/GlobalISel/IRTranslator.cpp 1067 unsigned Field = cast<Constant>(Idx)->getUniqueInteger().getZExtValue();
lib/CodeGen/GlobalISel/LegalizerHelper.cpp 1438 {NewOp, MIRBuilder.buildConstant(WideTy, Mask.getZExtValue())});
lib/CodeGen/InterleavedLoadCombinePass.cpp 469 unsigned shiftAmt = C.getZExtValue();
lib/CodeGen/MIRParser/MIParser.cpp 1527 auto ScalarSize = APSInt(Token.range().drop_front()).getZExtValue();
1536 uint64_t AS = APSInt(Token.range().drop_front()).getZExtValue();
1553 uint64_t NumElements = Token.integerValue().getZExtValue();
1570 auto ScalarSize = APSInt(Token.range().drop_front()).getZExtValue();
1576 uint64_t AS = APSInt(Token.range().drop_front()).getZExtValue();
1646 Result = A.getZExtValue();
1878 Elements.push_back(U.getZExtValue());
1915 Line = Token.integerValue().getZExtValue();
1927 Column = Token.integerValue().getZExtValue();
2635 Result = Token.integerValue().getZExtValue();
2644 Result = A.getZExtValue();
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 4587 SRLC.getZExtValue());
5027 APInt::getOneBitSet(VTBitWidth, ShiftAmt.getZExtValue()), DL, VT);
5973 NeededShiftAmt.getZExtValue());
7590 Sum.uge(OpSizeInBits) ? (OpSizeInBits - 1) : Sum.getZExtValue();
16075 bitcastToAPInt().getZExtValue(), SDLoc(CFP),
16087 getZExtValue(), SDLoc(CFP), MVT::i64);
16097 uint64_t Val = CFP->getValueAPF().bitcastToAPInt().getZExtValue();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 2798 unsigned Shift = ShAmt->getZExtValue();
2808 unsigned Shift = ShAmt->getZExtValue();
2815 Known.Zero.setHighBits(ShMinAmt->getZExtValue());
2821 unsigned Shift = ShAmt->getZExtValue();
3563 Tmp = ShiftVal.uge(VTBits) ? VTBits : ShiftVal.getZExtValue();
4403 return getConstant((uint16_t)V.bitcastToAPInt().getZExtValue(), DL, VT);
4405 return getConstant((uint32_t)V.bitcastToAPInt().getZExtValue(), DL, VT);
4407 return getConstant(V.bitcastToAPInt().getZExtValue(), DL, VT);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 3860 unsigned Field = cast<Constant>(Idx)->getUniqueInteger().getZExtValue();
3927 SDValue Scale = DAG.getConstant(ElementSize.getZExtValue(), dl,
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 1330 Offset.getZExtValue());
lib/CodeGen/SelectionDAG/TargetLowering.cpp 887 unsigned SubIdx = Idx.getZExtValue();
2269 unsigned SubIdx = Idx.getZExtValue();
lib/CodeGen/SwitchLoweringUtils.cpp 425 uint64_t Lo = (Clusters[i].Low->getValue() - LowBound).getZExtValue();
426 uint64_t Hi = (Clusters[i].High->getValue() - LowBound).getZExtValue();
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 348 .getZExtValue();
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp 184 Value = N.getZExtValue();
194 emitEncodedUnsignedInteger(Value.getZExtValue(), Comment);
198 return writeEncodedUnsignedInteger(Value.getZExtValue());
lib/DebugInfo/PDB/Native/NativeSymbolEnumerator.cpp 98 uint64_t U = Record.Value.getZExtValue();
113 uint64_t U = Record.Value.getZExtValue();
lib/ExecutionEngine/ExecutionEngine.cpp 470 return runFunction(Fn, GVArgs).IntVal.getZExtValue();
749 GV.PointerVal = PointerTy(uintptr_t(GV.IntVal.getZExtValue()));
lib/ExecutionEngine/ExecutionEngineBindings.cpp 79 return GenVal->IntVal.getZExtValue();
lib/ExecutionEngine/Interpreter/Execution.cpp 879 exit(GV.IntVal.zextOrTrunc(32).getZExtValue());
1022 getOperandValue(I.getOperand(0), SF).IntVal.getZExtValue();
1070 Idx = (int64_t)(int32_t)IdxGV.IntVal.getZExtValue();
1073 Idx = (int64_t)IdxGV.IntVal.getZExtValue();
1201 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue();
1208 uint64_t shiftAmount = Src2.IntVal.getZExtValue();
1228 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue();
1235 uint64_t shiftAmount = Src2.IntVal.getZExtValue();
1255 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue();
1262 uint64_t shiftAmount = Src2.IntVal.getZExtValue();
1536 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue()));
1806 const unsigned indx = unsigned(Src2.IntVal.getZExtValue());
1843 const unsigned indx = unsigned(Src3.IntVal.getZExtValue());
1891 unsigned j = Src3.AggregateVal[i].IntVal.getZExtValue();
1907 unsigned j = Src3.AggregateVal[i].IntVal.getZExtValue();
1918 unsigned j = Src3.AggregateVal[i].IntVal.getZExtValue();
2089 Dest.IntVal = Op0.IntVal.shl(Op1.IntVal.getZExtValue());
2092 Dest.IntVal = Op0.IntVal.lshr(Op1.IntVal.getZExtValue());
2095 Dest.IntVal = Op0.IntVal.ashr(Op1.IntVal.getZExtValue());
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp 375 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue()));
391 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue());
393 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue()));
475 size_t len = (size_t)Args[2].IntVal.getZExtValue();
lib/ExecutionEngine/MCJIT/MCJIT.cpp 535 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(),
548 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(),
558 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue()));
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp 54 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(),
67 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(),
76 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue()));
lib/IR/AsmWriter.cpp 1344 Out << format_hex(apf.bitcastToAPInt().getZExtValue(), 0, /*Upper=*/true);
1355 Out << format_hex_no_prefix(API.getHiBits(16).getZExtValue(), 4,
1357 Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16,
1362 Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16,
1364 Out << format_hex_no_prefix(API.getHiBits(64).getZExtValue(), 16,
1368 Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16,
1370 Out << format_hex_no_prefix(API.getHiBits(64).getZExtValue(), 16,
1374 Out << format_hex_no_prefix(API.getZExtValue(), 4,
lib/IR/BasicBlock.cpp 486 return Optional<uint64_t>(CI->getValue().getZExtValue());
lib/IR/ConstantFold.cpp 284 ByteStart + ShAmt.getZExtValue(), ByteSize);
307 ByteStart - ShAmt.getZExtValue(), ByteSize);
lib/IR/Function.cpp 1553 uint64_t Count = CI->getValue().getZExtValue();
1562 uint64_t Count = CI->getValue().getZExtValue();
1577 .getZExtValue());
lib/IR/Instructions.cpp 494 .getZExtValue());
506 .getZExtValue());
3931 uint32_t CW = C->getValue().getZExtValue();
4010 .getZExtValue();
lib/IR/Metadata.cpp 1330 TrueVal = CITrue->getValue().getZExtValue();
1331 FalseVal = CIFalse->getValue().getZExtValue();
1359 TotalVal += V->getValue().getZExtValue();
1366 .getZExtValue();
lib/IR/Type.cpp 539 (unsigned)cast<Constant>(V)->getUniqueInteger().getZExtValue();
lib/MC/MCParser/AsmParser.cpp 1219 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue();
3081 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue();
3082 lo = IntValue.getLoBits(64).getZExtValue();
3085 lo = IntValue.getZExtValue();
lib/MCA/InstrBuilder.cpp 181 ID.UsedBuffers = Buffers.getZExtValue();
lib/ProfileData/ProfileSummaryBuilder.cpp 79 uint64_t DesiredCount = Temp.getZExtValue();
lib/Support/APFloat.cpp 3543 unsigned d = digit.getZExtValue();
lib/Support/APInt.cpp 1725 return getZExtValue();
1862 Remainder = LHS.getZExtValue(); // X % Y ===> X, iff X < Y
2188 N = getZExtValue();
lib/Target/AArch64/AArch64FastISel.cpp 425 .addImm(CFP->getValueAPF().bitcastToAPInt().getZExtValue());
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp 2146 uint64_t NonZeroBits = (~Known.Zero).getZExtValue();
2225 uint64_t NotKnownZero = (~Known.Zero).getZExtValue();
2228 if (!isShiftedMask(Known.Zero.getZExtValue(), VT))
lib/Target/AArch64/AArch64ISelLowering.cpp 927 uint64_t DemandedBits = Demanded.getZExtValue();
982 assert(((OldImm ^ NewImm) & Demanded.getZExtValue()) == 0 &&
5734 AArch64_IMM::expandMOVImm(ImmInt.getZExtValue(), VT.getSizeInBits(),
6516 Imm = ExpectedElt.getZExtValue();
7137 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7159 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7207 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7246 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7277 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7298 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7488 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32);
7557 Const->getAPIntValue().zextOrTrunc(BitSize).getZExtValue());
lib/Target/AArch64/AArch64InstructionSelector.cpp 1566 ImmOp.getFPImm()->getValueAPF().bitcastToAPInt().getZExtValue());
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 2005 OS << "<fpimm " << getFPImm().bitcastToAPInt().getZExtValue();
3641 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue();
lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h 368 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1;
370 int32_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits
394 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1;
396 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits
422 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1;
424 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL;
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp 818 Imm = FP->getValueAPF().bitcastToAPInt().getZExtValue();
1590 APInt::getAllOnesValue(32).getZExtValue(); // Size
2213 if (isDSOffsetLegal(PtrBase, OffsetVal.getZExtValue(), 16)) {
2623 C->getValueAPF().bitcastToAPInt().getZExtValue() << 16, SL, MVT::i32);
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 3929 uint64_t CVal = Val.getZExtValue();
4484 Known.One |= ((RHSKnown.One.getZExtValue() >> SelBits) & 0xff) << I;
4485 Known.Zero |= ((RHSKnown.Zero.getZExtValue() >> SelBits) & 0xff) << I;
4488 Known.One |= ((LHSKnown.One.getZExtValue() >> SelBits) & 0xff) << I;
4489 Known.Zero |= ((LHSKnown.Zero.getZExtValue() >> SelBits) & 0xff) << I;
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp 1405 ImmOp.ChangeToImmediate(Imm.getZExtValue());
1448 .addImm(Imm.trunc(32).getZExtValue());
1451 .addImm(Imm.ashr(32).getZExtValue());
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 1558 static_cast<int16_t>(FPLiteral.bitcastToAPInt().getZExtValue()),
1564 static_cast<int32_t>(FPLiteral.bitcastToAPInt().getZExtValue()),
1585 static_cast<int32_t>(Literal.getLoBits(32).getZExtValue()),
1720 if (AMDGPU::isInlinableLiteral64(Literal.getZExtValue(),
1722 Inst.addOperand(MCOperand::createImm(Literal.getZExtValue()));
1735 Inst.addOperand(MCOperand::createImm(Literal.lshr(32).getZExtValue()));
1770 uint64_t ImmVal = FPLiteral.bitcastToAPInt().getZExtValue();
1852 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue()));
1860 Inst.addOperand(MCOperand::createImm(FPLiteral.bitcastToAPInt().getZExtValue()));
2372 AMDGPUOperand::CreateImm(this, RealVal.bitcastToAPInt().getZExtValue(), S,
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp 126 Target = (SignedOffset.sext(64) + Addr + Size).getZExtValue();
lib/Target/AMDGPU/R600ISelLowering.cpp 350 .getZExtValue());
2178 ImmValue = FPC->getValueAPF().bitcastToAPInt().getZExtValue();
lib/Target/AMDGPU/SIInstrInfo.cpp 1429 .addImm(Imm.getLoBits(32).getZExtValue())
1432 .addImm(Imm.getHiBits(32).getZExtValue())
1592 MovDPP.addImm(Imm.getLoBits(32).getZExtValue());
lib/Target/ARM/ARMCodeGenPrepare.cpp 724 ConstantInt::get(SrcTy, APInt::getMaxValue(NumBits).getZExtValue());
lib/Target/ARM/ARMFastISel.cpp 1374 Imm = (isZExt) ? (int)CIVal.getZExtValue() : (int)CIVal.getSExtValue();
1634 Imm = (int)ConstInt->getValue().getZExtValue();
lib/Target/ARM/ARMISelLowering.cpp 5648 DAG.getConstant(NewIndex.getZExtValue(), dl, MVT::i32));
6576 uint64_t iVal = FPVal.bitcastToAPInt().getZExtValue();
7113 SDValue Val = isVMOVModifiedImm(SplatBits.getZExtValue(),
7114 SplatUndef.getZExtValue(), SplatBitSize,
7124 uint64_t NegatedImm = (~SplatBits).getZExtValue();
7126 NegatedImm, SplatUndef.getZExtValue(), SplatBitSize,
12028 SDValue Val = isVMOVModifiedImm((~SplatBits).getZExtValue(),
12029 SplatUndef.getZExtValue(), SplatBitSize,
12335 SDValue Val = isVMOVModifiedImm(SplatBits.getZExtValue(),
12336 SplatUndef.getZExtValue(), SplatBitSize,
15499 unsigned Demanded = DemandedAPInt.getZExtValue();
lib/Target/ARM/ARMTargetTransformInfo.cpp 73 uint64_t ZImmVal = Imm.getZExtValue();
528 const unsigned Size = C->getValue().getZExtValue();
lib/Target/ARM/AsmParser/ARMAsmParser.cpp 5950 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue();
5969 Val = APFloat(RealVal).bitcastToAPInt().getZExtValue();
lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h 654 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1;
656 int64_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits
680 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1;
682 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits
708 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1;
710 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL;
lib/Target/AVR/AVRISelDAGToDAG.cpp 248 CanHandleRegImmOpt &= ImmNode->getAPIntValue().getZExtValue() < 64;
282 Disp = CurDAG->getTargetConstant(ImmNode->getAPIntValue().getZExtValue(), dl, MVT::i8);
lib/Target/BPF/BPFAbstractMemberAccess.cpp 508 return CV->getValue().getZExtValue();
lib/Target/Hexagon/HexagonConstPropagation.cpp 1765 int64_t V = A1.getZExtValue();
2236 uint64_t U = A.getZExtValue();
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp 703 SDValue V = CurDAG->getTargetConstant(A.getZExtValue(), dl, MVT::i32);
708 SDValue V = CurDAG->getTargetConstant(A.getZExtValue(), dl, MVT::i64);
lib/Target/Hexagon/HexagonISelLowering.cpp 907 uint8_t y = CV->getOperand(i * 8 + j)->getUniqueInteger().getZExtValue();
2114 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue());
lib/Target/Lanai/LanaiTargetTransformInfo.h 58 if (isInt<21>(Imm.getZExtValue()))
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 3264 ImmOp64 = RealVal.bitcastToAPInt().getZExtValue();
lib/Target/Mips/MipsFastISel.cpp 392 int64_t Imm = CFP->getValueAPF().bitcastToAPInt().getZExtValue();
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 1053 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
1062 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
1063 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue();
1084 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
1085 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue();
1133 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
1134 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue();
1135 const unsigned Higher = SplatValue.lshr(32).getLoBits(16).getZExtValue();
1136 const unsigned Highest = SplatValue.lshr(48).getLoBits(16).getZExtValue();
lib/Target/Mips/MipsSEISelLowering.cpp 861 (SplatValue.getZExtValue() >= EltSize))
866 DAG.getConstant(SplatValue.getZExtValue(), DL, MVT::i32));
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 1708 O << lead << format_hex_no_prefix(API.getZExtValue(), numHex, /*Upper=*/true);
1866 uint16_t float16 = API.getLoBits(16).getZExtValue();
1923 uint8_t Byte = Val.getLoBits(8).getZExtValue();
lib/Target/NVPTX/NVPTXMCExpr.cpp 50 OS << format_hex_no_prefix(API.getZExtValue(), NumHex, /*Upper=*/true);
lib/Target/PowerPC/PPCFastISel.cpp 847 Imm = (IsZExt) ? (long)CIVal.getZExtValue() : (long)CIVal.getSExtValue();
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 722 unsigned TargetMask = LKnown.Zero.getZExtValue();
723 unsigned InsertMask = RKnown.Zero.getZExtValue();
765 bool CanFoldMask = InsertMask == MKnown.One.getZExtValue();
4695 if ((LHSKnown.Zero.getZExtValue()|~(uint64_t)Imm) == ~0ULL) {
lib/Target/PowerPC/PPCISelLowering.cpp 2411 if ((LHSKnown.Zero.getZExtValue()|~(uint64_t)imm) == ~0ULL) {
8416 unsigned SplatBits = APSplatBits.getZExtValue();
8417 unsigned SplatUndef = APSplatUndef.getZExtValue();
lib/Target/PowerPC/PPCTargetTransformInfo.cpp 77 if ((Imm.getZExtValue() & 0xFFFF) == 0)
185 (isShiftedMask_32(Imm.getZExtValue()) ||
186 isShiftedMask_32(~Imm.getZExtValue())))
190 (isShiftedMask_64(Imm.getZExtValue()) ||
191 isShiftedMask_64(~Imm.getZExtValue())))
195 if (UnsignedFree && isUInt<16>(Imm.getZExtValue()))
198 if (ShiftedFree && (Imm.getZExtValue() & 0xFFFF) == 0)
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp 740 if (Used != (AndMask | InsertMask | Known.Zero.getZExtValue()))
798 Mask |= Known.Zero.getZExtValue();
821 Mask &= ~Known.One.getZExtValue();
lib/Target/SystemZ/SystemZISelLowering.cpp 681 uint64_t Byte = IntBits.lshr(I * 8).trunc(8).getZExtValue();
727 uint64_t SplatBitsZ = SplatBits.getZExtValue();
728 uint64_t SplatUndefZ = SplatUndef.getZExtValue();
2438 if ((~Known.Zero).getZExtValue() & ~Mask->getZExtValue())
3390 uint64_t Masks[] = { Known[0].Zero.getZExtValue(),
3391 Known[1].Zero.getZExtValue() };
4887 SDValue Shift = DAG.getConstant(SplatBits.getZExtValue() & 0xfff,
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp 53 if (isUInt<32>(Imm.getZExtValue()))
56 if ((Imm.getZExtValue() & 0xffffffff) == 0)
104 if (isUInt<32>(Imm.getZExtValue()))
112 if (isUInt<32>(Imm.getZExtValue()))
130 if (isUInt<32>(Imm.getZExtValue()))
133 if ((Imm.getZExtValue() & 0xffffffff) == 0)
143 if (isUInt<32>(~Imm.getZExtValue()))
146 if ((Imm.getZExtValue() & 0xffffffff) == 0xffffffff)
151 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End))
205 if (isUInt<32>(Imm.getZExtValue()))
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp 191 utohexstr(AI.getZExtValue() &
lib/Target/X86/AsmParser/X86AsmParser.cpp 1723 Offset = DotDisp.getZExtValue();
lib/Target/X86/X86ISelLowering.cpp 6331 RawMask.push_back(Elt.getZExtValue());
6919 unsigned LHS = Known0.Zero.extractBits(8, i * 8).getZExtValue();
6920 unsigned RHS = Known1.Zero.extractBits(8, i * 8).getZExtValue();
10605 unsigned VEXPANDMask = (~Zeroable).getZExtValue();
25542 uint64_t ShiftAmt = APIntShiftAmt.getZExtValue();
25723 uint64_t ShAmt = C.getZExtValue();
31715 return Tmp - ShiftVal.getZExtValue();
31725 return ShiftVal.uge(VTBits) ? VTBits : ShiftVal.getZExtValue();
37651 switch (Diff.getZExtValue()) {
38533 EltBits[0].getZExtValue(), DAG);
43377 unsigned MaskBits = BitWidth - ShAmt.getZExtValue();
lib/Target/X86/X86MCInstLower.cpp 1711 CS << Val.getZExtValue();
lib/Target/X86/X86ShuffleDecodeConstantPool.cpp 71 RawMask[i] = Elt->getValue().getZExtValue();
108 RawMask[i] = EltBits.getZExtValue();
lib/Target/X86/X86TargetTransformInfo.cpp 2991 uint64_t ImmVal = Imm.getZExtValue();
3001 if (Idx == 1 && Imm.getBitWidth() == 64 && isUInt<32>(Imm.getZExtValue()))
3008 if (Idx == 1 && Imm.getBitWidth() == 64 && Imm.getZExtValue() == 0x80000000)
lib/Transforms/Coroutines/CoroFrame.cpp 454 Count = CI->getValue().getZExtValue();
626 auto Count = CI->getValue().getZExtValue();
lib/Transforms/IPO/LowerTypeTests.cpp 710 COffset += APOffset.getZExtValue();
1860 .getZExtValue());
2152 .getZExtValue());
2157 .getZExtValue());
lib/Transforms/InstCombine/InstCombineCalls.cpp 502 ShiftAmts.push_back((int)ShiftVal.getZExtValue());
749 unsigned Index = APIndex.getZExtValue();
753 unsigned Length = APLength == 0 ? 64 : APLength.getZExtValue();
799 return LowConstantHighUndef(Elt.getZExtValue());
829 unsigned Index = APIndex.getZExtValue();
833 unsigned Length = APLength == 0 ? 64 : APLength.getZExtValue();
893 Constant *Args[] = {ConstantInt::get(IntTy64, Val.getZExtValue()),
942 int8_t Index = cast<ConstantInt>(COp)->getValue().getZExtValue();
4246 Call.getContext(), Size.getZExtValue()));
lib/Transforms/InstCombine/InstCombineCasts.cpp 1037 uint64_t ShiftAmt = Amt->getZExtValue();
1050 BitsToClear += Amt->getZExtValue();
lib/Transforms/InstCombine/InstCombineCompares.cpp 2103 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue()));
2115 APInt::getOneBitSet(TypeBits, TypeBits - ShiftAmt->getZExtValue() - 1));
2126 Value *And = Builder.CreateAnd(X, (~C).lshr(ShiftAmt->getZExtValue()));
2135 Builder.CreateAnd(X, (~(C - 1)).lshr(ShiftAmt->getZExtValue()));
lib/Transforms/InstCombine/InstCombineShifts.cpp 374 unsigned InnerShAmt = InnerShiftConst->getZExtValue();
478 unsigned InnerShAmt = C1->getZExtValue();
613 canEvaluateShifted(Op0, Op1C->getZExtValue(), isLeftShift, *this, &I)) {
620 I, getShiftedValue(Op0, Op1C->getZExtValue(), isLeftShift, *this, DL));
662 MaskV <<= Op1C->getZExtValue();
665 MaskV.lshrInPlace(Op1C->getZExtValue());
867 unsigned ShAmt = ShAmtAPInt->getZExtValue();
889 unsigned ShrAmt = ShOp1->getZExtValue();
909 unsigned AmtSum = ShAmt + ShOp1->getZExtValue();
982 unsigned ShAmt = ShAmtAPInt->getZExtValue();
1002 unsigned ShlAmt = ShOp1->getZExtValue();
1016 unsigned ShlAmt = ShOp1->getZExtValue();
1070 unsigned AmtSum = ShAmt + ShOp1->getZExtValue();
1181 unsigned ShAmt = ShAmtAPInt->getZExtValue();
1196 unsigned ShlAmt = ShOp1->getZExtValue();
1215 unsigned AmtSum = ShAmt + ShOp1->getZExtValue();
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 917 unsigned ShlAmt = ShlOp1.getZExtValue();
918 unsigned ShrAmt = ShrOp1.getZExtValue();
lib/Transforms/Instrumentation/AddressSanitizer.cpp 3329 uint64_t Size = SizeOffset.first.getZExtValue();
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 619 uint64_t TrueWt = TrueWeight->getValue().getZExtValue();
620 uint64_t FalseWt = FalseWeight->getValue().getZExtValue();
lib/Transforms/Scalar/LoopStrengthReduce.cpp 3819 StepInt.getSExtValue() : StepInt.getZExtValue();
lib/Transforms/Scalar/MemCpyOptimizer.cpp 1280 if (!C1 || C1->getValue().getZExtValue() < ByValSize)
lib/Transforms/Scalar/Reassociate.cpp 367 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold &&
367 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold &&
369 unsigned Total = LHS.getZExtValue() + RHS.getZExtValue();
369 unsigned Total = LHS.getZExtValue() + RHS.getZExtValue();
1052 Factors.append(E.second.getZExtValue(),
2205 Ops.append(E.second.getZExtValue(),
lib/Transforms/Scalar/SROA.cpp 687 uint64_t BeginOffset = Offset.getZExtValue();
1514 uint64_t StructOffset = Offset.getZExtValue();
2962 OtherOffset.zextOrTrunc(64).getZExtValue());
lib/Transforms/Utils/LibCallsShrinkWrap.cpp 434 if (D < 1.0f || D > APInt::getMaxValue(8).getZExtValue()) {
lib/Transforms/Utils/Local.cpp 193 Weights.push_back(CI->getValue().getZExtValue());
285 createBranchWeights(SICase->getValue().getZExtValue(),
286 SIDef->getValue().getZExtValue()));
lib/Transforms/Utils/SimplifyCFG.cpp 974 Weights.push_back(CI->getValue().getZExtValue());
lib/Transforms/Utils/SimplifyLibCalls.cpp 245 DerefMin = std::min(X->getZExtValue(), Y->getZExtValue());
245 DerefMin = std::min(X->getZExtValue(), Y->getZExtValue());
lib/Transforms/Vectorize/SLPVectorizer.cpp 284 unsigned IntIdx = Idx->getValue().getZExtValue();
2451 if (Diff && Diff->getAPInt().getZExtValue() == (VL.size() - 1) * Size) {
tools/clang/include/clang/Basic/TargetInfo.h 886 ImmSet.count(Value.getZExtValue()) != 0;
tools/clang/lib/ARCMigrate/ObjCMT.cpp 818 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue();
tools/clang/lib/AST/ASTContext.cpp 1722 uint64_t Size = CAT->getSize().getZExtValue();
1832 uint64_t Size = CAT->getSize().getZExtValue();
5677 ElementCount *= CA->getSize().getZExtValue();
6922 S += llvm::utostr(CAT->getSize().getZExtValue());
tools/clang/lib/AST/Decl.cpp 3954 return getBitWidth()->EvaluateKnownConstInt(Ctx).getZExtValue();
tools/clang/lib/AST/Expr.cpp 961 S, llvm::APSInt::getUnsigned(getValue().getZExtValue()), Scale);
tools/clang/lib/AST/ExprConstant.cpp 212 ArraySize = CAT->getSize().getZExtValue();
400 MostDerivedArraySize = CAT->getSize().getZExtValue();
446 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue();
1610 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue();
2971 unsigned Elts = CAT->getSize().getZExtValue();
4258 APValue Array(APValue::UninitArray(), 0, AT->getSize().getZExtValue());
5766 uint64_t Size = CAT->getSize().getZExtValue();
6017 *Val = APValue(APValue::UninitArray(), 0, Size.getZExtValue());
8010 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue();
8152 CharUnits Align = CharUnits::fromQuantity(Alignment.getZExtValue());
8159 int64_t AdditionalOffset = -Offset.getZExtValue();
8281 DesiredVal = Desired.trunc(Info.Ctx.getCharWidth()).getZExtValue();
8291 DesiredVal = Desired.getZExtValue();
8300 if (Char.getInt().getZExtValue() == DesiredVal)
8411 uint64_t NElems = N.getZExtValue();
9101 ArrayType->getSize().getZExtValue()))
9425 CAT->getSize().getZExtValue());
9511 unsigned NumElts = CAT->getSize().getZExtValue();
9570 uint64_t Elements = CAT->getSize().getZExtValue();
9602 unsigned N = CAT->getSize().getZExtValue();
10352 Result = CharUnits::fromQuantity(Int.getZExtValue());
10511 E->getArg(1)->EvaluateKnownConstInt(Info.Ctx).getZExtValue();
10610 int Operand = E->getArg(0)->EvaluateKnownConstInt(Info.Ctx).getZExtValue();
10920 CharUnits Size = CharUnits::fromQuantity(SizeVal.getZExtValue());
11263 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue();
tools/clang/lib/AST/Interp/ByteCodeExprGen.cpp 400 return this->emitConstUint8(Value.getZExtValue(), E);
404 return this->emitConstUint16(Value.getZExtValue(), E);
408 return this->emitConstUint32(Value.getZExtValue(), E);
412 return this->emitConstUint64(Value.getZExtValue(), E);
tools/clang/lib/AST/Interp/Integral.h 81 : V(V.isSigned() ? V.getSExtValue() : V.getZExtValue()) {}
tools/clang/lib/AST/Interp/Program.cpp 310 size_t NumElems = CAT->getSize().getZExtValue();
tools/clang/lib/AST/MicrosoftMangle.cpp 1358 mangleNumber(Value.getZExtValue());
3451 .getZExtValue();
tools/clang/lib/AST/ScanfFormatString.cpp 449 CAT->getSize().getZExtValue() - 1,
tools/clang/lib/AST/StmtPrinter.cpp 1800 char C = (char)P.getAsIntegral().getZExtValue();
tools/clang/lib/AST/TemplateBase.cpp 73 const char Ch = Val.getZExtValue();
99 Integer.VAL = Value.getZExtValue();
tools/clang/lib/AST/Type.cpp 157 (NumElements.getZExtValue() >> 32) == 0) {
158 uint64_t TotalSize = NumElements.getZExtValue() * ElementSize;
192 ID.AddInteger(ArraySize.getZExtValue());
tools/clang/lib/AST/TypePrinter.cpp 509 OS << T->getSize().getZExtValue() << ']';
tools/clang/lib/CodeGen/CGBuiltin.cpp 2136 E->getArg(1)->EvaluateKnownConstInt(getContext()).getZExtValue();
5247 NeonTypeFlags Type(NeonTypeConst.getZExtValue());
6024 uint64_t ZExtValue = Value.zextOrTrunc(IsThumb ? 16 : 32).getZExtValue();
6639 bool usgn = Result.getZExtValue() == 1;
6648 NeonTypeFlags Type(Result.getZExtValue());
6937 NeonTypeFlags Type(Result.getZExtValue());
7418 E->getArg(0)->EvaluateKnownConstInt(getContext()).getZExtValue();
7496 Type = NeonTypeFlags(Result.getZExtValue());
13178 switch (M4.getZExtValue()) {
13181 switch (M5.getZExtValue()) {
13187 switch (M5.getZExtValue()) {
13224 switch (M4.getZExtValue()) {
13254 switch (M4.getZExtValue()) {
tools/clang/lib/CodeGen/CGCall.cpp 907 AT->getElementType(), AT->getSize().getZExtValue());
2374 uint64_t ArrSize = ArrTy->getSize().getZExtValue();
tools/clang/lib/CodeGen/CGDebugInfo.cpp 2667 Count = CAT->getSize().getZExtValue();
2816 auto Value = IsSigned ? InitVal.getSExtValue() : InitVal.getZExtValue();
4516 Init.getFloat().bitcastToAPInt().getZExtValue());
tools/clang/lib/CodeGen/CGExprAgg.cpp 1643 uint64_t numElements = E->getArraySize().getZExtValue();
tools/clang/lib/CodeGen/CGExprCXX.cpp 1033 ->getSize().getZExtValue();
1548 ->getSize().getZExtValue();
tools/clang/lib/CodeGen/CGExprConstant.cpp 634 FillC ? CAT->getSize().getZExtValue() : Updater->getNumInits();
1183 unsigned NumElements = CAT->getSize().getZExtValue();
1314 Str.resize(CAT->getSize().getZExtValue(), '\0');
2310 unsigned NumElements = CAT->getSize().getZExtValue();
tools/clang/lib/CodeGen/CGExprScalar.cpp 1638 indices.push_back(Builder.getInt32(Idx.getZExtValue()));
tools/clang/lib/CodeGen/CGObjCMac.cpp 2521 uint64_t ElCount = CArray->getSize().getZExtValue();
2526 ElCount *= CArray->getSize().getZExtValue();
5215 numElts *= arrayType->getSize().getZExtValue();
tools/clang/lib/CodeGen/CGStmt.cpp 1196 unsigned NCases = Range.getZExtValue() + 1;
tools/clang/lib/CodeGen/CodeGenFunction.cpp 1764 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue()
1784 cast<ConstantArrayType>(arrayType)->getSize().getZExtValue();
tools/clang/lib/CodeGen/CodeGenModule.cpp 4855 Str.resize(CAT->getSize().getZExtValue());
tools/clang/lib/CodeGen/CodeGenTypes.cpp 602 ResultType = llvm::ArrayType::get(EltTy, A->getSize().getZExtValue());
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 79 for (uint64_t i = 0, e = arrayType->getSize().getZExtValue(); i != e; ++i) {
tools/clang/lib/CodeGen/TargetInfo.cpp 584 if (AT->getSize().getZExtValue() != 1)
2758 uint64_t ArraySize = AT->getSize().getZExtValue();
3048 unsigned NumElts = (unsigned)AT->getSize().getZExtValue();
4600 uint64_t NElements = AT->getSize().getZExtValue();
4633 if (AT->getSize().getZExtValue() == 0)
6212 uint64_t NElements = AT->getSize().getZExtValue();
9371 uint64_t ArraySize = ATy->getSize().getZExtValue();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 3710 Result += utostr(Dim.getZExtValue());
tools/clang/lib/Lex/LiteralSupport.cpp 999 return Val.getZExtValue() != N;
1087 Exponent = ExpInt.getZExtValue();
1388 Value = LitVal.getZExtValue();
tools/clang/lib/Sema/SemaAttr.cpp 304 Val.getZExtValue() > 16) {
309 AlignmentVal = (unsigned) Val.getZExtValue();
tools/clang/lib/Sema/SemaChecking.cpp 3603 (HasRC && Result.getZExtValue() >= 8 && Result.getZExtValue() <= 11))
3603 (HasRC && Result.getZExtValue() >= 8 && Result.getZExtValue() <= 11))
4968 !ScopeModel->isValid(Result.getZExtValue())) {
5937 if (Result.getActiveBits() > 64 || Result.getZExtValue() >= numElements*2)
8788 size_t TypeSize = T->getSize().getZExtValue();
8851 size_t TypeSize = T->getSize().getZExtValue();
10336 unsigned zext = shift.getZExtValue();
14408 *MagicValue = MagicValueAPInt.getZExtValue();
tools/clang/lib/Sema/SemaDecl.cpp12786 uint64_t MagicValue = MagicValueInt.getZExtValue();
15834 << FieldName << (unsigned)Value.getZExtValue()
15838 << (unsigned)Value.getZExtValue() << !CStdConstraintViolation
15848 << FieldName << (unsigned)Value.getZExtValue()
15852 << (unsigned)Value.getZExtValue() << (unsigned)TypeWidth;
17232 return Val.isSigned() ? Val.getSExtValue() : Val.getZExtValue();
tools/clang/lib/Sema/SemaDeclAttr.cpp 269 Val = (uint32_t)I.getZExtValue();
698 uint64_t ParamIdxFromOne = ArgValue.getZExtValue();
2655 sentinel = Idx.getZExtValue();
2668 nullPos = Idx.getZExtValue();
3711 uint64_t AlignVal = Alignment.getZExtValue();
4014 NewTy = Context.getVectorType(NewTy, VectorSize.getZExtValue(),
tools/clang/lib/Sema/SemaExpr.cpp 5297 << (unsigned)ArgCAT->getSize().getZExtValue()
5298 << (unsigned)CAT->getSize().getZExtValue() << 0;
14060 CondIsTrue = condEval.getZExtValue();
tools/clang/lib/Sema/SemaExprCXX.cpp 2022 KnownArraySize = Value.getZExtValue();
tools/clang/lib/Sema/SemaInit.cpp 193 uint64_t StrLength = ConstantArrayTy->getSize().getZExtValue();
223 if (StrLength > CAT->getSize().getZExtValue())
229 if (StrLength-1 > CAT->getSize().getZExtValue())
837 NumElements = CAType->getSize().getZExtValue();
971 maxElements = static_cast<int>(CAT->getSize().getZExtValue());
2816 if (DesignatedStartIndex.getZExtValue()!=DesignatedEndIndex.getZExtValue()&&
2816 if (DesignatedStartIndex.getZExtValue()!=DesignatedEndIndex.getZExtValue()&&
2874 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue();
2896 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue();
2916 DesignatedEndIndex.getZExtValue() >= StructuredList->getNumInits())
2918 DesignatedEndIndex.getZExtValue() + 1);
2924 unsigned ElementIndex = DesignatedStartIndex.getZExtValue();
2945 ElementIndex = DesignatedStartIndex.getZExtValue();
3056 NumElements = CAType->getSize().getZExtValue();
tools/clang/lib/Sema/SemaOpenMP.cpp14434 DSAStack->getParentLoopControlVariable(DepCounter.getZExtValue());
14482 TotalDepCount.getZExtValue());
tools/clang/lib/Sema/SemaTemplate.cpp 7095 E = new (Context) CharacterLiteral(Arg.getAsIntegral().getZExtValue(),
tools/clang/lib/Sema/SemaType.cpp 2376 unsigned VectorSize = static_cast<unsigned>(VecSize.getZExtValue() * 8);
2431 unsigned vectorSize = static_cast<unsigned>(vecSize.getZExtValue());
5919 << (unsigned)max.getZExtValue() << AddrSpace->getSourceRange();
5924 getLangASFromTargetAS(static_cast<unsigned>(addrSpace.getZExtValue()));
7299 unsigned numElts = static_cast<unsigned>(numEltsInt.getZExtValue());
tools/clang/lib/Serialization/ASTWriter.cpp 1838 static_cast<uint32_t>(CH.getLoBits(32).getZExtValue());
1840 static_cast<uint32_t>(CH.getHiBits(32).getZExtValue());
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp 1983 s1StrRef = s1StrRef.substr(0, (size_t)len->getZExtValue());
1984 s2StrRef = s2StrRef.substr(0, (size_t)len->getZExtValue());
tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp 182 uint64_t ILRawVal = IL->getValue().getZExtValue();
193 DstOff = IL->getValue().getZExtValue();
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp 620 suffix = (unsigned) Result.getZExtValue();
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp 120 Elts = CArrTy->getSize().getZExtValue();
tools/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp 72 return (unsigned)RHS->getZExtValue() > LHS->countLeadingZeros();
142 OS << '\'' << I->getZExtValue() << "\', which is";
162 << LHS->getSExtValue() << "\' by \'" << RHS->getZExtValue()
tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp 237 uint64_t Amt = V2.getZExtValue();
260 uint64_t Amt = V2.getZExtValue();
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp 895 CharUnits amt = CharUnits::fromQuantity(Value.getZExtValue());
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp 223 maxStep = (BoundNum - InitNum + 1).abs().getZExtValue();
225 maxStep = (BoundNum - InitNum).abs().getZExtValue();
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 1190 NumElements = CAT->getSize().getZExtValue();
2241 Size = CAT->getSize().getZExtValue();
tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp 504 makeIntVal(ToTypeMax.isUnsigned() ? ToTypeMax.getZExtValue()
tools/clang/lib/StaticAnalyzer/Core/SVals.cpp 382 os << castAs<loc::ConcreteInt>().getValue().getZExtValue() << " (Loc)";
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp 47 os << getRHS().getZExtValue();
56 os << getLHS().getZExtValue();
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp 75 return Length.Val.getInt().getZExtValue();
78 return LengthIL->getValue().getZExtValue();
310 size_t NewLength = LengthIL->getValue().getZExtValue() +
331 if (LhsIL->getValue().getZExtValue() == 1) {
340 if (RhsIL->getValue().getZExtValue() == 1) {
807 AreSafeFunctionsWanted = IntValue.getZExtValue();
tools/clang/tools/extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp 23 return Node.getValue().getZExtValue() > N;
tools/clang/tools/extra/clang-tidy/bugprone/StringConstructorCheck.cpp 22 return Node.getValue().getZExtValue() > N;
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp 130 if (Index.getZExtValue() >= ArraySize.getZExtValue()) {
130 if (Index.getZExtValue() >= ArraySize.getZExtValue()) {
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp 854 uint64_t LhsConstant = LhsValue.getZExtValue();
855 uint64_t RhsConstant = RhsValue.getZExtValue();
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.cpp 124 const int64_t Value = IntValue.getZExtValue();
tools/clang/tools/libclang/CIndex.cpp 3820 result->EvalData.unsignedVal = val.getZExtValue();
tools/clang/tools/libclang/CXCursor.cpp 1361 return TA.getAsIntegral().getZExtValue();
tools/clang/tools/libclang/CXType.cpp 364 return TD->getInitVal().getZExtValue();
tools/clang/unittests/Basic/FixedPointTest.cpp 640 ASSERT_EQ(Val.convert(getULAccumSema()).getValue().getZExtValue(),
tools/lldb/include/lldb/Symbol/Type.h 489 uint64_t GetValueAsUnsigned() const { return m_value.getZExtValue(); }
tools/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.cpp 243 Value.U = constant.getZExtValue();
tools/lldb/source/Symbol/ClangASTContext.cpp 9437 if (auto val = enumerator->getInitVal().getZExtValue())
tools/lldb/source/Utility/Scalar.cpp 1397 (m_integer.zextOrTrunc(sizeof(uchar_t) * 8)).getZExtValue());
1405 (ldbl_val.zextOrTrunc(sizeof(uchar_t) * 8)).getZExtValue());
1457 (m_integer.zextOrTrunc(sizeof(ushort_t) * 8)).getZExtValue());
1465 (ldbl_val.zextOrTrunc(sizeof(ushort_t) * 8)).getZExtValue());
1517 (m_integer.zextOrTrunc(sizeof(uint_t) * 8)).getZExtValue());
1525 (ldbl_val.zextOrTrunc(sizeof(uint_t) * 8)).getZExtValue());
1577 (m_integer.zextOrTrunc(sizeof(ulong_t) * 8)).getZExtValue());
1585 (ldbl_val.zextOrTrunc(sizeof(ulong_t) * 8)).getZExtValue());
1637 (m_integer.zextOrTrunc(sizeof(ulonglong_t) * 8)).getZExtValue());
1645 (rounded_double.zextOrTrunc(sizeof(ulonglong_t) * 8)).getZExtValue());
1650 (ldbl_val.zextOrTrunc(sizeof(ulonglong_t) * 8)).getZExtValue());
tools/llvm-exegesis/lib/AArch64/Target.cpp 33 .addImm(Value.getZExtValue());
tools/llvm-exegesis/lib/Mips/Target.cpp 43 .addImm(Value.getZExtValue());
tools/llvm-exegesis/lib/PowerPC/Target.cpp 50 .addImm(Value.getZExtValue());
tools/llvm-exegesis/lib/X86/Target.cpp 382 .addImm(Value.getZExtValue());
513 WideConstant.extractBits(32, ByteOffset * 8).getZExtValue()));
517 WideConstant.extractBits(16, ByteOffset * 8).getZExtValue()));
523 WideConstant.extractBits(8, ByteOffset * 8).getZExtValue()));
unittests/ADT/APIntTest.cpp 63 EXPECT_EQ(((uint64_t)-2)&((1ull<<33) -1), i33minus2.getZExtValue());
74 EXPECT_EQ(static_cast<uint64_t>(1 << 15), i61.getZExtValue());
83 EXPECT_EQ(static_cast<uint64_t>((1 << 19) - (1 << 8)), i61.getZExtValue());
120 EXPECT_EQ((uint64_t)~0ull, u64max.getZExtValue());
130 EXPECT_EQ(0u, zero.getZExtValue());
140 EXPECT_EQ(1u, one.getZExtValue());
150 EXPECT_EQ(2u, s128.getZExtValue());
161 EXPECT_EQ(2u, s128.getZExtValue());
171 EXPECT_EQ(static_cast<uint32_t>((~0u << 3) | 2), s128.getZExtValue());
195 EXPECT_EQ(15u, s256.getZExtValue());
226 EXPECT_EQ(1u, neg_one.getZExtValue());
227 EXPECT_EQ(0u, zero.getZExtValue());
229 EXPECT_EQ(1u, one.getZExtValue());
230 EXPECT_EQ(0u, two.getZExtValue());
361 auto uv1 = arg1.getZExtValue();
362 auto uv2 = arg2.getZExtValue();
1864 EXPECT_EQ(i127.extractBits(64, 0).getZExtValue(), 0x3456FFFFFFFFFFFFull);
1865 EXPECT_EQ(i127.extractBits(63, 64).getZExtValue(), 0x7FFFFFFFFFFF8012ull);
1881 EXPECT_EQ(i257.extractBits(64, 0).getZExtValue(), 0x0000000000000000ull);
1882 EXPECT_EQ(i257.extractBits(64, 64).getZExtValue(), 0xFFFFFFFFFFFFFFFFull);
1883 EXPECT_EQ(i257.extractBits(64, 128).getZExtValue(), 0x00000000FFFFFFFFull);
1884 EXPECT_EQ(i257.extractBits(65, 192).getZExtValue(), 0x0000000000000000ull);
1889 EXPECT_EQ(i260.extractBits(64, 0).getZExtValue(), 0x8000000000007FFFull);
1890 EXPECT_EQ(i260.extractBits(64, 64).getZExtValue(), 0x0000000000000000ull);
1891 EXPECT_EQ(i260.extractBits(64, 128).getZExtValue(), 0xFFFFFFFFFFFF0000ull);
1892 EXPECT_EQ(i260.extractBits(64, 192).getZExtValue(), 0xFFFFFFFFFFFFFFFFull);
1893 EXPECT_EQ(i260.extractBits(4, 256).getZExtValue(), 0x000000000000000Full);
1918 EXPECT_EQ(i127.extractBits(64, 0).getZExtValue(), 0x3456FFFFFFFFFFFFull);
1919 EXPECT_EQ(i127.extractBits(63, 64).getZExtValue(), 0x7FFFFFFFFFFF8012ull);
unittests/ADT/APSIntTest.cpp 46 EXPECT_EQ(7u, APSInt::get(7).getZExtValue());
51 EXPECT_EQ(UINT64_C(0) - 7, APSInt::get(-7).getZExtValue());
57 EXPECT_EQ(7u, APSInt::getUnsigned(7).getZExtValue());
62 EXPECT_EQ(UINT64_C(0) - 7, APSInt::getUnsigned(-7).getZExtValue());
unittests/Analysis/ValueTrackingTest.cpp 79 EXPECT_EQ(Known.One.getZExtValue(), One);
80 EXPECT_EQ(Known.Zero.getZExtValue(), Zero);
unittests/CodeGen/GlobalISel/KnownBitsTest.cpp 25 EXPECT_EQ((uint64_t)1, Res.One.getZExtValue());
26 EXPECT_EQ((uint64_t)0xfe, Res.Zero.getZExtValue());
29 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue());
29 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue());
30 EXPECT_EQ(Res.Zero.getZExtValue(), Res2.Zero.getZExtValue());
30 EXPECT_EQ(Res.Zero.getZExtValue(), Res2.Zero.getZExtValue());
48 EXPECT_EQ((uint64_t)0, Res.One.getZExtValue());
49 EXPECT_EQ((uint64_t)0, Res.Zero.getZExtValue());
55 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue());
55 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue());
56 EXPECT_EQ(Res.Zero.getZExtValue(), Res2.Zero.getZExtValue());
56 EXPECT_EQ(Res.Zero.getZExtValue(), Res2.Zero.getZExtValue());
72 EXPECT_EQ(256u, Res.One.getZExtValue());
73 EXPECT_EQ(0xfffffeffu, Res.Zero.getZExtValue());
88 EXPECT_EQ(3u, Res.One.getZExtValue());
89 EXPECT_EQ(252u, Res.Zero.getZExtValue());
116 EXPECT_EQ(0u, Known.One.getZExtValue());
117 EXPECT_EQ(31u, Known.Zero.getZExtValue());
utils/TableGen/FixedLenDecoderEmitter.cpp 1336 encodeULEB128(PositiveMask.getZExtValue(), S);
1343 encodeULEB128(NegativeMask.getZExtValue(), S);