Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp4904 const APInt &CaseVal = Case.getCaseValue()->getValue(); in eliminateDeadSwitchCases() local
4905 if (Known.Zero.intersects(CaseVal) || !Known.One.isSubsetOf(CaseVal) || in eliminateDeadSwitchCases()
5192 static uintptr_t MapCaseToResult(ConstantInt *CaseVal, in MapCaseToResult() argument
5197 I.second.push_back(CaseVal); in MapCaseToResult()
5217 ConstantInt *CaseVal = I.getCaseValue(); in InitializeUniqueCases() local
5453 ConstantInt *CaseVal = Values[I].first; in SwitchLookupTable() local
5795 ConstantInt *CaseVal = CI->getCaseValue(); in SwitchToLookupTable() local
5796 if (CaseVal->getValue().slt(MinCaseVal->getValue())) in SwitchToLookupTable()
5797 MinCaseVal = CaseVal; in SwitchToLookupTable()
5798 if (CaseVal->getValue().sgt(MaxCaseVal->getValue())) in SwitchToLookupTable()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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.cpp833 ConstantInt *CaseVal = std::get<0>(ExitCase); in unswitchTrivialSwitch() local
836 NewSIW.addCase(CaseVal, UnswitchedBB, std::get<2>(ExitCase)); in unswitchTrivialSwitch()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1449 llvm::ConstantInt *CaseVal = in EmitCaseStmt() local
1466 SwitchInsn->addCase(CaseVal, Block.getBlock()); in EmitCaseStmt()
1482 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
1503 llvm::ConstantInt *CaseVal = in EmitCaseStmt() local
1517 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp687 const ConstantInt *CaseVal = I.getCaseValue(); in translateSwitch() local
691 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in translateSwitch()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4598 ConstantInt *CaseVal = in parseFunctionBody() local
4601 if (!CaseVal || !DestBB) { in parseFunctionBody()
4605 SI->addCase(CaseVal, DestBB); in parseFunctionBody()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp10995 const ConstantInt *CaseVal = I.getCaseValue(); in visitSwitch() local
10999 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in visitSwitch()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp5601 Expr *CaseVal = Case->getLHS()->IgnoreParenCasts(); in CodeCompleteCase() local
5602 if (auto *DRE = dyn_cast<DeclRefExpr>(CaseVal)) in CodeCompleteCase()