LLVM  13.0.0git
LowerMatrixIntrinsics.h
Go to the documentation of this file.
1 //===- LowerMatrixIntrinsics.h - Lower matrix intrinsics. -------*- C++ -*-===//
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 // This pass lowers matrix intrinsics down to vector operations.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_TRANSFORMS_SCALAR_LOWERMATRIXINTRINSICS_H
14 #define LLVM_TRANSFORMS_SCALAR_LOWERMATRIXINTRINSICS_H
15 
16 #include "llvm/IR/PassManager.h"
17 
18 namespace llvm {
20  : public PassInfoMixin<LowerMatrixIntrinsicsPass> {
21  bool Minimal;
22 
23 public:
24  LowerMatrixIntrinsicsPass(bool Minimal = false) : Minimal(Minimal) {}
26  static bool isRequired() { return true; }
27 };
28 } // namespace llvm
29 
30 #endif
llvm::PreservedAnalyses
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:155
llvm
Definition: AllocatorList.h:23
llvm::LowerMatrixIntrinsicsPass::isRequired
static bool isRequired()
Definition: LowerMatrixIntrinsics.h:26
llvm::PassInfoMixin
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:374
llvm::Function
Definition: Function.h:61
F
#define F(x, y, z)
Definition: MD5.cpp:56
llvm::LowerMatrixIntrinsicsPass::run
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
Definition: LowerMatrixIntrinsics.cpp:1974
llvm::LowerMatrixIntrinsicsPass
Definition: LowerMatrixIntrinsics.h:19
PassManager.h
llvm::AnalysisManager
A container for analyses that lazily runs them and caches their results.
Definition: InstructionSimplify.h:44
llvm::LowerMatrixIntrinsicsPass::LowerMatrixIntrinsicsPass
LowerMatrixIntrinsicsPass(bool Minimal=false)
Definition: LowerMatrixIntrinsics.h:24