Searched refs:getExtValue (Results 1 – 8 of 8) sorted by relevance
/external/llvm/unittests/ADT/ |
D | APSIntTest.cpp | 66 TEST(APSIntTest, getExtValue) { in TEST() argument 73 EXPECT_EQ(7, APSInt(APInt(3, 7), true).getExtValue()); in TEST() 74 EXPECT_EQ(-1, APSInt(APInt(3, 7), false).getExtValue()); in TEST() 75 EXPECT_EQ(7, APSInt(APInt(4, 7), true).getExtValue()); in TEST() 76 EXPECT_EQ(7, APSInt(APInt(4, 7), false).getExtValue()); in TEST() 77 EXPECT_EQ(9, APSInt(APInt(4, -7), true).getExtValue()); in TEST() 78 EXPECT_EQ(-7, APSInt(APInt(4, -7), false).getExtValue()); in TEST() 147 EXPECT_EQ(APSInt("1").getExtValue(), 1); in TEST() 148 EXPECT_EQ(APSInt("-1").getExtValue(), -1); in TEST() 149 EXPECT_EQ(APSInt("0").getExtValue(), 0); in TEST() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 203 auto denomExtVal = denomVal.getExtValue(); in CheckAssignmentExpr() 215 (numeratorKnown && (denomExtVal >= i->maxVal.getExtValue())); in CheckAssignmentExpr()
|
/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 76 int64_t getExtValue() const { in getExtValue() function
|
/external/llvm/lib/CodeGen/MIRParser/ |
D | MIParser.cpp | 954 Dest = MachineOperand::CreateImm(Int.getExtValue()); in parseImmediateOperand() 1194 Offset = (int)Token.integerValue().getExtValue(); in parseCFIOffset() 1492 Offset = Token.integerValue().getExtValue(); in parseOffset()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 1244 static int64_t getExtValue(const APSInt &Value) { in getExtValue() function 2931 int64_t Offset = getExtValue(RHS.getInt()); in foundPointer() 4780 getExtValue(Index)); in VisitArraySubscriptExpr() 4942 int64_t AdditionalOffset = getExtValue(Offset); in VisitBinaryOperator() 5103 CharUnits Align = CharUnits::fromQuantity(getExtValue(Alignment)); in VisitCallExpr() 5110 int64_t AdditionalOffset = -getExtValue(Offset); in VisitCallExpr() 5132 << (unsigned) getExtValue(Alignment); in VisitCallExpr() 5146 << (int) getExtValue(Offset) << (unsigned) getExtValue(Alignment); in VisitCallExpr() 5150 << Offset << (unsigned) getExtValue(Alignment); in VisitCallExpr()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 5497 addNVVMMetadata(F, "maxntidx", MaxThreads.getExtValue()); in setTargetAttributes() 5507 addNVVMMetadata(F, "minctasm", MinBlocks.getExtValue()); in setTargetAttributes()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 5777 DSAStack->setCollapseNumber(Result.getExtValue()); in VerifyPositiveIntegerConstantInClause() 5779 DSAStack->setCollapseNumber(Result.getExtValue()); in VerifyPositiveIntegerConstantInClause()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 3426 Result.assign(S.getExtValue()); in ParseMDField()
|