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

Side by Side Diff: src/IceTargetLoweringX8632.h

Issue 1152703006: Subzero ARM: lowerLoad and lowerStore. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: typo in comments Created 5 years, 6 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/IceTargetLoweringARM32.cpp ('k') | src/IceTargetLoweringX8632.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/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 lowering ---*- 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 TargetLoweringX8632 class, which 10 // This file declares the TargetLoweringX8632 class, which
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 }; 222 };
223 typedef uint32_t LegalMask; 223 typedef uint32_t LegalMask;
224 Operand *legalize(Operand *From, LegalMask Allowed = Legal_All, 224 Operand *legalize(Operand *From, LegalMask Allowed = Legal_All,
225 int32_t RegNum = Variable::NoRegister); 225 int32_t RegNum = Variable::NoRegister);
226 Variable *legalizeToVar(Operand *From, int32_t RegNum = Variable::NoRegister); 226 Variable *legalizeToVar(Operand *From, int32_t RegNum = Variable::NoRegister);
227 // Legalize the first source operand for use in the cmp instruction. 227 // Legalize the first source operand for use in the cmp instruction.
228 Operand *legalizeSrc0ForCmp(Operand *Src0, Operand *Src1); 228 Operand *legalizeSrc0ForCmp(Operand *Src0, Operand *Src1);
229 // Turn a pointer operand into a memory operand that can be 229 // Turn a pointer operand into a memory operand that can be
230 // used by a real load/store operation. Legalizes the operand as well. 230 // used by a real load/store operation. Legalizes the operand as well.
231 // This is a nop if the operand is already a legal memory operand. 231 // This is a nop if the operand is already a legal memory operand.
232 OperandX8632Mem *FormMemoryOperand(Operand *Ptr, Type Ty); 232 OperandX8632Mem *formMemoryOperand(Operand *Ptr, Type Ty);
233 233
234 Variable *makeReg(Type Ty, int32_t RegNum = Variable::NoRegister); 234 Variable *makeReg(Type Ty, int32_t RegNum = Variable::NoRegister);
235 static Type stackSlotType(); 235 static Type stackSlotType();
236 236
237 Variable *copyToReg(Operand *Src, int32_t RegNum = Variable::NoRegister); 237 Variable *copyToReg(Operand *Src, int32_t RegNum = Variable::NoRegister);
238 238
239 // Returns a vector in a register with the given constant entries. 239 // Returns a vector in a register with the given constant entries.
240 Variable *makeVectorOfZeros(Type Ty, int32_t RegNum = Variable::NoRegister); 240 Variable *makeVectorOfZeros(Type Ty, int32_t RegNum = Variable::NoRegister);
241 Variable *makeVectorOfOnes(Type Ty, int32_t RegNum = Variable::NoRegister); 241 Variable *makeVectorOfOnes(Type Ty, int32_t RegNum = Variable::NoRegister);
242 Variable *makeVectorOfMinusOnes(Type Ty, 242 Variable *makeVectorOfMinusOnes(Type Ty,
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 591
592 private: 592 private:
593 void lowerGlobal(const VariableDeclaration &Var) const; 593 void lowerGlobal(const VariableDeclaration &Var) const;
594 ~TargetDataX8632() override {} 594 ~TargetDataX8632() override {}
595 template <typename T> static void emitConstantPool(GlobalContext *Ctx); 595 template <typename T> static void emitConstantPool(GlobalContext *Ctx);
596 }; 596 };
597 597
598 } // end of namespace Ice 598 } // end of namespace Ice
599 599
600 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H 600 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698