git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123452
91177308-0d34-0410-b5e6-
96231b3b80d8
static unsigned operands(const User*) {
return ARITY;
}
- struct prefix {
- Use Ops[ARITY];
- prefix(); // DO NOT IMPLEMENT
- };
- template <class U>
- struct Layout {
- struct overlay : public prefix, public U {
- overlay(); // DO NOT IMPLEMENT
- };
- };
};
//===----------------------------------------------------------------------===//
static inline Use *op_begin(User*);
static inline Use *op_end(User*);
static inline unsigned operands(const User*);
- template <class U>
- struct Layout {
- typedef U overlay;
- };
};
class User : public Value {