LLVM 24.0.0git
OptimizationLevel.h File Reference

This header enumerates the LLVM-provided high-level optimization levels. More...

#include "llvm/Support/Compiler.h"
#include <assert.h>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Enumerations

enum class  llvm::OptimizationLevel { llvm::O0 = 0 , llvm::O1 = 1 , llvm::O2 = 2 , llvm::O3 = 3 }

Detailed Description

This header enumerates the LLVM-provided high-level optimization levels.

Each level has a specific goal and rationale.

Definition in file OptimizationLevel.h.