LLVM API Documentation
#include "PPC.h"
#include "PPCInstrBuilder.h"
#include "PPCInstrInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/Support/Visibility.h"
#include <map>
Include dependency graph for PPCBranchSelector.cpp:
Go to the source code of this file.
Functions | |
FunctionPass * | llvm::createPPCBranchSelectionPass () |
static unsigned | getNumBytesForInstruction (MachineInstr *MI) |
static unsigned getNumBytesForInstruction | ( | MachineInstr * | MI | ) | [static] |
getNumBytesForInstruction - Return the number of bytes of code the specified instruction may be. This returns the maximum number of bytes.
Definition at line 49 of file PPCBranchSelector.cpp.
References llvm::PPCISD::COND_BRANCH, llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getSymbolName(), llvm::ISD::INLINEASM, llvm::MachineOperand::isExternalSymbol(), and MI.
std::map<MachineBasicBlock*, unsigned> OffsetMap |
Definition at line 29 of file PPCBranchSelector.cpp.