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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 void _xor(Variable *Dest, Operand *Src0) { | 560 void _xor(Variable *Dest, Operand *Src0) { |
561 Context.insert(InstX8632Xor::create(Func, Dest, Src0)); | 561 Context.insert(InstX8632Xor::create(Func, Dest, Src0)); |
562 } | 562 } |
563 void _set_dest_nonkillable() { | 563 void _set_dest_nonkillable() { |
564 Context.getLastInserted()->setDestNonKillable(); | 564 Context.getLastInserted()->setDestNonKillable(); |
565 } | 565 } |
566 | 566 |
567 const X86InstructionSet InstructionSet; | 567 const X86InstructionSet InstructionSet; |
568 bool IsEbpBasedFrame; | 568 bool IsEbpBasedFrame; |
569 bool NeedsStackAlignment; | 569 bool NeedsStackAlignment; |
570 size_t FrameSizeLocals; | |
571 size_t SpillAreaSizeBytes; | 570 size_t SpillAreaSizeBytes; |
572 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; | 571 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; |
573 llvm::SmallBitVector ScratchRegs; | 572 llvm::SmallBitVector ScratchRegs; |
574 llvm::SmallBitVector RegsUsed; | 573 llvm::SmallBitVector RegsUsed; |
575 VarList PhysicalRegisters[IceType_NUM]; | 574 VarList PhysicalRegisters[IceType_NUM]; |
576 static IceString RegNames[]; | 575 static IceString RegNames[]; |
577 | 576 |
578 private: | 577 private: |
579 ~TargetX8632() override {} | 578 ~TargetX8632() override {} |
580 BoolFolding FoldingInfo; | 579 BoolFolding FoldingInfo; |
(...skipping 17 matching lines...) Expand all Loading... |
598 | 597 |
599 private: | 598 private: |
600 void lowerGlobal(const VariableDeclaration &Var) const; | 599 void lowerGlobal(const VariableDeclaration &Var) const; |
601 ~TargetDataX8632() override {} | 600 ~TargetDataX8632() override {} |
602 template <typename T> static void emitConstantPool(GlobalContext *Ctx); | 601 template <typename T> static void emitConstantPool(GlobalContext *Ctx); |
603 }; | 602 }; |
604 | 603 |
605 } // end of namespace Ice | 604 } // end of namespace Ice |
606 | 605 |
607 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H | 606 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H |
OLD | NEW |