LLVM
8.0.1
|
#include "MCTargetDesc/PPCMCExpr.h"
#include "PPC.h"
#include "PPCSubtarget.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Twine.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Mangler.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
Go to the source code of this file.
Functions | |
static MachineModuleInfoMachO & | getMachOMMI (AsmPrinter &AP) |
static MCSymbol * | GetSymbolFromOperand (const MachineOperand &MO, AsmPrinter &AP) |
static MCOperand | GetSymbolRef (const MachineOperand &MO, const MCSymbol *Symbol, AsmPrinter &Printer, bool isDarwin) |
|
static |
Definition at line 33 of file PPCMCInstLower.cpp.
References llvm::MachineModuleInfo::getObjFileInfo(), and llvm::AsmPrinter::MMI.
Referenced by GetSymbolFromOperand().
|
static |
Definition at line 37 of file PPCMCInstLower.cpp.
References assert(), llvm::StringRef::empty(), llvm::AsmPrinter::getDataLayout(), llvm::MachineOperand::getGlobal(), llvm::MachineModuleInfoMachO::getGVStubEntry(), getMachOMMI(), llvm::TargetLoweringObjectFile::getMangler(), llvm::Mangler::getNameWithPrefix(), llvm::TargetMachine::getNameWithPrefix(), llvm::TargetMachine::getObjFileLowering(), llvm::MCContext::getOrCreateSymbol(), llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getPointer(), llvm::DataLayout::getPrivateGlobalPrefix(), llvm::AsmPrinter::getSymbol(), llvm::MachineOperand::getSymbolName(), llvm::MachineOperand::getTargetFlags(), llvm::GlobalValue::hasInternalLinkage(), llvm::MachineOperand::isGlobal(), llvm::MachineOperand::isSymbol(), llvm::PPCII::MO_NLP_FLAG, Name, llvm::AsmPrinter::OutContext, llvm::SystemZISD::TM, and llvm::AsmPrinter::TM.
Referenced by getRetOpcode(), and llvm::LowerPPCMachineOperandToMCOperand().
|
static |
Definition at line 82 of file PPCMCInstLower.cpp.
References llvm::sys::fs::access(), llvm::MCConstantExpr::create(), llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createAdd(), llvm::MCOperand::createExpr(), llvm::PPCMCExpr::createHa(), llvm::PPCMCExpr::createLo(), llvm::MCBinaryExpr::createSub(), llvm::MachineOperand::getOffset(), llvm::MachineBasicBlock::getParent(), llvm::MachineOperand::getParent(), llvm::MachineInstr::getParent(), llvm::MachineFunction::getPICBaseSymbol(), llvm::MachineFunction::getSubtarget(), llvm::MachineOperand::getTargetFlags(), llvm::MachineOperand::isJTI(), llvm::TargetMachine::isPositionIndependent(), llvm::PPCSubtarget::isSecurePlt(), llvm::PPCII::MO_ACCESS_MASK, llvm::PPCII::MO_DTPREL_LO, llvm::PPCII::MO_HA, llvm::PPCII::MO_LO, llvm::PPCII::MO_PIC_FLAG, llvm::PPCII::MO_PLT, llvm::PPCII::MO_TLS, llvm::PPCII::MO_TLSLD_LO, llvm::PPCII::MO_TOC_LO, llvm::PPCII::MO_TPREL_HA, llvm::PPCII::MO_TPREL_LO, llvm::AsmPrinter::OutContext, llvm::SystemZISD::TM, llvm::AsmPrinter::TM, llvm::MCSymbolRefExpr::VK_None, llvm::MCSymbolRefExpr::VK_PLT, llvm::MCSymbolRefExpr::VK_PPC_DTPREL_LO, llvm::MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO, llvm::MCSymbolRefExpr::VK_PPC_TLS, llvm::MCSymbolRefExpr::VK_PPC_TOC_LO, llvm::MCSymbolRefExpr::VK_PPC_TPREL_HA, and llvm::MCSymbolRefExpr::VK_PPC_TPREL_LO.
Referenced by llvm::LowerPPCMachineOperandToMCOperand().