mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-25 05:52:53 +02:00
4bced9a039
Differential Revision: http://reviews.llvm.org/D16384 llvm-svn: 258378
24 lines
820 B
TableGen
24 lines
820 B
TableGen
//===-- GenericOpcodes.td - Opcodes used with GlobalISel ---*- tablegen -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file defines the generic opcodes used with GlobalISel.
|
|
// After instruction selection, these opcodes should not appear.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Generic addition.
|
|
def G_ADD : Instruction {
|
|
let OutOperandList = (outs unknown:$dst);
|
|
let InOperandList = (ins unknown:$src1, unknown:$src2);
|
|
let AsmString = "";
|
|
let hasSideEffects = 0;
|
|
let isCommutable = 1;
|
|
}
|
|
// TODO: Add the other generic opcodes.
|