| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 316 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
|
| H A D | SimplifyCFG.cpp | 964 if (DeadCases.count(i->getCaseValue())) { in SimplifyEqualityComparisonWithOnlyPredecessor() 5468 CasesA.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp() 5474 CasesB.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp() 5603 DeadCases.push_back(Case.getCaseValue()); in eliminateDeadSwitchCases() 5694 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() 5910 ConstantInt *CaseVal = I.getCaseValue(); in initializeUniqueCases() 6576 ConstantInt *MinCaseVal = CI->getCaseValue(); in SwitchToLookupTable() 6577 ConstantInt *MaxCaseVal = CI->getCaseValue(); in SwitchToLookupTable() 6589 ConstantInt *CaseVal = CI->getCaseValue(); in SwitchToLookupTable() 6920 auto *Orig = Case.getCaseValue(); in ReduceSwitchRange() [all …]
|
| H A D | PredicateInfo.cpp | 491 Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI); in processSwitch()
|
| H A D | Local.cpp | 209 if (It->getCaseValue() == CI) { in ConstantFoldTerminator() 310 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
|
| H A D | SCCPSolver.cpp | 1069 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CFGPrinter.h | 251 OS << Case.getCaseValue()->getValue();
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 3291 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst() 3303 Constant *NewCase = ConstantExpr::getSub(SubLHS, Case.getCaseValue()); in visitSwitchInst() 3315 return Case.getCaseValue()->getValue().countr_zero() >= ShiftAmt; in visitSwitchInst() 3329 const APInt &CaseVal = Case.getCaseValue()->getValue(); in visitSwitchInst() 3345 const APInt &CaseVal = Case.getCaseValue()->getValue(); in visitSwitchInst() 3350 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst() 3365 std::min(LeadingKnownZeros, C.getCaseValue()->getValue().countl_zero()); in visitSwitchInst() 3367 std::min(LeadingKnownOnes, C.getCaseValue()->getValue().countl_one()); in visitSwitchInst() 3383 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst()
|
| H A D | InstCombinePHI.cpp | 1326 AddSucc(Case.getCaseValue(), Case.getCaseSuccessor()); in simplifyUsingControlFlow()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
| H A D | DifferenceEngine.cpp | 505 LCases[Case.getCaseValue()] = Case.getCaseSuccessor(); in diff() 508 const ConstantInt *CaseValue = Case.getCaseValue(); in diff()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
| H A D | Nodes.h | 252 Expression *getCaseValue();
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | Nodes.cpp | 236 syntax::Expression *syntax::CaseStatement::getCaseValue() { in getCaseValue() function in syntax::CaseStatement
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopSimplifyCFG.cpp | 69 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
|
| H A D | CorrelatedValuePropagation.cpp | 376 ConstantInt *Case = CI->getCaseValue(); in processSwitch()
|
| H A D | DFAJumpThreading.cpp | 1220 if (Case.getCaseValue()->getValue() == NextState) { in getNextCaseSuccessor()
|
| H A D | SimpleLoopUnswitch.cpp | 833 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W); in unswitchTrivialSwitch() 937 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
|
| H A D | ConstraintElimination.cpp | 1084 Value *V = Case.getCaseValue(); in addInfoFor()
|
| H A D | GVN.cpp | 2634 Changed |= propagateEquality(SwitchCond, i->getCaseValue(), E, true); in processInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 2117 assert(C.getCaseValue() && "Expected to find case value."); in DCData() 2118 SmallString<20> Value = formatv("{0}", C.getCaseValue()->getSExtValue()); in DCData()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 825 ConstantInt *C = It.getCaseValue(); in InjectTraceForSwitch()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 459 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() 462 const APInt &CaseVal = CI.getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3363 ConstantIntT *getCaseValue() const { 3575 return Case.getCaseValue() == C; 3597 CI = Case.getCaseValue();
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 1455 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 3034 Check(Case.getCaseValue()->getType() == SwitchTy, in visitSwitchInst() 3036 Check(Constants.insert(Case.getCaseValue()).second, in visitSwitchInst() 3037 "Duplicate integer as switch case", &SI, Case.getCaseValue()); in visitSwitchInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 958 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 7348 const APInt &NarrowConst = Case.getCaseValue()->getValue(); in optimizeSwitchType() 7375 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants()
|