Home
last modified time | relevance | path

Searched refs:JumpTableSize (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInlineCost.cpp320 virtual bool onJumpTable(unsigned JumpTableSize) { return true; } in onJumpTable() argument
328 virtual void onFinalizeSwitch(unsigned JumpTableSize, in onFinalizeSwitch() argument
690 void onFinalizeSwitch(unsigned JumpTableSize, in onFinalizeSwitch() argument
695 if (JumpTableSize) { in onFinalizeSwitch()
697 static_cast<int64_t>(JumpTableSize) * InstrCost + 4 * InstrCost; in onFinalizeSwitch()
1165 void onFinalizeSwitch(unsigned JumpTableSize, in onFinalizeSwitch() argument
1168 if (JumpTableSize) { in onFinalizeSwitch()
1169 int64_t JTCost = static_cast<int64_t>(JumpTableSize) * InstrCost + in onFinalizeSwitch()
2370 unsigned JumpTableSize = 0; in visitSwitchInst() local
2373 TTI.getEstimatedNumberOfCaseClusters(SI, JumpTableSize, PSI, BFI); in visitSwitchInst()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp845 unsigned JumpTableSize = 0; in isLegalAndProfitableToTransform() local
846 TTI->getEstimatedNumberOfCaseClusters(*Switch, JumpTableSize, nullptr, in isLegalAndProfitableToTransform()
848 if (JumpTableSize == 0) { in isLegalAndProfitableToTransform()
862 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h423 unsigned &JumpTableSize, in getEstimatedNumberOfCaseClusters() argument
437 JumpTableSize = 0; in getEstimatedNumberOfCaseClusters()
474 JumpTableSize = Range; in getEstimatedNumberOfCaseClusters()