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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 auto *Instr = Context.insert<InstARM32Mov>(Dest, Src0, Pred); | 406 auto *Instr = Context.insert<InstARM32Mov>(Dest, Src0, Pred); |
407 Instr->setDestRedefined(); | 407 Instr->setDestRedefined(); |
408 if (Instr->isMultiDest()) { | 408 if (Instr->isMultiDest()) { |
409 // If Instr is multi-dest, then Dest must be a Variable64On32. We add a | 409 // If Instr is multi-dest, then Dest must be a Variable64On32. We add a |
410 // fake-def for Instr.DestHi here. | 410 // fake-def for Instr.DestHi here. |
411 assert(llvm::isa<Variable64On32>(Dest)); | 411 assert(llvm::isa<Variable64On32>(Dest)); |
412 Context.insert<InstFakeDef>(Instr->getDestHi()); | 412 Context.insert<InstFakeDef>(Instr->getDestHi()); |
413 } | 413 } |
414 } | 414 } |
415 | 415 |
| 416 void _nop() { Context.insert<InstARM32Nop>(); } |
| 417 |
416 // -------------------------------------------------------------------------- | 418 // -------------------------------------------------------------------------- |
417 // Begin bool folding machinery. | 419 // Begin bool folding machinery. |
418 // | 420 // |
419 // There are three types of boolean lowerings handled by this target: | 421 // There are three types of boolean lowerings handled by this target: |
420 // | 422 // |
421 // 1) Boolean expressions leading to a boolean Variable definition | 423 // 1) Boolean expressions leading to a boolean Variable definition |
422 // --------------------------------------------------------------- | 424 // --------------------------------------------------------------- |
423 // | 425 // |
424 // Whenever a i1 Variable is live out (i.e., its live range extends beyond | 426 // Whenever a i1 Variable is live out (i.e., its live range extends beyond |
425 // the defining basic block) we do not fold the operation. We instead | 427 // the defining basic block) we do not fold the operation. We instead |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1216 private: | 1218 private: |
1217 ~TargetHeaderARM32() = default; | 1219 ~TargetHeaderARM32() = default; |
1218 | 1220 |
1219 TargetARM32Features CPUFeatures; | 1221 TargetARM32Features CPUFeatures; |
1220 }; | 1222 }; |
1221 | 1223 |
1222 } // end of namespace ARM32 | 1224 } // end of namespace ARM32 |
1223 } // end of namespace Ice | 1225 } // end of namespace Ice |
1224 | 1226 |
1225 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H | 1227 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H |
OLD | NEW |