LLVM API Documentation
#include <MCAssembler.h>


Public Member Functions | |
| MCDataFragment (MCSectionData *SD=0) | |
| virtual SmallVectorImpl< char > & | getContents () |
| virtual const SmallVectorImpl < char > & | getContents () const |
| SmallVectorImpl< MCFixup > & | getFixups () |
| const SmallVectorImpl< MCFixup > & | getFixups () const |
| virtual bool | hasInstructions () const |
| 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) |
| virtual bool | alignToBundleEnd () const |
| Should this fragment be placed at the end of an aligned bundle? | |
| virtual void | setAlignToBundleEnd (bool V) |
| fixup_iterator | fixup_begin () |
| const_fixup_iterator | fixup_begin () const |
| fixup_iterator | fixup_end () |
| const_fixup_iterator | fixup_end () const |
Static Public Member Functions | |
| static bool | classof (const MCFragment *F) |
Fragment for data and encoded instructions.
Definition at line 200 of file MCAssembler.h.
| llvm::MCDataFragment::MCDataFragment | ( | MCSectionData * | SD = 0 | ) | [inline] |
Definition at line 214 of file MCAssembler.h.
| virtual bool llvm::MCDataFragment::alignToBundleEnd | ( | ) | const [inline, virtual] |
Should this fragment be placed at the end of an aligned bundle?
Reimplemented from llvm::MCFragment.
Definition at line 234 of file MCAssembler.h.
| static bool llvm::MCDataFragment::classof | ( | const MCFragment * | F | ) | [inline, static] |
Reimplemented from llvm::MCEncodedFragmentWithFixups.
Definition at line 243 of file MCAssembler.h.
References llvm::MCFragment::FT_Data, and llvm::MCFragment::getKind().
| fixup_iterator llvm::MCDataFragment::fixup_begin | ( | ) | [inline, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 237 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, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 238 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin().
| fixup_iterator llvm::MCDataFragment::fixup_end | ( | ) | [inline, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 240 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, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 241 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().
| virtual SmallVectorImpl<char>& llvm::MCDataFragment::getContents | ( | ) | [inline, virtual] |
Implements llvm::MCEncodedFragment.
Definition at line 220 of file MCAssembler.h.
Referenced by llvm::MCFragment::dump(), llvm::MCObjectStreamer::EmitBytes(), llvm::MCObjectStreamer::EmitFill(), llvm::MCObjectStreamer::EmitGPRel32Value(), llvm::MCObjectStreamer::EmitGPRel64Value(), llvm::MCObjectStreamer::EmitLabel(), llvm::MCObjectStreamer::EmitValueImpl(), and llvm::MCAssembler::writeSectionData().
| virtual const SmallVectorImpl<char>& llvm::MCDataFragment::getContents | ( | ) | const [inline, virtual] |
Implements llvm::MCEncodedFragment.
Definition at line 221 of file MCAssembler.h.
| SmallVectorImpl<MCFixup>& llvm::MCDataFragment::getFixups | ( | ) | [inline, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 223 of file MCAssembler.h.
Referenced by llvm::MCObjectStreamer::EmitGPRel32Value(), llvm::MCObjectStreamer::EmitGPRel64Value(), and llvm::MCObjectStreamer::EmitValueImpl().
| const SmallVectorImpl<MCFixup>& llvm::MCDataFragment::getFixups | ( | ) | const [inline, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 227 of file MCAssembler.h.
| virtual bool llvm::MCDataFragment::hasInstructions | ( | ) | const [inline, 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 231 of file MCAssembler.h.
Referenced by llvm::MCObjectStreamer::getOrCreateDataFragment().
| virtual void llvm::MCDataFragment::setAlignToBundleEnd | ( | bool | V | ) | [inline, virtual] |
Reimplemented from llvm::MCFragment.
Definition at line 235 of file MCAssembler.h.
| virtual void llvm::MCDataFragment::setHasInstructions | ( | bool | V | ) | [inline, virtual] |
Definition at line 232 of file MCAssembler.h.