From 3ab0ba3cd8a499ebcc7eda3d7585c5ab4e7f0711 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Thu, 14 Mar 2013 15:50:45 +0000 Subject: R600: Factorize code handling Const Read Port limitation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177078 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/R600InstrInfo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/Target/R600/R600InstrInfo.h') diff --git a/lib/Target/R600/R600InstrInfo.h b/lib/Target/R600/R600InstrInfo.h index efe721c00c..bf9569e659 100644 --- a/lib/Target/R600/R600InstrInfo.h +++ b/lib/Target/R600/R600InstrInfo.h @@ -53,6 +53,9 @@ namespace llvm { /// \returns true if this \p Opcode represents an ALU instruction. bool isALUInstr(unsigned Opcode) const; + bool fitsConstReadLimitations(const std::vector&) const; + bool canBundle(const std::vector &) const; + /// \breif Vector instructions are instructions that must fill all /// instruction slots within an instruction group. bool isVector(const MachineInstr &MI) const; -- cgit v1.2.3-18-g5258