Lines Matching refs:JumpTableSize
331 virtual bool onJumpTable(unsigned JumpTableSize) { return true; } in onJumpTable() argument
339 virtual void onFinalizeSwitch(unsigned JumpTableSize, unsigned NumCaseCluster, in onFinalizeSwitch() argument
702 void onFinalizeSwitch(unsigned JumpTableSize, unsigned NumCaseCluster, in onFinalizeSwitch() argument
707 if (JumpTableSize) { in onFinalizeSwitch()
714 static_cast<int64_t>(JumpTableSize) * InstrCost + 2 * InstrCost; in onFinalizeSwitch()
1241 void onFinalizeSwitch(unsigned JumpTableSize, unsigned NumCaseCluster, in onFinalizeSwitch() argument
1243 if (JumpTableSize) { in onFinalizeSwitch()
1247 int64_t JTCost = static_cast<int64_t>(JumpTableSize) * InstrCost + in onFinalizeSwitch()
2467 unsigned JumpTableSize = 0; in visitSwitchInst() local
2470 TTI.getEstimatedNumberOfCaseClusters(SI, JumpTableSize, PSI, BFI); in visitSwitchInst()
2472 onFinalizeSwitch(JumpTableSize, NumCaseCluster, SI.defaultDestUndefined()); in visitSwitchInst()