| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APSIntTest.cpp | 65 TEST(APSIntTest, getExtValue) { in TEST() argument 72 EXPECT_EQ(7, APSInt(APInt(3, 7), true).getExtValue()); in TEST() 73 EXPECT_EQ(-1, APSInt(APInt(3, 7), false).getExtValue()); in TEST() 74 EXPECT_EQ(7, APSInt(APInt(4, 7), true).getExtValue()); in TEST() 75 EXPECT_EQ(7, APSInt(APInt(4, 7), false).getExtValue()); in TEST() 76 EXPECT_EQ(9, APSInt(APInt(4, -7), true).getExtValue()); in TEST() 146 EXPECT_EQ(APSInt("1").getExtValue(), 1); in TEST() 147 EXPECT_EQ(APSInt("-1").getExtValue(), -1); in TEST() 148 EXPECT_EQ(APSInt("0").getExtValue(), 0); in TEST() 149 EXPECT_EQ(APSInt("56789").getExtValue(), 56789); in TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | UnrollLoopsCheck.cpp | 185 InitValue = Evaluation->getInt().getExtValue(); in hasLargeNumIterations() 247 Value = Result.Val.getInt().getExtValue(); in extractValue()
|
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | SingleVarConstantPropagationTest.cpp | 151 R.Val.getInt().getExtValue()}}} in transfer() 161 R.Val.getInt().getExtValue()}}} in transfer()
|
| H A D | MultiVarConstantPropagationTest.cpp | 162 ? ValueLattice(R.Val.getInt().getExtValue()) in transfer() 175 ? ValueLattice(R.Val.getInt().getExtValue()) in transfer()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SuspiciousMemoryComparisonCheck.cpp | 24 CharUnits::fromQuantity(Result.Val.getInt().getExtValue())); in tryEvaluateSizeExpr()
|
| H A D | MisplacedWideningCastCheck.cpp | 74 return LHSWidth + Result.Val.getInt().getExtValue(); in getMaxCalculationWidth()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocOverflowSecurityChecker.cpp | 206 auto denomExtVal = denomVal.getExtValue(); in CheckAssignmentExpr() 218 (numeratorKnown && (denomExtVal >= Check.maxVal.getExtValue())); in CheckAssignmentExpr()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 89 int64_t getExtValue() const { in getExtValue() function
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | CodeViewRecordIO.cpp | 169 Value = N.getExtValue(); in mapEncodedInteger()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 105 CharacterLiteral::print(Val.getExtValue(), Kind, Out); in printIntegral()
|
| H A D | APValue.cpp | 660 int64_t Char64 = Val.getInt().getExtValue(); in TryPrintAsStringLiteral()
|
| H A D | ExprConstant.cpp | 9239 MaxLength = N.getExtValue(); in VisitBuiltinCallExpr() 12156 MaxLength = N.getExtValue(); in VisitBuiltinCallExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Hover.cpp | 398 uint64_t Bits = V.getExtValue(); in printHex() 434 int64_t Val = Constant.Val.getInt().getExtValue(); in printExprValue()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 1749 Dest = MachineOperand::CreateImm(Int.getExtValue()); in parseImmediateOperand() 2360 Offset = (int)Token.integerValue().getExtValue(); in parseCFIOffset() 2669 ShufMask.push_back(Int.getExtValue()); in parseShuffleMaskOperand() 2914 Offset = Token.integerValue().getExtValue(); in parseOffset()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Z3Solver.cpp | 739 const int64_t BitReprAsSigned = Int.getExtValue(); in mkBitvector()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 7341 addNVVMMetadata(F, "maxntidx", MaxThreads.getExtValue()); in setTargetAttributes() 7351 addNVVMMetadata(F, "minctasm", MinBlocks.getExtValue()); in setTargetAttributes() 9368 .getExtValue(); in setFunctionDeclAttributes() 9371 .getExtValue(); in setFunctionDeclAttributes() 9397 Attr->getMin()->EvaluateKnownConstInt(M.getContext()).getExtValue(); in setFunctionDeclAttributes() 9400 .getExtValue() in setFunctionDeclAttributes()
|
| H A D | CGOpenMPRuntime.cpp | 6579 DefaultVal = Constant->getExtValue(); in getNumTeamsExprForTargetDirective() 6607 DefaultVal = Constant->getExtValue(); in getNumTeamsExprForTargetDirective() 6836 DefaultVal = Constant->getExtValue(); in getNumThreadsExprForTargetDirective() 6853 DefaultVal = Constant->getExtValue(); in getNumThreadsExprForTargetDirective() 6861 if (Constant->getExtValue() < DefaultVal) { in getNumThreadsExprForTargetDirective() 6862 DefaultVal = Constant->getExtValue(); in getNumThreadsExprForTargetDirective() 11935 unsigned VLEN = VLENVal.getExtValue(); in emitDeclareSimdFunction()
|
| H A D | CGDecl.cpp | 2703 Alignment->EvaluateKnownConstInt(getContext()).getExtValue(); in getOMPAllocateAlignment()
|
| H A D | CGDebugInfo.cpp | 3083 Count = Result.Val.getInt().getExtValue(); in CreateType() 5385 DBuilder.createConstantValueExpression(Init.getInt().getExtValue()); in EmitGlobalVariable()
|
| H A D | CGBuiltin.cpp | 8140 return E->getIntegerConstantExpr(Context)->getExtValue(); in GetIntegerConstantValue()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 2970 int64_t CoprocNo = CoprocNoAP.getExtValue(); in CheckARMCoprocessorImmediate() 4981 int ArgExtValue = Result.getExtValue(); in CheckX86BuiltinTileDuplicate() 15604 CharUnits Offset = EltSize * IdxRes->getExtValue(); in getAlignmentAndOffsetFromBinAddOrSub()
|
| H A D | SemaTemplate.cpp | 3563 auto Nth = std::next(Ts.pack_begin(), Index.getExtValue()); in checkBuiltinTemplateIdType()
|
| H A D | SemaOpenMP.cpp | 16291 DSAStack->setAssociatedLoops(Result.getExtValue()); in VerifyPositiveIntegerConstantInClause() 16293 DSAStack->setAssociatedLoops(Result.getExtValue()); in VerifyPositiveIntegerConstantInClause()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 4159 result->EvalData.intVal = val.getExtValue(); in evaluateExpr()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 4320 Result.assign(S.getExtValue()); in parseMDField()
|