Home | History | Annotate | Download | only in IR

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
39 /// \brief Compile-time customization of User operands.
45 class User : public Value {
55 /// Allocate a User with an operand pointer co-allocated.
61 /// Allocate a User with the operands co-allocated.
66 /// Allocate a User with the operands co-allocated. If DescBytes is non-zero
76 User(Type *ty, unsigned vty, Use *, unsigned NumOps)
83 "Error in initializing hung off uses for User");
87 /// (with bottom bit set) to the User.
97 User(const User &) = delete;
98 ~User() override = default;
100 /// \brief Free memory allocated for User and Use objects.
142 return const_cast<User *>(this)->getOperandList();
169 /// Returns the descriptor co-allocated with this User instance.
172 /// Returns the descriptor co-allocated with this User instance.
243 /// This function is in charge of "letting go" of all objects that this User
265 // Either Use objects, or a Use pointer can be prepended to User.
266 static_assert(alignof(Use) >= alignof(User),
267 "Alignment is insufficient after objects prepended to User");
268 static_assert(alignof(Use *) >= alignof(User),
269 "Alignment is insufficient after objects prepended to User");
271 template<> struct simplify_type<User::op_iterator> {
273 static SimpleType getSimplifiedValue(User::op_iterator &Val) {
277 template<> struct simplify_type<User::const_op_iterator> {
279 static SimpleType getSimplifiedValue(User::const_op_iterator &Val) {