| OLD | NEW |
| 1 //===- subzero/src/IceInstMips32.cpp - Mips32 instruction implementation --===// | 1 //===- subzero/src/IceInstMips32.cpp - Mips32 instruction implementation --===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 /// \file | 10 /// \file |
| 11 /// This file implements the InstMips32 and OperandMips32 classes, | 11 /// This file implements the InstMips32 and OperandMips32 classes, primarily the |
| 12 /// primarily the constructors and the dump()/emit() methods. | 12 /// constructors and the dump()/emit() methods. |
| 13 /// | 13 /// |
| 14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
| 15 | 15 |
| 16 #include "IceAssemblerMIPS32.h" | 16 #include "IceAssemblerMIPS32.h" |
| 17 #include "IceCfg.h" | 17 #include "IceCfg.h" |
| 18 #include "IceCfgNode.h" | 18 #include "IceCfgNode.h" |
| 19 #include "IceInst.h" | 19 #include "IceInst.h" |
| 20 #include "IceInstMIPS32.h" | 20 #include "IceInstMIPS32.h" |
| 21 #include "IceOperand.h" | 21 #include "IceOperand.h" |
| 22 #include "IceRegistersMIPS32.h" | 22 #include "IceRegistersMIPS32.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 void InstMIPS32Ret::dump(const Cfg *Func) const { | 68 void InstMIPS32Ret::dump(const Cfg *Func) const { |
| 69 if (!BuildDefs::dump()) | 69 if (!BuildDefs::dump()) |
| 70 return; | 70 return; |
| 71 Ostream &Str = Func->getContext()->getStrDump(); | 71 Ostream &Str = Func->getContext()->getStrDump(); |
| 72 Type Ty = (getSrcSize() == 1 ? IceType_void : getSrc(0)->getType()); | 72 Type Ty = (getSrcSize() == 1 ? IceType_void : getSrc(0)->getType()); |
| 73 Str << "ret." << Ty << " "; | 73 Str << "ret." << Ty << " "; |
| 74 dumpSources(Func); | 74 dumpSources(Func); |
| 75 } | 75 } |
| 76 } | 76 } |
| OLD | NEW |