Lines Matching refs:ToBeDeleted
362 std::stack<Instruction *> &ToBeDeleted, in createFakeIntVal() argument
369 ToBeDeleted.push(FakeValAddr); in createFakeIntVal()
376 ToBeDeleted.push(FakeVal); in createFakeIntVal()
389 ToBeDeleted.push(UseFakeVal); in createFakeIntVal()
1119 Value *ThreadID, const SmallVector<Instruction *, 4> &ToBeDeleted) { in targetParallelCallback() argument
1194 for (Instruction *I : ToBeDeleted) { in targetParallelCallback()
1207 const SmallVector<Instruction *, 4> &ToBeDeleted) { in hostParallelCallback() argument
1282 for (Instruction *I : ToBeDeleted) { in hostParallelCallback()
1336 SmallVector<Instruction *, 4> ToBeDeleted; in createParallel() local
1351 ToBeDeleted.push_back(TIDAddr); in createParallel()
1356 ToBeDeleted.push_back(ZeroAddr); in createParallel()
1361 ToBeDeleted.push_back(TIDAddrAlloca); in createParallel()
1362 ToBeDeleted.push_back(ZeroAddrAlloca); in createParallel()
1402 ToBeDeleted.push_back(Builder.CreateLoad(Int32, TIDAddr, "tid.addr.use")); in createParallel()
1405 ToBeDeleted.push_back(ZeroAddrUse); in createParallel()
1435 std::move(ToBeDeleted)](Function &OutlinedFn) { in createParallel()
1443 std::move(ToBeDeleted)](Function &OutlinedFn) { in createParallel()
1691 std::stack<Instruction *> ToBeDeleted; in createTask() local
1693 Builder, AllocaIP, ToBeDeleted, TaskAllocaIP, "global.tid", false)); in createTask()
1696 TaskAllocaBB, ToBeDeleted](Function &OutlinedFn) mutable { in createTask()
1875 while (!ToBeDeleted.empty()) { in createTask()
1876 ToBeDeleted.top()->eraseFromParent(); in createTask()
1877 ToBeDeleted.pop(); in createTask()
2757 const SmallVector<Instruction *, 4> &ToBeDeleted, in workshareLoopTargetCallback() argument
2807 for (auto &ToBeDeletedItem : ToBeDeleted) in workshareLoopTargetCallback()
2825 SmallVector<Instruction *, 4> ToBeDeleted; in applyWorkshareLoopTarget() local
2845 ToBeDeleted.push_back(NewLoopCntLoad); in applyWorkshareLoopTarget()
2846 ToBeDeleted.push_back(NewLoopCnt); in applyWorkshareLoopTarget()
2898 std::move(ToBeDeleted)](Function &OutlinedFn) { in applyWorkshareLoopTarget()
6301 std::stack<Instruction *> ToBeDeleted; in createTeams() local
6304 Builder, OuterAllocaIP, ToBeDeleted, AllocaIP, "gid", true)); in createTeams()
6306 Builder, OuterAllocaIP, ToBeDeleted, AllocaIP, "tid", true)); in createTeams()
6308 OI.PostOutlineCB = [this, Ident, ToBeDeleted](Function &OutlinedFn) mutable { in createTeams()
6315 ToBeDeleted.push(StaleCI); in createTeams()
6339 while (!ToBeDeleted.empty()) { in createTeams()
6340 ToBeDeleted.top()->eraseFromParent(); in createTeams()
6341 ToBeDeleted.pop(); in createTeams()