diff options
Diffstat (limited to 'src/gallium/drivers/radeon/R600InstrInfo.h')
-rw-r--r-- | src/gallium/drivers/radeon/R600InstrInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600InstrInfo.h b/src/gallium/drivers/radeon/R600InstrInfo.h index 20de7dc7f2d..5e160a0d57a 100644 --- a/src/gallium/drivers/radeon/R600InstrInfo.h +++ b/src/gallium/drivers/radeon/R600InstrInfo.h @@ -112,8 +112,13 @@ namespace llvm { virtual int getInstrLatency(const InstrItineraryData *ItinData, SDNode *Node) const { return 1;} + bool HasFlagOperand(const MachineInstr &MI) const; + ///AddFlag - Add one of the MO_FLAG* flags to the specified Operand. void AddFlag(MachineInstr *MI, unsigned Operand, unsigned Flag) const; + + ///IsFlagSet - Determine if the specified flag is set on this Operand. + bool IsFlagSet(const MachineInstr &MI, unsigned Operand, unsigned Flag) const; }; } // End llvm namespace @@ -127,6 +132,7 @@ namespace R600_InstFlag { TRIG = (1 << 4), OP3 = (1 << 5), VECTOR = (1 << 6) + //FlagOperand bits 7, 8 }; } |