18 Ctx->getTracker().emplaceIfTracking<
UseSet>(*this);
25 Ctx->getTracker().emplaceIfTracking<
UseSwap>(*
this, OtherUse);
26 LLVMUse->swap(*OtherUse.LLVMUse);
32 if (LLVMUse ==
nullptr)
33 OS <<
"<null> LLVM Use! ";
35 Def = Ctx->getValue(LLVMUse->get());
This class implements an extremely fast bulk output stream that can only output to a stream.
Tracks the change of the source Value of a sandboxir::Use.
Tracks swapping a Use with another Use.
LLVM_ABI void set(Value *V)
LLVM_ABI unsigned getOperandNo() const
void dumpOS(raw_ostream &OS) const
LLVM_ABI void swap(Use &OtherUse)
LLVM_ABI Value * get() const
LLVM_ABI raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.