LLVM API Documentation

SPUInstrInfo.cpp File Reference

#include "SPURegisterNames.h"
#include "SPUInstrInfo.h"
#include "SPUInstrBuilder.h"
#include "SPUTargetMachine.h"
#include "SPUGenInstrInfo.inc"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/Support/Streams.h"
#include "llvm/Support/Debug.h"

Include dependency graph for SPUInstrInfo.cpp:

Go to the source code of this file.

Functions

bool isUncondBranch (const MachineInstr *I)
 Predicate for an unconditional branch instruction.
bool isCondBranch (const MachineInstr *I)
 Predicate for a conditional branch instruction.


Function Documentation

bool @782::isCondBranch ( const MachineInstr *  I  )  [inline, static]

Predicate for a conditional branch instruction.

Definition at line 36 of file SPUInstrInfo.cpp.

References llvm::MachineInstr::getOpcode().

Referenced by llvm::SPUInstrInfo::AnalyzeBranch(), and llvm::SPUInstrInfo::RemoveBranch().

bool @782::isUncondBranch ( const MachineInstr *  I  )  [inline, static]

Predicate for an unconditional branch instruction.

Definition at line 27 of file SPUInstrInfo.cpp.

References llvm::ISD::BR, and llvm::MachineInstr::getOpcode().

Referenced by llvm::SPUInstrInfo::AnalyzeBranch(), llvm::SPUInstrInfo::BlockHasNoFallThrough(), and llvm::SPUInstrInfo::RemoveBranch().