14#ifndef LLVM_SUPPORT_CODEGEN_H
15#define LLVM_SUPPORT_CODEGEN_H
53 namespace CodeGenOpt {
94 namespace ZeroCallUsedRegs {
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
@ C
The default llvm calling convention, compatible with C.
std::optional< Level > parseLevel(char C)
Parse C as a single digit integer ID and get matching Level.
std::optional< Level > getLevel(IDType ID)
Get the Level identified by the integer ID.
Level
Code generation optimization level.
int IDType
Type for the unique integer IDs of code generation optimization levels.
This is an optimization pass for GlobalISel generic memory operations.
@ Async
"Asynchronous" unwind tables (instr precise)
@ Sync
"Synchronous" unwind tables
CodeGenFileType
These enums are meant to be passed into addPassesToEmitFile to indicate what type of file to emit,...
@ Invalid
Denotes invalid value.
@ Default
The result values are uniform if and only if all operands are uniform.
constexpr std::nullopt_t None
@ Keep
No function return thunk.
@ Extern
Replace returns with jump to thunk, don't emit thunk.