Searched refs:JumpTableSize (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 344 virtual bool onJumpTable(unsigned JumpTableSize) { return true; } in onJumpTable() argument 352 virtual void onFinalizeSwitch(unsigned JumpTableSize, unsigned NumCaseCluster, in onFinalizeSwitch() argument 758 void onFinalizeSwitch(unsigned JumpTableSize, unsigned NumCaseCluster, in onFinalizeSwitch() argument 763 if (JumpTableSize) { in onFinalizeSwitch() 770 static_cast<int64_t>(JumpTableSize) * InstrCost + 2 * InstrCost; in onFinalizeSwitch() 1345 void onFinalizeSwitch(unsigned JumpTableSize, unsigned NumCaseCluster, in onFinalizeSwitch() argument 1347 if (JumpTableSize) { in onFinalizeSwitch() 1351 int64_t JTCost = static_cast<int64_t>(JumpTableSize) * InstrCost + in onFinalizeSwitch() 2661 unsigned JumpTableSize = 0; in visitSwitchInst() local 2664 TTI.getEstimatedNumberOfCaseClusters(SI, JumpTableSize, PSI, BFI); in visitSwitchInst() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DFAJumpThreading.cpp | 895 unsigned JumpTableSize = 0; in isLegalAndProfitableToTransform() local 896 TTI->getEstimatedNumberOfCaseClusters(*Switch, JumpTableSize, nullptr, in isLegalAndProfitableToTransform() 898 if (JumpTableSize == 0) { in isLegalAndProfitableToTransform() 914 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 549 const SwitchInst &SI, unsigned &JumpTableSize, ProfileSummaryInfo *PSI, in getEstimatedNumberOfCaseClusters() argument 562 JumpTableSize = 0; in getEstimatedNumberOfCaseClusters() 599 JumpTableSize = Range; in getEstimatedNumberOfCaseClusters()
|