Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
IR::OperatorPrinter Struct Reference

#include <OperatorPrinter.h>

Public Types

typedef std::string Result
 

Public Member Functions

 OperatorPrinter (const Module &inModule, const FunctionDef &inFunctionDef)
 
std::string unknown (Opcode opcode)
 

Detailed Description

Definition at line 11 of file OperatorPrinter.h.

Member Typedef Documentation

◆ Result

Definition at line 13 of file OperatorPrinter.h.

Constructor & Destructor Documentation

◆ OperatorPrinter()

IR::OperatorPrinter::OperatorPrinter ( const Module & inModule,
const FunctionDef & inFunctionDef )
inline

Definition at line 15 of file OperatorPrinter.h.

16 : module(inModule), functionDef(inFunctionDef) {}

Member Function Documentation

◆ unknown()

std::string IR::OperatorPrinter::unknown ( Opcode opcode)
inline

Definition at line 26 of file OperatorPrinter.h.

27 {
28 return "<unknown opcode " + std::to_string((Uptr)opcode) + ">";
29 }
PointerIntHelper< sizeof(size_t)>::UnsignedIntType Uptr
Definition BasicTypes.h:22

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