LLVM 19.0.0git
Classes | Namespaces | Macros
SandboxIR.h File Reference
#include "llvm/IR/Function.h"
#include "llvm/IR/User.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/raw_ostream.h"
#include <iterator>
#include "llvm/SandboxIR/SandboxIRValues.def"

Go to the source code of this file.

Classes

class  llvm::sandboxir::Use
 Represents a Def-use/Use-def edge in SandboxIR. More...
 
class  llvm::sandboxir::OperandUseIterator
 Returns the operand edge when dereferenced. More...
 
class  llvm::sandboxir::UserUseIterator
 Returns user edge when dereferenced. More...
 
class  llvm::sandboxir::Value
 A SandboxIR Value has users. This is the base class. More...
 
struct  llvm::sandboxir::Value::UseToUser
 Helper for mapped_iterator. More...
 
class  llvm::sandboxir::Argument
 Argument of a sandboxir::Function. More...
 
class  llvm::sandboxir::User
 
class  llvm::sandboxir::Constant
 
class  llvm::sandboxir::BBIterator
 The BasicBlock::iterator. More...
 
class  llvm::sandboxir::Instruction
 A sandboxir::User with operands and opcode. More...
 
class  llvm::sandboxir::OpaqueInst
 An LLLVM Instruction that has no SandboxIR equivalent class gets mapped to an OpaqueInstr. More...
 
class  llvm::sandboxir::BasicBlock
 
class  llvm::sandboxir::Context
 
class  llvm::sandboxir::Function
 

Namespaces

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

Macros

#define DEF_INSTR(ID, OPC, CLASS)   friend class CLASS;
 
#define DEF_VALUE(ID, CLASS)   ID,
 
#define DEF_USER(ID, CLASS)   ID,
 
#define DEF_INSTR(ID, OPC, CLASS)   ID,
 
#define DEF_VALUE(ID, CLASS)
 
#define DEF_USER(ID, CLASS)
 
#define DEF_INSTR(ID, OPC, CLASS)
 
#define DEF_VALUE(ID, CLASS)
 
#define DEF_USER(ID, CLASS)
 
#define OP(OPC)   OPC,
 
#define DEF_INSTR(ID, OPC, CLASS)   OPC
 

Macro Definition Documentation

◆ DEF_INSTR [1/4]

#define DEF_INSTR (   ID,
  OPC,
  CLASS 
)    friend class CLASS;

Definition at line 500 of file SandboxIR.h.

◆ DEF_INSTR [2/4]

#define DEF_INSTR (   ID,
  OPC,
  CLASS 
)    ID,

Definition at line 500 of file SandboxIR.h.

◆ DEF_INSTR [3/4]

#define DEF_INSTR (   ID,
  OPC,
  CLASS 
)
Value:
case ClassID::ID: \
return #ID;

Definition at line 500 of file SandboxIR.h.

◆ DEF_INSTR [4/4]

#define DEF_INSTR (   ID,
  OPC,
  CLASS 
)    OPC

Definition at line 500 of file SandboxIR.h.

◆ DEF_USER [1/3]

#define DEF_USER (   ID,
  CLASS 
)    ID,

Definition at line 498 of file SandboxIR.h.

◆ DEF_USER [2/3]

#define DEF_USER (   ID,
  CLASS 
)
Value:
case ClassID::ID: \
return #ID;

Definition at line 498 of file SandboxIR.h.

◆ DEF_USER [3/3]

#define DEF_USER (   ID,
  CLASS 
)

Definition at line 498 of file SandboxIR.h.

◆ DEF_VALUE [1/3]

#define DEF_VALUE (   ID,
  CLASS 
)    ID,

Definition at line 497 of file SandboxIR.h.

◆ DEF_VALUE [2/3]

#define DEF_VALUE (   ID,
  CLASS 
)
Value:
case ClassID::ID: \
return #ID;

Definition at line 497 of file SandboxIR.h.

◆ DEF_VALUE [3/3]

#define DEF_VALUE (   ID,
  CLASS 
)

Definition at line 497 of file SandboxIR.h.

◆ OP

#define OP (   OPC)    OPC,

Definition at line 499 of file SandboxIR.h.