| 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 // This file declares the TargetLoweringARM32 class, which implements the | 10 // This file declares the TargetLoweringARM32 class, which implements the |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 Context.insert(InstARM32Bic::create(Func, Dest, Src0, Src1, Pred)); | 172 Context.insert(InstARM32Bic::create(Func, Dest, Src0, Src1, Pred)); |
| 173 } | 173 } |
| 174 void _br(CondARM32::Cond Condition, CfgNode *TargetTrue, | 174 void _br(CondARM32::Cond Condition, CfgNode *TargetTrue, |
| 175 CfgNode *TargetFalse) { | 175 CfgNode *TargetFalse) { |
| 176 Context.insert( | 176 Context.insert( |
| 177 InstARM32Br::create(Func, TargetTrue, TargetFalse, Condition)); | 177 InstARM32Br::create(Func, TargetTrue, TargetFalse, Condition)); |
| 178 } | 178 } |
| 179 void _br(CfgNode *Target) { | 179 void _br(CfgNode *Target) { |
| 180 Context.insert(InstARM32Br::create(Func, Target)); | 180 Context.insert(InstARM32Br::create(Func, Target)); |
| 181 } | 181 } |
| 182 void _br(CfgNode *Target, CondARM32::Cond Condition) { |
| 183 Context.insert(InstARM32Br::create(Func, Target, Condition)); |
| 184 } |
| 182 void _cmp(Variable *Src0, Operand *Src1, | 185 void _cmp(Variable *Src0, Operand *Src1, |
| 183 CondARM32::Cond Pred = CondARM32::AL) { | 186 CondARM32::Cond Pred = CondARM32::AL) { |
| 184 Context.insert(InstARM32Cmp::create(Func, Src0, Src1, Pred)); | 187 Context.insert(InstARM32Cmp::create(Func, Src0, Src1, Pred)); |
| 185 } | 188 } |
| 186 void _eor(Variable *Dest, Variable *Src0, Operand *Src1, | 189 void _eor(Variable *Dest, Variable *Src0, Operand *Src1, |
| 187 CondARM32::Cond Pred = CondARM32::AL) { | 190 CondARM32::Cond Pred = CondARM32::AL) { |
| 188 Context.insert(InstARM32Eor::create(Func, Dest, Src0, Src1, Pred)); | 191 Context.insert(InstARM32Eor::create(Func, Dest, Src0, Src1, Pred)); |
| 189 } | 192 } |
| 190 void _ldr(Variable *Dest, OperandARM32Mem *Addr, | 193 void _ldr(Variable *Dest, OperandARM32Mem *Addr, |
| 191 CondARM32::Cond Pred = CondARM32::AL) { | 194 CondARM32::Cond Pred = CondARM32::AL) { |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 protected: | 353 protected: |
| 351 explicit TargetHeaderARM32(GlobalContext *Ctx); | 354 explicit TargetHeaderARM32(GlobalContext *Ctx); |
| 352 | 355 |
| 353 private: | 356 private: |
| 354 ~TargetHeaderARM32() = default; | 357 ~TargetHeaderARM32() = default; |
| 355 }; | 358 }; |
| 356 | 359 |
| 357 } // end of namespace Ice | 360 } // end of namespace Ice |
| 358 | 361 |
| 359 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H | 362 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H |
| OLD | NEW |