| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 317 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
|
| H A D | SimplifyCFG.cpp | 806 Cases.push_back(ValueEqualityComparisonCase(Case.getCaseValue(), in GetValueEqualityComparisonCases() 964 if (DeadCases.count(i->getCaseValue())) { in SimplifyEqualityComparisonWithOnlyPredecessor() 5326 CasesA.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp() 5332 CasesB.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp() 5458 const APInt &CaseVal = Case.getCaseValue()->getValue(); in eliminateDeadSwitchCases() 5461 DeadCases.push_back(Case.getCaseValue()); in eliminateDeadSwitchCases() 5552 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() 5768 ConstantInt *CaseVal = I.getCaseValue(); in initializeUniqueCases() 6417 ConstantInt *MinCaseVal = CI->getCaseValue(); in SwitchToLookupTable() 6418 ConstantInt *MaxCaseVal = CI->getCaseValue(); in SwitchToLookupTable() [all …]
|
| H A D | PredicateInfo.cpp | 498 Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI); in processSwitch()
|
| H A D | Local.cpp | 206 if (i->getCaseValue() == CI) { in ConstantFoldTerminator() 309 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
|
| H A D | SCCPSolver.cpp | 913 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | CFGPrinter.h | 240 OS << Case.getCaseValue()->getValue();
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-diff/lib/ |
| H A D | DifferenceEngine.cpp | 507 LCases[Case.getCaseValue()] = Case.getCaseSuccessor(); in diff() 510 const ConstantInt *CaseValue = Case.getCaseValue(); in diff()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Syntax/ |
| H A D | Nodes.h | 252 Expression *getCaseValue();
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/ |
| H A D | Nodes.cpp | 236 syntax::Expression *syntax::CaseStatement::getCaseValue() { in getCaseValue() function in syntax::CaseStatement
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 842 Constant *C = It.getCaseValue(); in InjectTraceForSwitch() 845 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopSimplifyCFG.cpp | 71 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
|
| H A D | DFAJumpThreading.cpp | 1252 if (Case.getCaseValue()->getZExtValue() == NextState) { in getNextCaseSuccessor()
|
| H A D | CorrelatedValuePropagation.cpp | 395 ConstantInt *Case = CI->getCaseValue(); in processSwitch()
|
| H A D | SimpleLoopUnswitch.cpp | 779 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W); in unswitchTrivialSwitch() 890 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
|
| H A D | GVN.cpp | 2510 Changed |= propagateEquality(SwitchCond, i->getCaseValue(), E, true); in processInstruction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 3231 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst() 3247 LeadingKnownZeros, C.getCaseValue()->getValue().countLeadingZeros()); in visitSwitchInst() 3249 LeadingKnownOnes, C.getCaseValue()->getValue().countLeadingOnes()); in visitSwitchInst() 3265 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst()
|
| H A D | InstCombinePHI.cpp | 1322 AddSucc(Case.getCaseValue(), Case.getCaseSuccessor()); in simplifyUsingControlFlow()
|
| /openbsd-src/gnu/llvm/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 1863 assert(C.getCaseValue() && "Expected to find case value."); in DCData() 1864 SmallString<20> Value = formatv("{0}", C.getCaseValue()->getSExtValue()); in DCData()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 444 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() 447 const APInt &CaseVal = CI.getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3349 ConstantIntT *getCaseValue() const { 3561 return Case.getCaseValue() == C; 3583 CI = Case.getCaseValue();
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 1414 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Verifier.cpp | 2890 Check(Case.getCaseValue()->getType() == SwitchTy, in visitSwitchInst() 2892 Check(Constants.insert(Case.getCaseValue()).second, in visitSwitchInst() 2893 "Duplicate integer as switch case", &SI, Case.getCaseValue()); in visitSwitchInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 958 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 7186 const APInt &NarrowConst = Case.getCaseValue()->getValue(); in optimizeSwitchType() 7213 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 2361 Vals.push_back(VE.getValueID(Case.getCaseValue())); in writeInstruction()
|