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

Side by Side Diff: src/IceDefs.h

Issue 372113005: Add support for passing and returning vectors in accordance with the x86 calling convention. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Reset AllowOverlap, add comment on lowerCall() strategies, and use X86_MAX_XMM_ARGS where appropria… Created 6 years, 5 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/IceCfg.cpp ('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/IceDefs.h - Common Subzero declaraions -------*- C++ -*-===// 1 //===- subzero/src/IceDefs.h - Common Subzero declaraions -------*- 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 various useful types and classes that have 10 // This file declares various useful types and classes that have
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class Operand; 55 class Operand;
56 class TargetLowering; 56 class TargetLowering;
57 class Variable; 57 class Variable;
58 58
59 // TODO: Switch over to LLVM's ADT container classes. 59 // TODO: Switch over to LLVM's ADT container classes.
60 // http://llvm.org/docs/ProgrammersManual.html#picking-the-right-data-structure- for-a-task 60 // http://llvm.org/docs/ProgrammersManual.html#picking-the-right-data-structure- for-a-task
61 typedef std::string IceString; 61 typedef std::string IceString;
62 typedef std::list<Inst *> InstList; 62 typedef std::list<Inst *> InstList;
63 typedef std::list<InstPhi *> PhiList; 63 typedef std::list<InstPhi *> PhiList;
64 typedef std::vector<Variable *> VarList; 64 typedef std::vector<Variable *> VarList;
65 typedef std::vector<Operand *> OperandList;
65 typedef std::vector<CfgNode *> NodeList; 66 typedef std::vector<CfgNode *> NodeList;
66 typedef std::vector<Constant *> ConstantList; 67 typedef std::vector<Constant *> ConstantList;
67 68
68 // SizeT is for holding small-ish limits like number of source 69 // SizeT is for holding small-ish limits like number of source
69 // operands in an instruction. It is used instead of size_t (which 70 // operands in an instruction. It is used instead of size_t (which
70 // may be 64-bits wide) when we want to save space. 71 // may be 64-bits wide) when we want to save space.
71 typedef uint32_t SizeT; 72 typedef uint32_t SizeT;
72 73
73 // InstNumberT is for holding an instruction number. Instruction 74 // InstNumberT is for holding an instruction number. Instruction
74 // numbers are used for representing Variable live ranges. 75 // numbers are used for representing Variable live ranges.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 141
141 private: 142 private:
142 const llvm::TimeRecord Start; 143 const llvm::TimeRecord Start;
143 Timer(const Timer &) LLVM_DELETED_FUNCTION; 144 Timer(const Timer &) LLVM_DELETED_FUNCTION;
144 Timer &operator=(const Timer &) LLVM_DELETED_FUNCTION; 145 Timer &operator=(const Timer &) LLVM_DELETED_FUNCTION;
145 }; 146 };
146 147
147 } // end of namespace Ice 148 } // end of namespace Ice
148 149
149 #endif // SUBZERO_SRC_ICEDEFS_H 150 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceInstX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698