Home
last modified time | relevance | path

Searched refs:getCaseValue (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp316 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
H A DSimplifyCFG.cpp964 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 DPredicateInfo.cpp491 Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI); in processSwitch()
H A DLocal.cpp209 if (It->getCaseValue() == CI) { in ConstantFoldTerminator()
310 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
H A DSCCPSolver.cpp1069 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h251 OS << Case.getCaseValue()->getValue();
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3291 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 DInstCombinePHI.cpp1326 AddSucc(Case.getCaseValue(), Case.getCaseSuccessor()); in simplifyUsingControlFlow()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp505 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 DNodes.h252 Expression *getCaseValue();
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DNodes.cpp236 syntax::Expression *syntax::CaseStatement::getCaseValue() { in getCaseValue() function in syntax::CaseStatement
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp69 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
H A DCorrelatedValuePropagation.cpp376 ConstantInt *Case = CI->getCaseValue(); in processSwitch()
H A DDFAJumpThreading.cpp1220 if (Case.getCaseValue()->getValue() == NextState) { in getNextCaseSuccessor()
H A DSimpleLoopUnswitch.cpp833 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W); in unswitchTrivialSwitch()
937 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
H A DConstraintElimination.cpp1084 Value *V = Case.getCaseValue(); in addInfoFor()
H A DGVN.cpp2634 Changed |= propagateEquality(SwitchCond, i->getCaseValue(), E, true); in processInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Passes/
H A DStandardInstrumentations.cpp2117 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 DSanitizerCoverage.cpp825 ConstantInt *C = It.getCaseValue(); in InjectTraceForSwitch()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h459 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 DInstructions.h3363 ConstantIntT *getCaseValue() const {
3575 return Case.getCaseValue() == C;
3597 CI = Case.getCaseValue();
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1455 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp3034 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 DExecution.cpp958 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7348 const APInt &NarrowConst = Case.getCaseValue()->getValue(); in optimizeSwitchType()
7375 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants()

12