Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp317 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
H A DSimplifyCFG.cpp806 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 DPredicateInfo.cpp498 Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI); in processSwitch()
H A DLocal.cpp206 if (i->getCaseValue() == CI) { in ConstantFoldTerminator()
309 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
H A DSCCPSolver.cpp913 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DCFGPrinter.h240 OS << Case.getCaseValue()->getValue();
/openbsd-src/gnu/llvm/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp507 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 DNodes.h252 Expression *getCaseValue();
/openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/
H A DNodes.cpp236 syntax::Expression *syntax::CaseStatement::getCaseValue() { in getCaseValue() function in syntax::CaseStatement
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp842 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 DLoopSimplifyCFG.cpp71 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
H A DDFAJumpThreading.cpp1252 if (Case.getCaseValue()->getZExtValue() == NextState) { in getNextCaseSuccessor()
H A DCorrelatedValuePropagation.cpp395 ConstantInt *Case = CI->getCaseValue(); in processSwitch()
H A DSimpleLoopUnswitch.cpp779 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W); in unswitchTrivialSwitch()
890 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
H A DGVN.cpp2510 Changed |= propagateEquality(SwitchCond, i->getCaseValue(), E, true); in processInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3231 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 DInstCombinePHI.cpp1322 AddSucc(Case.getCaseValue(), Case.getCaseSuccessor()); in simplifyUsingControlFlow()
/openbsd-src/gnu/llvm/llvm/lib/Passes/
H A DStandardInstrumentations.cpp1863 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 DBasicTTIImpl.h444 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 DInstructions.h3349 ConstantIntT *getCaseValue() const {
3561 return Case.getCaseValue() == C;
3583 CI = Case.getCaseValue();
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1414 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DVerifier.cpp2890 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 DExecution.cpp958 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7186 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 DDXILBitcodeWriter.cpp2361 Vals.push_back(VE.getValueID(Case.getCaseValue())); in writeInstruction()

12