21void MipsELFMCAsmInfo::anchor() {}
29 if (TheTriple.
isMIPS64() && !ABI.IsN32())
34 else if (ABI.IsN32() || ABI.IsN64())
51void MipsCOFFMCAsmInfo::anchor() {}
169 if (
const auto *
S1 = dyn_cast<const MCSpecifierExpr>(E.
getSubExpr())) {
170 if (
const auto *S2 = dyn_cast<const MCSpecifierExpr>(
S1->getSubExpr())) {
188 cast<MCSpecifierExpr>(
189 cast<MCSpecifierExpr>(Expr.
getSubExpr())->getSubExpr())
static bool evaluate(const MCSpecifierExpr &Expr, MCValue &Res, const MCAssembler *Asm)
static void printImpl(const MCAsmInfo &MAI, raw_ostream &OS, const MCSpecifierExpr &Expr)
This class is intended to be used as a base class for asm properties and features specific to the tar...
const char * Data16bitsDirective
const char * Data64bitsDirective
ExceptionHandling ExceptionsType
Exception handling format for the target. Defaults to None.
bool AllowDollarAtStartOfIdentifier
This is true if the assembler allows the "$" character at the start of of a string to be lexed as an ...
StringRef PrivateGlobalPrefix
This prefix is used for globals like constant pool entries that are completely private to the ....
const char * Data32bitsDirective
WinEH::EncodingType WinEHEncodingType
Windows exception handling data (.pdata) encoding. Defaults to Invalid.
StringRef PrivateLabelPrefix
This prefix is used for labels for basic blocks.
void printExpr(raw_ostream &, const MCExpr &) const
bool AllowAtInName
This is true if the assembler allows @ characters in symbol names.
bool UseAssignmentForEHBegin
bool SupportsDebugInformation
True if target supports emission of debugging information.
bool HasSingleParameterDotFile
True if the target has a single parameter .file directive, this is true for ELF targets.
bool AlignmentIsInBytes
If this is true (the default) then the asmprinter emits ".align N" directives, where N is the number ...
const char * ZeroDirective
This should be set to the directive used to get some number of zero (and non-zero if supported by the...
bool DwarfRegNumForCFI
True if dwarf register numbers are printed instead of symbolic register names in ....
bool IsLittleEndian
True if target is little endian. Default is true.
unsigned CodePointerSize
Code pointer size in bytes. Default is 4.
unsigned CalleeSaveStackSlotSize
Size of the stack slot reserved for callee-saved registers, in bytes.
StringRef CommentString
This indicates the comment string used by the assembler.
Context object for machine code objects.
Base class for the full range of assembler expressions which are needed for parsing.
LLVM_ABI bool evaluateAsRelocatable(MCValue &Res, const MCAssembler *Asm) const
Try to evaluate the expression to a relocatable value, i.e.
LLVM_ABI bool evaluateAsAbsolute(int64_t &Res) const
Try to evaluate the expression to an absolute value.
Extension point for target-specific MCExpr subclasses with a relocation specifier,...
const MCExpr * getSubExpr() const
static const MCSpecifierExpr * create(const MCExpr *Expr, Spec S, MCContext &Ctx, SMLoc Loc=SMLoc())
Spec getSpecifier() const
void setSpecifier(uint32_t S)
const MCSymbol * getSubSym() const
static MipsABIInfo computeTargetABI(const Triple &TT, StringRef CPU, const MCTargetOptions &Options)
bool evaluateAsRelocatableImpl(const MCSpecifierExpr &Expr, MCValue &Res, const MCAssembler *Asm) const override
void printSpecifierExpr(raw_ostream &OS, const MCSpecifierExpr &Expr) const override
void printSpecifierExpr(raw_ostream &OS, const MCSpecifierExpr &Expr) const override
MipsELFMCAsmInfo(const Triple &TheTriple, const MCTargetOptions &Options)
bool evaluateAsRelocatableImpl(const MCSpecifierExpr &Expr, MCValue &Res, const MCAssembler *Asm) const override
Triple - Helper class for working with autoconf configuration names.
LLVM_ABI bool isLittleEndian() const
Tests whether the target triple is little endian.
bool isMIPS64() const
Tests whether the target is MIPS 64-bit (little and big endian).
This class implements an extremely fast bulk output stream that can only output to a stream.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
bool isGpOff(const MCSpecifierExpr &E)
const MCSpecifierExpr * createGpOff(const MCExpr *Expr, Specifier S, MCContext &Ctx)
@ Itanium
Windows CE ARM, PowerPC, SH3, SH4.
This is an optimization pass for GlobalISel generic memory operations.
@ DwarfCFI
DWARF-like instruction based exceptions.
@ WinEH
Windows Exception Handling.