aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-04-29 14:14:06 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-04-29 14:14:06 +0000
commita432997745f668e85e45826106430f69238b1d1e (patch)
tree2b47cfbfe43e144dc1c21c8185a2f0f349cd8778 /include/llvm/CodeGen/AsmPrinter.h
parentce3a022b8c07339b31aadb56288a8e02c76b40e3 (diff)
downloadexternal_llvm-a432997745f668e85e45826106430f69238b1d1e.zip
external_llvm-a432997745f668e85e45826106430f69238b1d1e.tar.gz
external_llvm-a432997745f668e85e45826106430f69238b1d1e.tar.bz2
Factor some code to needsCFIMoves. Avoid printing moves when we don't have to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 600b218..58395ba 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -185,6 +185,8 @@ namespace llvm {
void emitPrologLabel(const MachineInstr &MI);
+ bool needsCFIMoves();
+
/// EmitConstantPool - Print to the current output stream assembly
/// representations of the constants in the constant pool MCP. This is
/// used to print out constants which have been "spilled to memory" by