Lines Matching refs:Roots
64 /// Roots - GC roots in the current function. Each is a pair of the
66 std::vector<std::pair<CallInst *, AllocaInst *>> Roots;
156 for (unsigned I = 0; I != Roots.size(); ++I) {
157 Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1));
167 ConstantInt::get(Int32Ty, Roots.size(), false),
207 for (const std::pair<CallInst *, AllocaInst *> &Root : Roots)
242 // void *Roots[]; // Stack roots (in-place array, so we pretend).
280 assert(Roots.empty() && "Not cleaned up?");
293 Roots.push_back(Pair);
300 Roots.insert(Roots.begin(), MetaRoots.begin(), MetaRoots.end());
345 if (Roots.empty())
370 for (unsigned I = 0, E = Roots.size(); I != E; ++I) {
376 AllocaInst *OriginalAlloca = Roots[I].second;
413 for (std::pair<CallInst *, AllocaInst *> &Root : Roots) {
418 Roots.clear();