LLVM
24.0.0git
lib
Passes
PassesOptions.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_PASSES_PASSESOPTIONS_H
10
#define LLVM_LIB_PASSES_PASSESOPTIONS_H
11
12
#include "
llvm/Analysis/InlineAdvisor.h
"
13
#include "
llvm/IR/LLVMContext.h
"
14
#include "
llvm/Passes/PassBuilder.h
"
15
#include "
llvm/Transforms/IPO/Attributor.h
"
16
17
#define OPTIONS_STRUCT_DECL
18
#include "PassesOptions.inc"
19
20
namespace
llvm
{
21
22
inline
const
PassesOptions &
getPassesOptions
(
const
LLVMContext
&
C
) {
23
return
C
.getLibraryOptions().get<PassesOptions>();
24
}
25
26
}
// namespace llvm
27
28
#endif
// LLVM_LIB_PASSES_PASSESOPTIONS_H
Attributor.h
C
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
InlineAdvisor.h
LLVMContext.h
llvm::LLVMContext
This is an important class for using LLVM in a threaded context.
Definition
LLVMContext.h:76
PassBuilder.h
Interfaces for registering analysis passes, producing common pass manager configurations,...
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
DefaultTargetInfo.h:21
llvm::getPassesOptions
const PassesOptions & getPassesOptions(const LLVMContext &C)
Definition
PassesOptions.h:22
Generated on
for LLVM by
1.14.0