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

Side by Side Diff: src/IceOperand.h

Issue 1435363002: Merge fixed alloca stack adjustments into the prolog (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Final code review comments Created 5 years, 1 month 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/IceInstX8632.cpp ('k') | src/IceOperand.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/IceOperand.h - High-level operands -----------*- C++ -*-===// 1 //===- subzero/src/IceOperand.h - High-level operands -----------*- 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 /// \file 10 /// \file
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 return new (Ctx->allocate<ConstantRelocatable>()) ConstantRelocatable( 283 return new (Ctx->allocate<ConstantRelocatable>()) ConstantRelocatable(
284 Ty, Tuple.Offset, Tuple.Name, Tuple.SuppressMangling); 284 Ty, Tuple.Offset, Tuple.Name, Tuple.SuppressMangling);
285 } 285 }
286 286
287 RelocOffsetT getOffset() const { return Offset; } 287 RelocOffsetT getOffset() const { return Offset; }
288 const IceString &getName() const { return Name; } 288 const IceString &getName() const { return Name; }
289 void setSuppressMangling(bool Value) { SuppressMangling = Value; } 289 void setSuppressMangling(bool Value) { SuppressMangling = Value; }
290 bool getSuppressMangling() const { return SuppressMangling; } 290 bool getSuppressMangling() const { return SuppressMangling; }
291 using Constant::emit; 291 using Constant::emit;
292 void emit(TargetLowering *Target) const final; 292 void emit(TargetLowering *Target) const final;
293 void emitWithoutPrefix(TargetLowering *Target) const; 293 void emitWithoutPrefix(const TargetLowering *Target) const;
294 using Constant::dump; 294 using Constant::dump;
295 void dump(const Cfg *Func, Ostream &Str) const override; 295 void dump(const Cfg *Func, Ostream &Str) const override;
296 296
297 static bool classof(const Operand *Operand) { 297 static bool classof(const Operand *Operand) {
298 OperandKind Kind = Operand->getKind(); 298 OperandKind Kind = Operand->getKind();
299 return Kind == kConstRelocatable; 299 return Kind == kConstRelocatable;
300 } 300 }
301 301
302 private: 302 private:
303 ConstantRelocatable(Type Ty, RelocOffsetT Offset, const IceString &Name, 303 ConstantRelocatable(Type Ty, RelocOffsetT Offset, const IceString &Name,
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 private: 767 private:
768 const Cfg *Func; 768 const Cfg *Func;
769 MetadataKind Kind; 769 MetadataKind Kind;
770 CfgVector<VariableTracking> Metadata; 770 CfgVector<VariableTracking> Metadata;
771 const static InstDefList NoDefinitions; 771 const static InstDefList NoDefinitions;
772 }; 772 };
773 773
774 } // end of namespace Ice 774 } // end of namespace Ice
775 775
776 #endif // SUBZERO_SRC_ICEOPERAND_H 776 #endif // SUBZERO_SRC_ICEOPERAND_H
OLDNEW
« no previous file with comments | « src/IceInstX8632.cpp ('k') | src/IceOperand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698