| 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 } | 376 } |
| 377 void _psll(Variable *Dest, Operand *Src0) { | 377 void _psll(Variable *Dest, Operand *Src0) { |
| 378 Context.insert(InstX8632Psll::create(Func, Dest, Src0)); | 378 Context.insert(InstX8632Psll::create(Func, Dest, Src0)); |
| 379 } | 379 } |
| 380 void _psra(Variable *Dest, Operand *Src0) { | 380 void _psra(Variable *Dest, Operand *Src0) { |
| 381 Context.insert(InstX8632Psra::create(Func, Dest, Src0)); | 381 Context.insert(InstX8632Psra::create(Func, Dest, Src0)); |
| 382 } | 382 } |
| 383 void _psub(Variable *Dest, Operand *Src0) { | 383 void _psub(Variable *Dest, Operand *Src0) { |
| 384 Context.insert(InstX8632Psub::create(Func, Dest, Src0)); | 384 Context.insert(InstX8632Psub::create(Func, Dest, Src0)); |
| 385 } | 385 } |
| 386 void _push(Operand *Src0, bool SuppressStackAdjustment = false) { | 386 void _push(Variable *Src0) { |
| 387 Context.insert(InstX8632Push::create(Func, Src0, SuppressStackAdjustment)); | 387 Context.insert(InstX8632Push::create(Func, Src0)); |
| 388 } | 388 } |
| 389 void _pxor(Variable *Dest, Operand *Src0) { | 389 void _pxor(Variable *Dest, Operand *Src0) { |
| 390 Context.insert(InstX8632Pxor::create(Func, Dest, Src0)); | 390 Context.insert(InstX8632Pxor::create(Func, Dest, Src0)); |
| 391 } | 391 } |
| 392 void _ret(Variable *Src0 = NULL) { | 392 void _ret(Variable *Src0 = NULL) { |
| 393 Context.insert(InstX8632Ret::create(Func, Src0)); | 393 Context.insert(InstX8632Ret::create(Func, Src0)); |
| 394 } | 394 } |
| 395 void _rol(Variable *Dest, Operand *Src0) { | 395 void _rol(Variable *Dest, Operand *Src0) { |
| 396 Context.insert(InstX8632Rol::create(Func, Dest, Src0)); | 396 Context.insert(InstX8632Rol::create(Func, Dest, Src0)); |
| 397 } | 397 } |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 }; | 500 }; |
| 501 | 501 |
| 502 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; | 502 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; |
| 503 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; | 503 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; |
| 504 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; | 504 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; |
| 505 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; | 505 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; |
| 506 | 506 |
| 507 } // end of namespace Ice | 507 } // end of namespace Ice |
| 508 | 508 |
| 509 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H | 509 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H |
| OLD | NEW |