Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGStmt.cpp1424 const llvm::APSInt &ConstantCondValue, in FindCaseStatementsForValue() argument
1447 if (CS->getLHS()->EvaluateKnownConstInt(C) == ConstantCondValue) in FindCaseStatementsForValue()
1484 llvm::APSInt ConstantCondValue; in EmitSwitchStmt() local
1485 if (ConstantFoldsToSimpleInteger(S.getCond(), ConstantCondValue)) { in EmitSwitchStmt()
1488 if (FindCaseStatementsForValue(S, ConstantCondValue, CaseStmts, in EmitSwitchStmt()
/external/clang/lib/Sema/
DSemaStmt.cpp887 llvm::APSInt ConstantCondValue; in ActOnFinishSwitchStmt() local
890 HasConstantCond = CondExpr->EvaluateAsInt(ConstantCondValue, Context, in ActOnFinishSwitchStmt()
893 (ConstantCondValue.getBitWidth() == CondWidth && in ActOnFinishSwitchStmt()
894 ConstantCondValue.isSigned() == CondIsSigned)); in ActOnFinishSwitchStmt()
904 CaseVals[i].first == ConstantCondValue) in ActOnFinishSwitchStmt()
999 LoVal <= ConstantCondValue && in ActOnFinishSwitchStmt()
1000 ConstantCondValue <= HiVal) in ActOnFinishSwitchStmt()
1061 << ConstantCondValue.toString(10) in ActOnFinishSwitchStmt()
/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp1661 const llvm::APSInt &ConstantCondValue, in FindCaseStatementsForValue() argument
1684 if (CS->getLHS()->EvaluateKnownConstInt(C) == ConstantCondValue) in FindCaseStatementsForValue()
1778 llvm::APSInt ConstantCondValue; in EmitSwitchStmt() local
1779 if (ConstantFoldsToSimpleInteger(S.getCond(), ConstantCondValue)) { in EmitSwitchStmt()
1782 if (FindCaseStatementsForValue(S, ConstantCondValue, CaseStmts, in EmitSwitchStmt()
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp1014 llvm::APSInt ConstantCondValue; in ActOnFinishSwitchStmt() local
1021 ConstantCondValue = Result.Val.getInt(); in ActOnFinishSwitchStmt()
1023 (ConstantCondValue.getBitWidth() == CondWidth && in ActOnFinishSwitchStmt()
1024 ConstantCondValue.isSigned() == CondIsSigned)); in ActOnFinishSwitchStmt()
1034 CaseVals[i].first == ConstantCondValue) in ActOnFinishSwitchStmt()
1109 LoVal <= ConstantCondValue && in ActOnFinishSwitchStmt()
1110 ConstantCondValue <= HiVal) in ActOnFinishSwitchStmt()
1171 << ConstantCondValue.toString(10) in ActOnFinishSwitchStmt()