LLVM API Documentation
#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"
Go to the source code of this file.
Macros | |
#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 DEBUG_TYPE "systemz-elim-compare" |
Definition at line 16 of file SystemZElimCompare.cpp.
|
static |
Definition at line 100 of file SystemZElimCompare.cpp.
References llvm::MachineBasicBlock::succ_begin(), and llvm::MachineBasicBlock::succ_end().
|
static |
Definition at line 304 of file SystemZElimCompare.cpp.
References llvm::MachineOperand::getImm(), llvm::MachineInstr::getNumExplicitOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), and llvm::MachineOperand::isImm().
|
static |
Definition at line 110 of file SystemZElimCompare.cpp.
References llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getSubReg(), llvm::MachineOperand::isDef(), llvm::MachineOperand::isReg(), and llvm::MipsISD::LDR.
STATISTIC | ( | BranchOnCounts | , |
"Number of branch-on-count instructions" | |||
) |
STATISTIC | ( | EliminatedComparisons | , |
"Number of eliminated comparisons" | |||
) |
STATISTIC | ( | FusedComparisons | , |
"Number of fused compare-and-branch instructions" | |||
) |