Lines Matching refs:AsmPrinter
1 //===-- AsmPrinter.cpp - Common AsmPrinter code ---------------------------===//
10 // This file implements the AsmPrinter class.
15 #include "llvm/CodeGen/AsmPrinter.h"
59 char AsmPrinter::ID = 0;
95 AsmPrinter::AsmPrinter(TargetMachine &tm, MCStreamer &Streamer)
107 AsmPrinter::~AsmPrinter() {
124 unsigned AsmPrinter::getFunctionNumber() const {
128 const TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const {
133 const DataLayout &AsmPrinter::getDataLayout() const {
137 StringRef AsmPrinter::getTargetTriple() const {
142 const MCSection *AsmPrinter::getCurrentSection() const {
148 void AsmPrinter::getAnalysisUsage(AnalysisUsage &AU) const {
157 bool AsmPrinter::doInitialization(Module &M) {
180 assert(MI && "AsmPrinter didn't require GCModuleInfo?");
215 void AsmPrinter::EmitLinkage(unsigned Linkage, MCSymbol *GVSym) const {
263 void AsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) {
426 void AsmPrinter::EmitFunctionHeader() {
485 void AsmPrinter::EmitFunctionEntryLabel() {
533 static void emitImplicitDef(const MachineInstr *MI, AsmPrinter &AP) {
540 static void emitKill(const MachineInstr *MI, AsmPrinter &AP) {
556 static bool emitDebugValueComment(const MachineInstr *MI, AsmPrinter &AP) {
628 AsmPrinter::CFIMoveType AsmPrinter::needsCFIMoves() {
639 bool AsmPrinter::needsSEHMoves() {
644 bool AsmPrinter::needsRelocationsForDwarfStringPool() const {
648 void AsmPrinter::emitPrologLabel(const MachineInstr &MI) {
676 void AsmPrinter::EmitFunctionBody() {
816 void AsmPrinter::EmitDwarfRegOp(const MachineLocation &MLoc,
865 bool AsmPrinter::doFinalization(Module &M) {
951 assert(MI && "AsmPrinter didn't require GCModuleInfo?");
976 void AsmPrinter::SetupMachineFunction(MachineFunction &MF) {
1001 void AsmPrinter::EmitConstantPool() {
1081 void AsmPrinter::EmitJumpTableInfo() {
1163 void AsmPrinter::EmitJumpTableEntry(const MachineJumpTableInfo *MJTI,
1234 bool AsmPrinter::EmitSpecialLLVMGlobal(const GlobalVariable *GV) {
1280 void AsmPrinter::EmitLLVMUsedList(const ConstantArray *InitList) {
1298 void AsmPrinter::EmitXXStructorList(const Constant *List, bool isCtor) {
1346 void AsmPrinter::EmitInt8(int Value) const {
1352 void AsmPrinter::EmitInt16(int Value) const {
1358 void AsmPrinter::EmitInt32(int Value) const {
1365 void AsmPrinter::EmitLabelDifference(const MCSymbol *Hi, const MCSymbol *Lo,
1387 void AsmPrinter::EmitLabelOffsetDifference(const MCSymbol *Hi, uint64_t Offset,
1417 void AsmPrinter::EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset,
1444 void AsmPrinter::EmitAlignment(unsigned NumBits, const GlobalValue *GV) const {
1461 static const MCExpr *lowerConstant(const Constant *CV, AsmPrinter &AP) {
1585 static void emitGlobalConstantImpl(const Constant *C, AsmPrinter &AP);
1647 AsmPrinter &AP){
1711 static void emitGlobalConstantArray(const ConstantArray *CA, AsmPrinter &AP) {
1726 static void emitGlobalConstantVector(const ConstantVector *CV, AsmPrinter &AP) {
1738 static void emitGlobalConstantStruct(const ConstantStruct *CS, AsmPrinter &AP) {
1765 static void emitGlobalConstantFP(const ConstantFP *CFP, AsmPrinter &AP) {
1810 static void emitGlobalConstantLargeInt(const ConstantInt *CI, AsmPrinter &AP) {
1866 static void emitGlobalConstantImpl(const Constant *CV, AsmPrinter &AP) {
1931 void AsmPrinter::EmitGlobalConstant(const Constant *CV) {
1942 void AsmPrinter::EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV) {
1947 void AsmPrinter::printOffset(int64_t Offset, raw_ostream &OS) const {
1960 MCSymbol *AsmPrinter::GetTempSymbol(StringRef Name, unsigned ID) const {
1967 MCSymbol *AsmPrinter::GetTempSymbol(StringRef Name) const {
1973 MCSymbol *AsmPrinter::GetBlockAddressSymbol(const BlockAddress *BA) const {
1977 MCSymbol *AsmPrinter::GetBlockAddressSymbol(const BasicBlock *BB) const {
1982 MCSymbol *AsmPrinter::GetCPISymbol(unsigned CPID) const {
1989 MCSymbol *AsmPrinter::GetJTISymbol(unsigned JTID, bool isLinkerPrivate) const {
1994 /// FIXME: privatize to AsmPrinter.
1995 MCSymbol *AsmPrinter::GetJTSetSymbol(unsigned UID, unsigned MBBID) const {
2004 MCSymbol *AsmPrinter::GetSymbolWithGlobalValueBase(const GlobalValue *GV,
2015 MCSymbol *AsmPrinter::GetExternalSymbolSymbol(StringRef Sym) const {
2052 const AsmPrinter &AP) {
2091 void AsmPrinter::EmitBasicBlockStart(const MachineBasicBlock *MBB) const {
2131 void AsmPrinter::EmitVisibility(MCSymbol *Sym, unsigned Visibility,
2155 bool AsmPrinter::
2204 GCMetadataPrinter *AsmPrinter::GetOrCreateGCPrinter(GCStrategy *S) {