Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceSwitchLowering.cpp26 const SizeT NumCases = Instr->getNumCases(); in clusterizeSwitch()
DIceInst.cpp883 for (SizeT I = 0; I < getNumCases(); ++I) { in dump()
DIceConverter.cpp540 unsigned NumCases = Instr->getNumCases(); in convertSwitchInstruction()
DIceInst.h791 SizeT getNumCases() const { return NumCases; } in getNumCases() function
DWasmTranslator.cpp1017 assert(SwitchIndex == CurrentSwitch->getNumCases()); in IfDefault()
DIceTargetLoweringARM32.cpp5988 SizeT NumCases = Instr->getNumCases(); in lowerSwitch()
DIceTargetLoweringMIPS32.cpp5573 SizeT NumCases = Instr->getNumCases(); in lowerSwitch()
DIceTargetLoweringX8632.cpp6606 SizeT NumCases = Instr->getNumCases(); in lowerSwitch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp730 Cases.reserve(SI->getNumCases()); in GetValueEqualityComparisonCases()
3598 if (Weights.size() == 1 + SI->getNumCases()) { in SimplifySwitchOnSelect()
4397 assert(SI->getNumCases() > 1 && "Degenerate switch?"); in TurnSwitchRangeIntoICmp()
4469 if (Weights.size() == 1 + SI->getNumCases()) { in TurnSwitchRangeIntoICmp()
4495 unsigned PreviousEdges = SI->getNumCases() - ContiguousCases->size(); in TurnSwitchRangeIntoICmp()
4550 SI->getNumCases() == (1ULL << NumUnknownBits)) { in eliminateDeadSwitchCases()
5227 if (SI->getNumCases() > TableSize || TableSize >= UINT64_MAX / 10) in ShouldBuildLookupTable()
5261 return SI->getNumCases() * 10 >= TableSize * 4; in ShouldBuildLookupTable()
5353 assert(SI->getNumCases() > 1 && "Degenerate switch?"); in SwitchToLookupTable()
5371 if (SI->getNumCases() < 3) in SwitchToLookupTable()
[all …]
DLowerSwitch.cpp565 const unsigned NumDefaultEdges = SI->getNumCases() + 1 - NumSimpleCases; in processSwitchInst()
DLocal.cpp168 SI->getNumCases() > 0) { in ConstantFoldTerminator()
184 unsigned NCases = SI->getNumCases(); in ConstantFoldTerminator()
264 if (SI->getNumCases() == 1) { in ConstantFoldTerminator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp73 unsigned n = SI.getNumCases(); // +1 for default case. in handleSwitchExpect()
DSimpleLoopUnswitch.cpp669 if (SI.getNumCases() > 0 && in unswitchTrivialSwitch()
680 if (SI.getNumCases() == 0) in unswitchTrivialSwitch()
806 assert(SI.getNumCases() > 0 && in unswitchTrivialSwitch()
DSCCP.cpp698 if (!SI->getNumCases()) { in getFeasibleSuccessors()
1727 if (!SI->getNumCases() || !getValueState(SI->getCondition()).isUnknown()) in ResolvedUndefsIn()
DCorrelatedValuePropagation.cpp416 NumDeadCases += SI->getNumCases(); in processSwitch()
DLoopUnswitch.cpp757 unsigned NumCases = SI->getNumCases(); in processCurrentLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstructions.h3192 assert((unsigned)Index < SI->getNumCases() &&
3199 assert(((unsigned)Index < SI->getNumCases() ||
3211 (unsigned)Index < SI->getNumCases()) &&
3234 assert((unsigned)Index < SI->getNumCases() &&
3283 (unsigned)(Case.Index + N) <= Case.SI->getNumCases() &&
3292 (unsigned)(Case.Index - N) <= Case.SI->getNumCases() &&
3343 unsigned getNumCases() const {
3362 return CaseIt(this, getNumCases());
3368 return ConstCaseIt(this, getNumCases());
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h123 return SI.getNumCases(); in getEstimatedNumberOfCaseClusters()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp445 if (SI->getNumCases() + 1 >= (unsigned)TLI->getMinimumJumpTableEntries()) in mightUseCTR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp755 Initializers.push_back(ConstantInt::get(Int64Ty, SI->getNumCases())); in InjectTraceForSwitch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp883 InlineCost += (SI->getNumCases() + 1) * InlineConstants::InstrCost; in computeBBInlineCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp442 Clusters.reserve(SI.getNumCases()); in translateSwitch()
449 : BranchProbability(1, SI.getNumCases() + 1); in translateSwitch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h339 unsigned N = SI.getNumCases(); in getEstimatedNumberOfCaseClusters()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp3836 unsigned NewCaseIdx = getNumCases(); in addCase()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp10556 Clusters.reserve(SI.getNumCases()); in visitSwitch()
10562 : BranchProbability(1, SI.getNumCases() + 1); in visitSwitch()