LLVM 22.0.0git
|
Namespaces | |
namespace | PTXCmpMode |
PTXCmpMode - Comparison mode enumeration. | |
namespace | PTXCvtMode |
PTXCvtMode - Conversion code enumeration. | |
namespace | PTXLdStInstCode |
namespace | PTXPrmtMode |
Typedefs | |
using | OrderingUnderlyingType = unsigned int |
using | ScopeUnderlyingType = unsigned int |
using | AddressSpaceUnderlyingType = unsigned int |
Enumerations | |
enum | DrvInterface { NVCL , CUDA } |
enum | VecInstType { VecInstTypeShift = 0 , VecInstTypeMask = 0xF , VecNOP = 0 , VecLoad = 1 , VecStore = 2 , VecBuild = 3 , VecShuffle = 4 , VecExtract = 5 , VecInsert = 6 , VecDest = 7 , VecOther = 15 } |
enum | SimpleMove { SimpleMoveMask = 0x10 , SimpleMoveShift = 4 } |
enum | LoadStore { isLoadMask = 0x20 , isLoadShift = 5 , isStoreMask = 0x40 , isStoreShift = 6 } |
enum | Ordering : OrderingUnderlyingType { NotAtomic , Relaxed = (OrderingUnderlyingType)AtomicOrdering::Monotonic , Acquire = (OrderingUnderlyingType)AtomicOrdering::Acquire , Release = (OrderingUnderlyingType)AtomicOrdering::Release , AcquireRelease = (OrderingUnderlyingType)AtomicOrdering::AcquireRelease , SequentiallyConsistent , Volatile = SequentiallyConsistent + 1 , RelaxedMMIO = Volatile + 1 } |
enum | Scope : ScopeUnderlyingType { Thread = 0 , Block = 1 , Cluster = 2 , Device = 3 , System = 4 , DefaultDevice = 5 , LASTSCOPE = DefaultDevice } |
enum | AddressSpace : AddressSpaceUnderlyingType { Generic = 0 , Global = 1 , Shared = 3 , Const = 4 , Local = 5 , SharedCluster = 7 , Param = 101 } |
enum class | DivPrecisionLevel : unsigned { Approx = 0 , Full = 1 , IEEE754 = 2 , IEEE754_NoFTZ = 3 } |
Functions | |
auto | packed_types () |
bool | isPackedVectorTy (EVT VT) |
bool | isPackedElementTy (EVT ET) |
std::string | getValidPTXIdentifier (StringRef Name) |
std::string | OrderingToString (Ordering Order) |
raw_ostream & | operator<< (raw_ostream &O, Ordering Order) |
std::string | ScopeToString (Scope S) |
raw_ostream & | operator<< (raw_ostream &O, Scope S) |
std::string | AddressSpaceToString (AddressSpace A) |
raw_ostream & | operator<< (raw_ostream &O, AddressSpace A) |
using llvm::NVPTX::AddressSpaceUnderlyingType = unsigned int |
using llvm::NVPTX::OrderingUnderlyingType = unsigned int |
using llvm::NVPTX::ScopeUnderlyingType = unsigned int |
|
strong |
|
inline |
Definition at line 184 of file NVPTXUtilities.h.
References A(), Const, llvm::formatv(), Generic, Global, Local, Param, llvm::report_fatal_error(), Shared, and SharedCluster.
Referenced by operator<<().
|
inline |
Definition at line 118 of file NVPTXUtilities.h.
References llvm::CallingConv::C, and llvm::isAlnum().
Referenced by llvm::NVPTXTargetStreamer::emitValue().
Definition at line 113 of file NVPTXUtilities.h.
References llvm::any_of(), llvm::EVT::getVectorElementType(), and packed_types().
Definition at line 108 of file NVPTXUtilities.h.
References llvm::any_of(), and packed_types().
Referenced by combinePackingMovIntoStore(), combineUnpackingMovIntoLoad(), PerformBUILD_VECTORCombine(), and PerformEXTRACTCombine().
|
inline |
Definition at line 205 of file NVPTXUtilities.h.
References A(), and AddressSpaceToString().
|
inline |
Definition at line 155 of file NVPTXUtilities.h.
References OrderingToString().
|
inline |
Definition at line 179 of file NVPTXUtilities.h.
References ScopeToString().
|
inline |
Definition at line 132 of file NVPTXUtilities.h.
References Acquire, AcquireRelease, llvm::formatv(), NotAtomic, Relaxed, RelaxedMMIO, Release, llvm::report_fatal_error(), SequentiallyConsistent, and Volatile.
Referenced by operator<<().
|
inline |
Definition at line 101 of file NVPTXUtilities.h.
Referenced by isPackedElementTy(), and isPackedVectorTy().
|
inline |
Definition at line 160 of file NVPTXUtilities.h.
References Block, Cluster, DefaultDevice, Device, llvm::formatv(), llvm::report_fatal_error(), System, and Thread.
Referenced by operator<<().