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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
350 | 350 |
351 void _mov_d(Variable *Dest, Variable *Src) { | 351 void _mov_d(Variable *Dest, Variable *Src) { |
352 Context.insert<InstMIPS32Mov_d>(Dest, Src); | 352 Context.insert<InstMIPS32Mov_d>(Dest, Src); |
353 } | 353 } |
354 | 354 |
355 void _mov_s(Variable *Dest, Variable *Src) { | 355 void _mov_s(Variable *Dest, Variable *Src) { |
356 Context.insert<InstMIPS32Mov_s>(Dest, Src); | 356 Context.insert<InstMIPS32Mov_s>(Dest, Src); |
357 } | 357 } |
358 | 358 |
359 void _movf(Variable *Src0, Variable *Src1, Operand *FCC) { | 359 void _movf(Variable *Src0, Variable *Src1, Operand *FCC) { |
360 Context.insert<InstMIPS32Movf>(Src0, Src1, FCC); | 360 auto *Instr = Context.insert<InstMIPS32Movf>(Src0, Src1, FCC); |
361 Instr->setDestRedefined(); | |
Jim Stichnoth
2016/09/21 17:07:10
Sorry, I missed this the first time.
You should b
jaydeep.patil
2016/09/22 03:07:58
Done.
| |
361 } | 362 } |
362 | 363 |
363 void _movn(Variable *Dest, Variable *Src0, Variable *Src1) { | 364 void _movn(Variable *Dest, Variable *Src0, Variable *Src1) { |
364 Context.insert<InstMIPS32Movn>(Dest, Src0, Src1); | 365 Context.insert<InstMIPS32Movn>(Dest, Src0, Src1); |
365 } | 366 } |
366 | 367 |
367 void _movn_d(Variable *Dest, Variable *Src0, Variable *Src1) { | 368 void _movn_d(Variable *Dest, Variable *Src0, Variable *Src1) { |
368 Context.insert<InstMIPS32Movn_d>(Dest, Src0, Src1); | 369 Context.insert<InstMIPS32Movn_d>(Dest, Src0, Src1); |
369 } | 370 } |
370 | 371 |
371 void _movn_s(Variable *Dest, Variable *Src0, Variable *Src1) { | 372 void _movn_s(Variable *Dest, Variable *Src0, Variable *Src1) { |
372 Context.insert<InstMIPS32Movn_s>(Dest, Src0, Src1); | 373 Context.insert<InstMIPS32Movn_s>(Dest, Src0, Src1); |
373 } | 374 } |
374 | 375 |
375 void _movt(Variable *Src0, Variable *Src1, Operand *FCC) { | 376 void _movt(Variable *Src0, Variable *Src1, Operand *FCC) { |
376 Context.insert<InstMIPS32Movt>(Src0, Src1, FCC); | 377 auto *Instr = Context.insert<InstMIPS32Movt>(Src0, Src1, FCC); |
378 Instr->setDestRedefined(); | |
377 } | 379 } |
378 | 380 |
379 void _movz(Variable *Dest, Variable *Src0, Variable *Src1) { | 381 void _movz(Variable *Dest, Variable *Src0, Variable *Src1) { |
380 Context.insert<InstMIPS32Movz>(Dest, Src0, Src1); | 382 Context.insert<InstMIPS32Movz>(Dest, Src0, Src1); |
381 } | 383 } |
382 | 384 |
383 void _movz_d(Variable *Dest, Variable *Src0, Variable *Src1) { | 385 void _movz_d(Variable *Dest, Variable *Src0, Variable *Src1) { |
384 Context.insert<InstMIPS32Movz_d>(Dest, Src0, Src1); | 386 Context.insert<InstMIPS32Movz_d>(Dest, Src0, Src1); |
385 } | 387 } |
386 | 388 |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
847 explicit TargetHeaderMIPS32(GlobalContext *Ctx); | 849 explicit TargetHeaderMIPS32(GlobalContext *Ctx); |
848 | 850 |
849 private: | 851 private: |
850 ~TargetHeaderMIPS32() = default; | 852 ~TargetHeaderMIPS32() = default; |
851 }; | 853 }; |
852 | 854 |
853 } // end of namespace MIPS32 | 855 } // end of namespace MIPS32 |
854 } // end of namespace Ice | 856 } // end of namespace Ice |
855 | 857 |
856 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H | 858 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H |
OLD | NEW |