filter-by-scope

Enable filtering detected stack variables by scope (warning vs. error) in a Dependencies analysis.

GUI Equivalent

Project Options > Analysis Target > Dependencies Analysis > Advanced > Filter stack variables by scope

Syntax

--filter-by-scope

--no-filter-by-scope

Default

On (filter-by-scope)

Actions Modified

collect=dependencies

Usage

Variables initiated inside the specified loop(s) are considered potential dependencies (warning). Variables initiated outside the specified loop(s) are considered dependencies (error).

Disabling can decrease collection overhead.

Example

Run a Dependencies analysis. Analyze innermost scalar loops. Filter detected stack variables by scope.

advixe-cl --collect=dependencies --loops="scalar,loop-height=0" --filter-by-scope --project-dir=./myAdvisorProj -- ./bin/myTargetApplication 
For more complete information about compiler optimizations, see our Optimization Notice.