Home
last modified time | relevance | path

Searched refs:OldNumUses (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/lib/IR/
DUser.cpp60 unsigned OldNumUses = getNumOperands(); in growHungoffUses() local
64 assert(NewNumUses > OldNumUses && "realloc must grow num uses"); in growHungoffUses()
71 std::copy(OldOps, OldOps + OldNumUses, NewOps); in growHungoffUses()
75 auto *OldPtr = reinterpret_cast<char *>(OldOps + OldNumUses); in growHungoffUses()
77 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
79 Use::zap(OldOps, OldOps + OldNumUses, true); in growHungoffUses()
/external/llvm/lib/IR/
DUser.cpp66 unsigned OldNumUses = getNumOperands(); in growHungoffUses() local
70 assert(NewNumUses > OldNumUses && "realloc must grow num uses"); in growHungoffUses()
77 std::copy(OldOps, OldOps + OldNumUses, NewOps); in growHungoffUses()
82 reinterpret_cast<char *>(OldOps + OldNumUses) + sizeof(Use::UserRef); in growHungoffUses()
85 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
87 Use::zap(OldOps, OldOps + OldNumUses, true); in growHungoffUses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DUser.cpp61 unsigned OldNumUses = getNumOperands(); in growHungoffUses() local
65 assert(NewNumUses > OldNumUses && "realloc must grow num uses"); in growHungoffUses()
72 std::copy(OldOps, OldOps + OldNumUses, NewOps); in growHungoffUses()
77 reinterpret_cast<char *>(OldOps + OldNumUses) + sizeof(Use::UserRef); in growHungoffUses()
80 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
82 Use::zap(OldOps, OldOps + OldNumUses, true); in growHungoffUses()