Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A 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()
H A DCastSizeChecker.cpp114 const llvm::APSInt *extentInt = svalBuilder.getKnownValue(state, extent); in checkPreStmt()
H A DCStringChecker.cpp1994 if (const llvm::APSInt *len = svalBuilder.getKnownValue(state, lenVal)) { in evalStrcmpCommon()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp48 const llvm::APSInt *getKnownValue(ProgramStateRef state, SVal V) override;
594 if (const llvm::APSInt *KnownRHSValue = getKnownValue(state, rhs)) { in evalBinOpNN()
707 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) { in evalBinOpNN()
754 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) in evalBinOpNN()
1203 const llvm::APSInt *SimpleSValBuilder::getKnownValue(ProgramStateRef state, in getKnownValue() function in SimpleSValBuilder
1257 SVB.getKnownValue(State, SVB.makeSymbolVal(S))) in simplifySVal()
H A DRegionStore.cpp1352 const llvm::APSInt *SizeInt = svalBuilder.getKnownValue(state, Size); in getSizeInElements()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h134 virtual const llvm::APSInt *getKnownValue(ProgramStateRef state, SVal val) = 0;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp1194 ConstexprCondition = Cond.getKnownValue(); in ParseIfStatement()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h9912 llvm::Optional<bool> getKnownValue() const { in getKnownValue() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DTreeTransform.h6684 ConstexprConditionValue = Cond.getKnownValue(); in TransformIfStmt()