Lines Matching refs:Roots
45 std::vector<std::pair<CallInst *, AllocaInst *>> Roots; member in __anon7772e8a30111::ShadowStackGCLowering
206 for (unsigned I = 0; I != Roots.size(); ++I) { in GetFrameMap()
207 Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1)); in GetFrameMap()
217 ConstantInt::get(Int32Ty, Roots.size(), false), in GetFrameMap()
257 for (size_t I = 0; I != Roots.size(); I++) in GetConcreteStackEntryType()
258 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
330 assert(Roots.empty() && "Not cleaned up?"); in CollectRoots()
343 Roots.push_back(Pair); in CollectRoots()
350 Roots.insert(Roots.begin(), MetaRoots.begin(), MetaRoots.end()); in CollectRoots()
394 if (Roots.empty()) in runOnFunction()
419 for (unsigned I = 0, E = Roots.size(); I != E; ++I) { in runOnFunction()
425 AllocaInst *OriginalAlloca = Roots[I].second; in runOnFunction()
461 for (unsigned I = 0, E = Roots.size(); I != E; ++I) { in runOnFunction()
462 Roots[I].first->eraseFromParent(); in runOnFunction()
463 Roots[I].second->eraseFromParent(); in runOnFunction()
466 Roots.clear(); in runOnFunction()