LLVM API Documentation

Defines | Functions
SystemZElimCompare.cpp File Reference
#include "SystemZTargetMachine.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
Include dependency graph for SystemZElimCompare.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "systemz-elim-compare"

Functions

 STATISTIC (BranchOnCounts,"Number of branch-on-count instructions")
 STATISTIC (EliminatedComparisons,"Number of eliminated comparisons")
 STATISTIC (FusedComparisons,"Number of fused compare-and-branch instructions")
static bool isCCLiveOut (MachineBasicBlock &MBB)
static bool resultTests (MachineInstr *MI, unsigned Reg, unsigned SubReg)
static bool isCompareZero (MachineInstr *Compare)

Define Documentation

#define DEBUG_TYPE   "systemz-elim-compare"

Definition at line 29 of file SystemZElimCompare.cpp.


Function Documentation

static bool isCCLiveOut ( MachineBasicBlock MBB) [static]
static bool isCompareZero ( MachineInstr Compare) [static]
static bool resultTests ( MachineInstr MI,
unsigned  Reg,
unsigned  SubReg 
) [static]
STATISTIC ( BranchOnCounts  ,
"Number of branch-on-count instructions  
)
STATISTIC ( EliminatedComparisons  ,
"Number of eliminated comparisons"   
)
STATISTIC ( FusedComparisons  ,
"Number of fused compare-and-branch instructions  
)