MLIR  20.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"

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 spirv.mlir.selection/spirv.mlir.loop later.

Definition at line 38 of file Deserializer.h.

Constructor & Destructor Documentation

◆ BlockMergeInfo() [1/2]

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

Definition at line 44 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 47 of file Deserializer.h.

Member Data Documentation

◆ continueBlock

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

Definition at line 40 of file Deserializer.h.

◆ control

uint32_t mlir::spirv::BlockMergeInfo::control

Definition at line 42 of file Deserializer.h.

◆ loc

Location mlir::spirv::BlockMergeInfo::loc

Definition at line 41 of file Deserializer.h.

◆ mergeBlock

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

Definition at line 39 of file Deserializer.h.


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