LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
MCModuleYAML.cpp File Reference
#include "llvm/MC/MCModuleYAML.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/MC/MCAtom.h"
#include "llvm/MC/MCFunction.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Object/YAML.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/YAMLTraits.h"
#include <vector>
Include dependency graph for MCModuleYAML.cpp:

Go to the source code of this file.

Classes

struct  llvm::MCModuleYAML::Operand
 
struct  llvm::MCModuleYAML::Inst
 
struct  llvm::MCModuleYAML::Atom
 
struct  llvm::MCModuleYAML::BasicBlock
 
struct  llvm::MCModuleYAML::Function
 
struct  llvm::MCModuleYAML::Module
 
struct  llvm::yaml::ScalarEnumerationTraits< MCAtom::AtomKind >
 
struct  llvm::yaml::MappingTraits< MCModuleYAML::Atom >
 
struct  llvm::yaml::MappingTraits< MCModuleYAML::Inst >
 
struct  llvm::yaml::MappingTraits< MCModuleYAML::BasicBlock >
 
struct  llvm::yaml::MappingTraits< MCModuleYAML::Function >
 
struct  llvm::yaml::MappingTraits< MCModuleYAML::Module >
 
struct  llvm::yaml::ScalarTraits< MCModuleYAML::Operand >
 
struct  llvm::yaml::ScalarTraits< MCModuleYAML::OpcodeEnum >
 

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 
 llvm::MCModuleYAML
 
 llvm::yaml
 

Functions

StringRef llvm::mcmodule2yaml (raw_ostream &OS, const MCModule &MCM, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 Dump a YAML representation of the MCModule MCM to OS. More...
 
StringRef llvm::yaml2mcmodule (OwningPtr< MCModule > &MCM, StringRef YamlContent, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 Creates a new module and returns it in MCM. More...
 

Variable Documentation

EnumValByNameTy InstEnumValueByName

Definition at line 51 of file MCModuleYAML.cpp.

MCModule& MCM

Definition at line 276 of file MCModuleYAML.cpp.

const MCInstrInfo& MII
const MCRegisterInfo& MRI

Definition at line 56 of file MCModuleYAML.cpp.

Referenced by llvm::MachineBasicBlock::addLiveIn(), llvm::MachineFunction::addLiveIn(), llvm::MachineInstr::addOperand(), llvm::LLVMTargetMachine::addPassesToEmitFile(), llvm::LLVMTargetMachine::addPassesToEmitMC(), llvm::calculateSpillWeightsAndHints(), canCompareBeNewValueJump(), canFoldCopy(), llvm::PPCInstrInfo::canInsertSelect(), llvm::X86InstrInfo::canInsertSelect(), llvm::X86RegisterInfo::canRealignStack(), llvm::ARMBaseRegisterInfo::canRealignStack(), checkNumAlignedDPRCS2Regs(), llvm::SIInstrInfo::commuteInstruction(), llvm::AMDGPUInstrInfo::convertToISA(), llvm::SystemZInstrInfo::convertToThreeAddress(), llvm::NVPTXInstrInfo::copyPhysReg(), llvm::AMDGPUTargetLowering::CreateLiveInRegister(), llvm::AArch64TargetLowering::emitAtomicBinary(), llvm::AArch64TargetLowering::emitAtomicBinaryMinMax(), llvm::AArch64TargetLowering::emitAtomicCmpSwap(), llvm::X86FrameLowering::emitCalleeSavedFrameMoves(), llvm::PPCTargetLowering::emitEHSjLjLongJmp(), llvm::PPCTargetLowering::emitEHSjLjSetJmp(), llvm::R600TargetLowering::EmitInstrWithCustomInserter(), llvm::Mips16FrameLowering::emitPrologue(), llvm::MipsSEFrameLowering::emitPrologue(), llvm::XCoreFrameLowering::emitPrologue(), llvm::NVPTXFrameLowering::emitPrologue(), llvm::SparcFrameLowering::emitPrologue(), llvm::PPCFrameLowering::emitPrologue(), llvm::AArch64FrameLowering::emitPrologue(), llvm::SystemZFrameLowering::emitPrologue(), llvm::findPHICopyInsertPoint(), for(), forceReg(), llvm::AMDGPUInstrInfo::getIndirectIndexBegin(), llvm::SIInstrInfo::getOpRegClass(), llvm::ARMBaseRegisterInfo::getRegAllocationHints(), llvm::TargetRegisterInfo::getRegAllocationHints(), llvm::NVPTXAsmPrinter::getVirtualRegisterName(), llvm::MCInstrDesc::hasImplicitDefOfPhysReg(), llvm::VirtRegMap::hasKnownPreference(), llvm::VirtRegMap::hasPreferredPhys(), hasVGPROperands(), INITIALIZE_PASS(), llvm::PPCInstrInfo::insertSelect(), llvm::X86InstrInfo::insertSelect(), llvm::X86InstrInfo::isReallyTriviallyReMaterializable(), isSourceDefinedByImplicitDef(), llvm::SIInstrInfo::legalizeOperands(), llvm::SIInstrInfo::legalizeOpWithMove(), LLVMCreateDisasmCPU(), LLVMSetDisasmOptions(), llvm::Thumb2InstrInfo::loadRegFromStackSlot(), llvm::SystemZTargetLowering::LowerFormalArguments(), llvm::R600TargetLowering::LowerOperation(), llvm::PPCRegisterInfo::materializeFrameBaseRegister(), llvm::ARMBaseRegisterInfo::materializeFrameBaseRegister(), llvm::SIInstrInfo::moveToVALU(), llvm::BranchFolder::OptimizeFunction(), llvm::ARMBaseInstrInfo::optimizeSelect(), llvm::VirtRegMap::print(), llvm::MachineInstr::print(), llvm::SystemZFrameLowering::processFunctionBeforeCalleeSavedScan(), llvm::MipsSEFrameLowering::processFunctionBeforeCalleeSavedScan(), llvm::PPCFrameLowering::processFunctionBeforeCalleeSavedScan(), llvm::ARMFrameLowering::processFunctionBeforeCalleeSavedScan(), RegisterOperands::pushRegUnits(), removeIPMBasedCompare(), llvm::MachineInstr::RemoveOperand(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::VirtRegMap::runOnMachineFunction(), llvm::MachineTraceMetrics::runOnMachineFunction(), llvm::MachineOperand::setIsDef(), llvm::MachineOperand::setReg(), llvm::CoalescerPair::setRegisters(), llvm::MachineBasicBlock::SplitCriticalEdge(), llvm::Thumb2InstrInfo::storeRegToStackSlot(), llvm::ARMBaseRegisterInfo::UpdateRegAllocHint(), and usesTheStack().

EnumValByNameTy RegEnumValueByName

Definition at line 52 of file MCModuleYAML.cpp.

MCModuleYAML::Module YAMLModule

Definition at line 277 of file MCModuleYAML.cpp.

Referenced by llvm::yaml2mcmodule().