MLIR  16.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::spirv::BlockMergeInfo Struct Reference

A struct for containing a header block's merge and continue targets. More...

#include "Target/SPIRV/Deserialization/Deserializer.h"

+ Collaboration diagram for mlir::spirv::BlockMergeInfo:

Public Member Functions

 BlockMergeInfo (Location location, uint32_t control)
 
 BlockMergeInfo (Location location, uint32_t control, Block *m, Block *c=nullptr)
 

Public Attributes

BlockmergeBlock
 
BlockcontinueBlock
 
Location loc
 
uint32_t control
 

Detailed Description

A struct for containing a header block's merge and continue targets.

This struct is used to track original structured control flow info from SPIR-V blob. This info will be used to create spv.mlir.selection/spv.mlir.loop later.

Definition at line 37 of file Deserializer.h.

Constructor & Destructor Documentation

◆ BlockMergeInfo() [1/2]

mlir::spirv::BlockMergeInfo::BlockMergeInfo ( Location  location,
uint32_t  control 
)
inline

Definition at line 43 of file Deserializer.h.

◆ BlockMergeInfo() [2/2]

mlir::spirv::BlockMergeInfo::BlockMergeInfo ( Location  location,
uint32_t  control,
Block m,
Block c = nullptr 
)
inline

Definition at line 46 of file Deserializer.h.

Member Data Documentation

◆ continueBlock

Block* mlir::spirv::BlockMergeInfo::continueBlock

Definition at line 39 of file Deserializer.h.

Referenced by mlir::spirv::Deserializer::collect().

◆ control

uint32_t mlir::spirv::BlockMergeInfo::control

Definition at line 41 of file Deserializer.h.

Referenced by mlir::spirv::Deserializer::collect().

◆ loc

Location mlir::spirv::BlockMergeInfo::loc

Definition at line 40 of file Deserializer.h.

Referenced by mlir::spirv::Deserializer::collect().

◆ mergeBlock

Block* mlir::spirv::BlockMergeInfo::mergeBlock

Definition at line 38 of file Deserializer.h.

Referenced by mlir::spirv::Deserializer::collect().


The documentation for this struct was generated from the following file: