summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/Mips16InstrInfo.h
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-11-13 04:37:52 +0000
committerReed Kotler <rkotler@mips.com>2013-11-13 04:37:52 +0000
commit4df21b14675954ba951ad118d1dc4a4021650078 (patch)
tree61dba36d68b8fee669750a04594a648ffd89917b /lib/Target/Mips/Mips16InstrInfo.h
parent950abf3933eae3a7ddeeb88916b35ca5265e7cb2 (diff)
downloadllvm-4df21b14675954ba951ad118d1dc4a4021650078.tar.gz
llvm-4df21b14675954ba951ad118d1dc4a4021650078.tar.bz2
llvm-4df21b14675954ba951ad118d1dc4a4021650078.tar.xz
Allow the code which returns the length for inline assembler to know
specifically about the .space directive. This allows us to force large blocks of code to appear in test cases for things like constant islands without having to make giant test cases to force things like long branches to take effect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194555 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16InstrInfo.h')
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips16InstrInfo.h b/lib/Target/Mips/Mips16InstrInfo.h
index 118d258a2b..d9a594b537 100644
--- a/lib/Target/Mips/Mips16InstrInfo.h
+++ b/lib/Target/Mips/Mips16InstrInfo.h
@@ -108,6 +108,8 @@ public:
void BuildAddiuSpImm
(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, int64_t Imm) const;
+ unsigned getInlineAsmLength(const char *Str,
+ const MCAsmInfo &MAI) const;
private:
virtual unsigned getAnalyzableBrOpc(unsigned Opc) const;