| OLD | NEW |
| 1 //===- subzero/src/IceInstARM32.cpp - ARM32 instruction implementation ----===// | 1 //===- subzero/src/IceInstARM32.cpp - ARM32 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 // This file implements the InstARM32 and OperandARM32 classes, | 10 // This file implements the InstARM32 and OperandARM32 classes, |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 template <> const char *InstARM32Movt::Opcode = "movt"; | 283 template <> const char *InstARM32Movt::Opcode = "movt"; |
| 284 // Unary ops | 284 // Unary ops |
| 285 template <> const char *InstARM32Movw::Opcode = "movw"; | 285 template <> const char *InstARM32Movw::Opcode = "movw"; |
| 286 template <> const char *InstARM32Mvn::Opcode = "mvn"; | 286 template <> const char *InstARM32Mvn::Opcode = "mvn"; |
| 287 // Mov-like ops | 287 // Mov-like ops |
| 288 template <> const char *InstARM32Mov::Opcode = "mov"; | 288 template <> const char *InstARM32Mov::Opcode = "mov"; |
| 289 // Three-addr ops | 289 // Three-addr ops |
| 290 template <> const char *InstARM32Adc::Opcode = "adc"; | 290 template <> const char *InstARM32Adc::Opcode = "adc"; |
| 291 template <> const char *InstARM32Add::Opcode = "add"; | 291 template <> const char *InstARM32Add::Opcode = "add"; |
| 292 template <> const char *InstARM32And::Opcode = "and"; | 292 template <> const char *InstARM32And::Opcode = "and"; |
| 293 template <> const char *InstARM32Bic::Opcode = "bic"; |
| 293 template <> const char *InstARM32Eor::Opcode = "eor"; | 294 template <> const char *InstARM32Eor::Opcode = "eor"; |
| 294 template <> const char *InstARM32Lsl::Opcode = "lsl"; | 295 template <> const char *InstARM32Lsl::Opcode = "lsl"; |
| 295 template <> const char *InstARM32Mul::Opcode = "mul"; | 296 template <> const char *InstARM32Mul::Opcode = "mul"; |
| 296 template <> const char *InstARM32Orr::Opcode = "orr"; | 297 template <> const char *InstARM32Orr::Opcode = "orr"; |
| 297 template <> const char *InstARM32Sbc::Opcode = "sbc"; | 298 template <> const char *InstARM32Sbc::Opcode = "sbc"; |
| 298 template <> const char *InstARM32Sub::Opcode = "sub"; | 299 template <> const char *InstARM32Sub::Opcode = "sub"; |
| 299 | 300 |
| 300 void InstARM32::dump(const Cfg *Func) const { | 301 void InstARM32::dump(const Cfg *Func) const { |
| 301 if (!ALLOW_DUMP) | 302 if (!ALLOW_DUMP) |
| 302 return; | 303 return; |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 if (getShiftOp() != kNoShift) { | 715 if (getShiftOp() != kNoShift) { |
| 715 Str << ", " << InstARM32ShiftAttributes[getShiftOp()].EmitString << " "; | 716 Str << ", " << InstARM32ShiftAttributes[getShiftOp()].EmitString << " "; |
| 716 if (Func) | 717 if (Func) |
| 717 getShiftAmt()->dump(Func); | 718 getShiftAmt()->dump(Func); |
| 718 else | 719 else |
| 719 getShiftAmt()->dump(Str); | 720 getShiftAmt()->dump(Str); |
| 720 } | 721 } |
| 721 } | 722 } |
| 722 | 723 |
| 723 } // end of namespace Ice | 724 } // end of namespace Ice |
| OLD | NEW |