LLVM API Documentation

SparcV9PeepholeOpts.cpp File Reference

#include "SparcV9Internals.h"
#include "llvm/BasicBlock.h"
#include "llvm/Pass.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/ADT/STLExtras.h"

Include dependency graph for SparcV9PeepholeOpts.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm

Classes

class  llvm::PeepholeOpts

Functions

static void llvm::DeleteInstruction (MachineBasicBlock &mvec, MachineBasicBlock::iterator &BBI, const TargetMachine &target)
static bool llvm::IsUselessCopy (const TargetMachine &target, const MachineInstr *MI)
bool llvm::RemoveUselessCopies (MachineBasicBlock &mvec, MachineBasicBlock::iterator &BBI, const TargetMachine &target)
FunctionPass * llvm::createPeepholeOptsPass (const TargetMachine &TM)