| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |