My Project
lib
IR
AffineMapDetail.h
Go to the documentation of this file.
1
//===- AffineMapDetail.h - MLIR Affine Map details Class --------*- C++ -*-===//
2
//
3
// Part of the MLIR 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
// This holds implementation details of AffineMap.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef AFFINEMAPDETAIL_H_
14
#define AFFINEMAPDETAIL_H_
15
16
#include "
mlir/IR/AffineExpr.h
"
17
#include "
mlir/IR/AffineMap.h
"
18
#include "llvm/ADT/ArrayRef.h"
19
20
namespace
mlir
{
21
namespace
detail {
22
23
struct
AffineMapStorage
{
24
unsigned
numDims
;
25
unsigned
numSymbols
;
26
29
ArrayRef<AffineExpr>
results
;
30
31
MLIRContext
*
context
;
32
};
33
34
}
// end namespace detail
35
}
// end namespace mlir
36
37
#endif // AFFINEMAPDETAIL_H_
mlir
Definition:
InferTypeOpInterface.cpp:20
mlir::detail::AffineMapStorage::results
ArrayRef< AffineExpr > results
Definition:
AffineMapDetail.h:29
llvm::ArrayRef
Definition:
LLVM.h:37
mlir::detail::AffineMapStorage::context
MLIRContext * context
Definition:
AffineMapDetail.h:31
mlir::detail::AffineMapStorage::numDims
unsigned numDims
Definition:
AffineMapDetail.h:24
AffineExpr.h
AffineMap.h
mlir::MLIRContext
Definition:
MLIRContext.h:34
mlir::detail::AffineMapStorage
Definition:
AffineMapDetail.h:23
mlir::detail::AffineMapStorage::numSymbols
unsigned numSymbols
Definition:
AffineMapDetail.h:25
Generated by
1.8.13