Searched refs:CaseVals (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 802 CaseValsTy CaseVals; in ActOnFinishSwitchStmt() local 880 CaseVals.push_back(std::make_pair(LoVal, CS)); in ActOnFinishSwitchStmt() 899 std::stable_sort(CaseVals.begin(), CaseVals.end(), CmpCaseVals); in ActOnFinishSwitchStmt() 901 if (!CaseVals.empty()) { in ActOnFinishSwitchStmt() 902 for (unsigned i = 0, e = CaseVals.size(); i != e; ++i) { in ActOnFinishSwitchStmt() 904 CaseVals[i].first == ConstantCondValue) in ActOnFinishSwitchStmt() 907 if (i != 0 && CaseVals[i].first == CaseVals[i-1].first) { in ActOnFinishSwitchStmt() 911 Expr *PrevCase = CaseVals[i-1].second->getLHS()->IgnoreParenCasts(); in ActOnFinishSwitchStmt() 912 Expr *CurrCase = CaseVals[i].second->getLHS()->IgnoreParenCasts(); in ActOnFinishSwitchStmt() 920 CaseVals[i-1].first.toString(CaseValStr); in ActOnFinishSwitchStmt() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 4010 SmallVector<ConstantInt*, 1> CaseVals; in parseFunctionBody() local 4036 CaseVals.push_back(ConstantInt::get(Context, Low)); in parseFunctionBody() 4038 CaseVals.push_back(ConstantInt::get(Context, Low)); in parseFunctionBody() 4041 for (SmallVector<ConstantInt*, 1>::iterator cvi = CaseVals.begin(), in parseFunctionBody() 4042 cve = CaseVals.end(); cvi != cve; ++cvi) in parseFunctionBody()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 4998 SmallVector<ConstantInt*, 1> CaseVals; in parseFunctionBody() local 5024 CaseVals.push_back(ConstantInt::get(Context, Low)); in parseFunctionBody() 5026 CaseVals.push_back(ConstantInt::get(Context, Low)); in parseFunctionBody() 5029 for (SmallVector<ConstantInt*, 1>::iterator cvi = CaseVals.begin(), in parseFunctionBody() 5030 cve = CaseVals.end(); cvi != cve; ++cvi) in parseFunctionBody()
|