Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: src/IceInstARM32.cpp

Issue 1156713003: Subzero ARM: lower alloca instruction. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: trailing space Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceInstARM32.h ('k') | src/IceTargetLoweringARM32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/IceInstARM32.h ('k') | src/IceTargetLoweringARM32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698