MWCC/compiler_and_linker/FrontEnd/Optimizer/IroDump.h

28 lines
905 B
C

#ifndef COMPILER_IRODUMP_H
#define COMPILER_IRODUMP_H
#include "IrOptimizer.h"
#include "BitVector.h"
#include "compiler/enode.h"
extern char *IRO_NodeName(ENodeType nodetype);
extern void IRO_InitializeNodeNamesArray(void);
extern void IRO_DumpIntTree(IROLinear *linear);
extern void IRO_DumpLinearList(IROLinear *linear);
extern void IRO_DumpBits(char *name, BitVector *bv);
extern void IRO_DumpAfterPhase(char *str, Boolean flag);
extern void IRO_LogForFunction(char *name);
extern void IRO_DumpFlowgraph(void);
extern void IRO_DumpNode(IRONode *node);
extern void IRO_DumpAssignments(void);
extern void IRO_DumpVars(void);
extern void IRO_DumpDf(void);
extern void IRO_DumpExprs(void);
extern void IRO_SetupDump(void);
extern void IRO_CleanupDump(void);
extern void IRO_Dump(char *format, ...);
extern void IRO_DumpAddr(IROAddrRecord *rec);
extern void IRO_SpellType(Type *type, char *buf);
#endif