| OLD | NEW |
| 1 //===- subzero/src/IceInstARM32.h - ARM32 machine instructions --*- C++ -*-===// | 1 //===- subzero/src/IceInstARM32.h - ARM32 machine instructions --*- 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 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 ++Sum; | 854 ++Sum; |
| 855 if (getTargetFalse()) | 855 if (getTargetFalse()) |
| 856 ++Sum; | 856 ++Sum; |
| 857 return Sum; | 857 return Sum; |
| 858 } | 858 } |
| 859 bool isUnconditionalBranch() const override { | 859 bool isUnconditionalBranch() const override { |
| 860 return getPredicate() == CondARM32::AL; | 860 return getPredicate() == CondARM32::AL; |
| 861 } | 861 } |
| 862 bool repointEdges(CfgNode *OldNode, CfgNode *NewNode) override; | 862 bool repointEdges(CfgNode *OldNode, CfgNode *NewNode) override; |
| 863 void emit(const Cfg *Func) const override; | 863 void emit(const Cfg *Func) const override; |
| 864 void emitIAS(const Cfg *Func) const override; |
| 864 void dump(const Cfg *Func) const override; | 865 void dump(const Cfg *Func) const override; |
| 865 static bool classof(const Inst *Inst) { return isClassof(Inst, Br); } | 866 static bool classof(const Inst *Inst) { return isClassof(Inst, Br); } |
| 866 | 867 |
| 867 private: | 868 private: |
| 868 InstARM32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse, | 869 InstARM32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse, |
| 869 const InstARM32Label *Label, CondARM32::Cond Predicate); | 870 const InstARM32Label *Label, CondARM32::Cond Predicate); |
| 870 | 871 |
| 871 const CfgNode *TargetTrue; | 872 const CfgNode *TargetTrue; |
| 872 const CfgNode *TargetFalse; | 873 const CfgNode *TargetFalse; |
| 873 const InstARM32Label *Label; // Intra-block branch target | 874 const InstARM32Label *Label; // Intra-block branch target |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1228 // default implementations. Without this, there is the possibility of ODR | 1229 // default implementations. Without this, there is the possibility of ODR |
| 1229 // violations and link errors. | 1230 // violations and link errors. |
| 1230 | 1231 |
| 1231 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1232 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
| 1232 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1233 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
| 1233 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1234 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
| 1234 | 1235 |
| 1235 } // end of namespace Ice | 1236 } // end of namespace Ice |
| 1236 | 1237 |
| 1237 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1238 #endif // SUBZERO_SRC_ICEINSTARM32_H |
| OLD | NEW |