summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MIParser.h
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2015-06-26 22:56:48 +0000
committerAlex Lorenz <arphaman@gmail.com>2015-06-26 22:56:48 +0000
commit5d6108e4ed5c80a52bb66d4cb870eb5d1477c572 (patch)
tree94fa2a0ace9fb401526cac4b29c0cd26a6698757 /llvm/lib/CodeGen/MIRParser/MIParser.h
parent8fe7f13af88e6cbd8a31f90373bd1e3db307926b (diff)
downloadbcm5719-llvm-5d6108e4ed5c80a52bb66d4cb870eb5d1477c572.tar.gz
bcm5719-llvm-5d6108e4ed5c80a52bb66d4cb870eb5d1477c572.zip
MIR Serialization: Serialize global address machine operands.
This commit serializes the global address machine operands. This commit doesn't serialize the operand's offset and target flags, it serializes only the global value reference. Reviewers: Duncan P. N. Exon Smith Differential Revision: http://reviews.llvm.org/D10671 llvm-svn: 240851
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MIParser.h')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MIParser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.h b/llvm/lib/CodeGen/MIRParser/MIParser.h
index 5bb0570856c..8211e28cd4e 100644
--- a/llvm/lib/CodeGen/MIRParser/MIParser.h
+++ b/llvm/lib/CodeGen/MIRParser/MIParser.h
@@ -22,13 +22,14 @@ namespace llvm {
class MachineBasicBlock;
class MachineInstr;
class MachineFunction;
+struct SlotMapping;
class SMDiagnostic;
class SourceMgr;
MachineInstr *
parseMachineInstr(SourceMgr &SM, MachineFunction &MF, StringRef Src,
const DenseMap<unsigned, MachineBasicBlock *> &MBBSlots,
- SMDiagnostic &Error);
+ const SlotMapping &IRSlots, SMDiagnostic &Error);
} // end namespace llvm
OpenPOWER on IntegriCloud