Class CFG
Defined in File spirv_cfg.hpp
Nested Relationships
Nested Types
Class Documentation
-
class CFG
Public Functions
-
CFG(Compiler &compiler, const SPIRFunction &function)
-
inline const SPIRFunction &get_function() const
-
inline uint32_t get_immediate_dominator(uint32_t block) const
-
inline bool is_reachable(uint32_t block) const
-
inline uint32_t get_visit_order(uint32_t block) const
-
uint32_t find_common_dominator(uint32_t a, uint32_t b) const
-
inline const SmallVector<uint32_t> &get_preceding_edges(uint32_t block) const
-
inline const SmallVector<uint32_t> &get_succeeding_edges(uint32_t block) const
-
template<typename Op>
inline void walk_from(std::unordered_set<uint32_t> &seen_blocks, uint32_t block, const Op &op) const
-
uint32_t find_loop_dominator(uint32_t block) const
-
CFG(Compiler &compiler, const SPIRFunction &function)