LLVM API Documentation

CodePlacementOpt.cpp File Reference

#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"

Include dependency graph for CodePlacementOpt.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "code-placement"

Functions

 STATISTIC (NumHeaderAligned,"Number of loop header aligned")
 STATISTIC (NumIntraElim,"Number of intra loop branches eliminated")
 STATISTIC (NumIntraMoved,"Number of intra loop branches moved")
FunctionPass * llvm::createCodePlacementOptPass ()


Define Documentation

#define DEBUG_TYPE   "code-placement"

Definition at line 15 of file CodePlacementOpt.cpp.


Function Documentation

STATISTIC ( NumIntraMoved  ,
"Number of intra loop branches moved"   
)

STATISTIC ( NumIntraElim  ,
"Number of intra loop branches eliminated"   
)

STATISTIC ( NumHeaderAligned  ,
"Number of loop header aligned"   
)


Variable Documentation

ChangedMBBs - BBs which are modified by OptimizeIntraLoopEdges.

Definition at line 38 of file CodePlacementOpt.cpp.

char ID [static]

Definition at line 49 of file CodePlacementOpt.cpp.

LoopHeaders - A list of BBs which are loop headers.

Definition at line 46 of file CodePlacementOpt.cpp.

Definition at line 33 of file CodePlacementOpt.cpp.

Definition at line 34 of file CodePlacementOpt.cpp.

UncondJmpMBBs - A list of BBs which are in loops and end with unconditional branches.

Definition at line 43 of file CodePlacementOpt.cpp.