| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 311 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
|
| H A D | SimplifyCFG.cpp | 915 if (DeadCases.count(i->getCaseValue())) { in SimplifyEqualityComparisonWithOnlyPredecessor() 4777 CasesA.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp() 4783 CasesB.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp() 4904 const APInt &CaseVal = Case.getCaseValue()->getValue(); in eliminateDeadSwitchCases() 4907 DeadCases.push_back(Case.getCaseValue()); in eliminateDeadSwitchCases() 4998 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() 5217 ConstantInt *CaseVal = I.getCaseValue(); in InitializeUniqueCases() 5782 ConstantInt *MinCaseVal = CI->getCaseValue(); in SwitchToLookupTable() 5783 ConstantInt *MaxCaseVal = CI->getCaseValue(); in SwitchToLookupTable() 5795 ConstantInt *CaseVal = CI->getCaseValue(); in SwitchToLookupTable() [all …]
|
| H A D | SCCPSolver.cpp | 632 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors() 1576 SI->setCondition(SI->case_begin()->getCaseValue()); in resolvedUndefsIn()
|
| H A D | PredicateInfo.cpp | 506 Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI); in processSwitch()
|
| H A D | Local.cpp | 208 if (i->getCaseValue() == CI) { in ConstantFoldTerminator() 305 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CFGPrinter.h | 224 OS << Case.getCaseValue()->getValue();
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-diff/ |
| H A D | DifferenceEngine.cpp | 368 LCases[Case.getCaseValue()] = Case.getCaseSuccessor(); in diff() 371 const ConstantInt *CaseValue = Case.getCaseValue(); in diff()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
| H A D | Nodes.h | 257 Expression *getCaseValue();
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 809 Constant *C = It.getCaseValue(); in InjectTraceForSwitch() 812 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopSimplifyCFG.cpp | 77 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
|
| H A D | LoopUnswitch.cpp | 805 Constant *UnswitchValCandidate = Case.getCaseValue(); in processCurrentLoop() 1280 ConstantInt *CaseVal = Case.getCaseValue(); in tryTrivialLoopUnswitch()
|
| H A D | DFAJumpThreading.cpp | 1179 if (Case.getCaseValue()->getZExtValue() == NextState) { in getNextCaseSuccessor()
|
| H A D | CorrelatedValuePropagation.cpp | 345 ConstantInt *Case = CI->getCaseValue(); in processSwitch()
|
| H A D | SimpleLoopUnswitch.cpp | 737 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W); in unswitchTrivialSwitch() 848 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
|
| H A D | GVN.cpp | 2384 Changed |= propagateEquality(SwitchCond, i->getCaseValue(), E, true); in processInstruction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 3013 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst() 3029 LeadingKnownZeros, C.getCaseValue()->getValue().countLeadingZeros()); in visitSwitchInst() 3031 LeadingKnownOnes, C.getCaseValue()->getValue().countLeadingOnes()); in visitSwitchInst() 3047 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3242 ConstantIntT *getCaseValue() const { 3450 cases(), [C](CaseHandle &Case) { return Case.getCaseValue() == C; }); 3458 return Case.getCaseValue() == C; 3480 CI = Case.getCaseValue();
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 392 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() 395 const APInt &CaseVal = CI.getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 1381 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 2701 Assert(Case.getCaseValue()->getType() == SwitchTy, in visitSwitchInst() 2703 Assert(Constants.insert(Case.getCaseValue()).second, in visitSwitchInst() 2704 "Duplicate integer as switch case", &SI, Case.getCaseValue()); in visitSwitchInst()
|
| H A D | AsmWriter.cpp | 4017 writeOperand(Case.getCaseValue(), true); in printInstruction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 958 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 687 const ConstantInt *CaseVal = I.getCaseValue(); in translateSwitch()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 2873 Vals.push_back(VE.getValueID(Case.getCaseValue())); in writeInstruction()
|