LLVM 20.0.0git
Namespaces | Typedefs | Enumerations | Functions
llvm::NVPTX Namespace Reference

Namespaces

namespace  PTXCmpMode
 PTXCmpMode - Comparison mode enumeration.
 
namespace  PTXCvtMode
 PTXCvtMode - Conversion code enumeration.
 
namespace  PTXLdStInstCode
 
namespace  PTXPrmtMode
 

Typedefs

using OrderingUnderlyingType = 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 ,
  SequentiallyConsistent , Volatile = SequentiallyConsistent + 1 , RelaxedMMIO = Volatile + 1 , LAST = RelaxedMMIO
}
 

Functions

std::string OrderingToCString (Ordering Order)
 
raw_ostreamoperator<< (raw_ostream &O, Ordering Order)
 

Typedef Documentation

◆ OrderingUnderlyingType

Definition at line 111 of file NVPTX.h.

Enumeration Type Documentation

◆ DrvInterface

Enumerator
NVCL 
CUDA 

Definition at line 74 of file NVPTX.h.

◆ LoadStore

Enumerator
isLoadMask 
isLoadShift 
isStoreMask 
isStoreShift 

Definition at line 103 of file NVPTX.h.

◆ Ordering

Enumerator
NotAtomic 
Relaxed 
Acquire 
Release 
SequentiallyConsistent 
Volatile 
RelaxedMMIO 
LAST 

Definition at line 112 of file NVPTX.h.

◆ SimpleMove

Enumerator
SimpleMoveMask 
SimpleMoveShift 

Definition at line 99 of file NVPTX.h.

◆ VecInstType

Enumerator
VecInstTypeShift 
VecInstTypeMask 
VecNOP 
VecLoad 
VecStore 
VecBuild 
VecShuffle 
VecExtract 
VecInsert 
VecDest 
VecOther 

Definition at line 84 of file NVPTX.h.

Function Documentation

◆ operator<<()

raw_ostream & llvm::NVPTX::operator<< ( raw_ostream O,
Ordering  Order 
)
inline

Definition at line 110 of file NVPTXUtilities.h.

References OrderingToCString().

◆ OrderingToCString()

std::string llvm::NVPTX::OrderingToCString ( Ordering  Order)
inline