@@ -52,66 +52,66 @@ cl::opt<bool>
5252 cl::desc (" Infer counts from stale profile data." ),
5353 cl::init(false ), cl::Hidden, cl::cat(BoltOptCategory));
5454
55- cl::opt<unsigned > StaleMatchingMinMatchedBlock (
55+ static cl::opt<unsigned > StaleMatchingMinMatchedBlock (
5656 " stale-matching-min-matched-block" ,
5757 cl::desc (" Percentage threshold of matched basic blocks at which stale "
5858 " profile inference is executed." ),
5959 cl::init(0 ), cl::Hidden, cl::cat(BoltOptCategory));
6060
61- cl::opt<unsigned > StaleMatchingMaxFuncSize (
61+ static cl::opt<unsigned > StaleMatchingMaxFuncSize (
6262 " stale-matching-max-func-size" ,
6363 cl::desc (" The maximum size of a function to consider for inference." ),
6464 cl::init(10000 ), cl::Hidden, cl::cat(BoltOptCategory));
6565
6666// Parameters of the profile inference algorithm. The default values are tuned
6767// on several benchmarks.
68- cl::opt<bool > StaleMatchingEvenFlowDistribution (
68+ static cl::opt<bool > StaleMatchingEvenFlowDistribution (
6969 " stale-matching-even-flow-distribution" ,
7070 cl::desc (" Try to evenly distribute flow when there are multiple equally "
7171 " likely options." ),
7272 cl::init(true ), cl::ReallyHidden, cl::cat(BoltOptCategory));
7373
74- cl::opt<bool > StaleMatchingRebalanceUnknown (
74+ static cl::opt<bool > StaleMatchingRebalanceUnknown (
7575 " stale-matching-rebalance-unknown" ,
7676 cl::desc (" Evenly re-distribute flow among unknown subgraphs." ),
7777 cl::init(false ), cl::ReallyHidden, cl::cat(BoltOptCategory));
7878
79- cl::opt<bool > StaleMatchingJoinIslands (
79+ static cl::opt<bool > StaleMatchingJoinIslands (
8080 " stale-matching-join-islands" ,
8181 cl::desc (" Join isolated components having positive flow." ), cl::init(true ),
8282 cl::ReallyHidden, cl::cat(BoltOptCategory));
8383
84- cl::opt<unsigned > StaleMatchingCostBlockInc (
84+ static cl::opt<unsigned > StaleMatchingCostBlockInc (
8585 " stale-matching-cost-block-inc" ,
8686 cl::desc (" The cost of increasing a block count by one." ), cl::init(150 ),
8787 cl::ReallyHidden, cl::cat(BoltOptCategory));
8888
89- cl::opt<unsigned > StaleMatchingCostBlockDec (
89+ static cl::opt<unsigned > StaleMatchingCostBlockDec (
9090 " stale-matching-cost-block-dec" ,
9191 cl::desc (" The cost of decreasing a block count by one." ), cl::init(150 ),
9292 cl::ReallyHidden, cl::cat(BoltOptCategory));
9393
94- cl::opt<unsigned > StaleMatchingCostJumpInc (
94+ static cl::opt<unsigned > StaleMatchingCostJumpInc (
9595 " stale-matching-cost-jump-inc" ,
9696 cl::desc (" The cost of increasing a jump count by one." ), cl::init(150 ),
9797 cl::ReallyHidden, cl::cat(BoltOptCategory));
9898
99- cl::opt<unsigned > StaleMatchingCostJumpDec (
99+ static cl::opt<unsigned > StaleMatchingCostJumpDec (
100100 " stale-matching-cost-jump-dec" ,
101101 cl::desc (" The cost of decreasing a jump count by one." ), cl::init(150 ),
102102 cl::ReallyHidden, cl::cat(BoltOptCategory));
103103
104- cl::opt<unsigned > StaleMatchingCostBlockUnknownInc (
104+ static cl::opt<unsigned > StaleMatchingCostBlockUnknownInc (
105105 " stale-matching-cost-block-unknown-inc" ,
106106 cl::desc (" The cost of increasing an unknown block count by one." ),
107107 cl::init(1 ), cl::ReallyHidden, cl::cat(BoltOptCategory));
108108
109- cl::opt<unsigned > StaleMatchingCostJumpUnknownInc (
109+ static cl::opt<unsigned > StaleMatchingCostJumpUnknownInc (
110110 " stale-matching-cost-jump-unknown-inc" ,
111111 cl::desc (" The cost of increasing an unknown jump count by one." ),
112112 cl::init(140 ), cl::ReallyHidden, cl::cat(BoltOptCategory));
113113
114- cl::opt<unsigned > StaleMatchingCostJumpUnknownFTInc (
114+ static cl::opt<unsigned > StaleMatchingCostJumpUnknownFTInc (
115115 " stale-matching-cost-jump-unknown-ft-inc" ,
116116 cl::desc (
117117 " The cost of increasing an unknown fall-through jump count by one." ),
0 commit comments