Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp316 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
H A DSimplifyCFG.cpp807 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 DPredicateInfo.cpp489 Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI); in processSwitch()
H A DLocal.cpp210 if (It->getCaseValue() == CI) { in ConstantFoldTerminator()
311 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
H A DSCCPSolver.cpp1113 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h248 OS << Case.getCaseValue()->getValue();
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3738 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 DInstCombinePHI.cpp1327 AddSucc(Case.getCaseValue(), Case.getCaseSuccessor()); in simplifyUsingControlFlow()
/freebsd/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/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.h252 Expression *getCaseValue();
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DNodes.cpp236 syntax::Expression *syntax::CaseStatement::getCaseValue() { in getCaseValue() function in syntax::CaseStatement
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp68 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
H A DDFAJumpThreading.cpp1265 if (Case.getCaseValue()->getValue() == NextState) { in getNextCaseSuccessor()
H A DCorrelatedValuePropagation.cpp366 ConstantInt *Case = CI->getCaseValue(); in processSwitch()
H A DSimpleLoopUnswitch.cpp838 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W); in unswitchTrivialSwitch()
945 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
H A DConstraintElimination.cpp1122 Value *V = Case.getCaseValue(); in addInfoFor()
H A DGVN.cpp2705 Changed |= propagateEquality(SwitchCond, i->getCaseValue(), E, true); in processInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DStandardInstrumentations.cpp2209 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 DInstructions.h3113 ConstantIntT *getCaseValue() const {
3326 return Case.getCaseValue() == C;
3348 CI = Case.getCaseValue();
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp831 ConstantInt *C = It.getCaseValue(); in InjectTraceForSwitch()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h472 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 DLazyValueInfo.cpp1464 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp3165 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 DExecution.cpp922 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7462 const APInt &NarrowConst = Case.getCaseValue()->getValue(); in optimizeSwitchType()
7489 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants()

12