| 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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 static InstARM32UnaryopFP *create(Cfg *Func, Variable *Dest, Variable *Src, | 564 static InstARM32UnaryopFP *create(Cfg *Func, Variable *Dest, Variable *Src, |
| 565 CondARM32::Cond Predicate) { | 565 CondARM32::Cond Predicate) { |
| 566 return new (Func->allocate<InstARM32UnaryopFP>()) | 566 return new (Func->allocate<InstARM32UnaryopFP>()) |
| 567 InstARM32UnaryopFP(Func, Dest, Src, Predicate); | 567 InstARM32UnaryopFP(Func, Dest, Src, Predicate); |
| 568 } | 568 } |
| 569 void emit(const Cfg *Func) const override { | 569 void emit(const Cfg *Func) const override { |
| 570 if (!BuildDefs::dump()) | 570 if (!BuildDefs::dump()) |
| 571 return; | 571 return; |
| 572 emitUnaryopFP(Opcode, this, Func); | 572 emitUnaryopFP(Opcode, this, Func); |
| 573 } | 573 } |
| 574 void emitIAS(const Cfg *Func) const override; |
| 574 void dump(const Cfg *Func) const override { | 575 void dump(const Cfg *Func) const override { |
| 575 if (!BuildDefs::dump()) | 576 if (!BuildDefs::dump()) |
| 576 return; | 577 return; |
| 577 Ostream &Str = Func->getContext()->getStrDump(); | 578 Ostream &Str = Func->getContext()->getStrDump(); |
| 578 dumpDest(Func); | 579 dumpDest(Func); |
| 579 Str << " = "; | 580 Str << " = "; |
| 580 dumpOpcodePred(Str, Opcode, getDest()->getType()); | 581 dumpOpcodePred(Str, Opcode, getDest()->getType()); |
| 581 Str << " "; | 582 Str << " "; |
| 582 dumpSources(Func); | 583 dumpSources(Func); |
| 583 } | 584 } |
| (...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 // violations and link errors. | 1442 // violations and link errors. |
| 1442 | 1443 |
| 1443 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1444 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
| 1444 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1445 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
| 1445 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1446 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
| 1446 | 1447 |
| 1447 } // end of namespace ARM32 | 1448 } // end of namespace ARM32 |
| 1448 } // end of namespace Ice | 1449 } // end of namespace Ice |
| 1449 | 1450 |
| 1450 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1451 #endif // SUBZERO_SRC_ICEINSTARM32_H |
| OLD | NEW |