MLIR 24.0.0git
mlir::acc::VariableNameConfig Struct Reference

How the name of a variable is to be rendered. More...

#include "mlir/Dialect/OpenACC/Analysis/OpenACCSupport.h"

Public Attributes

bool preferDemangledName = true
 Render the name the source language spells, which is the name a message to the user states.

Detailed Description

How the name of a variable is to be rendered.

Definition at line 71 of file OpenACCSupport.h.

Member Data Documentation

◆ preferDemangledName

bool mlir::acc::VariableNameConfig::preferDemangledName = true

Render the name the source language spells, which is the name a message to the user states.

When false, the name the variable is emitted under is rendered instead - for a global the symbol it is addressed through - which is the name it is resolved against the symbols of a binary by. Only a language that uniques or mangles the names of its variables spells the two differently.

Definition at line 78 of file OpenACCSupport.h.


The documentation for this struct was generated from the following file: