LLVM 22.0.0git
DXILBitcodeWriter.cpp File Reference

Go to the source code of this file.

Classes

class  llvm::dxil::DXILBitcodeWriter

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::dxil

Macros

#define HANDLE_MDNODE_LEAF(CLASS)
#define HANDLE_MDNODE_LEAF(CLASS)
#define HANDLE_MDNODE_LEAF(CLASS)

Enumerations

enum  llvm::dxil::MetadataAbbrev : unsigned { llvm::dxil::LastPlusOne }

Functions

static uint64_t rotateSign (APInt Val)

Macro Definition Documentation

◆ HANDLE_MDNODE_LEAF [1/3]

#define HANDLE_MDNODE_LEAF ( CLASS)
Value:
CLASS##AbbrevID,

Definition at line 60 of file DXILBitcodeWriter.cpp.

◆ HANDLE_MDNODE_LEAF [2/3]

#define HANDLE_MDNODE_LEAF ( CLASS)
Value:
unsigned CLASS##Abbrev = 0;

Definition at line 60 of file DXILBitcodeWriter.cpp.

◆ HANDLE_MDNODE_LEAF [3/3]

#define HANDLE_MDNODE_LEAF ( CLASS)
Value:
case Metadata::CLASS##Kind: \
if (MDAbbrevs) \
write##CLASS(cast<CLASS>(N), Record, \
(*MDAbbrevs)[MetadataAbbrev::CLASS##AbbrevID]); \
else \
write##CLASS(cast<CLASS>(N), Record, CLASS##Abbrev); \
continue;
LLVM_ABI Error write(MCStreamer &Out, ArrayRef< std::string > Inputs, OnCuIndexOverflow OverflowOptValue)
Definition DWP.cpp:622
decltype(auto) cast(const From &Val)
cast<X> - Return the argument parameter cast to the specified type.
Definition Casting.h:565
#define N

Definition at line 60 of file DXILBitcodeWriter.cpp.

Function Documentation

◆ rotateSign()

uint64_t rotateSign ( APInt Val)
static

Definition at line 1387 of file DXILBitcodeWriter.cpp.

References llvm::APInt::getSExtValue(), and I.