summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/R600InstrInfo.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-08-21 19:30:26 +0000
committerTom Stellard <[email protected]>2012-08-23 15:00:47 +0000
commit3a7a56e7aa56bc6cb847c241ef6bd749713ae6e1 (patch)
tree928bde6156b305c69e2bb067e9b95fc6ed9a203a /src/gallium/drivers/radeon/R600InstrInfo.h
parentbee2edbf3d2da2c2351c70e56da0dca205caa8ea (diff)
radeon/llvm: Encapsulate setting of MachineOperand flags
MachineOperand flags will be removed soon, so it is convienent to have only one function that modifies them.
Diffstat (limited to 'src/gallium/drivers/radeon/R600InstrInfo.h')
-rw-r--r--src/gallium/drivers/radeon/R600InstrInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600InstrInfo.h b/src/gallium/drivers/radeon/R600InstrInfo.h
index 6e184cccf9b..20de7dc7f2d 100644
--- a/src/gallium/drivers/radeon/R600InstrInfo.h
+++ b/src/gallium/drivers/radeon/R600InstrInfo.h
@@ -111,6 +111,9 @@ namespace llvm {
virtual int getInstrLatency(const InstrItineraryData *ItinData,
SDNode *Node) const { return 1;}
+
+ ///AddFlag - Add one of the MO_FLAG* flags to the specified Operand.
+ void AddFlag(MachineInstr *MI, unsigned Operand, unsigned Flag) const;
};
} // End llvm namespace