Searched refs:JumpTableSize (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 258 virtual bool onJumpTable(unsigned JumpTableSize) { return true; } in onJumpTable() argument 266 virtual void onFinalizeSwitch(unsigned JumpTableSize, in onFinalizeSwitch() argument 599 void onFinalizeSwitch(unsigned JumpTableSize, in onFinalizeSwitch() argument 604 if (JumpTableSize) { in onFinalizeSwitch() 606 static_cast<int64_t>(JumpTableSize) * InlineConstants::InstrCost + in onFinalizeSwitch() 1045 void onFinalizeSwitch(unsigned JumpTableSize, in onFinalizeSwitch() argument 1048 if (JumpTableSize) { in onFinalizeSwitch() 1050 static_cast<int64_t>(JumpTableSize) * InlineConstants::InstrCost + in onFinalizeSwitch() 2228 unsigned JumpTableSize = 0; in visitSwitchInst() local 2231 TTI.getEstimatedNumberOfCaseClusters(SI, JumpTableSize, PSI, BFI); in visitSwitchInst() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DFAJumpThreading.cpp | 782 unsigned JumpTableSize = 0; in isLegalAndProfitableToTransform() local 783 TTI->getEstimatedNumberOfCaseClusters(*Switch, JumpTableSize, nullptr, in isLegalAndProfitableToTransform() 785 if (JumpTableSize == 0) { in isLegalAndProfitableToTransform() 799 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 371 unsigned &JumpTableSize, in getEstimatedNumberOfCaseClusters() argument 385 JumpTableSize = 0; in getEstimatedNumberOfCaseClusters() 422 JumpTableSize = Range; in getEstimatedNumberOfCaseClusters()
|