LLVM 24.0.0git
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"
12
13#define OPTIONS_STRUCT_DEFS
14#include "ScalarOptions.inc"
15
16using namespace llvm;
17
19
20const ScalarOptions &llvm::getScalarOptions(const Loop &L) {
21 return getScalarOptions(L.getHeader()->getContext());
22}
static llvm::opt::RegisterLibraryOptions< llvm::AnalysisOptions > Registration
Represents a single loop in the control flow graph.
Definition LoopInfo.h:40
Registers T::Global with cl::ParseCommandLineOptions.
This is an optimization pass for GlobalISel generic memory operations.
const ScalarOptions & getScalarOptions(const LLVMContext &C)