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.
150 return const_cast<Use *>(static_cast<const User *>(this)->getOperandList());
177 /// Returns the descriptor co-allocated with this User instance.
180 /// Returns the descriptor co-allocated with this User instance.
271 /// This function is in charge of "letting go" of all objects that this User
293 // Either Use objects, or a Use pointer can be prepended to User.
294 static_assert(alignof(Use) >= alignof(User),
295 "Alignment is insufficient after objects prepended to User");
296 static_assert(alignof(Use *) >= alignof(User),
297 "Alignment is insufficient after objects prepended to User");
299 template<> struct simplify_type<User::op_iterator> {
301 static SimpleType getSimplifiedValue(User::op_iterator &Val) {
305 template<> struct simplify_type<User::const_op_iterator> {
307 static SimpleType getSimplifiedValue(User::const_op_iterator &Val) {