Searched refs:PreallocatedSetup (Results 1 – 2 of 2) sorted by relevance
1821 CallBase *PreallocatedSetup = nullptr; in RemovePreallocated() local1824 PreallocatedSetup = cast<CallBase>(*It->input_begin()); in RemovePreallocated()1829 assert(PreallocatedSetup && "Did not find preallocated bundle"); in RemovePreallocated()1831 cast<ConstantInt>(PreallocatedSetup->getArgOperand(0))->getZExtValue(); in RemovePreallocated()1840 Builder.SetInsertPoint(PreallocatedSetup); in RemovePreallocated()1856 SmallVector<User *, 2> PreallocatedArgs(PreallocatedSetup->users()); in RemovePreallocated()1871 auto *InsertBefore = PreallocatedSetup->getNextNonDebugInstruction(); in RemovePreallocated()1885 cast<Instruction>(PreallocatedSetup)->eraseFromParent(); in RemovePreallocated()
5772 static const CallBase *FindPreallocatedCall(const Value *PreallocatedSetup) { in FindPreallocatedCall() argument5773 assert(cast<CallBase>(PreallocatedSetup) in FindPreallocatedCall()5777 for (auto *U : PreallocatedSetup->users()) { in FindPreallocatedCall()