LLVM API Documentation
#include <MCAssembler.h>
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) |
Fragment for data and encoded instructions.
Definition at line 204 of file MCAssembler.h.
llvm::MCDataFragment::MCDataFragment | ( | MCSectionData * | SD = nullptr | ) | [inline] |
Definition at line 218 of file MCAssembler.h.
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] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 243 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin().
Referenced by llvm::MCFragment::dump(), and llvm::MCAssembler::writeSectionData().
const_fixup_iterator llvm::MCDataFragment::fixup_begin | ( | ) | const [inline, override, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 244 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin().
fixup_iterator llvm::MCDataFragment::fixup_end | ( | ) | [inline, override, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 246 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().
Referenced by llvm::MCFragment::dump(), and llvm::MCAssembler::writeSectionData().
const_fixup_iterator llvm::MCDataFragment::fixup_end | ( | ) | const [inline, override, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 247 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().
SmallVectorImpl<char>& llvm::MCDataFragment::getContents | ( | ) | [inline, override, virtual] |
Implements llvm::MCEncodedFragment.
Definition at line 224 of file MCAssembler.h.
Referenced by llvm::MCFragment::dump(), llvm::MCObjectStreamer::EmitBytes(), llvm::MCWinCOFFStreamer::EmitCOFFSecRel32(), llvm::MCWinCOFFStreamer::EmitCOFFSectionIndex(), llvm::MCObjectStreamer::EmitFill(), llvm::MCObjectStreamer::EmitGPRel32Value(), llvm::MCObjectStreamer::EmitGPRel64Value(), llvm::MCWinCOFFStreamer::EmitInstToData(), llvm::MCObjectStreamer::EmitLabel(), llvm::MCObjectStreamer::EmitValueImpl(), and llvm::MCAssembler::writeSectionData().
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] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 229 of file MCAssembler.h.
Referenced by llvm::MCWinCOFFStreamer::EmitCOFFSecRel32(), llvm::MCWinCOFFStreamer::EmitCOFFSectionIndex(), llvm::MCObjectStreamer::EmitGPRel32Value(), llvm::MCObjectStreamer::EmitGPRel64Value(), llvm::MCWinCOFFStreamer::EmitInstToData(), and llvm::MCObjectStreamer::EmitValueImpl().
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.