LLVM API Documentation
#include <MCAssembler.h>
Public Member Functions | |
MCCompactEncodedInstFragment (MCSectionData *SD=nullptr) | |
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. | |
SmallVectorImpl< char > & | getContents () override |
const SmallVectorImpl< char > & | getContents () const override |
bool | alignToBundleEnd () const override |
Should this fragment be placed at the end of an aligned bundle? | |
void | setAlignToBundleEnd (bool V) override |
Static Public Member Functions | |
static bool | classof (const MCFragment *F) |
This is a compact (memory-size-wise) fragment for holding an encoded instruction (non-relaxable) that has no fixups registered. When applicable, it can be used instead of MCDataFragment and lead to lower memory consumption.
Definition at line 259 of file MCAssembler.h.
llvm::MCCompactEncodedInstFragment::MCCompactEncodedInstFragment | ( | MCSectionData * | SD = nullptr | ) | [inline] |
Definition at line 267 of file MCAssembler.h.
bool llvm::MCCompactEncodedInstFragment::alignToBundleEnd | ( | ) | const [inline, override, virtual] |
Should this fragment be placed at the end of an aligned bundle?
Reimplemented from llvm::MCFragment.
Definition at line 279 of file MCAssembler.h.
static bool llvm::MCCompactEncodedInstFragment::classof | ( | const MCFragment * | F | ) | [inline, static] |
Reimplemented from llvm::MCEncodedFragment.
Definition at line 282 of file MCAssembler.h.
References llvm::MCFragment::FT_CompactEncodedInst, and llvm::MCFragment::getKind().
SmallVectorImpl<char>& llvm::MCCompactEncodedInstFragment::getContents | ( | ) | [inline, override, virtual] |
Implements llvm::MCEncodedFragment.
Definition at line 276 of file MCAssembler.h.
Referenced by llvm::MCFragment::dump().
const SmallVectorImpl<char>& llvm::MCCompactEncodedInstFragment::getContents | ( | ) | const [inline, override, virtual] |
Implements llvm::MCEncodedFragment.
Definition at line 277 of file MCAssembler.h.
bool llvm::MCCompactEncodedInstFragment::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 272 of file MCAssembler.h.
void llvm::MCCompactEncodedInstFragment::setAlignToBundleEnd | ( | bool | V | ) | [inline, override, virtual] |
Reimplemented from llvm::MCFragment.
Definition at line 280 of file MCAssembler.h.