OLD | NEW |
(Empty) | |
| 1 //===-- ARMMCNaCl.h - Prototype for CustomExpandInstNaClARM ---*- 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 ARMMCNACL_H |
| 11 #define ARMMCNACL_H |
| 12 #include "llvm/MC/MCInst.h" |
| 13 |
| 14 namespace llvm { |
| 15 |
| 16 class MCStreamer; |
| 17 class MCSubtargetInfo; |
| 18 |
| 19 class ARMMCNaClSFIState { |
| 20 public: |
| 21 static const int MaxSaved = 4; |
| 22 MCInst Saved[MaxSaved]; |
| 23 int SaveCount; |
| 24 int I; |
| 25 bool RecursiveCall; |
| 26 }; |
| 27 |
| 28 bool CustomExpandInstNaClARM(const MCSubtargetInfo &STI, const MCInst &Inst, |
| 29 MCStreamer &Out, ARMMCNaClSFIState &State); |
| 30 } |
| 31 |
| 32 #endif |
OLD | NEW |