Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp311 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
H A DSimplifyCFG.cpp915 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 DSCCPSolver.cpp632 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors()
1576 SI->setCondition(SI->case_begin()->getCaseValue()); in resolvedUndefsIn()
H A DPredicateInfo.cpp506 Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI); in processSwitch()
H A DLocal.cpp208 if (i->getCaseValue() == CI) { in ConstantFoldTerminator()
305 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h224 OS << Case.getCaseValue()->getValue();
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp368 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 DNodes.h257 Expression *getCaseValue();
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp809 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 DNodes.cpp236 syntax::Expression *syntax::CaseStatement::getCaseValue() { in getCaseValue() function in syntax::CaseStatement
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp77 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
H A DLoopUnswitch.cpp805 Constant *UnswitchValCandidate = Case.getCaseValue(); in processCurrentLoop()
1280 ConstantInt *CaseVal = Case.getCaseValue(); in tryTrivialLoopUnswitch()
H A DDFAJumpThreading.cpp1179 if (Case.getCaseValue()->getZExtValue() == NextState) { in getNextCaseSuccessor()
H A DCorrelatedValuePropagation.cpp345 ConstantInt *Case = CI->getCaseValue(); in processSwitch()
H A DSimpleLoopUnswitch.cpp737 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W); in unswitchTrivialSwitch()
848 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
H A DGVN.cpp2384 Changed |= propagateEquality(SwitchCond, i->getCaseValue(), E, true); in processInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3013 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 DInstructions.h3242 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 DBasicTTIImpl.h392 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 DLazyValueInfo.cpp1381 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp2701 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 DAsmWriter.cpp4017 writeOperand(Case.getCaseValue(), true); in printInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp958 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp687 const ConstantInt *CaseVal = I.getCaseValue(); in translateSwitch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2873 Vals.push_back(VE.getValueID(Case.getCaseValue())); in writeInstruction()

12