[#llvm-MCBoundaryAlignFragment] = xref:llvm.adoc[llvm]::MCBoundaryAlignFragment :relfileprefix: ../ :mrdocs: Padding fragment that keeps a following fragment set within one alignment boundary. == Synopsis Declared in `<llvm/MC/MCSection.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class MCBoundaryAlignFragment : public xref:llvm/MCFragment.adoc[MCFragment] ---- == Description Represents required padding such that a particular other set of fragments does not cross a particular power‐of‐two boundary. The other fragments must follow this one within the same section. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/MCFragment.adoc[MCFragment]` | Contiguous piece of code or data within a section. |=== == Enums [cols="1,4"] |=== | Name| Description | xref:llvm/MCFragment/FragmentType.adoc[`FragmentType`] | Discriminator for the kind of data or metadata this fragment encodes. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/MCBoundaryAlignFragment/2constructor.adoc[`MCBoundaryAlignFragment`] [.small]#[constructor]# | Construct a boundary‐align fragment for `AlignBoundary.` | xref:llvm/MCFragment/operator_assign.adoc[`operator=`] [.small]#[deleted]# | Deleted copy assignment. | xref:llvm/MCFragment/addFixup.adoc[`addFixup`] | Append a single fixup for the fixed‐size part of this fragment. | xref:llvm/MCFragment/appendFixups.adoc[`appendFixups`] | Append fixups for the fixed‐size part of this fragment. | xref:llvm/MCFragment/clearFixups.adoc[`clearFixups`] | Clear all fixups stored for this fragment. | xref:llvm/MCFragment/clearVarContents.adoc[`clearVarContents`] | Clear the variable‐size content tail of this fragment. | xref:llvm/MCFragment/clearVarFixups.adoc[`clearVarFixups`] | Clear fixups for the variable‐size content tail. | xref:llvm/MCFragment/dump.adoc[`dump`] | Print a human‐readable description of this fragment to stderr. | xref:llvm/MCFragment/getAlignFill.adoc[`getAlignFill`] | Return the fill value used for alignment padding. | xref:llvm/MCFragment/getAlignFillLen.adoc[`getAlignFillLen`] | Return the size in bytes of the alignment fill value. | xref:llvm/MCFragment/getAlignMaxBytesToEmit.adoc[`getAlignMaxBytesToEmit`] | Return the maximum number of padding bytes this align fragment may emit. | xref:llvm/MCBoundaryAlignFragment/getAlignment.adoc[`getAlignment`] | Return the alignment boundary that must not be crossed. | xref:llvm/MCFragment/getAllowAutoPadding.adoc[`getAllowAutoPadding`] | Return true if x86 auto‐padding is allowed for this relaxable fragment. | xref:llvm/MCFragment/getAtom.adoc[`getAtom`] | Return the atom (defining symbol) for this fragment, if any. | xref:llvm/MCFragment/getContents-0a.adoc[`getContents`] | `getContents` overloads | xref:llvm/MCFragment/getDwarfAddrDelta.adoc[`getDwarfAddrDelta`] | Return the address‐delta expression for this DWARF fragment. | xref:llvm/MCFragment/getDwarfLineDelta.adoc[`getDwarfLineDelta`] | Return the line‐number delta encoded in this `FT_Dwarf` fragment. | xref:llvm/MCFragment/getFixedSize.adoc[`getFixedSize`] | Return the size in bytes of the fixed‐size content region. | xref:llvm/MCFragment/getFixups-0b.adoc[`getFixups`] | `getFixups` overloads | xref:llvm/MCFragment/getInst.adoc[`getInst`] | Return the relaxable instruction stored in this fragment. | xref:llvm/MCFragment/getKind.adoc[`getKind`] | Return the kind discriminator for this fragment. | xref:llvm/MCFragment/getLEBValue.adoc[`getLEBValue`] | Return the expression encoded by this LEB fragment. | xref:llvm/MCBoundaryAlignFragment/getLastFragment.adoc[`getLastFragment`] | Return the last fragment in the aligned set, or null if unset. | xref:llvm/MCFragment/getLayoutOrder.adoc[`getLayoutOrder`] | Return the layout order of this fragment within its section. | xref:llvm/MCFragment/getNext.adoc[`getNext`] | Return the next fragment in the section, or null if this is the last. | xref:llvm/MCFragment/getOpcode.adoc[`getOpcode`] | Return the opcode of the relaxable instruction in this fragment. | xref:llvm/MCFragment/getOperands.adoc[`getOperands`] | Return the operands of the relaxable instruction in this fragment. | xref:llvm/MCFragment/getParent.adoc[`getParent`] | Return the section that owns this fragment, or null if unattached. | xref:llvm/MCFragment/getPrefAlignComputed.adoc[`getPrefAlignComputed`] | Return the alignment computed during relaxation for this fragment. | xref:llvm/MCFragment/getPrefAlignEmitNops.adoc[`getPrefAlignEmitNops`] | Return true if preferred‐alignment padding is filled with target NOPs. | xref:llvm/MCFragment/getPrefAlignEnd.adoc[`getPrefAlignEnd`] | Return the end symbol of this preferred‐alignment region. | xref:llvm/MCFragment/getPrefAlignFill.adoc[`getPrefAlignFill`] | Return the fill byte used when preferred‐alignment padding is not NOPs. | xref:llvm/MCFragment/getPrefAlignPreferred.adoc[`getPrefAlignPreferred`] | Return the preferred alignment for this `FT_PrefAlign` fragment. | xref:llvm/MCFragment/getSFrameAddrDelta.adoc[`getSFrameAddrDelta`] | Return the address‐delta expression for this `FT_SFrame` fragment. | xref:llvm/MCFragment/getSFrameFDE.adoc[`getSFrameFDE`] | Return the FDE fragment that records how many AddrDelta bytes to emit. | xref:llvm/MCBoundaryAlignFragment/getSize.adoc[`getSize`] | Return the lazily computed size of this padding fragment. | xref:llvm/MCFragment/getSubtargetInfo.adoc[`getSubtargetInfo`] | Retrieve the MCSubTargetInfo in effect when the instruction was encoded. Guaranteed to be non‐null if hasInstructions() == true | xref:llvm/MCFragment/getVarContents-09.adoc[`getVarContents`] | `getVarContents` overloads | xref:llvm/MCFragment/getVarFixups-08.adoc[`getVarFixups`] | `getVarFixups` overloads | xref:llvm/MCFragment/getVarSize.adoc[`getVarSize`] | Return the size in bytes of the variable‐size content region. | xref:llvm/MCFragment/hasAlignEmitNops.adoc[`hasAlignEmitNops`] | Return true if alignment padding is filled with target NOP instructions. | xref:llvm/MCFragment/hasInstructions-0d.adoc[`hasInstructions`] | Does this fragment have instructions emitted into it? By default this is false, but specific fragment types may set it to true. | xref:llvm/MCFragment/insertRelocFixups.adoc[`insertRelocFixups`] | Insert `.reloc` fixups using assembler layout ordering rules. | xref:llvm/MCBoundaryAlignFragment/isAlignToEnd.adoc[`isAlignToEnd`] | Return whether the last instruction is aligned to the end of this fragment. | xref:llvm/MCFragment/isLEBSigned.adoc[`isLEBSigned`] | Return true if this LEB fragment uses signed (SLEB128) encoding. | xref:llvm/MCFragment/isLinkerRelaxable.adoc[`isLinkerRelaxable`] | Return true if this fragment may be resized by linker relaxation. | xref:llvm/MCFragment/makeAlign.adoc[`makeAlign`] | Initialize this fragment as alignment padding with the given fill policy. | xref:llvm/MCFragment/makeLEB.adoc[`makeLEB`] | Convert this data fragment into an LEB128 encoding of `Value.` | xref:llvm/MCFragment/makePrefAlign.adoc[`makePrefAlign`] | Initialize this fragment as preferred‐alignment padding ending at `End.` | xref:llvm/MCFragment/moveFixupsToEnd.adoc[`moveFixupsToEnd`] | Move this fragment's fixups to the end of the parent's fixup storage. | xref:llvm/MCBoundaryAlignFragment/setAlignToEnd.adoc[`setAlignToEnd`] | Set whether the last instruction is aligned to the end of this fragment. | xref:llvm/MCBoundaryAlignFragment/setAlignment.adoc[`setAlignment`] | Set the alignment boundary that must not be crossed. | xref:llvm/MCFragment/setAllowAutoPadding.adoc[`setAllowAutoPadding`] | Set whether x86 auto‐padding is allowed for this relaxable fragment. | xref:llvm/MCFragment/setDwarfAddrDelta.adoc[`setDwarfAddrDelta`] | Set the address‐delta expression for this DWARF fragment. | xref:llvm/MCFragment/setDwarfLineDelta.adoc[`setDwarfLineDelta`] | Set the line‐number delta encoded in this `FT_Dwarf` fragment. | xref:llvm/MCFragment/setHasInstructions.adoc[`setHasInstructions`] | Record that the fragment contains instructions with the MCSubtargetInfo in effect when the instruction was encoded. | xref:llvm/MCFragment/setInst.adoc[`setInst`] | Replace the relaxable instruction stored in this fragment. | xref:llvm/MCFragment/setLEBValue.adoc[`setLEBValue`] | Set the expression encoded by this LEB fragment. | xref:llvm/MCBoundaryAlignFragment/setLastFragment.adoc[`setLastFragment`] | Set the last fragment in the aligned set. | xref:llvm/MCFragment/setLayoutOrder.adoc[`setLayoutOrder`] | Set the layout order of this fragment within its section. | xref:llvm/MCFragment/setLinkerRelaxable.adoc[`setLinkerRelaxable`] | Mark this fragment as subject to linker relaxation. | xref:llvm/MCFragment/setParent.adoc[`setParent`] | Set the section that owns this fragment. | xref:llvm/MCFragment/setPrefAlignComputed.adoc[`setPrefAlignComputed`] | Set the computed alignment for this `FT_PrefAlign` fragment. | xref:llvm/MCFragment/setSFrameAddrDelta.adoc[`setSFrameAddrDelta`] | Set the address‐delta expression for this `FT_SFrame` fragment. | xref:llvm/MCFragment/setSFrameFDE.adoc[`setSFrameFDE`] | Set the FDE fragment that records how many AddrDelta bytes to emit. | xref:llvm/MCBoundaryAlignFragment/setSize.adoc[`setSize`] | Set the size of this padding fragment. | xref:llvm/MCFragment/setVarContents.adoc[`setVarContents`] | Replace the variable‐size content tail of this fragment. | xref:llvm/MCFragment/setVarFixups.adoc[`setVarFixups`] | Replace fixups for the variable‐size content tail. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/MCBoundaryAlignFragment/classof.adoc[`classof`] | Return true if `F` is an `MCBoundaryAlignFragment.` |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/MCFragment/STI.adoc[`STI`] | Subtarget info in effect when instructions in this fragment were encoded. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#