LLVM: lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

19using namespace llvm;

20

21void RISCVMCAsmInfo::anchor() {}

22

34

36 unsigned Encoding,

40

41

42

43

44

49}

50

54 bool HasSpecifier = S != 0 && S != ELF::R_RISCV_CALL_PLT;

55 if (HasSpecifier)

58 if (HasSpecifier)

59 OS << ')';

60}

assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")

This file contains constants used for implementing Dwarf debug support.

const char * Data16bitsDirective

bool UseAtForSpecifier

True if target uses @ (expr@specifier) for relocation specifiers.

ExceptionHandling ExceptionsType

Exception handling format for the target. Defaults to None.

const char * Data32bitsDirective

void printExpr(raw_ostream &, const MCExpr &) const

bool SupportsDebugInformation

True if target supports emission of debugging information.

virtual const MCExpr * getExprForFDESymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const

bool AlignmentIsInBytes

If this is true (the default) then the asmprinter emits ".align N" directives, where N is the number ...

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.

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

Streaming machine code generation interface.

MCContext & getContext() const

static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx, SMLoc Loc=SMLoc())

MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...

RISCVMCAsmInfo(const Triple &TargetTriple)

Definition RISCVMCAsmInfo.cpp:23

void printSpecifierExpr(raw_ostream &OS, const MCSpecifierExpr &Expr) const override

Definition RISCVMCAsmInfo.cpp:51

const MCExpr * getExprForFDESymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override

Definition RISCVMCAsmInfo.cpp:35

Triple - Helper class for working with autoconf configuration names.

This class implements an extremely fast bulk output stream that can only output to a stream.

StringRef getSpecifierName(Specifier Kind)

This is an optimization pass for GlobalISel generic memory operations.

@ DwarfCFI

DWARF-like instruction based exceptions.