Home
last modified time | relevance | path

Searched refs:getExtValue (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPSIntTest.cpp66 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/llvm/unittests/ADT/
DAPSIntTest.cpp66 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/
DMallocOverflowSecurityChecker.cpp203 auto denomExtVal = denomVal.getExtValue(); in CheckAssignmentExpr()
215 (numeratorKnown && (denomExtVal >= Check.maxVal.getExtValue())); in CheckAssignmentExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DCodeViewRecordIO.cpp129 Value = N.getExtValue(); in mapEncodedInteger()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPSInt.h76 int64_t getExtValue() const { in getExtValue() function
/external/llvm/include/llvm/ADT/
DAPSInt.h76 int64_t getExtValue() const { in getExtValue() function
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1002 Dest = MachineOperand::CreateImm(Int.getExtValue()); in parseImmediateOperand()
1285 Offset = (int)Token.integerValue().getExtValue(); in parseCFIOffset()
1585 Offset = Token.integerValue().getExtValue(); in parseOffset()
/external/v8/tools/clang/blink_gc_plugin/
DRecordInfo.cpp104 arg.getAsIntegral().getExtValue() == 0); in HasOptionalFinalizer()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc1131 table.max_entries = res.getExtValue(); in VisitVarDecl()
1139 table.flags = res.getExtValue(); in VisitVarDecl()
/external/clang/lib/AST/
DExprConstant.cpp1320 static int64_t getExtValue(const APSInt &Value) { in getExtValue() function
3035 int64_t Offset = getExtValue(RHS.getInt()); in foundPointer()
4936 getExtValue(Index)); in VisitArraySubscriptExpr()
5098 int64_t AdditionalOffset = getExtValue(Offset); in VisitBinaryOperator()
5259 CharUnits Align = CharUnits::fromQuantity(getExtValue(Alignment)); in VisitCallExpr()
5266 int64_t AdditionalOffset = -getExtValue(Offset); in VisitCallExpr()
5288 << (unsigned) getExtValue(Alignment); in VisitCallExpr()
5302 << (int) getExtValue(Offset) << (unsigned) getExtValue(Alignment); in VisitCallExpr()
5306 << Offset << (unsigned) getExtValue(Alignment); in VisitCallExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1282 Dest = MachineOperand::CreateImm(Int.getExtValue()); in parseImmediateOperand()
1664 Offset = (int)Token.integerValue().getExtValue(); in parseCFIOffset()
2155 Offset = Token.integerValue().getExtValue(); in parseOffset()
/external/clang/lib/CodeGen/
DTargetInfo.cpp5749 addNVVMMetadata(F, "maxntidx", MaxThreads.getExtValue()); in setTargetAttributes()
5759 addNVVMMetadata(F, "minctasm", MinBlocks.getExtValue()); in setTargetAttributes()
/external/clang/lib/Sema/
DSemaOpenMP.cpp7483 DSAStack->setAssociatedLoops(Result.getExtValue()); in VerifyPositiveIntegerConstantInClause()
7485 DSAStack->setAssociatedLoops(Result.getExtValue()); in VerifyPositiveIntegerConstantInClause()
DSemaTemplate.cpp2108 auto Nth = std::next(Ts.pack_begin(), Index.getExtValue()); in checkBuiltinTemplateIdType()
/external/llvm/lib/AsmParser/
DLLParser.cpp3632 Result.assign(S.getExtValue()); in ParseMDField()
/external/clang/tools/libclang/
DCIndex.cpp3532 result->EvalData.intVal = ER.Val.getInt().getExtValue(); in evaluateExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.cpp4011 Result.assign(S.getExtValue()); in ParseMDField()