LLVM: lib/Target/SPIRV/MCTargetDesc/SPIRVMCAsmInfo.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

15

16using namespace llvm;

17

31

unsigned MinInstAlignment

Every possible instruction length is a multiple of this value.

bool HasFunctionAlignment

bool HasDotTypeDotSizeDirective

True if the target has .type and .size directives, this is true for most ELF targets.

bool HasSingleParameterDotFile

True if the target has a single parameter .file directive, this is true for ELF targets.

bool IsLittleEndian

True if target is little endian. Default is true.

unsigned CodePointerSize

Code pointer size in bytes. Default is 4.

StringRef CommentString

This indicates the comment string used by the assembler.

SPIRVMCAsmInfo(const Triple &TT, const MCTargetOptions &Options)

Definition SPIRVMCAsmInfo.cpp:18

bool shouldOmitSectionDirective(StringRef SectionName) const override

Return true if the .section directive should be omitted when emitting SectionName.

Definition SPIRVMCAsmInfo.cpp:32

StringRef - Represent a constant reference to a string, i.e.

Triple - Helper class for working with autoconf configuration names.

This is an optimization pass for GlobalISel generic memory operations.