MLIR 22.0.0git
OptUtils.cpp File Reference
#include "mlir/ExecutionEngine/OptUtils.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/Module.h"
#include "llvm/Passes/OptimizationLevel.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Target/TargetMachine.h"
#include <optional>

Go to the source code of this file.

Functions

static std::optional< OptimizationLevel > mapToLevel (unsigned optLevel, unsigned sizeLevel)

Function Documentation

◆ mapToLevel()

std::optional< OptimizationLevel > mapToLevel ( unsigned optLevel,
unsigned sizeLevel )
static

Definition at line 27 of file OptUtils.cpp.