Searched refs:JumpTableSize (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 331 virtual bool onJumpTable(unsigned JumpTableSize) { return true; } in onJumpTable() argument 339 virtual void onFinalizeSwitch(unsigned JumpTableSize, in onFinalizeSwitch() argument 702 void onFinalizeSwitch(unsigned JumpTableSize, in onFinalizeSwitch() argument 707 if (JumpTableSize) { in onFinalizeSwitch() 709 static_cast<int64_t>(JumpTableSize) * InstrCost + 4 * InstrCost; in onFinalizeSwitch() 1234 void onFinalizeSwitch(unsigned JumpTableSize, in onFinalizeSwitch() argument 1237 if (JumpTableSize) { in onFinalizeSwitch() 1238 int64_t JTCost = static_cast<int64_t>(JumpTableSize) * InstrCost + in onFinalizeSwitch() 2459 unsigned JumpTableSize = 0; in visitSwitchInst() local 2462 TTI.getEstimatedNumberOfCaseClusters(SI, JumpTableSize, PSI, BFI); in visitSwitchInst() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DFAJumpThreading.cpp | 809 unsigned JumpTableSize = 0; in isLegalAndProfitableToTransform() local 810 TTI->getEstimatedNumberOfCaseClusters(*Switch, JumpTableSize, nullptr, in isLegalAndProfitableToTransform() 812 if (JumpTableSize == 0) { in isLegalAndProfitableToTransform() 828 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 438 unsigned &JumpTableSize, in getEstimatedNumberOfCaseClusters() argument 452 JumpTableSize = 0; in getEstimatedNumberOfCaseClusters() 489 JumpTableSize = Range; in getEstimatedNumberOfCaseClusters()
|