| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===// | 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 lowering ---*- 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 the TargetLoweringX8632 class, which | 10 // This file declares the TargetLoweringX8632 class, which |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 | 475 |
| 476 const X86InstructionSet InstructionSet; | 476 const X86InstructionSet InstructionSet; |
| 477 bool IsEbpBasedFrame; | 477 bool IsEbpBasedFrame; |
| 478 bool NeedsStackAlignment; | 478 bool NeedsStackAlignment; |
| 479 size_t FrameSizeLocals; | 479 size_t FrameSizeLocals; |
| 480 size_t SpillAreaSizeBytes; | 480 size_t SpillAreaSizeBytes; |
| 481 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; | 481 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; |
| 482 llvm::SmallBitVector ScratchRegs; | 482 llvm::SmallBitVector ScratchRegs; |
| 483 llvm::SmallBitVector RegsUsed; | 483 llvm::SmallBitVector RegsUsed; |
| 484 SizeT NextLabelNumber; | 484 SizeT NextLabelNumber; |
| 485 bool ComputedLiveRanges; | |
| 486 VarList PhysicalRegisters[IceType_NUM]; | 485 VarList PhysicalRegisters[IceType_NUM]; |
| 487 VarList FakeKilledScratchRegisters; | 486 VarList FakeKilledScratchRegisters; |
| 488 static IceString RegNames[]; | 487 static IceString RegNames[]; |
| 489 | 488 |
| 490 private: | 489 private: |
| 491 ~TargetX8632() override {} | 490 ~TargetX8632() override {} |
| 492 // Ideally, this initialization would be done in the constructor, | 491 // Ideally, this initialization would be done in the constructor, |
| 493 // but we need to defer it until after the initial CFG is built, | 492 // but we need to defer it until after the initial CFG is built, |
| 494 // because some of the bitcode reader tests rely on the order that | 493 // because some of the bitcode reader tests rely on the order that |
| 495 // Variables are created and their default printable names. | 494 // Variables are created and their default printable names. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 520 }; | 519 }; |
| 521 | 520 |
| 522 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; | 521 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; |
| 523 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; | 522 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; |
| 524 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; | 523 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; |
| 525 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; | 524 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; |
| 526 | 525 |
| 527 } // end of namespace Ice | 526 } // end of namespace Ice |
| 528 | 527 |
| 529 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H | 528 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H |
| OLD | NEW |