LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
NoAutoPaddingScope Struct Reference

A RAII helper which defines a region of instructions which can't have padding added between them for correctness. More...

Public Member Functions

 NoAutoPaddingScope (MCStreamer &OS)
 
 ~NoAutoPaddingScope ()
 
void changeAndComment (bool b)
 

Public Attributes

MCStreamerOS
 
const bool OldAllowAutoPadding
 

Detailed Description

A RAII helper which defines a region of instructions which can't have padding added between them for correctness.

Definition at line 94 of file X86MCInstLower.cpp.

Constructor & Destructor Documentation

◆ NoAutoPaddingScope()

NoAutoPaddingScope::NoAutoPaddingScope ( MCStreamer OS)
inline

Definition at line 97 of file X86MCInstLower.cpp.

References changeAndComment().

◆ ~NoAutoPaddingScope()

NoAutoPaddingScope::~NoAutoPaddingScope ( )
inline

Definition at line 101 of file X86MCInstLower.cpp.

References changeAndComment(), and OldAllowAutoPadding.

Member Function Documentation

◆ changeAndComment()

void NoAutoPaddingScope::changeAndComment ( bool  b)
inline

Member Data Documentation

◆ OldAllowAutoPadding

const bool NoAutoPaddingScope::OldAllowAutoPadding

Definition at line 96 of file X86MCInstLower.cpp.

Referenced by ~NoAutoPaddingScope().

◆ OS

MCStreamer& NoAutoPaddingScope::OS

Definition at line 95 of file X86MCInstLower.cpp.

Referenced by changeAndComment().


The documentation for this struct was generated from the following file: