Home
last modified time | relevance | path

Searched refs:CaseVal (Results 1 – 11 of 11) sorted by relevance

/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp479 const ConstantInt *CaseVal = CC.Low; in sortAndRangeify() local
483 (CaseVal->getValue() - Clusters[DstIndex - 1].High->getValue()) == 1) { in sortAndRangeify()
486 Clusters[DstIndex - 1].High = CaseVal; in sortAndRangeify()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5029 const APInt &CaseVal = Case.getCaseValue()->getValue(); in eliminateDeadSwitchCases() local
5030 if (Known.Zero.intersects(CaseVal) || !Known.One.isSubsetOf(CaseVal) || in eliminateDeadSwitchCases()
5317 static uintptr_t MapCaseToResult(ConstantInt *CaseVal, in MapCaseToResult() argument
5322 I.second.push_back(CaseVal); in MapCaseToResult()
5342 ConstantInt *CaseVal = I.getCaseValue(); in InitializeUniqueCases() local
5578 ConstantInt *CaseVal = Values[I].first; in SwitchLookupTable() local
5920 ConstantInt *CaseVal = CI->getCaseValue(); in SwitchToLookupTable() local
5921 if (CaseVal->getValue().slt(MinCaseVal->getValue())) in SwitchToLookupTable()
5922 MinCaseVal = CaseVal; in SwitchToLookupTable()
5923 if (CaseVal->getValue().sgt(MaxCaseVal->getValue())) in SwitchToLookupTable()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h395 const APInt &CaseVal = CI.getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() local
396 if (CaseVal.sgt(MaxCaseVal)) in getEstimatedNumberOfCaseClusters()
397 MaxCaseVal = CaseVal; in getEstimatedNumberOfCaseClusters()
398 if (CaseVal.slt(MinCaseVal)) in getEstimatedNumberOfCaseClusters()
399 MinCaseVal = CaseVal; in getEstimatedNumberOfCaseClusters()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp1280 ConstantInt *CaseVal = Case.getCaseValue(); in tryTrivialLoopUnswitch() local
1284 if (BranchesInfo.isUnswitched(SI, CaseVal)) in tryTrivialLoopUnswitch()
1287 CondVal = CaseVal; in tryTrivialLoopUnswitch()
H A DSimpleLoopUnswitch.cpp780 ConstantInt *CaseVal = std::get<0>(ExitCase); in unswitchTrivialSwitch() local
783 NewSIW.addCase(CaseVal, UnswitchedBB, std::get<2>(ExitCase)); in unswitchTrivialSwitch()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmt.cpp1411 llvm::ConstantInt *CaseVal = in EmitCaseStmt() local
1428 SwitchInsn->addCase(CaseVal, Block.getBlock()); in EmitCaseStmt()
1444 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
1465 llvm::ConstantInt *CaseVal = in EmitCaseStmt() local
1479 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp683 const ConstantInt *CaseVal = I.getCaseValue(); in translateSwitch() local
687 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in translateSwitch()
/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp958 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst() local
959 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
/netbsd/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4631 ConstantInt *CaseVal = in parseFunctionBody() local
4634 if (!CaseVal || !DestBB) { in parseFunctionBody()
4638 SI->addCase(CaseVal, DestBB); in parseFunctionBody()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp10940 const ConstantInt *CaseVal = I.getCaseValue(); in visitSwitch() local
10944 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in visitSwitch()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCodeComplete.cpp5598 Expr *CaseVal = Case->getLHS()->IgnoreParenCasts(); in CodeCompleteCase() local
5599 if (auto *DRE = dyn_cast<DeclRefExpr>(CaseVal)) in CodeCompleteCase()