VapourSynth-llvmexpr
Loading...
Searching...
No Matches
RelAccessAnalysisPass.hpp
Go to the documentation of this file.
1
19
20#ifndef LLVMEXPR_ANALYSIS_PASSES_RELACCESSANALYSISPASS_HPP
21#define LLVMEXPR_ANALYSIS_PASSES_RELACCESSANALYSISPASS_HPP
22
24#include "../framework/Pass.hpp"
25
26namespace analysis {
27
29 std::vector<RelYAccess> unique_rel_y_accesses;
30 int min_rel_x{0};
31 int max_rel_x{0};
32 bool mirror_boundary{false};
33};
34
44 : public AnalysisPass<RelAccessAnalysisPass, RelAccessAnalysisResult> {
45 public:
46 RelAccessAnalysisResult run(const std::vector<Token>& tokens,
47 AnalysisManager& am) override;
48
49 [[nodiscard]] const char* getName() const override {
50 return "RelAccessAnalysisPass";
51 }
52};
53
54} // namespace analysis
55
56#endif // LLVMEXPR_ANALYSIS_PASSES_RELACCESSANALYSISPASS_HPP
const char * getName() const override
RelAccessAnalysisResult run(const std::vector< Token > &tokens, AnalysisManager &am) override
std::vector< RelYAccess > unique_rel_y_accesses