//
// The LLVM Compiler Infrastructure
//
-// This file was developed by James M. Laskey and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
#define ARMTARGETASMINFO_H
#include "llvm/Target/TargetAsmInfo.h"
+#include "ARMSubtarget.h"
namespace llvm {
class ARMTargetMachine;
struct ARMTargetAsmInfo : public TargetAsmInfo {
- ARMTargetAsmInfo(const ARMTargetMachine &TM);
+ explicit ARMTargetAsmInfo(const ARMTargetMachine &TM);
- bool isThumb;
+ const ARMSubtarget *Subtarget;
+
+ virtual unsigned getInlineAsmLength(const char *Str) const;
+ unsigned countArguments(const char *p) const;
+ unsigned countString(const char *p) const;
};