LLVM  17.0.0git
ComplexDeinterleavingPass.h
Go to the documentation of this file.
1 //===- ComplexDeinterleavingPass.h - Complex Deinterleaving Pass *- 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 implements generation of target-specific intrinsics to support
10 // handling of complex number arithmetic and deinterleaving.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_CODEGEN_COMPLEXDEINTERLEAVING_H
15 #define LLVM_CODEGEN_COMPLEXDEINTERLEAVING_H
16 
17 #include "llvm/IR/PassManager.h"
18 #include "llvm/IR/PatternMatch.h"
19 
20 namespace llvm {
21 
22 class Function;
23 class TargetMachine;
24 
26  : public PassInfoMixin<ComplexDeinterleavingPass> {
27 private:
28  TargetMachine *TM;
29 
30 public:
32 
34 };
35 
37  CAdd,
39  // The following 'operations' are used to represent internal states. Backends
40  // are not expected to try and support these in any capacity.
41  Shuffle
42 };
43 
45  Rotation_0 = 0,
46  Rotation_90 = 1,
47  Rotation_180 = 2,
48  Rotation_270 = 3,
49 };
50 
51 } // namespace llvm
52 
53 #endif // LLVM_CODEGEN_COMPLEXDEINTERLEAVING_H
llvm::PreservedAnalyses
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:152
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::PassInfoMixin
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:371
llvm::Function
Definition: Function.h:59
llvm::ComplexDeinterleavingRotation::Rotation_0
@ Rotation_0
llvm::ComplexDeinterleavingRotation::Rotation_90
@ Rotation_90
F
#define F(x, y, z)
Definition: MD5.cpp:55
llvm::ComplexDeinterleavingOperation
ComplexDeinterleavingOperation
Definition: ComplexDeinterleavingPass.h:36
llvm::ComplexDeinterleavingPass
Definition: ComplexDeinterleavingPass.h:25
PatternMatch.h
llvm::ComplexDeinterleavingRotation::Rotation_270
@ Rotation_270
llvm::ComplexDeinterleavingRotation
ComplexDeinterleavingRotation
Definition: ComplexDeinterleavingPass.h:44
llvm::ComplexDeinterleavingPass::ComplexDeinterleavingPass
ComplexDeinterleavingPass(TargetMachine *TM)
Definition: ComplexDeinterleavingPass.h:31
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition: TargetMachine.h:78
llvm::ComplexDeinterleavingOperation::Shuffle
@ Shuffle
PassManager.h
llvm::ComplexDeinterleavingRotation::Rotation_180
@ Rotation_180
llvm::ComplexDeinterleavingOperation::CAdd
@ CAdd
llvm::ComplexDeinterleavingPass::run
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
Definition: ComplexDeinterleavingPass.cpp:301
llvm::AnalysisManager
A container for analyses that lazily runs them and caches their results.
Definition: InstructionSimplify.h:42
TM
const char LLVMTargetMachineRef TM
Definition: PassBuilderBindings.cpp:47
llvm::ComplexDeinterleavingOperation::CMulPartial
@ CMulPartial
llvm::codeview::PublicSymFlags::Function
@ Function