summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AsmWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/IR/AsmWriter.h')
-rw-r--r--llvm/lib/IR/AsmWriter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/IR/AsmWriter.h b/llvm/lib/IR/AsmWriter.h
index cebfca53e74..60da5ad3350 100644
--- a/llvm/lib/IR/AsmWriter.h
+++ b/llvm/lib/IR/AsmWriter.h
@@ -20,6 +20,7 @@
#include "llvm/IR/Attributes.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/TypeFinder.h"
+#include "llvm/IR/UseListOrder.h"
#include "llvm/Support/FormattedStream.h"
namespace llvm {
@@ -73,6 +74,7 @@ private:
TypePrinting TypePrinter;
AssemblyAnnotationWriter *AnnotationWriter;
SetVector<const Comdat *> Comdats;
+ UseListOrderStack UseListOrders;
public:
/// Construct an AssemblyWriter with an external SlotTracker
@@ -111,6 +113,9 @@ public:
void printInstructionLine(const Instruction &I);
void printInstruction(const Instruction &I);
+ void printUseListOrder(const UseListOrder &Order);
+ void printUseLists(const Function *F);
+
private:
void init();
OpenPOWER on IntegriCloud