/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 4008 APInt CaseVal = Case.getCaseValue()->getValue(); in EliminateDeadSwitchCases() local 4009 if ((CaseVal & KnownZero) != 0 || (CaseVal & KnownOne) != KnownOne || in EliminateDeadSwitchCases() 4010 (CaseVal.getMinSignedBits() > MaxSignificantBitsInCond)) { in EliminateDeadSwitchCases() 4012 DEBUG(dbgs() << "SimplifyCFG: switch case " << CaseVal << " is dead.\n"); in EliminateDeadSwitchCases() 4210 GetCaseResults(SwitchInst *SI, ConstantInt *CaseVal, BasicBlock *CaseDest, in GetCaseResults() argument 4220 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal)); in GetCaseResults() 4286 static void MapCaseToResult(ConstantInt *CaseVal, in MapCaseToResult() argument 4291 I.second.push_back(CaseVal); in MapCaseToResult() 4296 std::make_pair(Result, SmallVector<ConstantInt *, 4>(1, CaseVal))); in MapCaseToResult() 4309 ConstantInt *CaseVal = I.getCaseValue(); in InitializeUniqueCases() local [all …]
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 1197 llvm::ConstantInt *CaseVal = in EmitCaseStmt() local 1212 SwitchInsn->addCase(CaseVal, Block.getBlock()); in EmitCaseStmt() 1228 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt() 1245 llvm::ConstantInt *CaseVal = in EmitCaseStmt() local 1255 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 981 ConstantInt *CaseVal = i.getCaseValue(); in TryTrivialLoopUnswitch() local 985 if (BranchesInfo.isUnswitched(SI, CaseVal)) in TryTrivialLoopUnswitch() 988 CondVal = CaseVal; in TryTrivialLoopUnswitch()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2211 ConstantInt *CaseVal = i.getCaseValue(); in visitSwitchInst() local 2212 Constant *LHS = CaseVal; in visitSwitchInst() 2215 ? ConstantExpr::getZExt(CaseVal, Cond->getType()) in visitSwitchInst() 2216 : ConstantExpr::getSExt(CaseVal, Cond->getType()); in visitSwitchInst()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 674 GenericValue CaseVal = getOperandValue(I.getCaseValue(i), SF); in visitSwitchInst() local 675 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1241 ConstantInt* CaseVal = SI.getCaseValue(i); in visitSwitchInst() local 1242 Constant* NewCaseVal = ConstantExpr::getSub(cast<Constant>(CaseVal), in visitSwitchInst()
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2429 ConstantInt *CaseVal = in ParseFunctionBody() local 2432 if (CaseVal == 0 || DestBB == 0) { in ParseFunctionBody() 2436 SI->addCase(CaseVal, DestBB); in ParseFunctionBody()
|
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 1067 const ConstantInt* CaseVal = SI->getCaseValue(i); in printInstruction() local 1070 << getOpName(CaseVal) << ", " in printInstruction()
|
/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/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
D | CBackend.cpp | 2398 ConstantInt* CaseVal = SI.getCaseValue(i); in visitSwitchInst() local 2401 writeOperand(CaseVal); in visitSwitchInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2396 const ConstantInt *CaseVal = CC.Low; in sortAndRangeify() local 2400 (CaseVal->getValue() - Clusters[DstIndex - 1].High->getValue()) == 1) { in sortAndRangeify() 2403 Clusters[DstIndex - 1].High = CaseVal; in sortAndRangeify() 9028 const ConstantInt *CaseVal = I.getCaseValue(); in visitSwitch() local 9032 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in visitSwitch()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 5050 ConstantInt *CaseVal = in parseFunctionBody() local 5053 if (!CaseVal || !DestBB) { in parseFunctionBody() 5057 SI->addCase(CaseVal, DestBB); in parseFunctionBody()
|
/external/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 3875 Expr *CaseVal = Case->getLHS()->IgnoreParenCasts(); in CodeCompleteCase() local 3876 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CaseVal)) in CodeCompleteCase()
|