Calculate the number of dropped variables in an llvm::Function or llvm::MachineFunction and print the relevant information to stdout.
Declared in <llvm/IR/DroppedVariableStats.h>
void
calculateDroppedStatsAndPrint(
DebugVariables& DbgVariables,
StringRef FuncName,
StringRef PassID,
StringRef FuncOrModName,
StringRef PassLevel,
Function const* Func);
| Name | Description |
|---|---|
| DbgVariables | The before/after debug variable sets for the function. |
| FuncName | The name of the function being analyzed. |
| PassID | The identifier of the optimization pass. |
| FuncOrModName | The function or module name printed in the report. |
| PassLevel | The pass level string printed in the report. |
| Func | The function whose dropped variables are being counted. |