cl::opt< unsigned > DefaultMaxUsesToExplore("capture-tracking-max-uses-to-explore", cl::Hidden, cl::desc("Maximal number of uses to explore."), cl::init(100)) ( "capture-tracking-max-uses-to-explore" , cl::Hidden , cl::desc("Maximal number of uses to explore.") , cl::init(100) )
static
The default value for MaxUsesToExplore argument.
It's relatively small to keep the cost of analysis reasonable for clients like BasicAliasAnalysis, where the results can't be cached. TODO: we should probably introduce a caching CaptureTracking analysis and use it where possible. The caching version can use much higher limit or don't have this cap at all.