#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.
|
static std::optional< OptimizationLevel > | mapToLevel (unsigned optLevel, unsigned sizeLevel) |
|
◆ mapToLevel()
static std::optional<OptimizationLevel> mapToLevel |
( |
unsigned |
optLevel, |
|
|
unsigned |
sizeLevel |
|
) |
| |
|
static |