| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 314 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
|
| H A D | SimplifyCFG.cpp | 832 Cases.push_back(ValueEqualityComparisonCase(Case.getCaseValue(), in getValueEqualityComparisonCases() 992 if (DeadCases.count(i->getCaseValue())) { in simplifyEqualityComparisonWithOnlyPredecessor() 5688 CasesA.push_back(Case.getCaseValue()); in turnSwitchRangeIntoICmp() 5694 CasesB.push_back(Case.getCaseValue()); in turnSwitchRangeIntoICmp() 5821 const APInt &CaseVal = Case.getCaseValue()->getValue(); in eliminateDeadSwitchCases() 5824 DeadCases.push_back(Case.getCaseValue()); in eliminateDeadSwitchCases() 5859 MissingCaseVal ^= Case.getCaseValue()->getValue().getLimitedValue(); in eliminateDeadSwitchCases() 5937 ConstantInt *CaseValue = Case.getCaseValue(); in forwardSwitchConditionToPHI() 6154 ConstantInt *CaseVal = I.getCaseValue(); in initializeUniqueCases() 6849 ConstantInt *MinCaseVal = CI->getCaseValue(); in switchToLookupTable() [all …]
|
| H A D | PredicateInfo.cpp | 450 Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI); in processSwitch()
|
| H A D | Local.cpp | 212 if (It->getCaseValue() == CI) { in ConstantFoldTerminator() 313 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
|
| H A D | SCCPSolver.cpp | 1213 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CFGPrinter.h | 240 OS << Case.getCaseValue()->getValue();
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Tracker.cpp | 236 Cases.push_back({C.getCaseValue(), C.getCaseSuccessor()}); in SwitchRemoveCase()
|
| /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/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 4128 if (!CR.contains(Case.getCaseValue()->getValue())) in simplifySwitchOnSelectUsingRanges() 4141 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst() 4153 Constant *NewCase = ConstantExpr::getSub(SubLHS, Case.getCaseValue()); in visitSwitchInst() 4165 return Case.getCaseValue()->getValue().countr_zero() >= ShiftAmt; in visitSwitchInst() 4179 const APInt &CaseVal = Case.getCaseValue()->getValue(); in visitSwitchInst() 4195 const APInt &CaseVal = Case.getCaseValue()->getValue(); in visitSwitchInst() 4200 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst() 4225 std::min(LeadingKnownZeros, C.getCaseValue()->getValue().countl_zero()); in visitSwitchInst() 4227 std::min(LeadingKnownOnes, C.getCaseValue()->getValue().countl_one()); in visitSwitchInst() 4243 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst()
|
| H A D | InstCombinePHI.cpp | 1330 AddSucc(Case.getCaseValue(), Case.getCaseSuccessor()); in simplifyUsingControlFlow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVStructurizer.cpp | 951 SI->case_begin()->getCaseValue()); in simplifyBranches() 989 SI->addCase(It->getCaseValue(), NewTarget); in splitSwitchCases()
|
| /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 | 1305 if (Case.getCaseValue()->getValue() == NextState) { in getNextCaseSuccessor()
|
| H A D | CorrelatedValuePropagation.cpp | 378 ConstantInt *Case = CI->getCaseValue(); in processSwitch()
|
| H A D | SimpleLoopUnswitch.cpp | 843 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W); in unswitchTrivialSwitch() 950 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
|
| H A D | ConstraintElimination.cpp | 1183 Value *V = Case.getCaseValue(); in addInfoFor()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanConstruction.cpp | 200 Ops.push_back(getOrCreateVPOperand(Case.getCaseValue())); in createVPInstructionsForVPBB()
|
| /freebsd/contrib/llvm-project/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 2202 assert(C.getCaseValue() && "Expected to find case value."); in DCData() 2203 SmallString<20> Value = formatv("{0}", C.getCaseValue()->getSExtValue()); in DCData()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3256 ConstantIntT *getCaseValue() const { 3469 return Case.getCaseValue() == C; 3491 CI = Case.getCaseValue();
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 903 ConstantInt *C = It.getCaseValue(); in InjectTraceForSwitch()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 569 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() 572 const APInt &CaseVal = CI.getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 1540 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 3304 Check(Case.getCaseValue()->getType() == SwitchTy, in visitSwitchInst() 3306 Check(Constants.insert(Case.getCaseValue()).second, in visitSwitchInst() 3307 "Duplicate integer as switch case", &SI, Case.getCaseValue()); in visitSwitchInst()
|