LLVM 24.0.0git
PISATargetStreamer.cpp File Reference

This file implements the PISA target streamer. More...

Go to the source code of this file.

Functions

static StringRef getStorageSpaceRepr (PISA::StorageSpace SS)
static StringRef getParamASRepr (PISAAS::AddressSpace AS)
static StringRef getFunctionDirectiveRepr (bool IsKernel)
static std::string getKernelAttributeRepr (const KernelAttribute &Attr)
static void emitTypeString (uint32_t TypeSizeInBits, uint32_t NumElts, raw_ostream &OS)
static void emitTypeString (const LLT &T, raw_ostream &OS)
static void printOffset (int64_t Val, raw_ostream &OS)

Detailed Description

This file implements the PISA target streamer.

Definition in file PISATargetStreamer.cpp.

Function Documentation

◆ emitTypeString() [1/2]

void emitTypeString ( const LLT & T,
raw_ostream & OS )
static

Definition at line 150 of file PISATargetStreamer.cpp.

References emitTypeString(), and T.

◆ emitTypeString() [2/2]

void emitTypeString ( uint32_t TypeSizeInBits,
uint32_t NumElts,
raw_ostream & OS )
static

Definition at line 137 of file PISATargetStreamer.cpp.

References assert().

Referenced by emitTypeString().

◆ getFunctionDirectiveRepr()

StringRef getFunctionDirectiveRepr ( bool IsKernel)
static

Definition at line 94 of file PISATargetStreamer.cpp.

◆ getKernelAttributeRepr()

◆ getParamASRepr()

◆ getStorageSpaceRepr()

◆ printOffset()

void printOffset ( int64_t Val,
raw_ostream & OS )
static

Definition at line 156 of file PISATargetStreamer.cpp.

References llvm::format().