Lines Matching refs:Use
53 static_assert(alignof(Use) >= alignof(BasicBlock *),
57 size_t size = N * sizeof(Use);
60 Use *Begin = static_cast<Use*>(::operator new(size));
61 Use *End = Begin + N;
64 new (Begin) Use(this);
76 Use *OldOps = getOperandList();
78 Use *NewOps = getOperandList();
89 Use::zap(OldOps, OldOps + OldNumUses, true);
145 ::operator new(Size + sizeof(Use) * Us + DescBytesToAllocate));
146 Use *Start = reinterpret_cast<Use *>(Storage + DescBytesToAllocate);
147 Use *End = Start + Us;
150 new (Start) Use(Obj);
171 // Allocate space for a single Use*
172 void *Storage = ::operator new(Size + sizeof(Use *));
173 Use **HungOffOperandList = static_cast<Use **>(Storage);
186 // Hung off uses use a single Use* before the User, while other subclasses
187 // use a Use[] allocated prior to the user.
192 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1;
194 Use::zap(*HungOffOperandList, *HungOffOperandList + Obj->NumUserOperands,
198 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands;
199 Use::zap(UseBegin, UseBegin + Obj->NumUserOperands, /* Delete */ false);
205 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands;
206 Use::zap(Storage, Storage + Obj->NumUserOperands,