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

Side by Side Diff: src/IceCfg.h

Issue 2095763002: Instrumented local variables and implemented runtime. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Made sort safe and fixed test to run Created 4 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/IceASanInstrumentation.cpp ('k') | src/IceCfg.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/IceCfg.h - Control flow graph ----------------*- C++ -*-===// 1 //===- subzero/src/IceCfg.h - Control flow graph ----------------*- 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 VariableDeclaration *NodeNameDeclaration); 288 VariableDeclaration *NodeNameDeclaration);
289 289
290 /// Iterate through the registered jump tables and emit them. 290 /// Iterate through the registered jump tables and emit them.
291 void emitJumpTables(); 291 void emitJumpTables();
292 292
293 enum AllocaBaseVariableType { 293 enum AllocaBaseVariableType {
294 BVT_StackPointer, 294 BVT_StackPointer,
295 BVT_FramePointer, 295 BVT_FramePointer,
296 BVT_UserPointer 296 BVT_UserPointer
297 }; 297 };
298 void sortAndCombineAllocas(CfgVector<Inst *> &Allocas, 298 void sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas,
299 uint32_t CombinedAlignment, InstList &Insts, 299 uint32_t CombinedAlignment, InstList &Insts,
300 AllocaBaseVariableType BaseVariableType); 300 AllocaBaseVariableType BaseVariableType);
301 void findRematerializable(); 301 void findRematerializable();
302 302
303 GlobalContext *Ctx; 303 GlobalContext *Ctx;
304 uint32_t SequenceNumber; /// output order for emission 304 uint32_t SequenceNumber; /// output order for emission
305 OptLevel OptimizationLevel = Opt_m1; 305 OptLevel OptimizationLevel = Opt_m1;
306 uint32_t ConstantBlindingCookie = 0; /// cookie for constant blinding 306 uint32_t ConstantBlindingCookie = 0; /// cookie for constant blinding
307 VerboseMask VMask; 307 VerboseMask VMask;
308 GlobalString FunctionName; 308 GlobalString FunctionName;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 using OwnerType = Cfg; 354 using OwnerType = Cfg;
355 static StringPool *getStrings(const OwnerType *PoolOwner) { 355 static StringPool *getStrings(const OwnerType *PoolOwner) {
356 return PoolOwner->getVarStrings(); 356 return PoolOwner->getVarStrings();
357 } 357 }
358 }; 358 };
359 using VariableString = StringID<VariableStringPoolTraits>; 359 using VariableString = StringID<VariableStringPoolTraits>;
360 360
361 } // end of namespace Ice 361 } // end of namespace Ice
362 362
363 #endif // SUBZERO_SRC_ICECFG_H 363 #endif // SUBZERO_SRC_ICECFG_H
OLDNEW
« no previous file with comments | « src/IceASanInstrumentation.cpp ('k') | src/IceCfg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698