| 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 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 // Movw: | 933 // Movw: |
| 934 // movw Register, #:lower16:Name - (End - Movw) - 8 . | 934 // movw Register, #:lower16:Name - (End - Movw) - 8 . |
| 935 // Movt: | 935 // Movt: |
| 936 // movt Register, #:upper16:Name - (End - Movt) - 8 . | 936 // movt Register, #:upper16:Name - (End - Movt) - 8 . |
| 937 // PC = fake-def | 937 // PC = fake-def |
| 938 // End: | 938 // End: |
| 939 // Finish(PC) | 939 // Finish(PC) |
| 940 // | 940 // |
| 941 // The -8 in movw/movt above is to account for the PC value that the first | 941 // The -8 in movw/movt above is to account for the PC value that the first |
| 942 // instruction emitted by Finish(PC) will read. | 942 // instruction emitted by Finish(PC) will read. |
| 943 void loadNamedConstantRelocatablePIC(const IceString &Name, | 943 void |
| 944 Variable *Register, | 944 loadNamedConstantRelocatablePIC(const IceString &Name, Variable *Register, |
| 945 std::function<void(Variable *PC)> Finish, | 945 std::function<void(Variable *PC)> Finish); |
| 946 bool SuppressMangling = true); | |
| 947 | 946 |
| 948 /// Sandboxer defines methods for ensuring that "dangerous" operations are | 947 /// Sandboxer defines methods for ensuring that "dangerous" operations are |
| 949 /// masked during sandboxed code emission. For regular, non-sandboxed code | 948 /// masked during sandboxed code emission. For regular, non-sandboxed code |
| 950 /// emission, its methods are simple pass-through methods. | 949 /// emission, its methods are simple pass-through methods. |
| 951 /// | 950 /// |
| 952 /// The Sandboxer also emits BundleLock/BundleUnlock pseudo-instructions | 951 /// The Sandboxer also emits BundleLock/BundleUnlock pseudo-instructions |
| 953 /// in the constructor/destructor during sandboxed code emission. Therefore, | 952 /// in the constructor/destructor during sandboxed code emission. Therefore, |
| 954 /// it is a bad idea to create an object of this type and "keep it around." | 953 /// it is a bad idea to create an object of this type and "keep it around." |
| 955 /// The recommended usage is: | 954 /// The recommended usage is: |
| 956 /// | 955 /// |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 private: | 1330 private: |
| 1332 ~TargetHeaderARM32() = default; | 1331 ~TargetHeaderARM32() = default; |
| 1333 | 1332 |
| 1334 TargetARM32Features CPUFeatures; | 1333 TargetARM32Features CPUFeatures; |
| 1335 }; | 1334 }; |
| 1336 | 1335 |
| 1337 } // end of namespace ARM32 | 1336 } // end of namespace ARM32 |
| 1338 } // end of namespace Ice | 1337 } // end of namespace Ice |
| 1339 | 1338 |
| 1340 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H | 1339 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H |
| OLD | NEW |