Home
last modified time | relevance | path

Searched refs:new_stor (Results 1 - 1 of 1) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dinst.cpp64 auto new_stor = reinterpret_cast<uintptr_t>(allocator_->Alloc(size)); in Reallocate() local
65 CHECK(new_stor != 0); in Reallocate()
69 *reinterpret_cast<Inst **>(reinterpret_cast<User *>(new_stor) + new_capacity) = owner_inst; in Reallocate()
72 users_ = reinterpret_cast<User *>(new_stor); in Reallocate()
78 auto *new_inputs = reinterpret_cast<Input *>(new_stor + sizeof(User) * new_capacity) + 1; in Reallocate()
86 User *new_user = new (reinterpret_cast<User *>(new_stor) + new_capacity - i - 1) User(false, i, new_capacity); in Reallocate()
98 users_ = reinterpret_cast<User *>(new_stor); in Reallocate()

Completed in 2 milliseconds