| 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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 } | 555 } |
| 556 void _xor(Variable *Dest, Operand *Src0) { | 556 void _xor(Variable *Dest, Operand *Src0) { |
| 557 Context.insert(InstX8632Xor::create(Func, Dest, Src0)); | 557 Context.insert(InstX8632Xor::create(Func, Dest, Src0)); |
| 558 } | 558 } |
| 559 void _set_dest_nonkillable() { | 559 void _set_dest_nonkillable() { |
| 560 Context.getLastInserted()->setDestNonKillable(); | 560 Context.getLastInserted()->setDestNonKillable(); |
| 561 } | 561 } |
| 562 | 562 |
| 563 bool optimizeScalarMul(Variable *Dest, Operand *Src0, int32_t Src1); | 563 bool optimizeScalarMul(Variable *Dest, Operand *Src0, int32_t Src1); |
| 564 | 564 |
| 565 const X86InstructionSet InstructionSet; | 565 X86InstructionSet InstructionSet; |
| 566 bool IsEbpBasedFrame; | 566 bool IsEbpBasedFrame; |
| 567 bool NeedsStackAlignment; | 567 bool NeedsStackAlignment; |
| 568 size_t SpillAreaSizeBytes; | 568 size_t SpillAreaSizeBytes; |
| 569 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; | 569 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; |
| 570 llvm::SmallBitVector ScratchRegs; | 570 llvm::SmallBitVector ScratchRegs; |
| 571 llvm::SmallBitVector RegsUsed; | 571 llvm::SmallBitVector RegsUsed; |
| 572 VarList PhysicalRegisters[IceType_NUM]; | 572 VarList PhysicalRegisters[IceType_NUM]; |
| 573 static IceString RegNames[]; | 573 static IceString RegNames[]; |
| 574 | 574 |
| 575 private: | 575 private: |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 protected: | 611 protected: |
| 612 explicit TargetHeaderX8632(GlobalContext *Ctx); | 612 explicit TargetHeaderX8632(GlobalContext *Ctx); |
| 613 | 613 |
| 614 private: | 614 private: |
| 615 ~TargetHeaderX8632() = default; | 615 ~TargetHeaderX8632() = default; |
| 616 }; | 616 }; |
| 617 | 617 |
| 618 } // end of namespace Ice | 618 } // end of namespace Ice |
| 619 | 619 |
| 620 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H | 620 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H |
| OLD | NEW |