| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- C++-*-===// | 1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 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 /// \file | 10 /// \file |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 } | 412 } |
| 413 | 413 |
| 414 void _mult(Variable *Dest, Variable *Src0, Variable *Src1) { | 414 void _mult(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 415 Context.insert<InstMIPS32Mult>(Dest, Src0, Src1); | 415 Context.insert<InstMIPS32Mult>(Dest, Src0, Src1); |
| 416 } | 416 } |
| 417 | 417 |
| 418 void _multu(Variable *Dest, Variable *Src0, Variable *Src1) { | 418 void _multu(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 419 Context.insert<InstMIPS32Multu>(Dest, Src0, Src1); | 419 Context.insert<InstMIPS32Multu>(Dest, Src0, Src1); |
| 420 } | 420 } |
| 421 | 421 |
| 422 void _nop() { Context.insert<InstMIPS32Sll>(getZero(), getZero(), 0); } |
| 423 |
| 422 void _or(Variable *Dest, Variable *Src0, Variable *Src1) { | 424 void _or(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 423 Context.insert<InstMIPS32Or>(Dest, Src0, Src1); | 425 Context.insert<InstMIPS32Or>(Dest, Src0, Src1); |
| 424 } | 426 } |
| 425 | 427 |
| 426 void _ori(Variable *Dest, Variable *Src, uint32_t Imm) { | 428 void _ori(Variable *Dest, Variable *Src, uint32_t Imm) { |
| 427 Context.insert<InstMIPS32Ori>(Dest, Src, Imm); | 429 Context.insert<InstMIPS32Ori>(Dest, Src, Imm); |
| 428 } | 430 } |
| 429 | 431 |
| 430 void _sdc1(Variable *Value, OperandMIPS32Mem *Mem) { | 432 void _sdc1(Variable *Value, OperandMIPS32Mem *Mem) { |
| 431 Context.insert<InstMIPS32Sdc1>(Value, Mem); | 433 Context.insert<InstMIPS32Sdc1>(Value, Mem); |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 841 explicit TargetHeaderMIPS32(GlobalContext *Ctx); | 843 explicit TargetHeaderMIPS32(GlobalContext *Ctx); |
| 842 | 844 |
| 843 private: | 845 private: |
| 844 ~TargetHeaderMIPS32() = default; | 846 ~TargetHeaderMIPS32() = default; |
| 845 }; | 847 }; |
| 846 | 848 |
| 847 } // end of namespace MIPS32 | 849 } // end of namespace MIPS32 |
| 848 } // end of namespace Ice | 850 } // end of namespace Ice |
| 849 | 851 |
| 850 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H | 852 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H |
| OLD | NEW |