LLVM 19.0.0git
Classes | Namespaces | Macros
SandboxIR.h File Reference
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/User.h"
#include "llvm/IR/Value.h"
#include "llvm/SandboxIR/Tracker.h"
#include "llvm/SandboxIR/Use.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::OperandUseIterator
 Iterator for the Use edges of a User's operands. More...
 
class  llvm::sandboxir::UserUseIterator
 Iterator for the Use edges of a Value's users. 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
 A sandboxir::User has operands. More...
 
class  llvm::sandboxir::Constant
 
class  llvm::sandboxir::BBIterator
 Iterator for Instructions in a `BasicBlock. More...
 
class  llvm::sandboxir::Instruction
 A sandboxir::User with operands, opcode and linked with previous/next instructions in an instruction list. More...
 
class  llvm::sandboxir::LoadInst
 
class  llvm::sandboxir::OpaqueInst
 An LLLVM Instruction that has no SandboxIR equivalent class gets mapped to an OpaqueInstr. More...
 
class  llvm::sandboxir::BasicBlock
 Contains a list of sandboxir::Instruction's. More...
 
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 484 of file SandboxIR.h.

◆ DEF_INSTR [2/4]

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

Definition at line 484 of file SandboxIR.h.

◆ DEF_INSTR [3/4]

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

Definition at line 484 of file SandboxIR.h.

◆ DEF_INSTR [4/4]

#define DEF_INSTR (   ID,
  OPC,
  CLASS 
)    OPC

Definition at line 484 of file SandboxIR.h.

◆ DEF_USER [1/3]

#define DEF_USER (   ID,
  CLASS 
)    ID,

Definition at line 482 of file SandboxIR.h.

◆ DEF_USER [2/3]

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

Definition at line 482 of file SandboxIR.h.

◆ DEF_USER [3/3]

#define DEF_USER (   ID,
  CLASS 
)

Definition at line 482 of file SandboxIR.h.

◆ DEF_VALUE [1/3]

#define DEF_VALUE (   ID,
  CLASS 
)    ID,

Definition at line 481 of file SandboxIR.h.

◆ DEF_VALUE [2/3]

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

Definition at line 481 of file SandboxIR.h.

◆ DEF_VALUE [3/3]

#define DEF_VALUE (   ID,
  CLASS 
)

Definition at line 481 of file SandboxIR.h.

◆ OP

#define OP (   OPC)    OPC,

Definition at line 483 of file SandboxIR.h.