| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringX8632Traits.h - x86-32 traits -*- C++ -*-=// | 1 //===- subzero/src/IceTargetLoweringX8632Traits.h - x86-32 traits -*- 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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 Address toAsmAddress(const Cfg *Func) const; | 620 Address toAsmAddress(const Cfg *Func) const; |
| 621 void emit(const Cfg *Func) const override; | 621 void emit(const Cfg *Func) const override; |
| 622 using X86Operand::dump; | 622 using X86Operand::dump; |
| 623 void dump(const Cfg *Func, Ostream &Str) const override; | 623 void dump(const Cfg *Func, Ostream &Str) const override; |
| 624 | 624 |
| 625 static bool classof(const Operand *Operand) { | 625 static bool classof(const Operand *Operand) { |
| 626 return Operand->getKind() == static_cast<OperandKind>(kSplit); | 626 return Operand->getKind() == static_cast<OperandKind>(kSplit); |
| 627 } | 627 } |
| 628 | 628 |
| 629 private: | 629 private: |
| 630 VariableSplit(Cfg *Func, Variable *Var, Portion Part) | 630 VariableSplit(Cfg *Func, Variable *MyVar, Portion MyPart) |
| 631 : X86Operand(kSplit, IceType_i32), Var(Var), Part(Part) { | 631 : X86Operand(kSplit, IceType_i32), Var(MyVar), Part(MyPart) { |
| 632 assert(Var->getType() == IceType_f64); | 632 assert(Var->getType() == IceType_f64); |
| 633 Vars = Func->allocateArrayOf<Variable *>(1); | 633 Vars = Func->allocateArrayOf<Variable *>(1); |
| 634 Vars[0] = Var; | 634 Vars[0] = Var; |
| 635 NumVars = 1; | 635 NumVars = 1; |
| 636 } | 636 } |
| 637 | 637 |
| 638 Variable *Var; | 638 Variable *Var; |
| 639 Portion Part; | 639 Portion Part; |
| 640 }; | 640 }; |
| 641 | 641 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 | 695 |
| 696 } // end of namespace X86Internal | 696 } // end of namespace X86Internal |
| 697 | 697 |
| 698 namespace X8632 { | 698 namespace X8632 { |
| 699 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8632>; | 699 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8632>; |
| 700 } // end of namespace X8632 | 700 } // end of namespace X8632 |
| 701 | 701 |
| 702 } // end of namespace Ice | 702 } // end of namespace Ice |
| 703 | 703 |
| 704 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632TRAITS_H | 704 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632TRAITS_H |
| OLD | NEW |