LLVM API Documentation

Classes | Namespaces | Defines
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

namespace  llvm
 

List of target independent CodeGen pass IDs.


Defines

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

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 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.