/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3430 GetCaseResults(SwitchInst *SI, ConstantInt *CaseVal, BasicBlock *CaseDest, in GetCaseResults() argument 3440 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal)); in GetCaseResults() 3506 static void MapCaseToResult(ConstantInt *CaseVal, in MapCaseToResult() argument 3511 I.second.push_back(CaseVal); in MapCaseToResult() 3516 SmallVector<ConstantInt*, 4>(1, CaseVal))); in MapCaseToResult() 3529 ConstantInt *CaseVal = I.getCaseValue(); in InitializeUniqueCases() local 3533 if (!GetCaseResults(SI, CaseVal, I.getCaseSuccessor(), &CommonDest, Results, in InitializeUniqueCases() 3540 MapCaseToResult(CaseVal, UniqueResults, Results.begin()->second); in InitializeUniqueCases() 3739 ConstantInt *CaseVal = Values[I].first; in SwitchLookupTable() local 3743 uint64_t Idx = (CaseVal->getValue() - Offset->getValue()) in SwitchLookupTable() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 612 ConstantInt *CaseVal = i.getCaseValue(); in IsTrivialUnswitchCondition() local 616 if (BranchesInfo.isUnswitched(SI, CaseVal)) in IsTrivialUnswitchCondition() 619 if (Val) *Val = CaseVal; in IsTrivialUnswitchCondition()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 1233 llvm::ConstantInt *CaseVal = in EmitCaseStmt() local 1248 SwitchInsn->addCase(CaseVal, Block.getBlock()); in EmitCaseStmt() 1264 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt() 1281 llvm::ConstantInt *CaseVal = in EmitCaseStmt() local 1292 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2117 ConstantInt* CaseVal = i.getCaseValue(); in visitSwitchInst() local 2118 Constant *LHS = CaseVal; in visitSwitchInst() 2121 ? ConstantExpr::getZExt(CaseVal, Cond->getType()) in visitSwitchInst() 2122 : ConstantExpr::getSExt(CaseVal, Cond->getType()); in visitSwitchInst()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 1162 const ConstantInt* CaseVal = i.getCaseValue(); in printInstruction() local 1165 << getOpName(CaseVal) << ", " in printInstruction()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 1775 nonloc::ConcreteInt CaseVal(getBasicVals().getValue(V1)); in processSwitch() local 1777 CondV, CaseVal); in processSwitch()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 903 GenericValue CaseVal = getOperandValue(i.getCaseValue(), SF); in visitSwitchInst() local 904 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 3807 ConstantInt *CaseVal = in ParseFunctionBody() local 3810 if (!CaseVal || !DestBB) { in ParseFunctionBody() 3814 SI->addCase(CaseVal, DestBB); in ParseFunctionBody()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2663 const ConstantInt *CaseVal = CP.first; in Clusterify() local 2669 (CaseVal->getValue() - Cases.back().High->getValue()) == 1) { in Clusterify() 2672 Cases.back().High = CaseVal; in Clusterify() 2675 Cases.push_back(Case(CaseVal, CaseVal, Succ, Weight)); in Clusterify()
|
/external/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 3793 Expr *CaseVal = Case->getLHS()->IgnoreParenCasts(); in CodeCompleteCase() local 3794 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CaseVal)) in CodeCompleteCase()
|