FLANG
LoweringOptions.h File Reference
#include "flang/Support/MathOptionsBase.h"
#include "flang/Lower/LoweringOptions.def"

Go to the source code of this file.

Classes

class  Fortran::lower::LoweringOptionsBase
class  Fortran::lower::LoweringOptions

Namespaces

namespace  Fortran
namespace  Fortran::lower

Macros

#define LOWERINGOPT(Name, Bits, Default)
#define ENUM_LOWERINGOPT(Name, Type, Bits, Default)
#define LOWERINGOPT(Name, Bits, Default)
#define ENUM_LOWERINGOPT(Name, Type, Bits, Default)
#define LOWERINGOPT(Name, Bits, Default)
#define ENUM_LOWERINGOPT(Name, Type, Bits, Default)

Detailed Description

Options controlling lowering of front-end fragments to the FIR dialect of MLIR

Macro Definition Documentation

◆ ENUM_LOWERINGOPT [1/2]

#define ENUM_LOWERINGOPT ( Name,
Type,
Bits,
Default )
Value:
unsigned Name : Bits;

◆ ENUM_LOWERINGOPT [2/2]

#define ENUM_LOWERINGOPT ( Name,
Type,
Bits,
Default )
Value:
Type get##Name() const { return static_cast<Type>(Name); } \
LoweringOptions &set##Name(Type Value) { \
Name = static_cast<unsigned>(Value); \
return *this; \
}

◆ LOWERINGOPT

#define LOWERINGOPT ( Name,
Bits,
Default )
Value:
unsigned Name : Bits;