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

Side by Side Diff: src/IceInstX8632.h

Issue 1127963004: Subzero ARM: lowerArguments (GPR), basic legalize(), and lowerRet(i32, i64). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: fix warnings, etc 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.def ('k') | src/IceInstX8632.cpp » ('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/IceInstX8632.h - x86-32 machine instructions -*- C++ -*-===// 1 //===- subzero/src/IceInstX8632.h - x86-32 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 // This file declares the InstX8632 and OperandX8632 classes and 10 // This file declares the InstX8632 and OperandX8632 classes and
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 InstX8632ThreeAddressop(Cfg *Func, Variable *Dest, Operand *Source0, 949 InstX8632ThreeAddressop(Cfg *Func, Variable *Dest, Operand *Source0,
950 Operand *Source1) 950 Operand *Source1)
951 : InstX8632(Func, K, 2, Dest) { 951 : InstX8632(Func, K, 2, Dest) {
952 addSource(Source0); 952 addSource(Source0);
953 addSource(Source1); 953 addSource(Source1);
954 } 954 }
955 ~InstX8632ThreeAddressop() override {} 955 ~InstX8632ThreeAddressop() override {}
956 static const char *Opcode; 956 static const char *Opcode;
957 }; 957 };
958 958
959 bool checkForRedundantAssign(const Variable *Dest, const Operand *Source);
960
961 // Base class for assignment instructions 959 // Base class for assignment instructions
962 template <InstX8632::InstKindX8632 K> 960 template <InstX8632::InstKindX8632 K>
963 class InstX8632Movlike : public InstX8632 { 961 class InstX8632Movlike : public InstX8632 {
964 InstX8632Movlike() = delete; 962 InstX8632Movlike() = delete;
965 InstX8632Movlike(const InstX8632Movlike &) = delete; 963 InstX8632Movlike(const InstX8632Movlike &) = delete;
966 InstX8632Movlike &operator=(const InstX8632Movlike &) = delete; 964 InstX8632Movlike &operator=(const InstX8632Movlike &) = delete;
967 965
968 public: 966 public:
969 static InstX8632Movlike *create(Cfg *Func, Variable *Dest, Operand *Source) { 967 static InstX8632Movlike *create(Cfg *Func, Variable *Dest, Operand *Source) {
970 return new (Func->allocate<InstX8632Movlike>()) 968 return new (Func->allocate<InstX8632Movlike>())
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
1704 template <> void InstX8632Pinsr::emitIAS(const Cfg *Func) const; 1702 template <> void InstX8632Pinsr::emitIAS(const Cfg *Func) const;
1705 template <> void InstX8632Movsx::emitIAS(const Cfg *Func) const; 1703 template <> void InstX8632Movsx::emitIAS(const Cfg *Func) const;
1706 template <> void InstX8632Movzx::emitIAS(const Cfg *Func) const; 1704 template <> void InstX8632Movzx::emitIAS(const Cfg *Func) const;
1707 template <> void InstX8632Pmull::emitIAS(const Cfg *Func) const; 1705 template <> void InstX8632Pmull::emitIAS(const Cfg *Func) const;
1708 template <> void InstX8632Pshufd::emitIAS(const Cfg *Func) const; 1706 template <> void InstX8632Pshufd::emitIAS(const Cfg *Func) const;
1709 template <> void InstX8632Shufps::emitIAS(const Cfg *Func) const; 1707 template <> void InstX8632Shufps::emitIAS(const Cfg *Func) const;
1710 1708
1711 } // end of namespace Ice 1709 } // end of namespace Ice
1712 1710
1713 #endif // SUBZERO_SRC_ICEINSTX8632_H 1711 #endif // SUBZERO_SRC_ICEINSTX8632_H
OLDNEW
« no previous file with comments | « src/IceInstARM32.def ('k') | src/IceInstX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698