aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCStreamer.h
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-01-07 21:51:08 +0000
committerEli Bendersky <eliben@google.com>2013-01-07 21:51:08 +0000
commit6c1d4972cf1cd6b6072e31c05f97abb1ed7a8497 (patch)
tree01a1fc8d4730a3b75657fafa9a5428bd7e4f0057 /include/llvm/MC/MCStreamer.h
parentd3ae2866d105f6da6375544eb41aea0dad75a9f2 (diff)
downloadexternal_llvm-6c1d4972cf1cd6b6072e31c05f97abb1ed7a8497.zip
external_llvm-6c1d4972cf1cd6b6072e31c05f97abb1ed7a8497.tar.gz
external_llvm-6c1d4972cf1cd6b6072e31c05f97abb1ed7a8497.tar.bz2
Add the align_to_end option to .bundle_lock in the MC implementation of aligned
bundling. The document describing this feature and the implementation has also been updated: https://sites.google.com/a/chromium.org/dev/nativeclient/pnacl/aligned-bundling-support-in-llvm git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCStreamer.h')
-rw-r--r--include/llvm/MC/MCStreamer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h
index 8be46b5..05a33c5 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -562,7 +562,10 @@ namespace llvm {
virtual void EmitBundleAlignMode(unsigned AlignPow2) = 0;
/// \brief The following instructions are a bundle-locked group.
- virtual void EmitBundleLock() = 0;
+ ///
+ /// \param AlignToEnd - If true, the bundle-locked group will be aligned to
+ /// the end of a bundle.
+ virtual void EmitBundleLock(bool AlignToEnd) = 0;
/// \brief Ends a bundle-locked group.
virtual void EmitBundleUnlock() = 0;