| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 lowering ----*- C++ -*-===// | 1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 } | 877 } |
| 878 void _vmla(Variable *Dest, Variable *Src0, Variable *Src1) { | 878 void _vmla(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 879 Context.insert<InstARM32Vmla>(Dest, Src0, Src1); | 879 Context.insert<InstARM32Vmla>(Dest, Src0, Src1); |
| 880 } | 880 } |
| 881 void _vmls(Variable *Dest, Variable *Src0, Variable *Src1) { | 881 void _vmls(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 882 Context.insert<InstARM32Vmls>(Dest, Src0, Src1); | 882 Context.insert<InstARM32Vmls>(Dest, Src0, Src1); |
| 883 } | 883 } |
| 884 void _vmul(Variable *Dest, Variable *Src0, Variable *Src1) { | 884 void _vmul(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 885 Context.insert<InstARM32Vmul>(Dest, Src0, Src1); | 885 Context.insert<InstARM32Vmul>(Dest, Src0, Src1); |
| 886 } | 886 } |
| 887 void _vneg(Variable *Dest, Variable *Src0) { |
| 888 Context.insert<InstARM32Vneg>(Dest, Src0, CondARM32::AL) |
| 889 ->setSignType(InstARM32::FS_Signed); |
| 890 } |
| 887 void _vorr(Variable *Dest, Variable *Src0, Variable *Src1) { | 891 void _vorr(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 888 Context.insert<InstARM32Vorr>(Dest, Src0, Src1); | 892 Context.insert<InstARM32Vorr>(Dest, Src0, Src1); |
| 889 } | 893 } |
| 894 InstARM32Vshl *_vshl(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 895 return Context.insert<InstARM32Vshl>(Dest, Src0, Src1); |
| 896 } |
| 890 void _vsqrt(Variable *Dest, Variable *Src, | 897 void _vsqrt(Variable *Dest, Variable *Src, |
| 891 CondARM32::Cond Pred = CondARM32::AL) { | 898 CondARM32::Cond Pred = CondARM32::AL) { |
| 892 Context.insert<InstARM32Vsqrt>(Dest, Src, Pred); | 899 Context.insert<InstARM32Vsqrt>(Dest, Src, Pred); |
| 893 } | 900 } |
| 894 void _vsub(Variable *Dest, Variable *Src0, Variable *Src1) { | 901 void _vsub(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 895 Context.insert<InstARM32Vsub>(Dest, Src0, Src1); | 902 Context.insert<InstARM32Vsub>(Dest, Src0, Src1); |
| 896 } | 903 } |
| 897 | 904 |
| 898 // Iterates over the CFG and determines the maximum outgoing stack arguments | 905 // Iterates over the CFG and determines the maximum outgoing stack arguments |
| 899 // bytes. This information is later used during addProlog() to pre-allocate | 906 // bytes. This information is later used during addProlog() to pre-allocate |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1335 private: | 1342 private: |
| 1336 ~TargetHeaderARM32() = default; | 1343 ~TargetHeaderARM32() = default; |
| 1337 | 1344 |
| 1338 TargetARM32Features CPUFeatures; | 1345 TargetARM32Features CPUFeatures; |
| 1339 }; | 1346 }; |
| 1340 | 1347 |
| 1341 } // end of namespace ARM32 | 1348 } // end of namespace ARM32 |
| 1342 } // end of namespace Ice | 1349 } // end of namespace Ice |
| 1343 | 1350 |
| 1344 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H | 1351 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H |
| OLD | NEW |