LLVM
24.0.0git
lib
Transforms
Scalar
ScalarOptions.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_TRANSFORMS_SCALAR_SCALAROPTIONS_H
10
#define LLVM_LIB_TRANSFORMS_SCALAR_SCALAROPTIONS_H
11
12
#include "
llvm/Analysis/TargetTransformInfo.h
"
13
#include "
llvm/Transforms/Utils/LoopUtils.h
"
14
#include <limits>
15
#include <optional>
16
17
namespace
llvm
{
18
enum class
CRCStrategyKind
{
Disable
,
Auto
,
Table
,
Clmul
};
19
enum class
LoopInterchangeRule
{
20
PerLoopCacheAnalysis
,
21
PerInstrOrderCost
,
22
ForVectorization
,
23
Ignore
24
};
25
enum class
MatrixLayoutTy
{
ColumnMajor
,
RowMajor
};
26
}
// namespace llvm
27
28
#define OPTIONS_STRUCT_DECL
29
#include "ScalarOptions.inc"
30
31
#endif
// LLVM_LIB_TRANSFORMS_SCALAR_SCALAROPTIONS_H
LoopUtils.h
TargetTransformInfo.h
This pass exposes codegen information to IR-level passes.
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
DefaultTargetInfo.h:21
llvm::LoopInterchangeRule
LoopInterchangeRule
Definition
ScalarOptions.h:19
llvm::LoopInterchangeRule::ForVectorization
@ ForVectorization
Definition
ScalarOptions.h:22
llvm::LoopInterchangeRule::PerLoopCacheAnalysis
@ PerLoopCacheAnalysis
Definition
ScalarOptions.h:20
llvm::LoopInterchangeRule::PerInstrOrderCost
@ PerInstrOrderCost
Definition
ScalarOptions.h:21
llvm::LoopInterchangeRule::Ignore
@ Ignore
Definition
ScalarOptions.h:23
llvm::CRCStrategyKind
CRCStrategyKind
Definition
ScalarOptions.h:18
llvm::CRCStrategyKind::Table
@ Table
Definition
ScalarOptions.h:18
llvm::CRCStrategyKind::Clmul
@ Clmul
Definition
ScalarOptions.h:18
llvm::MatrixLayoutTy
MatrixLayoutTy
Definition
ScalarOptions.h:25
llvm::MatrixLayoutTy::RowMajor
@ RowMajor
Definition
ScalarOptions.h:25
llvm::MatrixLayoutTy::ColumnMajor
@ ColumnMajor
Definition
ScalarOptions.h:25
llvm::ColorMode::Auto
@ Auto
Determine whether to use color based on the command line argument and the raw_ostream.
Definition
WithColor.h:43
llvm::ColorMode::Disable
@ Disable
Disable colors.
Definition
WithColor.h:49
Generated on
for LLVM by
1.14.0