/freebsd/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 | 807 Cases.push_back(ValueEqualityComparisonCase(Case.getCaseValue(), in GetValueEqualityComparisonCases() 967 if (DeadCases.count(i->getCaseValue())) { in SimplifyEqualityComparisonWithOnlyPredecessor() 5539 CasesA.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp() 5545 CasesB.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp() 5671 const APInt &CaseVal = Case.getCaseValue()->getValue(); in eliminateDeadSwitchCases() 5674 DeadCases.push_back(Case.getCaseValue()); in eliminateDeadSwitchCases() 5710 MissingCaseVal ^= Case.getCaseValue()->getValue().getLimitedValue(); in eliminateDeadSwitchCases() 5788 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() 6005 ConstantInt *CaseVal = I.getCaseValue(); in initializeUniqueCases() 6672 ConstantInt *MinCaseVal = CI->getCaseValue(); in SwitchToLookupTable() [all …]
|
H A D | PredicateInfo.cpp | 489 Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI); in processSwitch()
|
H A D | Local.cpp | 210 if (It->getCaseValue() == CI) { in ConstantFoldTerminator() 311 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
|
H A D | SCCPSolver.cpp | 1113 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | CFGPrinter.h | 248 OS << Case.getCaseValue()->getValue();
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 3738 if (!CR.contains(Case.getCaseValue()->getValue())) in simplifySwitchOnSelectUsingRanges() 3751 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst() 3763 Constant *NewCase = ConstantExpr::getSub(SubLHS, Case.getCaseValue()); in visitSwitchInst() 3775 return Case.getCaseValue()->getValue().countr_zero() >= ShiftAmt; in visitSwitchInst() 3789 const APInt &CaseVal = Case.getCaseValue()->getValue(); in visitSwitchInst() 3805 const APInt &CaseVal = Case.getCaseValue()->getValue(); in visitSwitchInst() 3810 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst() 3835 std::min(LeadingKnownZeros, C.getCaseValue()->getValue().countl_zero()); in visitSwitchInst() 3837 std::min(LeadingKnownOnes, C.getCaseValue()->getValue().countl_one()); in visitSwitchInst() 3853 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst()
|
H A D | InstCombinePHI.cpp | 1327 AddSucc(Case.getCaseValue(), Case.getCaseSuccessor()); in simplifyUsingControlFlow()
|
/freebsd/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/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
H A D | Nodes.h | 252 Expression *getCaseValue();
|
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopSimplifyCFG.cpp | 68 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
|
H A D | DFAJumpThreading.cpp | 1265 if (Case.getCaseValue()->getValue() == NextState) { in getNextCaseSuccessor()
|
H A D | CorrelatedValuePropagation.cpp | 366 ConstantInt *Case = CI->getCaseValue(); in processSwitch()
|
H A D | SimpleLoopUnswitch.cpp | 838 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W); in unswitchTrivialSwitch() 945 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
|
H A D | ConstraintElimination.cpp | 1122 Value *V = Case.getCaseValue(); in addInfoFor()
|
H A D | GVN.cpp | 2705 Changed |= propagateEquality(SwitchCond, i->getCaseValue(), E, true); in processInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Passes/ |
H A D | StandardInstrumentations.cpp | 2209 assert(C.getCaseValue() && "Expected to find case value."); in DCData() 2210 SmallString<20> Value = formatv("{0}", C.getCaseValue()->getSExtValue()); in DCData()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instructions.h | 3113 ConstantIntT *getCaseValue() const { 3326 return Case.getCaseValue() == C; 3348 CI = Case.getCaseValue();
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | SanitizerCoverage.cpp | 831 ConstantInt *C = It.getCaseValue(); in InjectTraceForSwitch()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 472 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() 475 const APInt &CaseVal = CI.getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 1464 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 3165 Check(Case.getCaseValue()->getType() == SwitchTy, in visitSwitchInst() 3167 Check(Constants.insert(Case.getCaseValue()).second, in visitSwitchInst() 3168 "Duplicate integer as switch case", &SI, Case.getCaseValue()); in visitSwitchInst()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 922 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 7462 const APInt &NarrowConst = Case.getCaseValue()->getValue(); in optimizeSwitchType() 7489 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants()
|