|
LLVM 24.0.0git
|
This file implements the PISA target streamer. More...
#include "MCTargetDesc/PISATargetStreamer.h"#include "MCTargetDesc/PISAMCTargetDesc.h"#include "MCTargetDesc/PISARegEncoder.h"#include "PISAInstPrinter.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringExtras.h"#include "llvm/ADT/StringRef.h"#include "llvm/CodeGenTypes/LowLevelType.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCStreamer.h"#include "llvm/MC/MCSubtargetInfo.h"#include "llvm/Support/Alignment.h"#include "llvm/Support/FormattedStream.h"#include "llvm/Support/PISAAddrSpace.h"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) |
This file implements the PISA target streamer.
Definition in file PISATargetStreamer.cpp.
|
static |
Definition at line 150 of file PISATargetStreamer.cpp.
References emitTypeString(), and T.
|
static |
Definition at line 137 of file PISATargetStreamer.cpp.
References assert().
Referenced by emitTypeString().
Definition at line 94 of file PISATargetStreamer.cpp.
|
static |
Definition at line 98 of file PISATargetStreamer.cpp.
References llvm::DenseMapBase< StorageT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< StorageT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::PISA::KernelAttribute::KernelAttrType, llvm::PISA::KernelAttribute::KernelAttrValues, llvm::PISA::REQD_WORK_GROUP_SIZE, Result, llvm::Values, and llvm::PISA::VEC_TYPE_HINT.
|
static |
Definition at line 66 of file PISATargetStreamer.cpp.
References llvm::PISAAS::CONSTANT, llvm::PISAAS::GENERIC, llvm::PISAAS::GLOBAL, llvm_unreachable, and llvm::PISAAS::SHARED.
|
static |
Definition at line 50 of file PISATargetStreamer.cpp.
References llvm::PISA::CONSTANT, llvm::PISA::GENERIC, llvm::PISA::GLOBAL, llvm_unreachable, llvm::PISA::PRIVATE, and llvm::PISA::SHARED.
|
static |
Definition at line 156 of file PISATargetStreamer.cpp.
References llvm::format().