| OLD | NEW |
| 1 //===- subzero/src/IceInstARM32.cpp - ARM32 instruction implementation ----===// | 1 //===- subzero/src/IceInstARM32.cpp - ARM32 instruction implementation ----===// |
| 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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 Ostream &Str = Func->getContext()->getStrDump(); | 875 Ostream &Str = Func->getContext()->getStrDump(); |
| 876 Str << "br "; | 876 Str << "br "; |
| 877 | 877 |
| 878 if (getPredicate() == CondARM32::AL) { | 878 if (getPredicate() == CondARM32::AL) { |
| 879 Str << "label %" | 879 Str << "label %" |
| 880 << (Label ? Label->getName(Func) : getTargetFalse()->getName()); | 880 << (Label ? Label->getName(Func) : getTargetFalse()->getName()); |
| 881 return; | 881 return; |
| 882 } | 882 } |
| 883 | 883 |
| 884 if (Label) { | 884 if (Label) { |
| 885 Str << "label %" << Label->getName(Func); | 885 Str << getPredicate() << ", label %" << Label->getName(Func); |
| 886 } else { | 886 } else { |
| 887 Str << getPredicate() << ", label %" << getTargetTrue()->getName(); | 887 Str << getPredicate() << ", label %" << getTargetTrue()->getName(); |
| 888 if (getTargetFalse()) { | 888 if (getTargetFalse()) { |
| 889 Str << ", label %" << getTargetFalse()->getName(); | 889 Str << ", label %" << getTargetFalse()->getName(); |
| 890 } | 890 } |
| 891 } | 891 } |
| 892 } | 892 } |
| 893 | 893 |
| 894 void InstARM32Call::emit(const Cfg *Func) const { | 894 void InstARM32Call::emit(const Cfg *Func) const { |
| 895 if (!BuildDefs::dump()) | 895 if (!BuildDefs::dump()) |
| (...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1702 template class InstARM32UnaryopGPR<InstARM32::Uxt, true>; | 1702 template class InstARM32UnaryopGPR<InstARM32::Uxt, true>; |
| 1703 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; | 1703 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; |
| 1704 | 1704 |
| 1705 template class InstARM32FourAddrGPR<InstARM32::Mla>; | 1705 template class InstARM32FourAddrGPR<InstARM32::Mla>; |
| 1706 template class InstARM32FourAddrGPR<InstARM32::Mls>; | 1706 template class InstARM32FourAddrGPR<InstARM32::Mls>; |
| 1707 | 1707 |
| 1708 template class InstARM32CmpLike<InstARM32::Cmp>; | 1708 template class InstARM32CmpLike<InstARM32::Cmp>; |
| 1709 template class InstARM32CmpLike<InstARM32::Tst>; | 1709 template class InstARM32CmpLike<InstARM32::Tst>; |
| 1710 | 1710 |
| 1711 } // end of namespace Ice | 1711 } // end of namespace Ice |
| OLD | NEW |