blob: 61c02184650cc7ee7899290884c87df171b4f9a1 [file] [edit]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TRANSFORMS_SCALAR_SCALAROPTIONS_H
#define LLVM_LIB_TRANSFORMS_SCALAR_SCALAROPTIONS_H
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Transforms/Utils/LoopUtils.h"
#include <limits>
#include <optional>
namespace llvm {
enum class CRCStrategyKind { Disable, Auto, Table, Clmul };
enum class LoopInterchangeRule {
PerLoopCacheAnalysis,
PerInstrOrderCost,
ForVectorization,
Ignore
};
enum class MatrixLayoutTy { ColumnMajor, RowMajor };
} // namespace llvm
#define OPTIONS_STRUCT_DECL
#include "ScalarOptions.inc"
#endif // LLVM_LIB_TRANSFORMS_SCALAR_SCALAROPTIONS_H