| OLD | NEW |
| 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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 NumVars = 1; | 520 NumVars = 1; |
| 521 } | 521 } |
| 522 /// Number is unique across all variables, and is used as a (bit)vector index | 522 /// Number is unique across all variables, and is used as a (bit)vector index |
| 523 /// for liveness analysis. | 523 /// for liveness analysis. |
| 524 const SizeT Number; | 524 const SizeT Number; |
| 525 Cfg::IdentifierIndexType NameIndex = Cfg::IdentifierIndexInvalid; | 525 Cfg::IdentifierIndexType NameIndex = Cfg::IdentifierIndexInvalid; |
| 526 bool IsArgument = false; | 526 bool IsArgument = false; |
| 527 bool IsImplicitArgument = false; | 527 bool IsImplicitArgument = false; |
| 528 /// IgnoreLiveness means that the variable should be ignored when constructing | 528 /// IgnoreLiveness means that the variable should be ignored when constructing |
| 529 /// and validating live ranges. This is usually reserved for the stack | 529 /// and validating live ranges. This is usually reserved for the stack |
| 530 /// pointer. | 530 /// pointer and other physical registers specifically referenced by name. |
| 531 bool IgnoreLiveness = false; | 531 bool IgnoreLiveness = false; |
| 532 /// StackOffset is the canonical location on stack (only if RegNum==NoRegister | 532 /// StackOffset is the canonical location on stack (only if RegNum==NoRegister |
| 533 /// || IsArgument). | 533 /// || IsArgument). |
| 534 int32_t StackOffset = 0; | 534 int32_t StackOffset = 0; |
| 535 /// RegNum is the allocated register, or NoRegister if it isn't | 535 /// RegNum is the allocated register, or NoRegister if it isn't |
| 536 /// register-allocated. | 536 /// register-allocated. |
| 537 int32_t RegNum = NoRegister; | 537 int32_t RegNum = NoRegister; |
| 538 /// RegNumTmp is the tentative assignment during register allocation. | 538 /// RegNumTmp is the tentative assignment during register allocation. |
| 539 int32_t RegNumTmp = NoRegister; | 539 int32_t RegNumTmp = NoRegister; |
| 540 RegRequirement RegRequirement = RR_MayHaveRegister; | 540 RegRequirement RegRequirement = RR_MayHaveRegister; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 private: | 652 private: |
| 653 const Cfg *Func; | 653 const Cfg *Func; |
| 654 MetadataKind Kind; | 654 MetadataKind Kind; |
| 655 CfgVector<VariableTracking> Metadata; | 655 CfgVector<VariableTracking> Metadata; |
| 656 const static InstDefList NoDefinitions; | 656 const static InstDefList NoDefinitions; |
| 657 }; | 657 }; |
| 658 | 658 |
| 659 } // end of namespace Ice | 659 } // end of namespace Ice |
| 660 | 660 |
| 661 #endif // SUBZERO_SRC_ICEOPERAND_H | 661 #endif // SUBZERO_SRC_ICEOPERAND_H |
| OLD | NEW |