Home | History | Annotate | Download | only in IR

Lines Matching refs:Use

24 #include "llvm/IR/Use.h"
76 User(Type *ty, unsigned vty, Use *, unsigned NumOps)
100 /// \brief Free memory allocated for User and Use objects.
112 template <int Idx, typename U> static Use &OpFrom(const U *that) {
117 template <int Idx> Use &Op() {
120 template <int Idx> const Use &Op() const {
125 Use *&getHungOffOperands() { return *(reinterpret_cast<Use **>(this) - 1); }
127 Use *getIntrusiveOperands() {
128 return reinterpret_cast<Use *>(this) - NumUserOperands;
131 void setOperandList(Use *NewList) {
138 Use *getOperandList() {
141 const Use *getOperandList() const {
158 const Use &getOperandUse(unsigned i) const {
162 Use &getOperandUse(unsigned i) {
178 /// doesn't always use it.
192 assert(HasHungOffUses && "Must have hung off uses to use this method");
200 typedef Use* op_iterator;
201 typedef const Use* const_op_iterator;
225 explicit value_op_iterator(Use *U = nullptr) : iterator_adaptor_base(U) {}
246 /// dropped, and all use counts go to zero. Then everything is deleted for
250 for (Use &U : operands())
265 // Either Use objects, or a Use pointer can be prepended to User.
266 static_assert(alignof(Use) >= alignof(User),
268 static_assert(alignof(Use *) >= alignof(User),