summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/R600InstrInfo.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-31 20:35:18 -0400
committerTom Stellard <[email protected]>2012-06-01 11:28:11 -0400
commitd6c2d3722d795381d3cdf11fe00f63780ad0725a (patch)
tree05b75b2f5a1ac26b476d1851cc62b27fbcc5640a /src/gallium/drivers/radeon/R600InstrInfo.h
parent65917004d99ccb79f709e621f8f6cf66715ffdca (diff)
radeon/llvm: Eliminate CFGStructurizer dependency on AMDIL instructions
Add some hooks to the R600,SI InstrInfo and RegisterInfo classes, so that the CFGStructurizer pass can run without any relying on AMDIL instructions.
Diffstat (limited to 'src/gallium/drivers/radeon/R600InstrInfo.h')
-rw-r--r--src/gallium/drivers/radeon/R600InstrInfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/R600InstrInfo.h b/src/gallium/drivers/radeon/R600InstrInfo.h
index 9dca4839090..2b5e5c42995 100644
--- a/src/gallium/drivers/radeon/R600InstrInfo.h
+++ b/src/gallium/drivers/radeon/R600InstrInfo.h
@@ -47,7 +47,11 @@ namespace llvm {
unsigned getLSHRop() const;
unsigned getASHRop() const;
- };
+ virtual MachineInstr * getMovImmInstr(MachineFunction *MF, unsigned DstReg,
+ int64_t Imm) const;
+
+ virtual unsigned getIEQOpcode() const;
+};
} // End llvm namespace