LLVM API Documentation
#include <MCAssembler.h>


Public Member Functions | |
| MCRelaxableFragment (const MCInst &_Inst, const MCSubtargetInfo &_STI, MCSectionData *SD=nullptr) | |
| SmallVectorImpl< char > & | getContents () override |
| const SmallVectorImpl< char > & | getContents () const override |
| const MCInst & | getInst () const |
| void | setInst (const MCInst &Value) |
| const MCSubtargetInfo & | getSubtargetInfo () |
| 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. | |
| 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) |
A relaxable fragment holds on to its MCInst, since it may need to be relaxed during the assembler layout and relaxation stage.
Definition at line 290 of file MCAssembler.h.
| llvm::MCRelaxableFragment::MCRelaxableFragment | ( | const MCInst & | _Inst, |
| const MCSubtargetInfo & | _STI, | ||
| MCSectionData * | SD = nullptr |
||
| ) | [inline] |
Definition at line 308 of file MCAssembler.h.
| static bool llvm::MCRelaxableFragment::classof | ( | const MCFragment * | F | ) | [inline, static] |
Reimplemented from llvm::MCEncodedFragmentWithFixups.
Definition at line 338 of file MCAssembler.h.
References llvm::MCFragment::FT_Relaxable, and llvm::MCFragment::getKind().
| fixup_iterator llvm::MCRelaxableFragment::fixup_begin | ( | ) | [inline, override, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 332 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin().
| const_fixup_iterator llvm::MCRelaxableFragment::fixup_begin | ( | ) | const [inline, override, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 333 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin().
| fixup_iterator llvm::MCRelaxableFragment::fixup_end | ( | ) | [inline, override, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 335 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().
| const_fixup_iterator llvm::MCRelaxableFragment::fixup_end | ( | ) | const [inline, override, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 336 of file MCAssembler.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().
| SmallVectorImpl<char>& llvm::MCRelaxableFragment::getContents | ( | ) | [inline, override, virtual] |
Implements llvm::MCEncodedFragment.
Definition at line 314 of file MCAssembler.h.
Referenced by llvm::MCObjectStreamer::EmitInstToFragment().
| const SmallVectorImpl<char>& llvm::MCRelaxableFragment::getContents | ( | ) | const [inline, override, virtual] |
Implements llvm::MCEncodedFragment.
Definition at line 315 of file MCAssembler.h.
| SmallVectorImpl<MCFixup>& llvm::MCRelaxableFragment::getFixups | ( | ) | [inline, override, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 322 of file MCAssembler.h.
Referenced by llvm::MCObjectStreamer::EmitInstToFragment().
| const SmallVectorImpl<MCFixup>& llvm::MCRelaxableFragment::getFixups | ( | ) | const [inline, override, virtual] |
Implements llvm::MCEncodedFragmentWithFixups.
Definition at line 326 of file MCAssembler.h.
| const MCInst& llvm::MCRelaxableFragment::getInst | ( | ) | const [inline] |
Definition at line 317 of file MCAssembler.h.
Referenced by llvm::MCFragment::dump().
| const MCSubtargetInfo& llvm::MCRelaxableFragment::getSubtargetInfo | ( | ) | [inline] |
Definition at line 320 of file MCAssembler.h.
| bool llvm::MCRelaxableFragment::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 330 of file MCAssembler.h.
| void llvm::MCRelaxableFragment::setInst | ( | const MCInst & | Value | ) | [inline] |
Definition at line 318 of file MCAssembler.h.