LLVM 20.0.0git
Classes | Namespaces | Macros
DXILOpBuilder.h File Reference
#include "DXILConstants.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/TargetParser/Triple.h"
#include "llvm/Support/Error.h"
#include "DXILOperation.inc"

Go to the source code of this file.

Classes

class  llvm::dxil::DXILOpBuilder
 

Namespaces

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

Macros

#define DXIL_OPCODE(Op, Name)
 
#define DXIL_OPCODE(Op, Name)
 

Macro Definition Documentation

◆ DXIL_OPCODE [1/2]

#define DXIL_OPCODE (   Op,
  Name 
)
Value:
CallInst *create##Name##Op(ArrayRef<Value *> &Args, Type *RetTy = nullptr) { \
return createOp(dxil::OpCode(Op), Args, RetTy); \
}
RelocType Type
Definition: COFFYAML.cpp:391
return RetTy
std::string Name

Definition at line 49 of file DXILOpBuilder.h.

◆ DXIL_OPCODE [2/2]

#define DXIL_OPCODE (   Op,
  Name 
)
Value:
Expected<CallInst *> tryCreate##Name##Op(ArrayRef<Value *> &Args, \
Type *RetTy = nullptr) { \
return tryCreateOp(dxil::OpCode(Op), Args, RetTy); \
}

Definition at line 49 of file DXILOpBuilder.h.