From: Craig Topper Date: Mon, 7 Jan 2013 05:45:56 +0000 (+0000) Subject: Remove # from the beginning and end of def names. The # is a paste operator and shoul... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=71ab7a79a74ebb3dad1aac02c5a5c7c2c20b547f;p=oota-llvm.git Remove # from the beginning and end of def names. The # is a paste operator and should only be used with something to paste on either side. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171697 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/HexagonInstrInfo.td b/lib/Target/Hexagon/HexagonInstrInfo.td index 6570bd63cb7..a8824cfe078 100644 --- a/lib/Target/Hexagon/HexagonInstrInfo.td +++ b/lib/Target/Hexagon/HexagonInstrInfo.td @@ -99,7 +99,7 @@ multiclass ALU32_Pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : ALU32_rr<(outs IntRegs:$dst), + def NAME : ALU32_rr<(outs IntRegs:$dst), (ins PredRegs:$src1, IntRegs:$src2, IntRegs: $src3), !if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew,".new) $dst = ", ") $dst = ")#mnemonic#"($src2, $src3)", @@ -108,9 +108,9 @@ multiclass ALU32_Pbase { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : ALU32_Pbase; + defm _c#NAME : ALU32_Pbase; // Predicate new - defm _cdn#NAME# : ALU32_Pbase; + defm _cdn#NAME : ALU32_Pbase; } } @@ -118,7 +118,7 @@ let InputType = "reg" in multiclass ALU32_base { let CextOpcode = CextOp, BaseOpcode = CextOp#_rr in { let isPredicable = 1 in - def #NAME# : ALU32_rr<(outs IntRegs:$dst), + def NAME : ALU32_rr<(outs IntRegs:$dst), (ins IntRegs:$src1, IntRegs:$src2), "$dst = "#mnemonic#"($src1, $src2)", [(set (i32 IntRegs:$dst), (OpNode (i32 IntRegs:$src1), @@ -145,7 +145,7 @@ defm SUB_rr : ALU32_base<"sub", "SUB", sub>, ImmRegRel, PredNewRel; //===----------------------------------------------------------------------===// multiclass ALU32ri_Pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : ALU32_ri<(outs IntRegs:$dst), + def NAME : ALU32_ri<(outs IntRegs:$dst), (ins PredRegs:$src1, IntRegs:$src2, s8Ext: $src3), !if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew,".new) $dst = ", ") $dst = ")#mnemonic#"($src2, #$src3)", @@ -154,9 +154,9 @@ multiclass ALU32ri_Pbase { multiclass ALU32ri_Pred { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : ALU32ri_Pbase; + defm _c#NAME : ALU32ri_Pbase; // Predicate new - defm _cdn#NAME# : ALU32ri_Pbase; + defm _cdn#NAME : ALU32ri_Pbase; } } @@ -165,7 +165,7 @@ multiclass ALU32ri_base { let CextOpcode = CextOp, BaseOpcode = CextOp#_ri in { let opExtendable = 2, isExtentSigned = 1, opExtentBits = 16, isPredicable = 1 in - def #NAME# : ALU32_ri<(outs IntRegs:$dst), + def NAME : ALU32_ri<(outs IntRegs:$dst), (ins IntRegs:$src1, s16Ext:$src2), "$dst = "#mnemonic#"($src1, #$src2)", [(set (i32 IntRegs:$dst), (OpNode (i32 IntRegs:$src1), @@ -223,14 +223,14 @@ def SUB_ri : ALU32_ri<(outs IntRegs:$dst), multiclass TFR_Pred { let PredSense = #!if(PredNot, "false", "true") in { - def _c#NAME# : ALU32_rr<(outs IntRegs:$dst), - (ins PredRegs:$src1, IntRegs:$src2), + def _c#NAME : ALU32_rr<(outs IntRegs:$dst), + (ins PredRegs:$src1, IntRegs:$src2), !if(PredNot, "if (!$src1", "if ($src1")#") $dst = $src2", []>; // Predicate new let PNewValue = "new" in - def _cdn#NAME# : ALU32_rr<(outs IntRegs:$dst), - (ins PredRegs:$src1, IntRegs:$src2), + def _cdn#NAME : ALU32_rr<(outs IntRegs:$dst), + (ins PredRegs:$src1, IntRegs:$src2), !if(PredNot, "if (!$src1", "if ($src1")#".new) $dst = $src2", []>; } @@ -240,7 +240,7 @@ let InputType = "reg", neverHasSideEffects = 1 in multiclass TFR_base { let CextOpcode = CextOp, BaseOpcode = CextOp in { let isPredicable = 1 in - def #NAME# : ALU32_rr<(outs IntRegs:$dst), (ins IntRegs:$src1), + def NAME : ALU32_rr<(outs IntRegs:$dst), (ins IntRegs:$src1), "$dst = $src1", []>; @@ -253,14 +253,14 @@ multiclass TFR_base { multiclass TFR64_Pred { let PredSense = #!if(PredNot, "false", "true") in { - def _c#NAME# : ALU32_rr<(outs DoubleRegs:$dst), - (ins PredRegs:$src1, DoubleRegs:$src2), + def _c#NAME : ALU32_rr<(outs DoubleRegs:$dst), + (ins PredRegs:$src1, DoubleRegs:$src2), !if(PredNot, "if (!$src1", "if ($src1")#") $dst = $src2", []>; // Predicate new let PNewValue = "new" in - def _cdn#NAME# : ALU32_rr<(outs DoubleRegs:$dst), - (ins PredRegs:$src1, DoubleRegs:$src2), + def _cdn#NAME : ALU32_rr<(outs DoubleRegs:$dst), + (ins PredRegs:$src1, DoubleRegs:$src2), !if(PredNot, "if (!$src1", "if ($src1")#".new) $dst = $src2", []>; } @@ -270,7 +270,7 @@ let InputType = "reg", neverHasSideEffects = 1 in multiclass TFR64_base { let CextOpcode = CextOp, BaseOpcode = CextOp in { let isPredicable = 1 in - def #NAME# : ALU32_rr<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1), + def NAME : ALU32_rr<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1), "$dst = $src1", []>; @@ -284,15 +284,15 @@ multiclass TFR64_base { multiclass TFRI_Pred { let PredSense = #!if(PredNot, "false", "true") in { - def _c#NAME# : ALU32_ri<(outs IntRegs:$dst), - (ins PredRegs:$src1, s12Ext:$src2), + def _c#NAME : ALU32_ri<(outs IntRegs:$dst), + (ins PredRegs:$src1, s12Ext:$src2), !if(PredNot, "if (!$src1", "if ($src1")#") $dst = #$src2", []>; // Predicate new let PNewValue = "new" in - def _cdn#NAME# : ALU32_rr<(outs IntRegs:$dst), - (ins PredRegs:$src1, s12Ext:$src2), + def _cdn#NAME : ALU32_rr<(outs IntRegs:$dst), + (ins PredRegs:$src1, s12Ext:$src2), !if(PredNot, "if (!$src1", "if ($src1")#".new) $dst = #$src2", []>; } @@ -303,7 +303,7 @@ multiclass TFRI_base { let CextOpcode = CextOp, BaseOpcode = CextOp#I in { let opExtendable = 1, opExtentBits = 16, isMoveImm = 1, isPredicable = 1, isReMaterializable = 1 in - def #NAME# : ALU32_ri<(outs IntRegs:$dst), (ins s16Ext:$src1), + def NAME : ALU32_ri<(outs IntRegs:$dst), (ins s16Ext:$src1), "$dst = #$src1", [(set (i32 IntRegs:$dst), s16ExtPred:$src1)]>; @@ -846,7 +846,7 @@ let isReturn = 1, isTerminator = 1, isBarrier = 1, isPredicated = 1, multiclass LD_MEMri_Pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : LDInst2<(outs RC:$dst), + def NAME : LDInst2<(outs RC:$dst), (ins PredRegs:$src1, MEMri:$addr), #!if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", ") ")#"$dst = "#mnemonic#"($addr)", @@ -855,9 +855,9 @@ multiclass LD_MEMri_Pbase { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : LD_MEMri_Pbase; + defm _c#NAME : LD_MEMri_Pbase; // Predicate new - defm _cdn#NAME# : LD_MEMri_Pbase; + defm _cdn#NAME : LD_MEMri_Pbase; } } @@ -868,7 +868,7 @@ multiclass LD_MEMri; @@ -912,8 +912,8 @@ def : Pat < (i64 (load ADDRriS11_3:$addr)), multiclass LD_Idxd_Pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : LDInst2<(outs RC:$dst), - (ins PredRegs:$src1, IntRegs:$src2, predImmOp:$src3), + def NAME : LDInst2<(outs RC:$dst), + (ins PredRegs:$src1, IntRegs:$src2, predImmOp:$src3), #!if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", ") ")#"$dst = "#mnemonic#"($src2+#$src3)", []>; @@ -922,9 +922,9 @@ multiclass LD_Idxd_Pbase { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : LD_Idxd_Pbase; + defm _c#NAME : LD_Idxd_Pbase; // Predicate new - defm _cdn#NAME# : LD_Idxd_Pbase; + defm _cdn#NAME : LD_Idxd_Pbase; } } @@ -936,7 +936,7 @@ multiclass LD_Idxd; @@ -1006,7 +1006,7 @@ def LDd_GP : LDInst2<(outs DoubleRegs:$dst), multiclass LD_PostInc_Pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : LDInst2PI<(outs RC:$dst, IntRegs:$dst2), + def NAME : LDInst2PI<(outs RC:$dst, IntRegs:$dst2), (ins PredRegs:$src1, IntRegs:$src2, ImmOp:$offset), #!if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", ") ")#"$dst = "#mnemonic#"($src2++#$offset)", @@ -1017,7 +1017,7 @@ multiclass LD_PostInc_Pbase { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : LD_PostInc_Pbase; + defm _c#NAME : LD_PostInc_Pbase; // Predicate new let Predicates = [HasV4T], validSubTargets = HasV4SubT in defm _cdn#NAME#_V4 : LD_PostInc_Pbase; @@ -1029,8 +1029,8 @@ multiclass LD_PostInc; @@ -1441,7 +1441,7 @@ def POST_STdri_cNotPt : STInst2PI<(outs IntRegs:$dst), multiclass ST_MEMri_Pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : STInst2<(outs), + def NAME : STInst2<(outs), (ins PredRegs:$src1, MEMri:$addr, RC: $src2), !if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", ") ")#mnemonic#"($addr) = $src2", @@ -1450,7 +1450,7 @@ multiclass ST_MEMri_Pbase { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : ST_MEMri_Pbase; + defm _c#NAME : ST_MEMri_Pbase; // Predicate new let validSubTargets = HasV4SubT, Predicates = [HasV4T] in @@ -1465,7 +1465,7 @@ multiclass ST_MEMri; @@ -1507,7 +1507,7 @@ def : Pat<(store (i64 DoubleRegs:$src1), ADDRriS11_3:$addr), multiclass ST_Idxd_Pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : STInst2<(outs), + def NAME : STInst2<(outs), (ins PredRegs:$src1, IntRegs:$src2, predImmOp:$src3, RC: $src4), !if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", ") ")#mnemonic#"($src2+#$src3) = $src4", @@ -1517,7 +1517,7 @@ multiclass ST_Idxd_Pbase { let PredSense = #!if(PredNot, "false", "true"), isPredicated = 1 in { - defm _c#NAME# : ST_Idxd_Pbase; + defm _c#NAME : ST_Idxd_Pbase; // Predicate new let validSubTargets = HasV4SubT, Predicates = [HasV4T] in @@ -1533,7 +1533,7 @@ multiclass ST_Idxd; diff --git a/lib/Target/Hexagon/HexagonInstrInfoV4.td b/lib/Target/Hexagon/HexagonInstrInfoV4.td index a42025ec634..bfe9bb9a762 100644 --- a/lib/Target/Hexagon/HexagonInstrInfoV4.td +++ b/lib/Target/Hexagon/HexagonInstrInfoV4.td @@ -419,7 +419,7 @@ def LDrid_indexed_V4 : LDInst<(outs DoubleRegs:$dst), multiclass ld_idxd_shl_pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : LDInst2<(outs RC:$dst), + def NAME : LDInst2<(outs RC:$dst), (ins PredRegs:$src1, IntRegs:$src2, IntRegs:$src3, u2Imm:$offset), !if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", ") ")#"$dst = "#mnemonic#"($src2+$src3<<#$offset)", @@ -428,9 +428,9 @@ multiclass ld_idxd_shl_pbase { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : ld_idxd_shl_pbase; + defm _c#NAME : ld_idxd_shl_pbase; // Predicate new - defm _cdn#NAME# : ld_idxd_shl_pbase; + defm _cdn#NAME : ld_idxd_shl_pbase; } } @@ -438,7 +438,7 @@ let neverHasSideEffects = 1 in multiclass ld_idxd_shl { let CextOpcode = CextOp, BaseOpcode = CextOp#_indexed_shl in { let isPredicable = 1 in - def #NAME#_V4 : LDInst2<(outs RC:$dst), + def NAME#_V4 : LDInst2<(outs RC:$dst), (ins IntRegs:$src1, IntRegs:$src2, u2Imm:$offset), "$dst = "#mnemonic#"($src1+$src2<<#$offset)", []>, Requires<[HasV4T]>; @@ -1519,7 +1519,7 @@ def STriw_abs_set_V4 : STInst2<(outs IntRegs:$dst1), multiclass ST_Idxd_shl_Pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : STInst2<(outs), + def NAME : STInst2<(outs), (ins PredRegs:$src1, IntRegs:$src2, IntRegs:$src3, u2Imm:$src4, RC:$src5), !if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", @@ -1530,9 +1530,9 @@ multiclass ST_Idxd_shl_Pbase { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : ST_Idxd_shl_Pbase; + defm _c#NAME : ST_Idxd_shl_Pbase; // Predicate new - defm _cdn#NAME# : ST_Idxd_shl_Pbase; + defm _cdn#NAME : ST_Idxd_shl_Pbase; } } @@ -1540,7 +1540,7 @@ let isNVStorable = 1 in multiclass ST_Idxd_shl { let CextOpcode = CextOp, BaseOpcode = CextOp#_indexed_shl in { let isPredicable = 1 in - def #NAME#_V4 : STInst2<(outs), + def NAME#_V4 : STInst2<(outs), (ins IntRegs:$src1, IntRegs:$src2, u2Imm:$src3, RC:$src4), #mnemonic#"($src1+$src2<<#$src3) = $src4", []>, @@ -1558,7 +1558,7 @@ multiclass ST_Idxd_shl { multiclass ST_Idxd_shl_Pbase_nv { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME#_nv_V4 : NVInst_V4<(outs), + def NAME#_nv_V4 : NVInst_V4<(outs), (ins PredRegs:$src1, IntRegs:$src2, IntRegs:$src3, u2Imm:$src4, RC:$src5), !if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", @@ -1569,9 +1569,9 @@ multiclass ST_Idxd_shl_Pbase_nv { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : ST_Idxd_shl_Pbase_nv; + defm _c#NAME : ST_Idxd_shl_Pbase_nv; // Predicate new - defm _cdn#NAME# : ST_Idxd_shl_Pbase_nv; + defm _cdn#NAME : ST_Idxd_shl_Pbase_nv; } } @@ -1579,7 +1579,7 @@ let mayStore = 1, isNVStore = 1 in multiclass ST_Idxd_shl_nv { let CextOpcode = CextOp, BaseOpcode = CextOp#_indexed_shl in { let isPredicable = 1 in - def #NAME#_nv_V4 : NVInst_V4<(outs), + def NAME#_nv_V4 : NVInst_V4<(outs), (ins IntRegs:$src1, IntRegs:$src2, u2Imm:$src3, RC:$src4), #mnemonic#"($src1+$src2<<#$src3) = $src4.new", []>, @@ -1683,7 +1683,7 @@ def POST_STdri_cdnNotPt_V4 : STInst2PI<(outs IntRegs:$dst), multiclass ST_Imm_Pbase { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME# : STInst2<(outs), + def NAME : STInst2<(outs), (ins PredRegs:$src1, IntRegs:$src2, OffsetOp:$src3, s6Ext:$src4), #!if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", ") ")#mnemonic#"($src2+#$src3) = #$src4", @@ -1693,9 +1693,9 @@ multiclass ST_Imm_Pbase { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : ST_Imm_Pbase; + defm _c#NAME : ST_Imm_Pbase; // Predicate new - defm _cdn#NAME# : ST_Imm_Pbase; + defm _cdn#NAME : ST_Imm_Pbase; } } @@ -1703,7 +1703,7 @@ let isExtendable = 1, isExtentSigned = 1, neverHasSideEffects = 1 in multiclass ST_Imm { let CextOpcode = CextOp, BaseOpcode = CextOp#_imm in { let opExtendable = 2, opExtentBits = 8, isPredicable = 1 in - def #NAME#_V4 : STInst2<(outs), + def NAME#_V4 : STInst2<(outs), (ins IntRegs:$src1, OffsetOp:$src2, s8Ext:$src3), #mnemonic#"($src1+#$src2) = #$src3", []>, @@ -2357,7 +2357,7 @@ def : Pat<(store (i32 IntRegs:$src1), multiclass ST_Idxd_Pbase_nv { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME#_nv_V4 : NVInst_V4<(outs), + def NAME#_nv_V4 : NVInst_V4<(outs), (ins PredRegs:$src1, IntRegs:$src2, predImmOp:$src3, RC: $src4), !if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", ") ")#mnemonic#"($src2+#$src3) = $src4.new", @@ -2368,9 +2368,9 @@ multiclass ST_Idxd_Pbase_nv { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : ST_Idxd_Pbase_nv; + defm _c#NAME : ST_Idxd_Pbase_nv; // Predicate new - defm _cdn#NAME# : ST_Idxd_Pbase_nv; + defm _cdn#NAME : ST_Idxd_Pbase_nv; } } @@ -2382,7 +2382,7 @@ multiclass ST_Idxd_nv, @@ -2410,7 +2410,7 @@ let addrMode = BaseImmOffset, validSubTargets = HasV4SubT in { multiclass ST_MEMri_Pbase_nv { let PNewValue = #!if(isPredNew, "new", "") in - def #NAME#_nv_V4 : NVInst_V4<(outs), + def NAME#_nv_V4 : NVInst_V4<(outs), (ins PredRegs:$src1, MEMri:$addr, RC: $src2), !if(isNot, "if (!$src1", "if ($src1")#!if(isPredNew, ".new) ", ") ")#mnemonic#"($addr) = $src2.new", @@ -2420,10 +2420,10 @@ multiclass ST_MEMri_Pbase_nv { let PredSense = #!if(PredNot, "false", "true") in { - defm _c#NAME# : ST_MEMri_Pbase_nv; + defm _c#NAME : ST_MEMri_Pbase_nv; // Predicate new - defm _cdn#NAME# : ST_MEMri_Pbase_nv; + defm _cdn#NAME : ST_MEMri_Pbase_nv; } } @@ -2434,7 +2434,7 @@ multiclass ST_MEMri_nv, diff --git a/lib/Target/Mips/Mips64InstrInfo.td b/lib/Target/Mips/Mips64InstrInfo.td index d1f4458233d..cdf12c8d2e4 100644 --- a/lib/Target/Mips/Mips64InstrInfo.td +++ b/lib/Target/Mips/Mips64InstrInfo.td @@ -37,19 +37,19 @@ def immZExt6 : ImmLeaf; let DecoderNamespace = "Mips64" in { multiclass Atomic2Ops64 { - def #NAME# : Atomic2Ops, - Requires<[NotN64, HasStdEnc]>; - def _P8 : Atomic2Ops, - Requires<[IsN64, HasStdEnc]> { + def NAME : Atomic2Ops, + Requires<[NotN64, HasStdEnc]>; + def _P8 : Atomic2Ops, + Requires<[IsN64, HasStdEnc]> { let isCodeGenOnly = 1; } } multiclass AtomicCmpSwap64 { - def #NAME# : AtomicCmpSwap, - Requires<[NotN64, HasStdEnc]>; - def _P8 : AtomicCmpSwap, - Requires<[IsN64, HasStdEnc]> { + def NAME : AtomicCmpSwap, + Requires<[NotN64, HasStdEnc]>; + def _P8 : AtomicCmpSwap, + Requires<[IsN64, HasStdEnc]> { let isCodeGenOnly = 1; } } diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td index f52ca52060e..8f2ce6fa793 100644 --- a/lib/Target/Mips/MipsInstrInfo.td +++ b/lib/Target/Mips/MipsInstrInfo.td @@ -420,8 +420,8 @@ class Store { - def #NAME# : Load, Requires<[NotN64, HasStdEnc]>; - def _P8 : Load, Requires<[IsN64, HasStdEnc]> { + def NAME : Load, Requires<[NotN64, HasStdEnc]>; + def _P8 : Load, Requires<[IsN64, HasStdEnc]> { let DecoderNamespace = "Mips64"; let isCodeGenOnly = 1; } @@ -429,8 +429,8 @@ multiclass LoadM { - def #NAME# : Store, Requires<[NotN64, HasStdEnc]>; - def _P8 : Store, Requires<[IsN64, HasStdEnc]> { + def NAME : Store, Requires<[NotN64, HasStdEnc]>; + def _P8 : Store, Requires<[IsN64, HasStdEnc]> { let DecoderNamespace = "Mips64"; let isCodeGenOnly = 1; } @@ -455,20 +455,20 @@ class StoreLeftRight { - def #NAME# : LoadLeftRight, - Requires<[NotN64, HasStdEnc]>; - def _P8 : LoadLeftRight, - Requires<[IsN64, HasStdEnc]> { + def NAME : LoadLeftRight, + Requires<[NotN64, HasStdEnc]>; + def _P8 : LoadLeftRight, + Requires<[IsN64, HasStdEnc]> { let DecoderNamespace = "Mips64"; let isCodeGenOnly = 1; } } multiclass StoreLeftRightM { - def #NAME# : StoreLeftRight, - Requires<[NotN64, HasStdEnc]>; - def _P8 : StoreLeftRight, - Requires<[IsN64, HasStdEnc]> { + def NAME : StoreLeftRight, + Requires<[NotN64, HasStdEnc]>; + def _P8 : StoreLeftRight, + Requires<[IsN64, HasStdEnc]> { let DecoderNamespace = "Mips64"; let isCodeGenOnly = 1; } @@ -678,9 +678,9 @@ class Atomic2Ops : [(set DRC:$dst, (Op PRC:$ptr, DRC:$incr))]>; multiclass Atomic2Ops32 { - def #NAME# : Atomic2Ops, Requires<[NotN64, HasStdEnc]>; - def _P8 : Atomic2Ops, - Requires<[IsN64, HasStdEnc]> { + def NAME : Atomic2Ops, Requires<[NotN64, HasStdEnc]>; + def _P8 : Atomic2Ops, + Requires<[IsN64, HasStdEnc]> { let DecoderNamespace = "Mips64"; } } @@ -691,10 +691,10 @@ class AtomicCmpSwap : [(set DRC:$dst, (Op PRC:$ptr, DRC:$cmp, DRC:$swap))]>; multiclass AtomicCmpSwap32 { - def #NAME# : AtomicCmpSwap, - Requires<[NotN64, HasStdEnc]>; - def _P8 : AtomicCmpSwap, - Requires<[IsN64, HasStdEnc]> { + def NAME : AtomicCmpSwap, + Requires<[NotN64, HasStdEnc]>; + def _P8 : AtomicCmpSwap, + Requires<[IsN64, HasStdEnc]> { let DecoderNamespace = "Mips64"; } }