LLVM
24.0.0git
lib
CodeGen
CodeGenOptions.h
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLVM_LIB_CODEGEN_CODEGENOPTIONS_H
10
#define LLVM_LIB_CODEGEN_CODEGENOPTIONS_H
11
12
#include "
llvm/Target/TargetOptions.h
"
13
#include <cstdint>
14
#include <optional>
15
16
#define OPTIONS_STRUCT_DECL
17
#include "CodeGenOptions.inc"
18
19
namespace
llvm
{
20
21
class
LLVMContext;
22
class
MachineFunction
;
23
class
Module
;
24
25
const
CodeGenOptions &
getCodeGenOptions
(
const
LLVMContext &
C
);
26
const
CodeGenOptions &
getCodeGenOptions
(
const
Module
&M);
27
const
CodeGenOptions &
getCodeGenOptions
(
const
MachineFunction
&MF);
28
29
}
// namespace llvm
30
31
#endif
// LLVM_LIB_CODEGEN_CODEGENOPTIONS_H
C
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
Module
Machine Check Debug Module
Definition
MachineCheckDebugify.cpp:133
TargetOptions.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
DefaultTargetInfo.h:21
llvm::IRUnitKind::MachineFunction
@ MachineFunction
Definition
IRUnitRef.h:35
llvm::getCodeGenOptions
const CodeGenOptions & getCodeGenOptions(const LLVMContext &C)
Definition
CodeGenOptions.cpp:23
Generated on
for LLVM by
1.14.0