LLVM 22.0.0git
|
#include "SystemZAsmPrinter.h"
#include "MCTargetDesc/SystemZGNUInstPrinter.h"
#include "MCTargetDesc/SystemZHLASMInstPrinter.h"
#include "MCTargetDesc/SystemZMCAsmInfo.h"
#include "MCTargetDesc/SystemZMCTargetDesc.h"
#include "SystemZConstantPoolValue.h"
#include "SystemZMCInstLower.h"
#include "TargetInfo/SystemZTargetInfo.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/BinaryFormat/GOFF.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Chrono.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ConvertEBCDIC.h"
#include "llvm/Support/FormatVariadic.h"
Go to the source code of this file.
Macros | |
#define | LOWER_LOW(NAME) case SystemZ::NAME##64: LoweredMI = lowerRILow(MI, SystemZ::NAME); break |
#define | LOWER_HIGH(NAME) case SystemZ::NAME##64: LoweredMI = lowerRIHigh(MI, SystemZ::NAME); break |
#define | EMIT_COMMENT(Str) |
#define EMIT_COMMENT | ( | Str | ) |
#define LOWER_HIGH | ( | NAME | ) | case SystemZ::NAME##64: LoweredMI = lowerRIHigh(MI, SystemZ::NAME); break |
#define LOWER_LOW | ( | NAME | ) | case SystemZ::NAME##64: LoweredMI = lowerRILow(MI, SystemZ::NAME); break |
|
static |
Definition at line 752 of file SystemZAsmPrinter.cpp.
References llvm::MCSymbolRefExpr::create(), llvm::MCContext::createTempSymbol(), llvm::MCStreamer::emitInstruction(), llvm::MCStreamer::emitLabel(), and llvm_unreachable.
|
static |
Definition at line 1271 of file SystemZAsmPrinter.cpp.
References llvm::LLVM_MARK_AS_BITMASK_ENUM.
|
static |
Definition at line 1359 of file SystemZAsmPrinter.cpp.
References llvm::ConverterEBCDIC::convertToEBCDIC(), llvm::XCOFF::NameSize, llvm::StringRef::size(), llvm::SmallString< InternalLen >::str(), and llvm::StringRef::substr().
|
static |
Definition at line 87 of file SystemZAsmPrinter.cpp.
References Context, llvm::MCSymbolRefExpr::create(), and Name.
Referenced by llvm::SystemZAsmPrinter::emitInstruction().
|
static |
Definition at line 1187 of file SystemZAsmPrinter.cpp.
Definition at line 1210 of file SystemZAsmPrinter.cpp.
Definition at line 1203 of file SystemZAsmPrinter.cpp.
Definition at line 1196 of file SystemZAsmPrinter.cpp.
|
static |
Definition at line 988 of file SystemZAsmPrinter.cpp.
References llvm::SystemZCP::DTPOFF, llvm_unreachable, llvm::SystemZCP::NTPOFF, llvm::SystemZ::S_DTPOFF, llvm::SystemZ::S_NTPOFF, llvm::SystemZ::S_TLSGD, llvm::SystemZ::S_TLSLDM, llvm::SystemZCP::TLSGD, and llvm::SystemZCP::TLSLDM.
Referenced by llvm::SystemZAsmPrinter::emitMachineConstantPoolValue().
|
static |
Definition at line 81 of file SystemZAsmPrinter.cpp.
References Context, llvm::MCSymbolRefExpr::create(), Name, and llvm::SystemZ::S_PLT.
Referenced by llvm::SystemZAsmPrinter::emitInstruction().
|
static |
Definition at line 1217 of file SystemZAsmPrinter.cpp.
INITIALIZE_PASS | ( | SystemZAsmPrinter | , |
"systemz-asm-printer" | , | ||
"SystemZ Assembly Printer" | , | ||
false | , | ||
false | |||
) |
Definition at line 1744 of file SystemZAsmPrinter.cpp.
References llvm::getTheSystemZTarget(), and X.
|
static |
Definition at line 97 of file SystemZAsmPrinter.cpp.
References llvm::MCInst::addOperand(), llvm::MCOperand::createImm(), MI, and llvm::MCInst::setOpcode().
Referenced by llvm::SystemZAsmPrinter::emitInstruction().
|
static |
Definition at line 71 of file SystemZAsmPrinter.cpp.
References llvm::MCInstBuilder::addImm(), llvm::MCInstBuilder::addReg(), llvm::SystemZMC::getRegAsGR64(), and MI.
Referenced by llvm::SystemZAsmPrinter::emitInstruction().
|
static |
Definition at line 57 of file SystemZAsmPrinter.cpp.
References llvm::MCInstBuilder::addImm(), llvm::MCInstBuilder::addReg(), llvm::SystemZMC::getRegAsGRH32(), and MI.
|
static |
Definition at line 43 of file SystemZAsmPrinter.cpp.
References llvm::MCInstBuilder::addImm(), llvm::MCInstBuilder::addReg(), llvm::SystemZMC::getRegAsGR32(), and MI.
|
static |
Definition at line 122 of file SystemZAsmPrinter.cpp.
References llvm::MCInstBuilder::addImm(), llvm::MCInstBuilder::addReg(), llvm::SystemZMC::getRegAsVR128(), and MI.
Referenced by llvm::SystemZAsmPrinter::emitInstruction().
|
static |
Definition at line 132 of file SystemZAsmPrinter.cpp.
References llvm::MCInstBuilder::addImm(), llvm::MCInstBuilder::addReg(), llvm::SystemZMC::getRegAsVR128(), and MI.
Referenced by llvm::SystemZAsmPrinter::emitInstruction().
|
static |
Definition at line 142 of file SystemZAsmPrinter.cpp.
References llvm::MCInstBuilder::addImm(), llvm::MCInstBuilder::addReg(), llvm::SystemZMC::getRegAsGR64(), llvm::SystemZMC::getRegAsVR128(), and MI.
Referenced by llvm::SystemZAsmPrinter::emitInstruction().
|
static |
Definition at line 151 of file SystemZAsmPrinter.cpp.
References llvm::MCInstBuilder::addImm(), llvm::MCInstBuilder::addReg(), llvm::SystemZMC::getRegAsVR128(), and MI.
Referenced by llvm::SystemZAsmPrinter::emitInstruction().
|
static |
Definition at line 1047 of file SystemZAsmPrinter.cpp.
References llvm::sampleprof::Base, OS, printFormattedRegName(), and printOperand().
Referenced by llvm::SystemZAsmPrinter::PrintAsmMemoryOperand().
|
static |
Definition at line 1014 of file SystemZAsmPrinter.cpp.
References llvm::AD_HLASM, assert(), llvm::MCAsmInfo::getAssemblerDialect(), llvm::SystemZGNUInstPrinter::getRegisterName(), llvm::SystemZHLASMInstPrinter::getRegisterName(), OS, and RegName.
Referenced by printAddress(), and printReg().
|
static |
Definition at line 1035 of file SystemZAsmPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCOperand::getReg(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), llvm_unreachable, OS, llvm::MCAsmInfo::printExpr(), and llvm::printReg().
|
static |
Definition at line 1028 of file SystemZAsmPrinter.cpp.
References OS, and printFormattedRegName().