LLVM: include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9#ifndef LLVM_LIB_TRANSFORMS_VECTORIZE_LOOPIDIOMVECTORIZE_H
10#define LLVM_LIB_TRANSFORMS_VECTORIZE_LOOPIDIOMVECTORIZE_H
11
14
15namespace llvm {
17
20
21
22 unsigned ByteCompareVF = 16;
23
24public:
27 : VectorizeStyle(S) {}
28
30 : VectorizeStyle(S), ByteCompareVF(BCVF) {}
31
34};
35}
36#endif
This header defines various interfaces for pass management in LLVM.
This header provides classes for managing a pipeline of passes over loops in LLVM IR.
This class provides an interface for updating the loop pass manager based on mutations to the loop ne...
LoopIdiomVectorizePass()=default
PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM, LoopStandardAnalysisResults &AR, LPMUpdater &U)
LoopIdiomVectorizePass(LoopIdiomVectorizeStyle S)
Definition LoopIdiomVectorize.h:26
LoopIdiomVectorizePass(LoopIdiomVectorizeStyle S, unsigned BCVF)
Definition LoopIdiomVectorize.h:29
Represents a single loop in the control flow graph.
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
LoopIdiomVectorizeStyle
Definition LoopIdiomVectorize.h:16
@ Masked
Definition LoopIdiomVectorize.h:16
@ Predicated
Definition LoopIdiomVectorize.h:16
AnalysisManager< Loop, LoopStandardAnalysisResults & > LoopAnalysisManager
The loop analysis manager.
The adaptor from a function pass to a loop pass computes these analyses and makes them available to t...
A CRTP mix-in to automatically provide informational APIs needed for passes.