Home
last modified time | relevance | path

Searched refs:getBoolLiteralValue (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DDataflowAnalysisContextTest.cpp220 auto &True = Context.getBoolLiteralValue(true); in TEST_F()
221 auto &False = Context.getBoolLiteralValue(false); in TEST_F()
281 auto &True = Context.getBoolLiteralValue(true); in TEST_F()
309 auto &True = Context.getBoolLiteralValue(true); in TEST_F()
329 auto &True = Context.getBoolLiteralValue(true); in TEST_F()
350 auto &True = Context.getBoolLiteralValue(true); in TEST_F()
371 auto &True = Context.getBoolLiteralValue(true); in TEST_F()
392 auto &True = Context.getBoolLiteralValue(true); in TEST_F()
424 auto &True = Context.getBoolLiteralValue(true); in TEST_F()
458 auto &True = Context.getBoolLiteralValue(true); in TEST_F()
[all …]
H A DDataflowEnvironmentTest.cpp37 EXPECT_TRUE(Env.flowConditionImplies(Env.getBoolLiteralValue(true))); in TEST_F()
38 EXPECT_FALSE(Env.flowConditionImplies(Env.getBoolLiteralValue(false))); in TEST_F()
H A DTypeErasedDataflowAnalysisTest.cpp316 ConstructorVal.setProperty("is_set", Env.getBoolLiteralValue(false)); in transfer()
331 ConstructorVal.setProperty("is_set", Env.getBoolLiteralValue(true)); in transfer()
468 ConstructorVal.setProperty("has_value", Env.getBoolLiteralValue(false)); in transfer()
485 ConstructorVal.setProperty("has_value", Env.getBoolLiteralValue(true)); in transfer()
595 &Env1.getBoolLiteralValue(false)); in TEST_F()
597 &Env2.getBoolLiteralValue(true)); in TEST_F()
640 &Env1.getBoolLiteralValue(false)); in TEST_F()
642 &Env2.getBoolLiteralValue(true)); in TEST_F()
644 &Env3.getBoolLiteralValue(true)); in TEST_F()
646 &Env4.getBoolLiteralValue(true)); in TEST_F()
[all …]
H A DTransferTest.cpp2636 EXPECT_EQ(FooVal, &Env.getBoolLiteralValue(true)); in TEST()
2637 EXPECT_EQ(BarVal, &Env.getBoolLiteralValue(false)); in TEST()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp117 return getBoolLiteralValue(true); in getOrCreateImplication()
129 return getBoolLiteralValue(true); in getOrCreateIff()
172 Constraints.insert(&getBoolLiteralValue(true)); in querySolver()
173 Constraints.insert(&getOrCreateNegation(getBoolLiteralValue(false))); in querySolver()
301 Substitutions.find(&getBoolLiteralValue(true)) == Substitutions.end() && in buildAndSubstituteFlowCondition()
302 Substitutions.find(&getBoolLiteralValue(false)) == Substitutions.end() && in buildAndSubstituteFlowCondition()
314 return getBoolLiteralValue(true); in buildAndSubstituteFlowConditionWithCache()
333 {&getBoolLiteralValue(false), "False"}, in dumpFlowCondition()
334 {&getBoolLiteralValue(true), "True"}}; in dumpFlowCondition()
H A DTransfer.cpp616 Env.setValue(Loc, Env.getBoolLiteralValue(S->getValue())); in VisitCXXBoolLiteralExpr()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp324 Loc, createOptionalValue(State.Env, State.Env.getBoolLiteralValue(true))); in transferMakeOptionalCall()
439 return State.Env.getBoolLiteralValue(true); in value_orConversionHasValue()
488 transferAssignment(E, State.Env.getBoolLiteralValue(false), State); in transferNulloptAssignment()
577 assignOptionalValue(*E, State, State.Env.getBoolLiteralValue(true)); in buildTransferMatchSwitch()
584 State.Env.getBoolLiteralValue(false)); in buildTransferMatchSwitch()
624 State.Env.getBoolLiteralValue(true)); in buildTransferMatchSwitch()
633 State.Env.getBoolLiteralValue(false)); in buildTransferMatchSwitch()
H A DChromiumCheckModel.cpp58 Env.addToFlowCondition(Env.getBoolLiteralValue(false)); in transfer()
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h275 AtomicBoolValue &getBoolLiteralValue(bool Value) const { in getBoolLiteralValue() function
276 return DACtx->getBoolLiteralValue(Value); in getBoolLiteralValue()
H A DDataflowAnalysisContext.h164 AtomicBoolValue &getBoolLiteralValue(bool Value) const { in getBoolLiteralValue() function