LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::MCDataFragment Class Reference

#include <MCAssembler.h>

Inheritance diagram for llvm::MCDataFragment:
Inheritance graph
[legend]
Collaboration diagram for llvm::MCDataFragment:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MCDataFragment (MCSectionData *SD=nullptr)
SmallVectorImpl< char > & getContents () override
const SmallVectorImpl< char > & getContents () const override
SmallVectorImpl< MCFixup > & getFixups () override
const SmallVectorImpl< MCFixup > & getFixups () const override
bool hasInstructions () const override
 Does this fragment have instructions emitted into it? By default this is false, but specific fragment types may set it to true.
virtual void setHasInstructions (bool V)
bool alignToBundleEnd () const override
 Should this fragment be placed at the end of an aligned bundle?
void setAlignToBundleEnd (bool V) override
fixup_iterator fixup_begin () override
const_fixup_iterator fixup_begin () const override
fixup_iterator fixup_end () override
const_fixup_iterator fixup_end () const override

Static Public Member Functions

static bool classof (const MCFragment *F)

Detailed Description

Fragment for data and encoded instructions.

Definition at line 204 of file MCAssembler.h.


Constructor & Destructor Documentation

Definition at line 218 of file MCAssembler.h.


Member Function Documentation

bool llvm::MCDataFragment::alignToBundleEnd ( ) const [inline, override, virtual]

Should this fragment be placed at the end of an aligned bundle?

Reimplemented from llvm::MCFragment.

Definition at line 240 of file MCAssembler.h.

static bool llvm::MCDataFragment::classof ( const MCFragment F) [inline, static]

Reimplemented from llvm::MCEncodedFragmentWithFixups.

Definition at line 249 of file MCAssembler.h.

References llvm::MCFragment::FT_Data, and llvm::MCFragment::getKind().

fixup_iterator llvm::MCDataFragment::fixup_begin ( ) [inline, override, virtual]
const_fixup_iterator llvm::MCDataFragment::fixup_begin ( ) const [inline, override, virtual]
fixup_iterator llvm::MCDataFragment::fixup_end ( ) [inline, override, virtual]
const_fixup_iterator llvm::MCDataFragment::fixup_end ( ) const [inline, override, virtual]
SmallVectorImpl<char>& llvm::MCDataFragment::getContents ( ) [inline, override, virtual]
const SmallVectorImpl<char>& llvm::MCDataFragment::getContents ( ) const [inline, override, virtual]

Implements llvm::MCEncodedFragment.

Definition at line 225 of file MCAssembler.h.

SmallVectorImpl<MCFixup>& llvm::MCDataFragment::getFixups ( ) [inline, override, virtual]
const SmallVectorImpl<MCFixup>& llvm::MCDataFragment::getFixups ( ) const [inline, override, virtual]

Implements llvm::MCEncodedFragmentWithFixups.

Definition at line 233 of file MCAssembler.h.

bool llvm::MCDataFragment::hasInstructions ( ) const [inline, override, virtual]

Does this fragment have instructions emitted into it? By default this is false, but specific fragment types may set it to true.

Reimplemented from llvm::MCFragment.

Definition at line 237 of file MCAssembler.h.

Referenced by llvm::MCObjectStreamer::getOrCreateDataFragment().

void llvm::MCDataFragment::setAlignToBundleEnd ( bool  V) [inline, override, virtual]

Reimplemented from llvm::MCFragment.

Definition at line 241 of file MCAssembler.h.

virtual void llvm::MCDataFragment::setHasInstructions ( bool  V) [inline, virtual]

Definition at line 238 of file MCAssembler.h.


The documentation for this class was generated from the following files: