VapourSynth-llvmexpr
Loading...
Searching...
No Matches
BlockAnalysisPass.hpp
Go to the documentation of this file.
1
19
20#ifndef LLVMEXPR_ANALYSIS_BLOCK_ANALYSIS_PASS_HPP
21#define LLVMEXPR_ANALYSIS_BLOCK_ANALYSIS_PASS_HPP
22
24#include "../framework/Pass.hpp"
25
26#include <vector>
27
28namespace analysis {
29
31 std::vector<CFGBlock> cfg_blocks;
32};
33
42 : public AnalysisPass<BlockAnalysisPass, BlockAnalysisResult> {
43 public:
45
46 [[nodiscard]] const char* getName() const override {
47 return "Block Analysis Pass";
48 }
49
50 Result run(const std::vector<Token>& tokens, AnalysisManager& am) override;
51};
52
53} // namespace analysis
54
55#endif // LLVMEXPR_ANALYSIS_BLOCK_ANALYSIS_PASS_HPP
Result run(const std::vector< Token > &tokens, AnalysisManager &am) override
const char * getName() const override
std::vector< CFGBlock > cfg_blocks