blob: a280052dbd4a3f4b9c1f335a2e18764b7b9426d7 [file] [log] [blame]
Tom Stellard75aadc22012-12-11 21:25:42 +00001//===-- R600InstrInfo.h - R600 Instruction Info Interface -------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10/// \file
11/// \brief Interface definition for R600InstrInfo
12//
13//===----------------------------------------------------------------------===//
14
Matt Arsenault6b6a2c32016-03-11 08:00:27 +000015#ifndef LLVM_LIB_TARGET_AMDGPU_R600INSTRINFO_H
16#define LLVM_LIB_TARGET_AMDGPU_R600INSTRINFO_H
Tom Stellard75aadc22012-12-11 21:25:42 +000017
Tom Stellard75aadc22012-12-11 21:25:42 +000018#include "AMDGPUInstrInfo.h"
Tom Stellard75aadc22012-12-11 21:25:42 +000019#include "R600RegisterInfo.h"
Tom Stellard75aadc22012-12-11 21:25:42 +000020
21namespace llvm {
Matt Arsenault44f6d692016-08-13 01:43:46 +000022
23namespace R600InstrFlags {
Reid Kleckner229d32a2016-08-15 23:54:44 +000024enum : uint64_t {
Matt Arsenault44f6d692016-08-13 01:43:46 +000025 REGISTER_STORE = UINT64_C(1) << 62,
26 REGISTER_LOAD = UINT64_C(1) << 63
27};
28}
29
Matt Arsenault43e92fe2016-06-24 06:30:11 +000030class AMDGPUTargetMachine;
31class DFAPacketizer;
32class MachineFunction;
33class MachineInstr;
34class MachineInstrBuilder;
35class R600Subtarget;
Tom Stellard75aadc22012-12-11 21:25:42 +000036
Matt Arsenault43e92fe2016-06-24 06:30:11 +000037class R600InstrInfo final : public AMDGPUInstrInfo {
38private:
Tom Stellard75aadc22012-12-11 21:25:42 +000039 const R600RegisterInfo RI;
Matt Arsenault43e92fe2016-06-24 06:30:11 +000040 const R600Subtarget &ST;
Tom Stellard75aadc22012-12-11 21:25:42 +000041
Matt Arsenault43e92fe2016-06-24 06:30:11 +000042 std::vector<std::pair<int, unsigned>>
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +000043 ExtractSrcs(MachineInstr &MI, const DenseMap<unsigned, unsigned> &PV,
Matt Arsenault43e92fe2016-06-24 06:30:11 +000044 unsigned &ConstCount) const;
Tom Stellard880a80a2014-06-17 16:53:14 +000045
46 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
47 MachineBasicBlock::iterator I,
48 unsigned ValueReg, unsigned Address,
49 unsigned OffsetReg,
50 unsigned AddrChan) const;
51
52 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
Matt Arsenault43e92fe2016-06-24 06:30:11 +000053 MachineBasicBlock::iterator I,
54 unsigned ValueReg, unsigned Address,
55 unsigned OffsetReg,
56 unsigned AddrChan) const;
57public:
Vincent Lejeune0fca91d2013-05-17 16:50:02 +000058 enum BankSwizzle {
Vincent Lejeunebb8a87212013-06-29 19:32:29 +000059 ALU_VEC_012_SCL_210 = 0,
60 ALU_VEC_021_SCL_122,
61 ALU_VEC_120_SCL_212,
62 ALU_VEC_102_SCL_221,
Vincent Lejeune0fca91d2013-05-17 16:50:02 +000063 ALU_VEC_201,
64 ALU_VEC_210
65 };
66
Matt Arsenault43e92fe2016-06-24 06:30:11 +000067 explicit R600InstrInfo(const R600Subtarget &);
Tom Stellard75aadc22012-12-11 21:25:42 +000068
Matt Arsenault43e92fe2016-06-24 06:30:11 +000069 const R600RegisterInfo &getRegisterInfo() const {
70 return RI;
71 }
72
Benjamin Kramerbdc49562016-06-12 15:39:02 +000073 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
74 const DebugLoc &DL, unsigned DestReg, unsigned SrcReg,
Craig Topper5656db42014-04-29 07:57:24 +000075 bool KillSrc) const override;
Tom Stellardcd6b0a62013-11-22 00:41:08 +000076 bool isLegalToSplitMBBAt(MachineBasicBlock &MBB,
Craig Topper5656db42014-04-29 07:57:24 +000077 MachineBasicBlock::iterator MBBI) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +000078
Tom Stellard75aadc22012-12-11 21:25:42 +000079 bool isReductionOp(unsigned opcode) const;
80 bool isCubeOp(unsigned opcode) const;
81
82 /// \returns true if this \p Opcode represents an ALU instruction.
83 bool isALUInstr(unsigned Opcode) const;
Tom Stellardc026e8b2013-06-28 15:47:08 +000084 bool hasInstrModifiers(unsigned Opcode) const;
85 bool isLDSInstr(unsigned Opcode) const;
Tom Stellard8f9fc202013-11-15 00:12:45 +000086 bool isLDSRetInstr(unsigned Opcode) const;
Tom Stellard75aadc22012-12-11 21:25:42 +000087
Vincent Lejeunea4da6fb2013-10-01 19:32:58 +000088 /// \returns true if this \p Opcode represents an ALU instruction or an
89 /// instruction that will be lowered in ExpandSpecialInstrs Pass.
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +000090 bool canBeConsideredALU(const MachineInstr &MI) const;
Vincent Lejeunea4da6fb2013-10-01 19:32:58 +000091
Vincent Lejeune076c0b22013-04-30 00:14:17 +000092 bool isTransOnly(unsigned Opcode) const;
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +000093 bool isTransOnly(const MachineInstr &MI) const;
Vincent Lejeune4d5c5e52013-09-04 19:53:30 +000094 bool isVectorOnly(unsigned Opcode) const;
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +000095 bool isVectorOnly(const MachineInstr &MI) const;
Tom Stellard676c16d2013-08-16 01:11:51 +000096 bool isExport(unsigned Opcode) const;
Vincent Lejeune076c0b22013-04-30 00:14:17 +000097
Vincent Lejeunec2991642013-04-30 00:13:39 +000098 bool usesVertexCache(unsigned Opcode) const;
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +000099 bool usesVertexCache(const MachineInstr &MI) const;
Vincent Lejeunec2991642013-04-30 00:13:39 +0000100 bool usesTextureCache(unsigned Opcode) const;
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +0000101 bool usesTextureCache(const MachineInstr &MI) const;
Vincent Lejeunec2991642013-04-30 00:13:39 +0000102
Tom Stellardce540332013-06-28 15:46:59 +0000103 bool mustBeLastInClause(unsigned Opcode) const;
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +0000104 bool usesAddressRegister(MachineInstr &MI) const;
105 bool definesAddressRegister(MachineInstr &MI) const;
106 bool readsLDSSrcReg(const MachineInstr &MI) const;
Tom Stellardce540332013-06-28 15:46:59 +0000107
Tom Stellard84021442013-07-23 01:48:24 +0000108 /// \returns The operand Index for the Sel operand given an index to one
109 /// of the instruction's src operands.
110 int getSelIdx(unsigned Opcode, unsigned SrcIdx) const;
111
Vincent Lejeune0fca91d2013-05-17 16:50:02 +0000112 /// \returns a pair for each src of an ALU instructions.
113 /// The first member of a pair is the register id.
114 /// If register is ALU_CONST, second member is SEL.
115 /// If register is ALU_LITERAL, second member is IMM.
116 /// Otherwise, second member value is undefined.
117 SmallVector<std::pair<MachineOperand *, int64_t>, 3>
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +0000118 getSrcs(MachineInstr &MI) const;
Vincent Lejeune0fca91d2013-05-17 16:50:02 +0000119
Vincent Lejeune77a83522013-06-29 19:32:43 +0000120 unsigned isLegalUpTo(
121 const std::vector<std::vector<std::pair<int, unsigned> > > &IGSrcs,
122 const std::vector<R600InstrInfo::BankSwizzle> &Swz,
123 const std::vector<std::pair<int, unsigned> > &TransSrcs,
124 R600InstrInfo::BankSwizzle TransSwz) const;
125
126 bool FindSwizzleForVectorSlot(
127 const std::vector<std::vector<std::pair<int, unsigned> > > &IGSrcs,
128 std::vector<R600InstrInfo::BankSwizzle> &SwzCandidate,
129 const std::vector<std::pair<int, unsigned> > &TransSrcs,
130 R600InstrInfo::BankSwizzle TransSwz) const;
Tom Stellardc026e8b2013-06-28 15:47:08 +0000131
Vincent Lejeune0fca91d2013-05-17 16:50:02 +0000132 /// Given the order VEC_012 < VEC_021 < VEC_120 < VEC_102 < VEC_201 < VEC_210
133 /// returns true and the first (in lexical order) BankSwizzle affectation
134 /// starting from the one already provided in the Instruction Group MIs that
135 /// fits Read Port limitations in BS if available. Otherwise returns false
136 /// and undefined content in BS.
Vincent Lejeune77a83522013-06-29 19:32:43 +0000137 /// isLastAluTrans should be set if the last Alu of MIs will be executed on
138 /// Trans ALU. In this case, ValidTSwizzle returns the BankSwizzle value to
139 /// apply to the last instruction.
Vincent Lejeune0fca91d2013-05-17 16:50:02 +0000140 /// PV holds GPR to PV registers in the Instruction Group MIs.
141 bool fitsReadPortLimitations(const std::vector<MachineInstr *> &MIs,
142 const DenseMap<unsigned, unsigned> &PV,
Vincent Lejeune77a83522013-06-29 19:32:43 +0000143 std::vector<BankSwizzle> &BS,
144 bool isLastAluTrans) const;
145
146 /// An instruction group can only access 2 channel pair (either [XY] or [ZW])
147 /// from KCache bank on R700+. This function check if MI set in input meet
148 /// this limitations
149 bool fitsConstReadLimitations(const std::vector<MachineInstr *> &) const;
150 /// Same but using const index set instead of MI set.
Vincent Lejeune0a22bc42013-03-14 15:50:45 +0000151 bool fitsConstReadLimitations(const std::vector<unsigned>&) const;
Vincent Lejeune0a22bc42013-03-14 15:50:45 +0000152
Alp Tokercb402912014-01-24 17:20:08 +0000153 /// \brief Vector instructions are instructions that must fill all
Tom Stellard75aadc22012-12-11 21:25:42 +0000154 /// instruction slots within an instruction group.
155 bool isVector(const MachineInstr &MI) const;
156
Tom Stellard2ff72622016-01-28 16:04:37 +0000157 bool isMov(unsigned Opcode) const;
Tom Stellard75aadc22012-12-11 21:25:42 +0000158
Eric Christopher143f02c2014-10-09 01:59:35 +0000159 DFAPacketizer *
160 CreateTargetScheduleState(const TargetSubtargetInfo &) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000161
Matt Arsenault1b9fc8e2016-09-14 20:43:16 +0000162 bool reverseBranchCondition(
Matt Arsenault43e92fe2016-06-24 06:30:11 +0000163 SmallVectorImpl<MachineOperand> &Cond) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000164
Jacques Pienaar71c30a12016-07-15 14:41:04 +0000165 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
Matt Arsenault43e92fe2016-06-24 06:30:11 +0000166 MachineBasicBlock *&FBB,
167 SmallVectorImpl<MachineOperand> &Cond,
168 bool AllowModify) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000169
Matt Arsenaulte8e0f5c2016-09-14 17:24:15 +0000170 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
Ahmed Bougachac88bf542015-06-11 19:30:37 +0000171 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
Matt Arsenaulta2b036e2016-09-14 17:23:48 +0000172 const DebugLoc &DL,
173 int *BytesAdded = nullptr) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000174
Matt Arsenault1b9fc8e2016-09-14 20:43:16 +0000175 unsigned removeBranch(MachineBasicBlock &MBB,
Matt Arsenaulta2b036e2016-09-14 17:23:48 +0000176 int *BytesRemvoed = nullptr) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000177
Duncan P. N. Exon Smith6307eb52016-02-23 02:46:52 +0000178 bool isPredicated(const MachineInstr &MI) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000179
Duncan P. N. Exon Smith6307eb52016-02-23 02:46:52 +0000180 bool isPredicable(MachineInstr &MI) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000181
Matt Arsenault43e92fe2016-06-24 06:30:11 +0000182 bool isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,
183 BranchProbability Probability) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000184
185 bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,
186 unsigned ExtraPredCycles,
Cong Houc536bd92015-09-10 23:10:42 +0000187 BranchProbability Probability) const override ;
Tom Stellard75aadc22012-12-11 21:25:42 +0000188
Matt Arsenault43e92fe2016-06-24 06:30:11 +0000189 bool isProfitableToIfCvt(MachineBasicBlock &TMBB,
190 unsigned NumTCycles, unsigned ExtraTCycles,
191 MachineBasicBlock &FMBB,
192 unsigned NumFCycles, unsigned ExtraFCycles,
193 BranchProbability Probability) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000194
Duncan P. N. Exon Smith6307eb52016-02-23 02:46:52 +0000195 bool DefinesPredicate(MachineInstr &MI,
196 std::vector<MachineOperand> &Pred) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000197
Tom Stellard75aadc22012-12-11 21:25:42 +0000198 bool isProfitableToUnpredicate(MachineBasicBlock &TMBB,
Matt Arsenault43e92fe2016-06-24 06:30:11 +0000199 MachineBasicBlock &FMBB) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000200
Duncan P. N. Exon Smith6307eb52016-02-23 02:46:52 +0000201 bool PredicateInstruction(MachineInstr &MI,
Ahmed Bougachac88bf542015-06-11 19:30:37 +0000202 ArrayRef<MachineOperand> Pred) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000203
Duncan P. N. Exon Smith6307eb52016-02-23 02:46:52 +0000204 unsigned int getPredicationCost(const MachineInstr &) const override;
Arnold Schwaighoferd2f96b92013-09-30 15:28:56 +0000205
Tom Stellard75aadc22012-12-11 21:25:42 +0000206 unsigned int getInstrLatency(const InstrItineraryData *ItinData,
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +0000207 const MachineInstr &MI,
Craig Topper5656db42014-04-29 07:57:24 +0000208 unsigned *PredCost = nullptr) const override;
Tom Stellard75aadc22012-12-11 21:25:42 +0000209
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +0000210 bool expandPostRAPseudo(MachineInstr &MI) const override;
Tom Stellard880a80a2014-06-17 16:53:14 +0000211
Tom Stellard81d871d2013-11-13 23:36:50 +0000212 /// \brief Reserve the registers that may be accesed using indirect addressing.
213 void reserveIndirectRegisters(BitVector &Reserved,
214 const MachineFunction &MF) const;
Tom Stellardf3b2a1e2013-02-06 17:32:29 +0000215
Tom Stellard1242ce92016-02-05 18:44:57 +0000216 /// Calculate the "Indirect Address" for the given \p RegIndex and
217 /// \p Channel
218 ///
219 /// We model indirect addressing using a virtual address space that can be
220 /// accesed with loads and stores. The "Indirect Address" is the memory
221 /// address in this virtual address space that maps to the given \p RegIndex
222 /// and \p Channel.
223 unsigned calculateIndirectAddress(unsigned RegIndex, unsigned Channel) const;
224
Tom Stellardf3b2a1e2013-02-06 17:32:29 +0000225
Matt Arsenault52a4d9b2016-07-09 18:11:15 +0000226 /// \returns The register class to be used for loading and storing values
227 /// from an "Indirect Address" .
228 const TargetRegisterClass *getIndirectAddrRegClass() const;
229
230 /// \returns the smallest register index that will be accessed by an indirect
231 /// read or write or -1 if indirect addressing is not used by this program.
232 int getIndirectIndexBegin(const MachineFunction &MF) const;
233
234 /// \returns the largest register index that will be accessed by an indirect
235 /// read or write or -1 if indirect addressing is not used by this program.
236 int getIndirectIndexEnd(const MachineFunction &MF) const;
Tom Stellardf3b2a1e2013-02-06 17:32:29 +0000237
Tom Stellard1242ce92016-02-05 18:44:57 +0000238 /// \brief Build instruction(s) for an indirect register write.
239 ///
240 /// \returns The instruction that performs the indirect register write
Craig Topper5656db42014-04-29 07:57:24 +0000241 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
Tom Stellard1242ce92016-02-05 18:44:57 +0000242 MachineBasicBlock::iterator I,
243 unsigned ValueReg, unsigned Address,
244 unsigned OffsetReg) const;
Tom Stellardf3b2a1e2013-02-06 17:32:29 +0000245
Tom Stellard1242ce92016-02-05 18:44:57 +0000246 /// \brief Build instruction(s) for an indirect register read.
247 ///
248 /// \returns The instruction that performs the indirect register read
Craig Topper5656db42014-04-29 07:57:24 +0000249 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
250 MachineBasicBlock::iterator I,
251 unsigned ValueReg, unsigned Address,
Tom Stellard1242ce92016-02-05 18:44:57 +0000252 unsigned OffsetReg) const;
Tom Stellardf3b2a1e2013-02-06 17:32:29 +0000253
Vincent Lejeune80031d9f2013-04-03 16:49:34 +0000254 unsigned getMaxAlusPerClause() const;
Tom Stellardf3b2a1e2013-02-06 17:32:29 +0000255
Matt Arsenault43e92fe2016-06-24 06:30:11 +0000256 /// buildDefaultInstruction - This function returns a MachineInstr with all
257 /// the instruction modifiers initialized to their default values. You can
258 /// use this function to avoid manually specifying each instruction modifier
259 /// operand when building a new instruction.
Tom Stellard75aadc22012-12-11 21:25:42 +0000260 ///
261 /// \returns a MachineInstr with all the instruction modifiers initialized
262 /// to their default values.
263 MachineInstrBuilder buildDefaultInstruction(MachineBasicBlock &MBB,
264 MachineBasicBlock::iterator I,
265 unsigned Opcode,
266 unsigned DstReg,
267 unsigned Src0Reg,
268 unsigned Src1Reg = 0) const;
269
Vincent Lejeune519f21e2013-05-17 16:50:32 +0000270 MachineInstr *buildSlotOfVectorInstruction(MachineBasicBlock &MBB,
271 MachineInstr *MI,
272 unsigned Slot,
273 unsigned DstReg) const;
274
Tom Stellard75aadc22012-12-11 21:25:42 +0000275 MachineInstr *buildMovImm(MachineBasicBlock &BB,
Matt Arsenault43e92fe2016-06-24 06:30:11 +0000276 MachineBasicBlock::iterator I,
277 unsigned DstReg,
278 uint64_t Imm) const;
Tom Stellard75aadc22012-12-11 21:25:42 +0000279
Tom Stellard26a3b672013-10-22 18:19:10 +0000280 MachineInstr *buildMovInstr(MachineBasicBlock *MBB,
281 MachineBasicBlock::iterator I,
Tom Stellard2ff72622016-01-28 16:04:37 +0000282 unsigned DstReg, unsigned SrcReg) const;
Tom Stellard26a3b672013-10-22 18:19:10 +0000283
Tom Stellard75aadc22012-12-11 21:25:42 +0000284 /// \brief Get the index of Op in the MachineInstr.
285 ///
286 /// \returns -1 if the Instruction does not contain the specified \p Op.
Tom Stellard02661d92013-06-25 21:22:18 +0000287 int getOperandIdx(const MachineInstr &MI, unsigned Op) const;
Tom Stellard75aadc22012-12-11 21:25:42 +0000288
289 /// \brief Get the index of \p Op for the given Opcode.
290 ///
291 /// \returns -1 if the Instruction does not contain the specified \p Op.
Tom Stellard02661d92013-06-25 21:22:18 +0000292 int getOperandIdx(unsigned Opcode, unsigned Op) const;
Tom Stellard75aadc22012-12-11 21:25:42 +0000293
294 /// \brief Helper function for setting instruction flag values.
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +0000295 void setImmOperand(MachineInstr &MI, unsigned Op, int64_t Imm) const;
Tom Stellard75aadc22012-12-11 21:25:42 +0000296
Tom Stellard75aadc22012-12-11 21:25:42 +0000297 ///\brief Add one of the MO_FLAG* flags to the specified \p Operand.
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +0000298 void addFlag(MachineInstr &MI, unsigned Operand, unsigned Flag) const;
Tom Stellard75aadc22012-12-11 21:25:42 +0000299
300 ///\brief Determine if the specified \p Flag is set on this \p Operand.
301 bool isFlagSet(const MachineInstr &MI, unsigned Operand, unsigned Flag) const;
302
303 /// \param SrcIdx The register source to set the flag on (e.g src0, src1, src2)
304 /// \param Flag The flag being set.
305 ///
306 /// \returns the operand containing the flags for this instruction.
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +0000307 MachineOperand &getFlagOp(MachineInstr &MI, unsigned SrcIdx = 0,
Tom Stellard75aadc22012-12-11 21:25:42 +0000308 unsigned Flag = 0) const;
309
310 /// \brief Clear the specified flag on the instruction.
Duncan P. N. Exon Smith9cfc75c2016-06-30 00:01:54 +0000311 void clearFlag(MachineInstr &MI, unsigned Operand, unsigned Flag) const;
Tom Stellard2ff72622016-01-28 16:04:37 +0000312
313 // Helper functions that check the opcode for status information
Matt Arsenault44f6d692016-08-13 01:43:46 +0000314 bool isRegisterStore(const MachineInstr &MI) const {
315 return get(MI.getOpcode()).TSFlags & R600InstrFlags::REGISTER_STORE;
316 }
317
318 bool isRegisterLoad(const MachineInstr &MI) const {
319 return get(MI.getOpcode()).TSFlags & R600InstrFlags::REGISTER_LOAD;
320 }
Tom Stellard75aadc22012-12-11 21:25:42 +0000321};
322
Tom Stellard13c68ef2013-09-05 18:38:09 +0000323namespace AMDGPU {
324
325int getLDSNoRetOp(uint16_t Opcode);
326
327} //End namespace AMDGPU
328
Alexander Kornienkof00654e2015-06-23 09:49:53 +0000329} // End llvm namespace
Tom Stellard75aadc22012-12-11 21:25:42 +0000330
Benjamin Kramera7c40ef2014-08-13 16:26:38 +0000331#endif