Adaptyst
A comprehensive and architecture-agnostic performance analysis tool
Loading...
Searching...
No Matches
ir Struct Reference

#include <hw.h>

Public Attributes

unsigned int type
void * data

Detailed Description

Struct describing the intermediate representation (IR) of a workflow.

Member Data Documentation

◆ data

void* ir::data
   Pointer to data storing the IR.

   See the value of the "type" member and the documentation
   corresponding to that value to determine what type the pointer
   should be cast to.

   For example, if your documentation says that the data pointer
   is of type XYZ*, you need to write something along the lines of:

   ```c

ir workflow = ...; XYZ* ir_data = (XYZ*) workflow.data; ```

◆ type

unsigned int ir::type

Type of IR telling you how to cast the "data" member.

The value is one of the ADAPTYST_IR_* definitions.


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