|
LLVM
4.0.0
|
#include "ARMAsmPrinter.h"#include "ARM.h"#include "ARMConstantPoolValue.h"#include "ARMMachineFunctionInfo.h"#include "ARMTargetMachine.h"#include "ARMTargetObjectFile.h"#include "InstPrinter/ARMInstPrinter.h"#include "MCTargetDesc/ARMAddressingModes.h"#include "MCTargetDesc/ARMMCExpr.h"#include "llvm/ADT/SetVector.h"#include "llvm/ADT/SmallString.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineJumpTableInfo.h"#include "llvm/CodeGen/MachineModuleInfoImpls.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DataLayout.h"#include "llvm/IR/DebugInfo.h"#include "llvm/IR/Mangler.h"#include "llvm/IR/Module.h"#include "llvm/IR/Type.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCAssembler.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCELFStreamer.h"#include "llvm/MC/MCInst.h"#include "llvm/MC/MCInstBuilder.h"#include "llvm/MC/MCObjectStreamer.h"#include "llvm/MC/MCSectionMachO.h"#include "llvm/MC/MCStreamer.h"#include "llvm/MC/MCSymbol.h"#include "llvm/Support/ARMBuildAttributes.h"#include "llvm/Support/COFF.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ELF.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/TargetParser.h"#include "llvm/Support/TargetRegistry.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetMachine.h"#include <cctype>#include "ARMGenMCPseudoLowering.inc"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "asm-printer" |
Functions | |
| static bool | isThumb (const MCSubtargetInfo &STI) |
| static void | emitNonLazySymbolPointer (MCStreamer &OutStreamer, MCSymbol *StubLabel, MachineModuleInfoImpl::StubValueTy &MCSym) |
| static bool | isV8M (const ARMSubtarget *Subtarget) |
| static ARMBuildAttrs::CPUArch | getArchForCPU (StringRef CPU, const ARMSubtarget *Subtarget) |
| static bool | checkFunctionsAttributeConsistency (const Module &M, StringRef Attr, StringRef Value) |
| static MCSymbol * | getPICLabel (StringRef Prefix, unsigned FunctionNumber, unsigned LabelId, MCContext &Ctx) |
| static MCSymbolRefExpr::VariantKind | getModifierVariantKind (ARMCP::ARMCPModifier Modifier) |
| void | LLVMInitializeARMAsmPrinter () |
| #define DEBUG_TYPE "asm-printer" |
Definition at line 57 of file ARMAsmPrinter.cpp.
|
static |
Definition at line 640 of file ARMAsmPrinter.cpp.
References llvm::any_of(), F, llvm::Function::getFnAttribute(), and llvm::Attribute::getValueAsString().
|
static |
Definition at line 488 of file ARMAsmPrinter.cpp.
References llvm::MCSymbolRefExpr::create(), llvm::MCStreamer::EmitIntValue(), llvm::MCStreamer::EmitLabel(), llvm::MCStreamer::EmitSymbolAttribute(), llvm::MCStreamer::EmitValue(), llvm::MCStreamer::getContext(), llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getInt(), llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getPointer(), and llvm::MCSA_IndirectSymbol.
Referenced by llvm::ARMAsmPrinter::EmitEndOfAsmFile().
|
static |
Definition at line 605 of file ARMAsmPrinter.cpp.
References llvm::ARMSubtarget::hasDSP(), llvm::ARMSubtarget::hasV4TOps(), llvm::ARMSubtarget::hasV5TEOps(), llvm::ARMSubtarget::hasV5TOps(), llvm::ARMSubtarget::hasV6MOps(), llvm::ARMSubtarget::hasV6Ops(), llvm::ARMSubtarget::hasV6T2Ops(), llvm::ARMSubtarget::hasV7Ops(), llvm::ARMSubtarget::hasV8MBaselineOps(), llvm::ARMSubtarget::hasV8MMainlineOps(), llvm::ARMSubtarget::hasV8Ops(), llvm::ARMSubtarget::isMClass(), llvm::ARMSubtarget::isRClass(), llvm::ARMBuildAttrs::v4, llvm::ARMBuildAttrs::v4T, llvm::ARMBuildAttrs::v5T, llvm::ARMBuildAttrs::v5TE, llvm::ARMBuildAttrs::v5TEJ, llvm::ARMBuildAttrs::v6, llvm::ARMBuildAttrs::v6S_M, llvm::ARMBuildAttrs::v6T2, llvm::ARMBuildAttrs::v7, llvm::ARMBuildAttrs::v7E_M, llvm::ARMBuildAttrs::v8_A, llvm::ARMBuildAttrs::v8_M_Base, llvm::ARMBuildAttrs::v8_M_Main, and llvm::ARMBuildAttrs::v8_R.
|
static |
Definition at line 956 of file ARMAsmPrinter.cpp.
References llvm::ARMCP::GOT_PREL, llvm::ARMCP::GOTTPOFF, llvm_unreachable, llvm::ARMCP::no_modifier, llvm::ARMCP::SBREL, llvm::ARMCP::SECREL, llvm::ARMCP::TLSGD, llvm::ARMCP::TPOFF, llvm::MCSymbolRefExpr::VK_ARM_GOT_PREL, llvm::MCSymbolRefExpr::VK_ARM_SBREL, llvm::MCSymbolRefExpr::VK_GOTTPOFF, llvm::MCSymbolRefExpr::VK_None, llvm::MCSymbolRefExpr::VK_SECREL, llvm::MCSymbolRefExpr::VK_TLSGD, and llvm::MCSymbolRefExpr::VK_TPOFF.
Referenced by llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
static |
Definition at line 947 of file ARMAsmPrinter.cpp.
References llvm::MCContext::getOrCreateSymbol().
Referenced by llvm::ARMAsmPrinter::EmitInstruction(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
static |
Definition at line 453 of file ARMAsmPrinter.cpp.
References llvm::MCSubtargetInfo::getFeatureBits().
Referenced by llvm::computeBlockSize(), emitAlignedDPRCS2Restores(), emitAlignedDPRCS2Spills(), llvm::ARMAsmPrinter::emitInlineAsmEnd(), llvm::ARMAsmPrinter::EmitStartOfAsmFile(), getCOFFSectionFlags(), llvm::ARMAsmPrinter::getISAEncoding(), llvm::ARMBaseInstrInfo::insertBranch(), and llvm::ARM_MC::ParseARMTriple().
|
static |
Definition at line 592 of file ARMAsmPrinter.cpp.
References llvm::ARMSubtarget::hasV6T2Ops(), llvm::ARMSubtarget::hasV8MBaselineOps(), and llvm::ARMSubtarget::hasV8MMainlineOps().
| void LLVMInitializeARMAsmPrinter | ( | ) |
Definition at line 2160 of file ARMAsmPrinter.cpp.
References A, B, llvm::getTheARMBETarget(), llvm::getTheARMLETarget(), llvm::getTheThumbBETarget(), llvm::getTheThumbLETarget(), X, and Y.
1.8.6