LLVM
8.0.1
|
Fragment for adding required padding. More...
#include "llvm/MC/MCFragment.h"
Public Types | |
enum | MCPaddingFragmentKind { FirstTargetPerfNopFragmentKind = 8, MaxTargetPerfNopFragmentKind = 63 } |
Public Types inherited from llvm::MCFragment | |
enum | FragmentType : uint8_t { FT_Align, FT_Data, FT_CompactEncodedInst, FT_Fill, FT_Relaxable, FT_Org, FT_Dwarf, FT_DwarfFrame, FT_LEB, FT_Padding, FT_SymbolId, FT_CVInlineLines, FT_CVDefRange, FT_Dummy } |
Static Public Member Functions | |
static bool | classof (const MCFragment *F) |
Static Public Attributes | |
static const uint64_t | PFK_None = UINT64_C(0) |
Fragment for adding required padding.
This fragment is always inserted before an instruction, and holds that instruction as context information (as well as a mask of kinds) for determining the padding size.
Definition at line 341 of file MCFragment.h.
Enumerator | |
---|---|
FirstTargetPerfNopFragmentKind | |
MaxTargetPerfNopFragmentKind | Limit range of target MCPerfNopFragment kinds to fit in uint64_t. |
Definition at line 371 of file MCFragment.h.
|
inline |
Definition at line 380 of file MCFragment.h.
|
inlinestatic |
Definition at line 423 of file MCFragment.h.
References llvm::MCFragment::FT_Padding, and llvm::MCFragment::getKind().
Definition at line 394 of file MCFragment.h.
References assert().
Referenced by llvm::MCFragment::dump().
|
inline |
Definition at line 398 of file MCFragment.h.
References assert().
Referenced by llvm::MCFragment::dump(), and llvm::MCCodePaddingPolicy::getFragmentInstByte().
|
inline |
Definition at line 387 of file MCFragment.h.
Referenced by llvm::MCFragment::dump(), llvm::MCCodePadder::handleBasicBlockStart(), and llvm::MCCodePadder::handleInstructionBegin().
|
inline |
Definition at line 419 of file MCFragment.h.
References Size.
Referenced by llvm::MCFragment::dump(), llvm::MCAssembler::Finish(), and llvm::MCCodePadder::relaxFragment().
|
inline |
Definition at line 389 of file MCFragment.h.
References assert(), and llvm::isPowerOf2_64().
Referenced by llvm::MCCodePaddingPolicy::computeFirstWindowPenaltyWeight(), llvm::MCCodePaddingPolicy::computeRangePenaltyWeight(), and llvm::MCCodePadder::handleInstructionEnd().
|
inline |
Definition at line 385 of file MCFragment.h.
Referenced by llvm::MCFragment::dump(), llvm::MCCodePadder::handleInstructionEnd(), and llvm::MCCodePadder::relaxFragment().
|
inline |
Definition at line 421 of file MCFragment.h.
|
inline |
Definition at line 386 of file MCFragment.h.
Referenced by llvm::MCCodePadder::handleBasicBlockStart(), and llvm::MCCodePadder::handleInstructionBegin().
|
inline |
Definition at line 412 of file MCFragment.h.
Referenced by llvm::MCCodePadder::handleInstructionEnd().
Definition at line 406 of file MCFragment.h.
Referenced by llvm::MCCodePadder::handleInstructionEnd().
|
inline |
Definition at line 388 of file MCFragment.h.
Referenced by llvm::MCCodePadder::handleBasicBlockStart(), and llvm::MCCodePadder::handleInstructionBegin().
|
inline |
Definition at line 420 of file MCFragment.h.
Referenced by llvm::MCCodePadder::relaxFragment().
|
static |
Definition at line 369 of file MCFragment.h.
Referenced by llvm::MCCodePadder::handleBasicBlockStart(), llvm::MCCodePadder::handleInstructionBegin(), and llvm::MCCodePadder::handleInstructionEnd().