FLANG
|
Configuriation for the MLIR to LLVM pass pipeline. More...
#include <flang/Tools/CrossToolHelpers.h>
Public Member Functions | |
MLIRToLLVMPassPipelineConfig (llvm::OptimizationLevel level) | |
MLIRToLLVMPassPipelineConfig (llvm::OptimizationLevel level, const Fortran::frontend::CodeGenOptions &opts, const Fortran::common::MathOptionsBase &mathOpts) | |
![]() | |
void | registerFIROptEarlyEPCallbacks (const std::function< void(mlir::PassManager &, llvm::OptimizationLevel)> &C) |
void | registerFIRInlinerCallback (const std::function< void(mlir::PassManager &, llvm::OptimizationLevel)> &C) |
void | registerFIROptLastEPCallbacks (const std::function< void(mlir::PassManager &, llvm::OptimizationLevel)> &C) |
void | invokeFIROptEarlyEPCallbacks (mlir::PassManager &pm, llvm::OptimizationLevel optLevel) |
void | invokeFIRInlinerCallback (mlir::PassManager &pm, llvm::OptimizationLevel optLevel) |
void | invokeFIROptLastEPCallbacks (mlir::PassManager &pm, llvm::OptimizationLevel optLevel) |
Public Attributes | |
llvm::OptimizationLevel | OptLevel |
optimisation level | |
bool | StackArrays = false |
convert memory allocations to alloca. | |
bool | Underscoring = true |
add underscores to function names. | |
bool | LoopVersioning = false |
Run the version loop pass. | |
bool | AliasAnalysis = false |
Add TBAA tags to generated LLVMIR. | |
llvm::codegenoptions::DebugInfoKind | DebugInfo |
Debug info generation. | |
llvm::FramePointerKind | FramePointerKind |
Add frame pointer to functions. | |
unsigned | VScaleMin = 0 |
SVE vector range minimum. | |
unsigned | VScaleMax = 0 |
SVE vector range maximum. | |
bool | NoInfsFPMath = false |
Set no-infs-fp-math attribute for functions. | |
bool | NoNaNsFPMath = false |
Set no-nans-fp-math attribute for functions. | |
bool | ApproxFuncFPMath |
Set approx-func-fp-math attribute for functions. | |
bool | NoSignedZerosFPMath |
Set no-signed-zeros-fp-math attribute for functions. | |
bool | UnsafeFPMath = false |
Set unsafe-fp-math attribute for functions. | |
bool | NSWOnLoopVarInc = true |
Add nsw flag to loop variable increments. | |
bool | EnableOpenMP = false |
Enable OpenMP lowering. | |
Configuriation for the MLIR to LLVM pass pipeline.
bool MLIRToLLVMPassPipelineConfig::ApproxFuncFPMath |
Set approx-func-fp-math attribute for functions.
llvm::codegenoptions::DebugInfoKind MLIRToLLVMPassPipelineConfig::DebugInfo |
Debug info generation.
llvm::FramePointerKind MLIRToLLVMPassPipelineConfig::FramePointerKind |
Add frame pointer to functions.
bool MLIRToLLVMPassPipelineConfig::NoSignedZerosFPMath |
Set no-signed-zeros-fp-math attribute for functions.