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

References

include/llvm/ADT/APInt.h
 1217                                                         : getSExtValue() < RHS;
 1287                                                         : getSExtValue() > RHS;
include/llvm/ADT/APSInt.h
   95     return isSigned() ? getSExtValue() : getZExtValue();
include/llvm/Analysis/TargetTransformInfoImpl.h
  682     return StrideVal.getSExtValue() < MergeDistance;
  783             BaseOffset.sextOrTrunc(64).getSExtValue(), HasBaseReg, Scale,
include/llvm/Analysis/ValueTracking.h
  251     Offset = OffsetAPInt.getSExtValue();
include/llvm/CodeGen/GlobalISel/ConstantFoldingMIRBuilder.h
   54         return buildConstant(Dst, MaybeCst->getSExtValue());
   65         return buildConstant(Dst, MaybeCst->getSExtValue());
include/llvm/IR/Constants.h
  157     return Val.getSExtValue();
include/llvm/Support/CheckedArithmetic.h
   37   return Signed ? Out.getSExtValue() : Out.getZExtValue();
lib/Analysis/CFLGraph.h
  321         Offset = APOffset.getSExtValue();
lib/Analysis/ConstantFolding.cpp
  561   int64_t Offset = OffsetAI.getSExtValue();
lib/Analysis/LoopAccessAnalysis.cpp
 1071   int64_t StepVal = APStepVal.getSExtValue();
 1137     int64_t Offset = Diff->getAPInt().getSExtValue();
 1511   int64_t Distance = Val.getSExtValue();
 1627   LLVM_DEBUG(dbgs() << "LAA: Positive distance " << Val.getSExtValue()
lib/Analysis/VectorUtils.cpp
  227       int64_t StepVal = APStepVal.getSExtValue();
 1016       int64_t DistanceToB = DistToB->getAPInt().getSExtValue();
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2212     int64_t Offset = OffsetAI.getSExtValue();
 2278         int64_t Addend = (LHSOffset - RHSOffset).getSExtValue();
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  568                      Unsigned ? Val.getZExtValue() : Val.getSExtValue());
lib/CodeGen/CodeGenPrepare.cpp
 4145             ConstantOffset += CVal.getSExtValue() * TypeSize;
lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
  162       return buildConstant(DstOps[0], Cst->getSExtValue());
  173       return buildConstant(Dst, MaybeCst->getSExtValue());
lib/CodeGen/GlobalISel/Utils.cpp
  292   return ValueAndVReg{Val.getSExtValue(), VReg};
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  909   const int64_t CombinedValue = CombinedValueIntVal.getSExtValue();
  919       AM.BaseOffs = C2APIntVal.getSExtValue();
 4585             !TLI.isLegalAddImmediate(ADDC.getSExtValue())) {
 4590             if (TLI.isLegalAddImmediate(ADDC.getSExtValue())) {
lib/CodeGen/SelectionDAG/FastISel.cpp
  711         uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue();
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 3512                                   isLegalICmpImmediate(C.getSExtValue())))) {
 3532                                   isLegalICmpImmediate(C.getSExtValue())))) {
 3644         !isLegalICmpImmediate(C1.getSExtValue())) {
 3682           isLegalICmpImmediate(NewC.getSExtValue())) {
 4667       NumeratorFactor = Divisor.getSExtValue();
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
  192       emitEncodedSignedInteger(Value.getSExtValue(), Comment);
  197       return writeEncodedSignedInteger(Value.getSExtValue());
lib/DebugInfo/PDB/Native/NativeSymbolEnumerator.cpp
   82     int64_t N = Record.Value.getSExtValue();
  121   return Variant{Record.Value.getSExtValue()};
lib/ExecutionEngine/ExecutionEngine.cpp
  653       Result = PTOGV(tmp + Offset.getSExtValue());
lib/ExecutionEngine/ExecutionEngineBindings.cpp
   77     return GenVal->IntVal.getSExtValue();
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
  474   int val = (int)Args[1].IntVal.getSExtValue();
lib/Passes/PassBuilder.cpp
 1549       Result.bonusInstThreshold(BonusInstThreshold.getSExtValue());
lib/Support/APInt.cpp
 2190       int64_t I = getSExtValue();
lib/Target/AArch64/AArch64ISelLowering.cpp
 7974   Cnt = SplatBits.getSExtValue();
 9242   int64_t Val = Imm.getSExtValue();
10388     ShiftAmount = SplatValue.getSExtValue();
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
   76     int64_t Val = Tmp.getSExtValue();
  177     if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
  182     if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 1903     Op->FPImm.Val = Val.bitcastToAPInt().getSExtValue();
lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h
  369   int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15;  // -14 to 15
  395   int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127;  // -126 to 127
  423   int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023;   // -1022 to 1023
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
   90     Out = C->getAPIntValue().getSExtValue();
   95     Out = C->getValueAPF().bitcastToAPInt().getSExtValue();
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  243     return MachineOperand::CreateImm(Imm.getLoBits(32).getSExtValue());
  245     return MachineOperand::CreateImm(Imm.getHiBits(32).getSExtValue());
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 1580       static_cast<int16_t>(Literal.getLoBits(16).getSExtValue()),
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
   97   int64_t Offset = (SignedOffset.sext(64) + 4 + Addr).getSExtValue();
lib/Target/AMDGPU/SIFoldOperands.cpp
  860     MachineOperand ImmOp = MachineOperand::CreateImm(Imm.getSExtValue());
lib/Target/AMDGPU/SIISelLowering.cpp
 8073   AM.BaseOffs = Offset.getSExtValue();
lib/Target/AMDGPU/SIInstrInfo.cpp
 2816     return AMDGPU::isInlinableLiteral32(Imm.getSExtValue(),
 2819     return AMDGPU::isInlinableLiteral64(Imm.getSExtValue(),
 2823            AMDGPU::isInlinableLiteral16(Imm.getSExtValue(),
lib/Target/ARM/ARMFastISel.cpp
 1374       Imm = (isZExt) ? (int)CIVal.getZExtValue() : (int)CIVal.getSExtValue();
lib/Target/ARM/ARMISelLowering.cpp
 5994   Cnt = SplatBits.getSExtValue();
lib/Target/ARM/ARMTargetTransformInfo.cpp
   72   int64_t SImmVal = Imm.getSExtValue();
  132     int64_t NegImm = -Imm.getSExtValue();
lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h
  655     int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15;  // -14 to 15
  681     int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127;  // -126 to 127
  709     int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023
lib/Target/Hexagon/HexagonCommonGEP.cpp
  214     int64_t i = CI->getValue().getSExtValue();
  250       OS << CI->getValue().getSExtValue();
lib/Target/Hexagon/HexagonConstPropagation.cpp
 1622     int64_t V = A1.getSExtValue();
 2890       int64_t V = A.getSExtValue();
 3006       int64_t V = A.getSExtValue();
lib/Target/Hexagon/HexagonISelLowering.cpp
 2110       Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1909     return SC->getAPInt().getSExtValue();
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
  399       IntMin.getSExtValue() <<
  401       IntMax.getSExtValue() <<
lib/Target/Lanai/LanaiTargetTransformInfo.h
   56     if (isInt<16>(Imm.getSExtValue()))
   60     if (isInt<32>(Imm.getSExtValue())) {
   61       if ((Imm.getSExtValue() & 0xFFFF) == 0)
lib/Target/Mips/MipsInstructionSelector.cpp
  408           SignedOffset = OffsetValue.getSExtValue();
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 2040     int64_t Offset = OffsetAI.getSExtValue();
lib/Target/PowerPC/PPCFastISel.cpp
  847       Imm = (IsZExt) ? (long)CIVal.getZExtValue() : (long)CIVal.getSExtValue();
 1307     int Imm = (int)CIVal.getSExtValue();
lib/Target/PowerPC/PPCInstrInfo.cpp
 2896     if (isUInt<15>(InVal.getSExtValue()) ||
 2897         (Opc == PPC::RLDICLo && isUInt<16>(InVal.getSExtValue()))) {
 2900       NewImm = InVal.getSExtValue();
 2921     bool ValueFits = isUInt<15>(InVal.getSExtValue());
 2923                   isUInt<16>(InVal.getSExtValue()));
 2927       NewImm = InVal.getSExtValue();
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
   72     if (isInt<16>(Imm.getSExtValue()))
   75     if (isInt<32>(Imm.getSExtValue())) {
  105     if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue()))
  109     if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
  114     if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
  180     if (isInt<16>(Imm.getSExtValue()))
lib/Target/RISCV/RISCVISelLowering.cpp
 1043           isLegalAddImmediate(ShiftedC1Int.getSExtValue()))
 1049           isLegalAddImmediate(C1Int.getSExtValue()))
lib/Target/RISCV/RISCVTargetTransformInfo.cpp
   75           getTLI()->isLegalAddImmediate(Imm.getSExtValue())) {
lib/Target/RISCV/Utils/RISCVMatInt.cpp
   87     generateInstSeq(Chunk.getSExtValue(), IsRV64, MatSeq);
lib/Target/SystemZ/SystemZISelLowering.cpp
 3755       int64_t Value = (-Op2->getAPIntValue()).getSExtValue();
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
   50     if (isInt<32>(Imm.getSExtValue()))
   94       if (isInt<16>(Imm.getSExtValue()))
  101       if (isInt<32>(Imm.getSExtValue()))
  115       if (isUInt<32>(-Imm.getSExtValue()))
  122       if (isInt<32>(Imm.getSExtValue()))
  207       if (isUInt<32>(-Imm.getSExtValue()))
  215       if (isInt<32>(Imm.getSExtValue()))
  220     if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
  225     if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
lib/Target/X86/X86TargetTransformInfo.cpp
 2953     int64_t Val = Tmp.getSExtValue();
 3076     if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<32>(Imm.getSExtValue()))
 3080     if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
 3085     if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
lib/Transforms/Coroutines/CoroInstr.h
   50     int64_t Index = getRawIndex()->getValue().getSExtValue();
lib/Transforms/IPO/Attributor.cpp
 2557       int64_t OffsetSExt = Offset.getSExtValue();
lib/Transforms/InstCombine/InstructionCombining.cpp
 2218       if (FindElementAtOffset(SrcType, Offset.getSExtValue(), NewIndices)) {
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 3330   int64_t Offset = SizeOffset.second.getSExtValue();
lib/Transforms/Scalar/ConstantHoisting.cpp
  680           TTI->isLegalAddImmediate(Diff.getSExtValue()) &&
  684            /*BaseGV*/nullptr, /*BaseOffset*/Diff.getSExtValue(),
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  152   unsigned AbsStride = std::abs(ConstStride->getAPInt().getSExtValue());
lib/Transforms/Scalar/LoopRerollPass.cpp
  810     int64_t V = std::abs(CI->getValue().getSExtValue());
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2696           Factors.insert(Factor->getAPInt().getSExtValue());
 2702           Factors.insert(Factor->getAPInt().getSExtValue());
 3819           StepInt.getSExtValue() : StepInt.getZExtValue();
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  759       .getSExtValue();
lib/Transforms/Utils/Local.cpp
 1681       return applyOffset(Offset.getSExtValue());
lib/Transforms/Utils/SimplifyCFG.cpp
 5568     Values.push_back(C.getCaseValue()->getValue().getSExtValue());
tools/clang/lib/AST/ExprConstant.cpp
11970       Result += IdxResult.getSExtValue() * ElementSize;
tools/clang/lib/AST/Interp/ByteCodeExprGen.cpp
  398     return this->emitConstSint8(Value.getSExtValue(), E);
  402     return this->emitConstSint16(Value.getSExtValue(), E);
  406     return this->emitConstSint32(Value.getSExtValue(), E);
  410     return this->emitConstSint64(Value.getSExtValue(), E);
tools/clang/lib/AST/Interp/Integral.h
   81       : V(V.isSigned() ? V.getSExtValue() : V.getZExtValue()) {}
tools/clang/lib/AST/JSONNodeDumper.cpp
  574   JOS.attribute("size", CAT->getSize().getSExtValue());
 1465   JOS.attribute("value", TA.getAsIntegral().getSExtValue());
tools/clang/lib/AST/MicrosoftMangle.cpp
 1356     mangleNumber(Value.getSExtValue());
tools/clang/lib/CodeGen/CGBuilder.h
  270                             CharUnits::fromQuantity(Offset.getSExtValue())));
tools/clang/lib/CodeGen/CGBuiltin.cpp
13913     bool isColMajor = isColMajorArg.getSExtValue();
13957     bool isColMajor = isColMajorArg.getSExtValue();
14007     int Layout = LayoutArg.getSExtValue();
14015     bool Satf = SatfArg.getSExtValue();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 2816     auto Value = IsSigned ? InitVal.getSExtValue() : InitVal.getZExtValue();
tools/clang/lib/CodeGen/CGLoopInfo.cpp
  610         ValueInt = ValueAPS.getSExtValue();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 7299         return ATy->getSize().getSExtValue() != 1;
 7312     return ConstLength.getSExtValue() != 1;
tools/clang/lib/Sema/SemaChecking.cpp
 3306         AbortCode.getSExtValue() >= 0 && AbortCode.getSExtValue() < 256)
 3306         AbortCode.getSExtValue() >= 0 && AbortCode.getSExtValue() < 256)
 4958         !isValidOrderingForOp(Result.getSExtValue(), Op))
 6210   if (Result.getSExtValue() < Low || Result.getSExtValue() > High) {
 6210   if (Result.getSExtValue() < Low || Result.getSExtValue() > High) {
 6241   if (Result.getSExtValue() % Num != 0)
 7037       FormatStringLiteral FStr(StrE, Offset.sextOrTrunc(64).getSExtValue());
 9795     if (CAT->getSize().getSExtValue() <= 1)
tools/clang/lib/Sema/SemaDecl.cpp
17232     return Val.isSigned() ? Val.getSExtValue() : Val.getZExtValue();
tools/clang/lib/Sema/SemaDeclAttr.cpp
 5499         << AL << (int)NumParams.getSExtValue()
tools/clang/lib/Sema/SemaExpr.cpp
11245   int64_t RightSideIntValue = RightSideValue.getSExtValue();
tools/clang/lib/Sema/SemaOpenMP.cpp
13003     SingleElement = (ConstantLengthValue.getSExtValue() == 1);
13028       if (ConstantLengthValue.getSExtValue() != 1)
14542       return ATy->getSize().getSExtValue() != 1;
14559     if (ConstLowerBound.getSExtValue())
14583   return CATy->getSize().getSExtValue() != ConstLength.getSExtValue();
14583   return CATy->getSize().getSExtValue() != ConstLength.getSExtValue();
14607       return ATy->getSize().getSExtValue() != 1;
14618   return ConstLength.getSExtValue() != 1;
tools/clang/lib/Sema/SemaStmtAsm.cpp
  706       return Info.setEnum(Eval.Val.getInt().getSExtValue());
tools/clang/lib/Sema/SemaStmtAttr.cpp
  307     int Val = ArgVal.getSExtValue();
tools/clang/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp
  117   CharUnits regionSize = CharUnits::fromQuantity(extentInt->getSExtValue());
tools/clang/lib/StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp
   52     int64_t Prot = ProtLoc->getValue().getSExtValue();
tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
  270   int64_t x = CI->getValue().getSExtValue();
tools/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
  144           OS << '\'' << I->getSExtValue() << "\', which is";
  162            << LHS->getSExtValue() << "\' by \'" << RHS->getZExtValue()
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
 1245       int64_t i = CI->getValue().getSExtValue();
 1417         int64_t i = CI->getValue().getSExtValue();
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 1402   CharUnits RegionSize = CharUnits::fromQuantity(SizeInt->getSExtValue());
 1691       int64_t i = CI->getValue().getSExtValue();
 1715             int64_t i = CI->getValue().getSExtValue();
tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
  505                                         : ToTypeMax.getSExtValue(),
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
   49     os << getRHS().getSExtValue();
   58     os << getLHS().getSExtValue();
tools/clang/tools/libclang/CXCursor.cpp
 1344   return TA.getAsIntegral().getSExtValue();
tools/clang/tools/libclang/CXType.cpp
  348       return TD->getInitVal().getSExtValue();
  832       result = cast<ConstantArrayType> (TP)->getSize().getSExtValue();
  881       result = cast<ConstantArrayType> (TP)->getSize().getSExtValue();
tools/lldb/include/lldb/Symbol/Type.h
  491   int64_t GetValueAsSigned() const { return m_value.getSExtValue(); }
tools/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.cpp
  241     Value.I = constant.getSExtValue();
tools/lldb/source/Symbol/ClangASTContext.cpp
 9405     uint64_t val = enumerator->getInitVal().getSExtValue();
tools/lldb/source/Utility/Scalar.cpp
 1367         (m_integer.sextOrTrunc(sizeof(schar_t) * 8)).getSExtValue());
 1375         (ldbl_val.sextOrTrunc(sizeof(schar_t) * 8)).getSExtValue());
 1427         (m_integer.sextOrTrunc(sizeof(sshort_t) * 8)).getSExtValue());
 1435         (ldbl_val.sextOrTrunc(sizeof(sshort_t) * 8)).getSExtValue());
 1487         (m_integer.sextOrTrunc(sizeof(sint_t) * 8)).getSExtValue());
 1495         (ldbl_val.sextOrTrunc(sizeof(sint_t) * 8)).getSExtValue());
 1547         (m_integer.sextOrTrunc(sizeof(slong_t) * 8)).getSExtValue());
 1555         (ldbl_val.sextOrTrunc(sizeof(slong_t) * 8)).getSExtValue());
 1607         (m_integer.sextOrTrunc(sizeof(slonglong_t) * 8)).getSExtValue());
 1615         (ldbl_val.sextOrTrunc(sizeof(slonglong_t) * 8)).getSExtValue());
tools/polly/lib/Analysis/ScopBuilder.cpp
 1714       cast<SCEVConstant>(Sizes.back())->getAPInt().getSExtValue();
 2389             ValInt = ValAPInt.getSExtValue();
unittests/ADT/APIntTest.cpp
   43   EXPECT_EQ(-3, Minus3.getSExtValue());
   52   EXPECT_EQ(-1, Minus1.getSExtValue());
   62   EXPECT_EQ(-2, i33minus2.getSExtValue());
   73   EXPECT_EQ(static_cast<int64_t>(1 << 15), i61.getSExtValue());
   82   EXPECT_EQ(static_cast<int64_t>((1 << 19) - (1 << 8)), i61.getSExtValue());
  129   EXPECT_EQ(0u, zero.getSExtValue());
  139   EXPECT_EQ(1, one.getSExtValue());
  149   EXPECT_EQ(2, s128.getSExtValue());
  160   EXPECT_EQ(2, s128.getSExtValue());
  183             s128.getSExtValue());
  194   EXPECT_EQ(15, s256.getSExtValue());
  214   EXPECT_EQ(static_cast<int64_t>((~0ull << 60) | 15), s256.getSExtValue());
  224   EXPECT_EQ(0, neg_two.getSExtValue());
  225   EXPECT_EQ(-1, neg_one.getSExtValue());
  228   EXPECT_EQ(-1, one.getSExtValue());
  231   EXPECT_EQ(0, two.getSExtValue());
  363       auto sv1 = arg1.getSExtValue();
  364       auto sv2 = arg2.getSExtValue();
 1849   EXPECT_EQ(static_cast<int64_t>(0x00123456ull), i31.getSExtValue());
 1854   EXPECT_EQ(static_cast<int64_t>(0x012345600123456Full), i63.getSExtValue());
 1859   EXPECT_EQ(static_cast<int64_t>(0xFFFFFF80123456FFull), i120.getSExtValue());
 1871   EXPECT_EQ(-1, i128.getSExtValue());
 1877   EXPECT_EQ(0u, i256.getSExtValue());
 1903   EXPECT_EQ(static_cast<int64_t>(0x00123456ull), i31.getSExtValue());
 1908   EXPECT_EQ(static_cast<int64_t>(0x012345600123456Full), i63.getSExtValue());
 1913   EXPECT_EQ(static_cast<int64_t>(0xFFFFFF80123456FFull), i120.getSExtValue());
 1925   EXPECT_EQ(-1, i128.getSExtValue());
 1934   EXPECT_EQ(0u, i256.getSExtValue());
 1961   EXPECT_EQ(-1, i257.extractBits(32, 64).getSExtValue());
 1962   EXPECT_EQ(-1, i257.extractBits(128, 128).getSExtValue());
 1963   EXPECT_EQ(-1, i257.extractBits(66, 191).getSExtValue());
 1965             i257.extractBits(128, 1).getSExtValue());
 1967             i257.extractBits(129, 1).getSExtValue());
 2695             Validate(A, B, C, Width, S->getSExtValue());
unittests/ADT/APSIntTest.cpp
   47   EXPECT_EQ(7, APSInt::get(7).getSExtValue());
   50   EXPECT_EQ(-7, APSInt::get(-7).getSExtValue());
   58   EXPECT_EQ(7, APSInt::getUnsigned(7).getSExtValue());
   61   EXPECT_EQ(-7, APSInt::getUnsigned(-7).getSExtValue());
unittests/Analysis/ScalarEvolutionTest.cpp
 1725       auto ExtDiff = ConstantDiffOrNone->getSExtValue();
unittests/IR/ConstantRangeTest.cpp
 1097         Results.set(N.getSExtValue() + Bias);
unittests/IR/PatternMatch.cpp
  520   Value *CIntMin = IRB.getInt64(APSInt::getSignedMinValue(64).getSExtValue());