Lines Matching refs:alloc
758 // CFAllocatorRef alloc,
1231 AllocaInst *alloc = dyn_cast<AllocaInst>(persistent_alloc);
1233 MDNode *alloc_md = alloc->getMetadata("clang.decl.ptr");
1258 alloc->getType(),
1262 alloc->getName().str().c_str());
1281 LoadInst *persistent_load = new LoadInst (persistent_global, "", alloc);
1285 PrintValue(alloc).c_str(),
1288 alloc->replaceAllUsesWith(persistent_load);
1289 alloc->eraseFromParent();
1315 if (AllocaInst *alloc = dyn_cast<AllocaInst>(&inst))
1317 llvm::StringRef alloc_name = alloc->getName();
1333 pvar_allocs.push_back(alloc);