OLD | NEW |
(Empty) | |
| 1 //===-- ARMNaClRewritePass.h - NaCl Sandboxing Pass ------- --*- C++ -*-===// |
| 2 // |
| 3 // The LLVM Compiler Infrastructure |
| 4 // |
| 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. |
| 7 // |
| 8 //===----------------------------------------------------------------------===// |
| 9 |
| 10 #ifndef TARGET_ARMNACLREWRITEPASS_H |
| 11 #define TARGET_ARMNACLREWRITEPASS_H |
| 12 |
| 13 #include "llvm/MC/MCNaCl.h" |
| 14 #include "llvm/Target/TargetRegisterInfo.h" |
| 15 #include "llvm/CodeGen/MachineInstr.h" |
| 16 |
| 17 namespace ARM_SFI { |
| 18 |
| 19 bool IsStackChange(const llvm::MachineInstr &MI, |
| 20 const llvm::TargetRegisterInfo *TRI); |
| 21 bool IsSandboxedStackChange(const llvm::MachineInstr &MI); |
| 22 bool NeedSandboxStackChange(const llvm::MachineInstr &MI, |
| 23 const llvm::TargetRegisterInfo *TRI); |
| 24 |
| 25 } // namespace ARM_SFI |
| 26 |
| 27 #endif |
OLD | NEW |