OLD | NEW |
1 //===- subzero/src/IceTargetLoweringX8664.h - lowering for x86-64 -*- C++ -*-=// | 1 //===- subzero/src/IceTargetLoweringX8664.h - lowering for x86-64 -*- 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 private: | 67 private: |
68 ENABLE_MAKE_UNIQUE; | 68 ENABLE_MAKE_UNIQUE; |
69 friend class X8664::TargetX86Base<X8664::Traits>; | 69 friend class X8664::TargetX86Base<X8664::Traits>; |
70 | 70 |
71 explicit TargetX8664(Cfg *Func) : TargetX86Base(Func) {} | 71 explicit TargetX8664(Cfg *Func) : TargetX86Base(Func) {} |
72 | 72 |
73 void _push_rbp(); | 73 void _push_rbp(); |
74 | 74 |
75 Operand *createNaClReadTPSrcOperand() { | 75 Operand *createNaClReadTPSrcOperand() { |
76 Variable *TDB = makeReg(IceType_i32); | 76 Variable *TDB = makeReg(IceType_i32); |
77 InstCall *Call = makeHelperCall(H_call_read_tp, TDB, 0); | 77 InstCall *Call = makeHelperCall(RuntimeHelper::H_call_read_tp, TDB, 0); |
78 lowerCall(Call); | 78 lowerCall(Call); |
79 return TDB; | 79 return TDB; |
80 } | 80 } |
81 }; | 81 }; |
82 | 82 |
83 } // end of namespace X8664 | 83 } // end of namespace X8664 |
84 } // end of namespace Ice | 84 } // end of namespace Ice |
85 | 85 |
86 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8664_H | 86 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8664_H |
OLD | NEW |