mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-26 14:33:02 +02:00
4a93dcb918
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
37 lines
1.0 KiB
C++
37 lines
1.0 KiB
C++
//===- MIParser.h - Machine Instructions Parser ---------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file declares the function that parses the machine instructions.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIB_CODEGEN_MIRPARSER_MIPARSER_H
|
|
#define LLVM_LIB_CODEGEN_MIRPARSER_MIPARSER_H
|
|
|
|
#include "llvm/ADT/DenseMap.h"
|
|
#include "llvm/ADT/StringRef.h"
|
|
|
|
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,
|
|
const SlotMapping &IRSlots, SMDiagnostic &Error);
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif
|