LLVM
24.0.0git
lib
Transforms
Scalar
ScalarOptions.cpp
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
#include "
ScalarOptions.h
"
10
#include "
llvm/Analysis/LoopInfo.h
"
11
#include "
llvm/Option/LibraryOptions.h
"
12
13
#define OPTIONS_STRUCT_DEFS
14
#include "ScalarOptions.inc"
15
16
using namespace
llvm
;
17
18
LLVM_REGISTER_LIBRARY_OPTIONS
(llvm::ScalarOptions)
19
20
const
ScalarOptions &
llvm
::
getScalarOptions
(
const
Loop
&L) {
21
return
getScalarOptions
(L.getHeader()->getContext());
22
}
const
aarch64 promote const
Definition
AArch64PromoteConstant.cpp:223
LibraryOptions.h
LLVM_REGISTER_LIBRARY_OPTIONS
#define LLVM_REGISTER_LIBRARY_OPTIONS(T)
Defines the file-scope registration of options struct T for a library that has no initialization func...
Definition
LibraryOptions.h:184
LoopInfo.h
ScalarOptions.h
llvm::Loop
Represents a single loop in the control flow graph.
Definition
LoopInfo.h:40
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
DefaultTargetInfo.h:21
llvm::getScalarOptions
const ScalarOptions & getScalarOptions(const LLVMContext &C)
Definition
ScalarOptions.h:37
Generated on
for LLVM by
1.14.0