LLVM: lib/MC/MCGOFFStreamer.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

20

21using namespace llvm;

22

24

28

30

34 while (!Sections.empty()) {

37 }

38}

39

41 std::unique_ptr &&MAB,

42 std::unique_ptr &&OW,

43 std::unique_ptr &&CE) {

45 new MCGOFFStreamer(Context, std::move(MAB), std::move(OW), std::move(CE));

46 return S;

47}

49 std::unique_ptr MAB,

50 std::unique_ptr OW,

51 std::unique_ptr Emitter)

dxil DXContainer Global Emitter

MCObjectWriter & getWriter() const

Context object for machine code objects.

void changeSection(MCSection *Section, uint32_t Subsection=0) override

This is called by popSection and switchSection, if the current section changes.

Definition MCGOFFStreamer.cpp:29

~MCGOFFStreamer() override

GOFFObjectWriter & getWriter()

Definition MCGOFFStreamer.cpp:25

MCGOFFStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)

Definition MCGOFFStreamer.cpp:48

MCAssembler & getAssembler()

MCObjectStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > TAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)

void changeSection(MCSection *Section, uint32_t Subsection=0) override

This is called by popSection and switchSection, if the current section changes.

MCSectionGOFF * getParent() const

Instances of this class represent a uniqued identifier for a section in the current translation unit.

Streaming machine code generation interface.

void push_back(const T &Elt)

This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.

This is an optimization pass for GlobalISel generic memory operations.

OutputIt move(R &&Range, OutputIt Out)

Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.

LLVM_ABI MCStreamer * createGOFFStreamer(MCContext &Ctx, std::unique_ptr< MCAsmBackend > &&TAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&CE)

Definition MCGOFFStreamer.cpp:40

Implement std::hash so that hash_code can be used in STL containers.