Home
last modified time | relevance | path

Searched refs:IntegerValue (Results 1 – 20 of 20) sorted by relevance

/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DTransferTest.cpp255 EXPECT_TRUE(isa_and_nonnull<IntegerValue>(FooVal)); in TEST()
377 EXPECT_TRUE(isa<IntegerValue>(getFieldValue(FooLoc, *BarDecl, Env))); in TEST()
420 EXPECT_TRUE(isa<IntegerValue>(getFieldValue(FooLoc, *BarDecl, Env))); in TEST()
484 EXPECT_TRUE(isa<IntegerValue>(getFieldValue(FooLoc, *BarDecl, Env))); in TEST()
813 EXPECT_TRUE(isa_and_nonnull<IntegerValue>(FooVal)); in TEST()
816 EXPECT_TRUE(isa_and_nonnull<IntegerValue>(BarVal)); in TEST()
894 ASSERT_TRUE(isa_and_nonnull<IntegerValue>(FooVal)); in TEST()
921 getValueForDecl<IntegerValue>(ASTCtx, Before, "Foo"); in TEST()
923 getValueForDecl<IntegerValue>(ASTCtx, After, "Foo"); in TEST()
947 ASSERT_TRUE(isa_and_nonnull<IntegerValue>(FooVa in TEST()
[all...]
H A DValueTest.cpp22 IntegerValue V; in TEST()
27 IntegerValue V1; in TEST()
28 IntegerValue V2; in TEST()
H A DDataflowEnvironmentTest.cpp100 IntegerValue *Val1 = in TEST_F()
101 cast<IntegerValue>(Env.createValue(Unit->getASTContext().IntTy)); in TEST_F()
105 IntegerValue *Val2 = in TEST_F()
106 cast<IntegerValue>(Env.createValue(Unit->getASTContext().IntTy)); in TEST_F()
322 EXPECT_TRUE(isa<IntegerValue>(BarVal)); in TEST_F()
H A DRecordOpsTest.cpp139 Env.create<IntegerValue>()); in TEST()
153 Env.setValue(*S2.getChild(*OuterIntDecl), Env.create<IntegerValue>()); in TEST()
173 Env.create<IntegerValue>()); in TEST()
180 Env.create<IntegerValue>()); in TEST()
/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DArena.h85 IntegerValue &makeIntLiteral(llvm::APInt Value);
135 llvm::DenseMap<llvm::APInt, IntegerValue *> IntegerLiterals;
H A DValue.h160 class IntegerValue : public Value {
162 explicit IntegerValue() : Value(Kind::Integer) {} in IntegerValue() function
H A DDataflowEnvironment.h563 IntegerValue &getIntLiteralValue(llvm::APInt Value) const { in getIntLiteralValue()
/llvm-project/llvm/lib/MC/MCParser/
H A DMCAsmParser.cpp145 int64_t &IntegerValue) { in parseGNUAttribute() argument
158 IntegerValue = Tok.getIntVal(); in parseGNUAttribute()
/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DArena.cpp104 IntegerValue &Arena::makeIntLiteral(llvm::APInt Value) { in makeIntLiteral()
108 It->second = &create<IntegerValue>(); in makeIntLiteral()
H A DDataflowEnvironment.cpp1001 return &arena().create<IntegerValue>(); in createLocAndMaybeValue()
/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp595 uint32_t IntegerValue; member in __anon6b6344ba0111::IntLiteralResult
596 IntLiteralResult(const ScalarType *IntegerType, uint32_t IntegerValue) in IntLiteralResult() argument
597 : IntegerType(IntegerType), IntegerValue(IntegerValue) {} in IntLiteralResult()
603 OS << ParamAlloc.allocParam(IntegerType->cName(), utostr(IntegerValue)) in genCode()
607 uint32_t integerConstantValue() const override { return IntegerValue; } in integerConstantValue()
/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp1384 int64_t IntegerValue; in tryParseRegister()
1385 if (!Parser.parseGNUAttribute(L, Tag, IntegerValue)) in tryParseRegister()
1389 if (Tag != 8 || (IntegerValue < 0 || IntegerValue > 2)) in tryParseRegister()
1392 Parser.getStreamer().emitGNUAttribute(Tag, IntegerValue); in tryParseRegister()
1344 int64_t IntegerValue; ParseGNUAttribute() local
/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h346 bool parseGNUAttribute(SMLoc L, int64_t &Tag, int64_t &IntegerValue);
/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp1571 int64_t IntegerValue = 0; in parseDirectiveAttribute()
1585 IntegerValue = CE->getValue(); in parseDirectiveAttribute()
1598 getTargetStreamer().emitAttribute(Tag, IntegerValue); in parseDirectiveAttribute()
1573 int64_t IntegerValue = 0; parseDirectiveAttribute() local
/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1853 int64_t IntegerValue; in ParseDirectiveLocalEntry()
1854 if (!getParser().parseGNUAttribute(L, Tag, IntegerValue)) in ParseDirectiveLocalEntry()
1857 getParser().getStreamer().emitGNUAttribute(Tag, IntegerValue); in ParseDirectiveLocalEntry()
1868 int64_t IntegerValue; ParseGNUAttribute() local
/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp694 int64_t IntegerValue = 0; in parseDirectiveAttribute()
703 IntegerValue = CE->getValue(); in parseDirectiveAttribute()
708 getTargetStreamer().emitAttribute(Tag, IntegerValue); in parseDirectiveAttribute()
695 int64_t IntegerValue = 0; parseDirectiveAttribute() local
/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp1505 uint64_t IntegerValue; in getInteger()
1522 return Kind == IntegerLiteral ? IntegerValue : 0;
1740 Tok.IntegerValue = Value; in consumeToken()
1487 uint64_t IntegerValue; global() member
/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp3188 int64_t IntegerValue = 0;
3205 IntegerValue = CE->getValue(); in emitLoadTLSGDAddress()
3218 getTargetStreamer().emitAttribute(Tag, IntegerValue); in emitLoadStoreSymbol()
3004 int64_t IntegerValue = 0; parseDirectiveAttribute() local
/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10816 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in CheckImplicitConversion()
10819 IntegerValue, llvm::APFloat::rmTowardZero, &isExact); in CheckImplicitConversion()
10831 if (S.ObjC().isSignedCharBool(T) && IntegerValue != 0 && IntegerValue != 1) { in CheckImplicitConversion()
10856 } else if (IntegerValue == 0) { in CheckImplicitConversion()
10864 if (IntegerValue.isUnsigned()) { in CheckImplicitConversion()
10865 if (!IntegerValue.isMaxValue()) { in CheckImplicitConversion()
10869 } else { // IntegerValue.isSigned() in CheckImplicitConversion()
10870 if (!IntegerValue.isMaxSignedValue() && in CheckImplicitConversion()
10871 !IntegerValue in CheckImplicitConversion()
10436 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), DiagnoseFloatingImpCast() local
[all...]
/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp11899 int64_t IntegerValue = 0; in parseDirectiveEabiAttr()
11923 IntegerValue = CE->getValue();
11952 getTargetStreamer().emitIntTextAttribute(Tag, IntegerValue, StringValue); in parseDirectiveFnStart()
11954 getTargetStreamer().emitAttribute(Tag, IntegerValue); in parseDirectiveFnStart()
11843 int64_t IntegerValue = 0; parseDirectiveEabiAttr() local