LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros
OperandTraits.h File Reference
#include "llvm/IR/User.h"
Include dependency graph for OperandTraits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::FixedNumOperandTraits< SubClass, ARITY >
 
struct  llvm::OptionalOperandTraits< SubClass, ARITY >
 
struct  llvm::VariadicOperandTraits< SubClass, MINARITY >
 
struct  llvm::HungoffOperandTraits< MINARITY >
 

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Macros

#define DECLARE_TRANSPARENT_OPERAND_ACCESSORS(VALUECLASS)
 
#define DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CLASS, VALUECLASS)
 Macro for generating out-of-class operand accessor definitions. More...
 

Macro Definition Documentation

#define DECLARE_TRANSPARENT_OPERAND_ACCESSORS (   VALUECLASS)
Value:
public: \
inline VALUECLASS *getOperand(unsigned) const; \
inline void setOperand(unsigned, VALUECLASS*); \
inline op_iterator op_begin(); \
inline const_op_iterator op_begin() const; \
inline op_iterator op_end(); \
inline const_op_iterator op_end() const; \
protected: \
template <int> inline Use &Op(); \
template <int> inline const Use &Op() const; \
public: \
inline unsigned getNumOperands() const
always inline

Macro for generating in-class operand accessor declarations. It should only be called in the public section of the interface.

Definition at line 108 of file OperandTraits.h.

#define DEFINE_TRANSPARENT_OPERAND_ACCESSORS (   CLASS,
  VALUECLASS 
)

Macro for generating out-of-class operand accessor definitions.

Definition at line 123 of file OperandTraits.h.