| OLD | NEW |
| 1 //===- subzero/src/IceInstARM32.h - ARM32 machine instructions --*- C++ -*-===// | 1 //===- subzero/src/IceInstARM32.h - ARM32 machine instructions --*- C++ -*-===// |
| 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 |
| (...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 static InstARM32FourAddrFP *create(Cfg *Func, Variable *Dest, Variable *Src0, | 828 static InstARM32FourAddrFP *create(Cfg *Func, Variable *Dest, Variable *Src0, |
| 829 Variable *Src1) { | 829 Variable *Src1) { |
| 830 return new (Func->allocate<InstARM32FourAddrFP>()) | 830 return new (Func->allocate<InstARM32FourAddrFP>()) |
| 831 InstARM32FourAddrFP(Func, Dest, Src0, Src1); | 831 InstARM32FourAddrFP(Func, Dest, Src0, Src1); |
| 832 } | 832 } |
| 833 void emit(const Cfg *Func) const override { | 833 void emit(const Cfg *Func) const override { |
| 834 if (!BuildDefs::dump()) | 834 if (!BuildDefs::dump()) |
| 835 return; | 835 return; |
| 836 emitFourAddrFP(Opcode, this, Func); | 836 emitFourAddrFP(Opcode, this, Func); |
| 837 } | 837 } |
| 838 void emitIAS(const Cfg *Func) const override { emitUsingTextFixup(Func); } | 838 void emitIAS(const Cfg *Func) const override; |
| 839 void dump(const Cfg *Func) const override { | 839 void dump(const Cfg *Func) const override { |
| 840 if (!BuildDefs::dump()) | 840 if (!BuildDefs::dump()) |
| 841 return; | 841 return; |
| 842 Ostream &Str = Func->getContext()->getStrDump(); | 842 Ostream &Str = Func->getContext()->getStrDump(); |
| 843 dumpDest(Func); | 843 dumpDest(Func); |
| 844 Str << " = "; | 844 Str << " = "; |
| 845 Str << Opcode << "." << getDest()->getType() << " "; | 845 Str << Opcode << "." << getDest()->getType() << " "; |
| 846 dumpDest(Func); | 846 dumpDest(Func); |
| 847 Str << ", "; | 847 Str << ", "; |
| 848 dumpSources(Func); | 848 dumpSources(Func); |
| (...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 // violations and link errors. | 1437 // violations and link errors. |
| 1438 | 1438 |
| 1439 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1439 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
| 1440 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1440 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
| 1441 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1441 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
| 1442 | 1442 |
| 1443 } // end of namespace ARM32 | 1443 } // end of namespace ARM32 |
| 1444 } // end of namespace Ice | 1444 } // end of namespace Ice |
| 1445 | 1445 |
| 1446 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1446 #endif // SUBZERO_SRC_ICEINSTARM32_H |
| OLD | NEW |