LLVM 20.0.0git
Static Public Member Functions | List of all members
llvm::yaml::ScalarTraits< Align > Struct Reference

#include "llvm/CodeGen/MIRYamlMapping.h"

Static Public Member Functions

static void output (const Align &Alignment, void *, llvm::raw_ostream &OS)
 
static StringRef input (StringRef Scalar, void *, Align &Alignment)
 
static QuotingType mustQuote (StringRef)
 

Detailed Description

Definition at line 164 of file MIRYamlMapping.h.

Member Function Documentation

◆ input()

static StringRef llvm::yaml::ScalarTraits< Align >::input ( StringRef  Scalar,
void *  ,
Align Alignment 
)
inlinestatic

Definition at line 168 of file MIRYamlMapping.h.

References Align, llvm::getAsUnsignedInteger(), llvm::isPowerOf2_64(), and N.

◆ mustQuote()

static QuotingType llvm::yaml::ScalarTraits< Align >::mustQuote ( StringRef  )
inlinestatic

Definition at line 177 of file MIRYamlMapping.h.

◆ output()

static void llvm::yaml::ScalarTraits< Align >::output ( const Align Alignment,
void *  ,
llvm::raw_ostream OS 
)
inlinestatic

Definition at line 165 of file MIRYamlMapping.h.

References OS, and llvm::Align::value().


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