Home
last modified time | relevance | path

Searched refs:getKnownValue (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DUndefResultChecker.cpp70 const llvm::APSInt *LHS = SB.getKnownValue(State, C.getSVal(B->getLHS())); in isLeftShiftResultUnrepresentable()
71 const llvm::APSInt *RHS = SB.getKnownValue(State, C.getSVal(B->getRHS())); in isLeftShiftResultUnrepresentable()
139 SB.getKnownValue(C.getState(), C.getSVal(B->getRHS())); in checkPostStmt()
159 SB.getKnownValue(State, C.getSVal(B->getLHS())); in checkPostStmt()
161 SB.getKnownValue(State, C.getSVal(B->getRHS())); in checkPostStmt()
DVLASizeChecker.cpp108 if (const llvm::APSInt *KV = SVB.getKnownValue(State, ArrSize)) in checkVLA()
124 if (const llvm::APSInt *IndexLVal = SVB.getKnownValue(State, IndexLength)) { in checkVLA()
DCastSizeChecker.cpp116 const llvm::APSInt *SizeInt = svalBuilder.getKnownValue(state, Size); in checkPreStmt()
DCStringChecker.cpp2020 if (const llvm::APSInt *len = svalBuilder.getKnownValue(state, lenVal)) { in evalStrcmpCommon()
DMallocChecker.cpp3189 C.getSValBuilder().getKnownValue(State, ArgVal); in isArgZERO_SIZE_PTR()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp45 const llvm::APSInt *getKnownValue(ProgramStateRef state, SVal V) override;
367 if (const llvm::APSInt *KnownRHSValue = getKnownValue(state, rhs)) { in evalBinOpNN()
480 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) { in evalBinOpNN()
526 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) in evalBinOpNN()
929 const llvm::APSInt *SimpleSValBuilder::getKnownValue(ProgramStateRef state, in getKnownValue() function in SimpleSValBuilder
DRegionStore.cpp1305 const llvm::APSInt *SizeInt = svalBuilder.getKnownValue(state, Size); in getSizeInElements()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp47 const llvm::APSInt *getKnownValue(ProgramStateRef state, SVal V) override;
601 if (const llvm::APSInt *KnownRHSValue = getKnownValue(state, rhs)) { in evalBinOpNN()
719 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) { in evalBinOpNN()
766 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) in evalBinOpNN()
1224 const llvm::APSInt *SimpleSValBuilder::getKnownValue(ProgramStateRef state, in getKnownValue() function in SimpleSValBuilder
1278 SVB.getKnownValue(State, SVB.makeSymbolVal(S))) in simplifySVal()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp114 const llvm::APSInt *extentInt = svalBuilder.getKnownValue(state, extent); in checkPreStmt()
DCStringChecker.cpp1853 if (const llvm::APSInt *len = svalBuilder.getKnownValue(state, lenVal)) { in evalStrcmpCommon()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h114 virtual const llvm::APSInt *getKnownValue(ProgramStateRef state, SVal val) = 0;
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h133 virtual const llvm::APSInt *getKnownValue(ProgramStateRef state, SVal val) = 0;
/external/clang/lib/Parse/
DParseStmt.cpp1153 ConstexprCondition = Cond.getKnownValue(); in ParseIfStatement()
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp1381 ConstexprCondition = Cond.getKnownValue(); in ParseIfStatement()
/external/clang/include/clang/Sema/
DSema.h8997 llvm::Optional<bool> getKnownValue() const { in getKnownValue() function
/external/llvm-project/clang/include/clang/Sema/
DSema.h11616 llvm::Optional<bool> getKnownValue() const { in getKnownValue() function
/external/clang/lib/Sema/
DTreeTransform.h6285 ConstexprConditionValue = Cond.getKnownValue(); in TransformIfStmt()
/external/llvm-project/clang/lib/Sema/
DTreeTransform.h7271 ConstexprConditionValue = Cond.getKnownValue(); in TransformIfStmt()