|
LLVM
4.0.0
|
#include "llvm/CodeGen/MIRParser/MIRParser.h"#include "MIParser.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/StringMap.h"#include "llvm/ADT/StringRef.h"#include "llvm/AsmParser/Parser.h"#include "llvm/AsmParser/SlotMapping.h"#include "llvm/CodeGen/GlobalISel/RegisterBank.h"#include "llvm/CodeGen/GlobalISel/RegisterBankInfo.h"#include "llvm/CodeGen/MIRYamlMapping.h"#include "llvm/CodeGen/MachineConstantPool.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/IR/BasicBlock.h"#include "llvm/IR/DebugInfo.h"#include "llvm/IR/DiagnosticInfo.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/Module.h"#include "llvm/IR/ValueSymbolTable.h"#include "llvm/Support/LineIterator.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/SMLoc.h"#include "llvm/Support/SourceMgr.h"#include "llvm/Support/YAMLTraits.h"#include <memory>Go to the source code of this file.
Classes | |
| class | llvm::MIRParserImpl |
| This class implements the parsing of LLVM IR that's embedded inside a MIR file. More... | |
Namespaces | |
| llvm | |
| Compute iterated dominance frontiers using a linear time algorithm. | |
Functions | |
| static void | handleYAMLDiag (const SMDiagnostic &Diag, void *Context) |
| static bool | isSSA (const MachineFunction &MF) |
| template<typename T > | |
| static bool | typecheckMDNode (T *&Result, MDNode *Node, const yaml::StringValue &Source, StringRef TypeString, MIRParserImpl &Parser) |
| Verify that given node is of a certain type. Return true on error. More... | |
|
static |
Definition at line 209 of file MIRParser.cpp.
References Context.
Referenced by llvm::MIRParserImpl::parse().
|
static |
Definition at line 285 of file MIRParser.cpp.
References llvm::MachineRegisterInfo::def_empty(), E, llvm::MachineRegisterInfo::getNumVirtRegs(), llvm::MachineFunction::getRegInfo(), llvm::MachineRegisterInfo::hasOneDef(), I, llvm::TargetRegisterInfo::index2VirtReg(), and MRI.
|
static |
Verify that given node is of a certain type. Return true on error.
Definition at line 645 of file MIRParser.cpp.
References llvm::dyn_cast(), llvm::MIRParserImpl::error(), llvm::yaml::StringValue::SourceRange, and llvm::SMRange::Start.
Referenced by llvm::MIRParserImpl::parseStackObjectsDebugInfo().
1.8.6