Home | History | Annotate | Download | only in llvm

Lines Matching defs:User

1 //===-- llvm/User.h - User class definition ---------------------*- C++ -*-===//
11 // Each instance of the Value class keeps track of what User's have handles
14 // * Instructions are the largest class of User's.
28 /// for use of the User class
32 class User : public Value {
33 User(const User &); // Do not implement
38 /// OperandList - This is a pointer to the array of Uses for this User.
45 /// NumOperands - The number of values used by this User.
50 User(Type *ty, unsigned vty, Use *OpList, unsigned NumOps)
56 // Reset NumOperands so User::operator delete() does the right thing.
60 ~User() {
63 /// operator delete - free memory allocated for User and Use objects
120 // objects that this User refers to. This allows one to
138 static inline bool classof(const User *) { return true; }
144 template<> struct simplify_type<User::op_iterator> {
147 static SimpleType getSimplifiedValue(const User::op_iterator &Val) {
152 template<> struct simplify_type<const User::op_iterator>
153 : public simplify_type<User::op_iterator> {};
155 template<> struct simplify_type<User::const_op_iterator> {
158 static SimpleType getSimplifiedValue(const User::const_op_iterator &Val) {
163 template<> struct simplify_type<const User::const_op_iterator>
164 : public simplify_type<User::const_op_iterator> {};
167 // value_use_iterator::getOperandNo - Requires the definition of the User class.