LLVM API Documentation

OperandTraits.h File Reference

#include "llvm/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.

Namespaces

namespace  llvm

Classes

struct  llvm::FixedNumOperandTraits< ARITY >
struct  llvm::FixedNumOperandTraits< ARITY >::prefix
struct  llvm::FixedNumOperandTraits< ARITY >::Layout< U >
struct  llvm::FixedNumOperandTraits< ARITY >::Layout< U >::overlay
struct  llvm::OptionalOperandTraits< ARITY >
struct  llvm::VariadicOperandTraits< MINARITY >
struct  llvm::HungoffOperandTraits< MINARITY >

Defines

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


Define 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
Macro for generating in-class operand accessor declarations. It should only be called in the public section of the interface.

Definition at line 115 of file OperandTraits.h.

#define DEFINE_TRANSPARENT_CASTED_OPERAND_ACCESSORS ( CLASS,
VALUECLASS   ) 

Macro for generating out-of-class operand accessor definitions with casted result

Definition at line 167 of file OperandTraits.h.

#define DEFINE_TRANSPARENT_OPERAND_ACCESSORS ( CLASS,
VALUECLASS   ) 

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

Definition at line 130 of file OperandTraits.h.