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

Side by Side Diff: src/IceTargetLowering.h

Issue 1465213002: Subzero. ARM32. Combine allocas. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses necro-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
OLDNEW
1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// 1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 virtual bool hasFramePointer() const { return false; } 205 virtual bool hasFramePointer() const { return false; }
206 virtual void setHasFramePointer() = 0; 206 virtual void setHasFramePointer() = 0;
207 virtual SizeT getStackReg() const = 0; 207 virtual SizeT getStackReg() const = 0;
208 virtual SizeT getFrameReg() const = 0; 208 virtual SizeT getFrameReg() const = 0;
209 virtual SizeT getFrameOrStackReg() const = 0; 209 virtual SizeT getFrameOrStackReg() const = 0;
210 virtual size_t typeWidthInBytesOnStack(Type Ty) const = 0; 210 virtual size_t typeWidthInBytesOnStack(Type Ty) const = 0;
211 virtual uint32_t getStackAlignment() const = 0; 211 virtual uint32_t getStackAlignment() const = 0;
212 virtual void reserveFixedAllocaArea(size_t Size, size_t Align) = 0; 212 virtual void reserveFixedAllocaArea(size_t Size, size_t Align) = 0;
213 virtual int32_t getFrameFixedAllocaOffset() const = 0; 213 virtual int32_t getFrameFixedAllocaOffset() const = 0;
214 virtual uint32_t maxOutArgsSizeBytes() const { return 0; }
214 215
215 /// Return whether a 64-bit Variable should be split into a Variable64On32. 216 /// Return whether a 64-bit Variable should be split into a Variable64On32.
216 virtual bool shouldSplitToVariable64On32(Type Ty) const = 0; 217 virtual bool shouldSplitToVariable64On32(Type Ty) const = 0;
217 218
218 bool hasComputedFrame() const { return HasComputedFrame; } 219 bool hasComputedFrame() const { return HasComputedFrame; }
219 /// Returns true if this function calls a function that has the "returns 220 /// Returns true if this function calls a function that has the "returns
220 /// twice" attribute. 221 /// twice" attribute.
221 bool callsReturnsTwice() const { return CallsReturnsTwice; } 222 bool callsReturnsTwice() const { return CallsReturnsTwice; }
222 void setCallsReturnsTwice(bool RetTwice) { CallsReturnsTwice = RetTwice; } 223 void setCallsReturnsTwice(bool RetTwice) { CallsReturnsTwice = RetTwice; }
223 int32_t getStackAdjustment() const { return StackAdjustment; } 224 int32_t getStackAdjustment() const { return StackAdjustment; }
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 virtual void lower() {} 489 virtual void lower() {}
489 490
490 protected: 491 protected:
491 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} 492 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {}
492 GlobalContext *Ctx; 493 GlobalContext *Ctx;
493 }; 494 };
494 495
495 } // end of namespace Ice 496 } // end of namespace Ice
496 497
497 #endif // SUBZERO_SRC_ICETARGETLOWERING_H 498 #endif // SUBZERO_SRC_ICETARGETLOWERING_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698