LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
AMDILCFGStructurizer.cpp File Reference
#include "AMDGPU.h"
#include "AMDGPUInstrInfo.h"
#include "R600InstrInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/ADT/SCCIterator.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/Analysis/DominatorInternals.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionAnalysis.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachinePostDominators.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
Include dependency graph for AMDILCFGStructurizer.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "structcfg"
 
#define DEFAULT_VEC_SLOTS   8
 
#define SHOWNEWINSTR(i)   DEBUG(dbgs() << "New instr: " << *i << "\n");
 
#define SHOWNEWBLK(b, msg)
 
#define SHOWBLK_DETAIL(b, msg)
 
#define INVALIDSCCNUM   -1
 

Functions

 STATISTIC (numSerialPatternMatch,"CFGStructurizer number of serial pattern ""matched")
 
 STATISTIC (numIfPatternMatch,"CFGStructurizer number of if pattern ""matched")
 
 STATISTIC (numLoopcontPatternMatch,"CFGStructurizer number of loop-continue ""pattern matched")
 
 STATISTIC (numClonedBlock,"CFGStructurizer cloned blocks")
 
 STATISTIC (numClonedInstr,"CFGStructurizer cloned instructions")
 

Macro Definition Documentation

#define DEBUG_TYPE   "structcfg"

Definition at line 11 of file AMDILCFGStructurizer.cpp.

#define DEFAULT_VEC_SLOTS   8

Definition at line 38 of file AMDILCFGStructurizer.cpp.

#define INVALIDSCCNUM   -1

Definition at line 81 of file AMDILCFGStructurizer.cpp.

#define SHOWBLK_DETAIL (   b,
  msg 
)
Value:
if (b) { \
dbgs() << msg << "BB" << b->getNumber() << "size " << b->size(); \
b->print(dbgs()); \
dbgs() << "\n"; \
} \
);
raw_ostream & dbgs()
dbgs - Return a circular-buffered debug stream.
Definition: Debug.cpp:101
#define DEBUG(X)
Definition: Debug.h:97

Definition at line 72 of file AMDILCFGStructurizer.cpp.

#define SHOWNEWBLK (   b,
  msg 
)
Value:
dbgs() << msg << "BB" << b->getNumber() << "size " << b->size(); \
dbgs() << "\n"; \
);
raw_ostream & dbgs()
dbgs - Return a circular-buffered debug stream.
Definition: Debug.cpp:101
#define DEBUG(X)
Definition: Debug.h:97

Definition at line 66 of file AMDILCFGStructurizer.cpp.

#define SHOWNEWINSTR (   i)    DEBUG(dbgs() << "New instr: " << *i << "\n");

Definition at line 63 of file AMDILCFGStructurizer.cpp.

Function Documentation

STATISTIC ( numSerialPatternMatch  ,
"CFGStructurizer number of serial pattern ""matched"   
)
STATISTIC ( numIfPatternMatch  ,
"CFGStructurizer number of if pattern ""matched"   
)
STATISTIC ( numLoopcontPatternMatch  ,
"CFGStructurizer number of loop-continue ""pattern matched"   
)
STATISTIC ( numClonedBlock  ,
"CFGStructurizer cloned blocks"   
)
STATISTIC ( numClonedInstr  ,
"CFGStructurizer cloned instructions  
)