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

Side by Side Diff: src/IceGlobalContext.h

Issue 837553009: Make fixups reference any constant (allow const float/double pool literals). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: go back to one arenaallocator type alias Created 5 years, 11 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/IceELFObjectWriter.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/IceGlobalContext.h - Global context defs -----*- C++ -*-===// 1 //===- subzero/src/IceGlobalContext.h - Global context defs -----*- 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 aspects of the compilation that persist across 10 // This file declares aspects of the compilation that persist across
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 void popTimer(TimerIdT ID, TimerStackIdT StackID = TSK_Default); 190 void popTimer(TimerIdT ID, TimerStackIdT StackID = TSK_Default);
191 void resetTimer(TimerStackIdT StackID); 191 void resetTimer(TimerStackIdT StackID);
192 void setTimerName(TimerStackIdT StackID, const IceString &NewName); 192 void setTimerName(TimerStackIdT StackID, const IceString &NewName);
193 void dumpTimers(TimerStackIdT StackID = TSK_Default, 193 void dumpTimers(TimerStackIdT StackID = TSK_Default,
194 bool DumpCumulative = true); 194 bool DumpCumulative = true);
195 195
196 private: 196 private:
197 Ostream *StrDump; // Stream for dumping / diagnostics 197 Ostream *StrDump; // Stream for dumping / diagnostics
198 Ostream *StrEmit; // Stream for code emission 198 Ostream *StrEmit; // Stream for code emission
199 199
200 ArenaAllocator Allocator; 200 ArenaAllocator<> Allocator;
201 VerboseMask VMask; 201 VerboseMask VMask;
202 std::unique_ptr<class ConstantPool> ConstPool; 202 std::unique_ptr<class ConstantPool> ConstPool;
203 Intrinsics IntrinsicsInfo; 203 Intrinsics IntrinsicsInfo;
204 const TargetArch Arch; 204 const TargetArch Arch;
205 const OptLevel Opt; 205 const OptLevel Opt;
206 const IceString TestPrefix; 206 const IceString TestPrefix;
207 const ClFlags &Flags; 207 const ClFlags &Flags;
208 RandomNumberGenerator RNG; 208 RandomNumberGenerator RNG;
209 std::unique_ptr<ELFObjectWriter> ObjectWriter; 209 std::unique_ptr<ELFObjectWriter> ObjectWriter;
210 CodeStats StatsFunction; 210 CodeStats StatsFunction;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 private: 243 private:
244 TimerIdT ID; 244 TimerIdT ID;
245 GlobalContext *const Ctx; 245 GlobalContext *const Ctx;
246 bool Active; 246 bool Active;
247 }; 247 };
248 248
249 } // end of namespace Ice 249 } // end of namespace Ice
250 250
251 #endif // SUBZERO_SRC_ICEGLOBALCONTEXT_H 251 #endif // SUBZERO_SRC_ICEGLOBALCONTEXT_H
OLDNEW
« no previous file with comments | « src/IceELFObjectWriter.cpp ('k') | src/IceInstX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698