Home
last modified time | relevance | path

Searched refs:ConstantCondValue (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmt.cpp1809 const llvm::APSInt &ConstantCondValue, in FindCaseStatementsForValue() argument
1832 if (CS->getLHS()->EvaluateKnownConstInt(C) == ConstantCondValue) in FindCaseStatementsForValue()
1926 llvm::APSInt ConstantCondValue; in EmitSwitchStmt() local
1927 if (ConstantFoldsToSimpleInteger(S.getCond(), ConstantCondValue)) { in EmitSwitchStmt()
1930 if (FindCaseStatementsForValue(S, ConstantCondValue, CaseStmts, in EmitSwitchStmt()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp1331 llvm::APSInt ConstantCondValue; in ActOnFinishSwitchStmt() local
1338 ConstantCondValue = Result.Val.getInt(); in ActOnFinishSwitchStmt()
1340 (ConstantCondValue.getBitWidth() == CondWidth && in ActOnFinishSwitchStmt()
1341 ConstantCondValue.isSigned() == CondIsSigned)); in ActOnFinishSwitchStmt()
1351 CaseVals[i].first == ConstantCondValue) in ActOnFinishSwitchStmt()
1426 LoVal <= ConstantCondValue && in ActOnFinishSwitchStmt()
1427 ConstantCondValue <= HiVal) in ActOnFinishSwitchStmt()
1488 << toString(ConstantCondValue, 10) in ActOnFinishSwitchStmt()