summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU/SPUInstrInfo.h
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2008-01-30 02:55:46 +0000
committerScott Michel <scottm@aero.org>2008-01-30 02:55:46 +0000
commitbb713ae0c7d8415a814833bf271d4f1fdd776ec1 (patch)
tree7e9465759ec203e998dfb71f1668030e96e4a91b /llvm/lib/Target/CellSPU/SPUInstrInfo.h
parent9d92ce8b3a44ed72d4e267947e9676c647a84564 (diff)
downloadbcm5719-llvm-bb713ae0c7d8415a814833bf271d4f1fdd776ec1.tar.gz
bcm5719-llvm-bb713ae0c7d8415a814833bf271d4f1fdd776ec1.zip
More cleanups for CellSPU:
- Expand tabs... (poss 80-col violations, will get them later...) - Consolidate logic for SelectDFormAddr and SelectDForm2Addr into a single function, simplifying maintenance. Also reduced custom instruction generation for SPUvecinsert/INSERT_MASK. llvm-svn: 46544
Diffstat (limited to 'llvm/lib/Target/CellSPU/SPUInstrInfo.h')
-rw-r--r--llvm/lib/Target/CellSPU/SPUInstrInfo.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUInstrInfo.h b/llvm/lib/Target/CellSPU/SPUInstrInfo.h
index e2ecf9b797f..10c39a0545e 100644
--- a/llvm/lib/Target/CellSPU/SPUInstrInfo.h
+++ b/llvm/lib/Target/CellSPU/SPUInstrInfo.h
@@ -40,8 +40,8 @@ namespace llvm {
// leave the source and dest operands in the passed parameters.
//
virtual bool isMoveInstr(const MachineInstr& MI,
- unsigned& sourceReg,
- unsigned& destReg) const;
+ unsigned& sourceReg,
+ unsigned& destReg) const;
unsigned isLoadFromStackSlot(MachineInstr *MI, int &FrameIndex) const;
unsigned isStoreToStackSlot(MachineInstr *MI, int &FrameIndex) const;
@@ -60,9 +60,9 @@ namespace llvm {
//! Store a register to an address, based on its register class
virtual void storeRegToAddr(MachineFunction &MF, unsigned SrcReg, bool isKill,
- SmallVectorImpl<MachineOperand> &Addr,
- const TargetRegisterClass *RC,
- SmallVectorImpl<MachineInstr*> &NewMIs) const;
+ SmallVectorImpl<MachineOperand> &Addr,
+ const TargetRegisterClass *RC,
+ SmallVectorImpl<MachineInstr*> &NewMIs) const;
//! Load a register from a stack slot, based on its register class.
virtual void loadRegFromStackSlot(MachineBasicBlock &MBB,
@@ -72,8 +72,8 @@ namespace llvm {
//! Loqad a register from an address, based on its register class
virtual void loadRegFromAddr(MachineFunction &MF, unsigned DestReg,
- SmallVectorImpl<MachineOperand> &Addr,
- const TargetRegisterClass *RC,
+ SmallVectorImpl<MachineOperand> &Addr,
+ const TargetRegisterClass *RC,
SmallVectorImpl<MachineInstr*> &NewMIs) const;
//! Fold spills into load/store instructions
OpenPOWER on IntegriCloud