mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
add support for more nodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7724 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
91f2e9aa08
commit
622003fd74
@ -184,11 +184,15 @@ def imm : BuiltinDagNode<DNVT_val, [], "Constant">;
|
||||
// Arithmetic...
|
||||
def plus : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Plus">;
|
||||
def minus : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Minus">;
|
||||
//def mult : DagNode<2, DNVT_arg0>;
|
||||
//def div : DagNode<2, DNVT_arg0>;
|
||||
//def udiv : DagNode<2, DNVT_arg0>;
|
||||
//def mod : DagNode<2, DNVT_arg0>;
|
||||
//def umod : DagNode<2, DNVT_arg0>;
|
||||
def times : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Times">;
|
||||
def sdiv : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "SDiv">;
|
||||
def udiv : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "UDiv">;
|
||||
def srem : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "SRem">;
|
||||
def urem : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "URem">;
|
||||
def and : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "And">;
|
||||
def or : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Or">;
|
||||
def xor : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Xor">;
|
||||
|
||||
|
||||
def load : DagNode<DNVT_val, [DNVT_ptr]>;
|
||||
//def store : DagNode<2, DNVT_Void>;
|
||||
|
Loading…
Reference in New Issue
Block a user