Home | History | Annotate | Download | only in Scalar

Lines Matching defs:Allocas

57 STATISTIC(NumReplaced,  "Number of allocas broken up");
58 STATISTIC(NumPromoted, "Number of allocas promoted");
59 STATISTIC(NumAdjusted, "Number of scalar allocas adjusted to allow promotion");
1152 // (e.g. allocas) or at this point because we can see other accesses to it.
1414 std::vector<AllocaInst*> Allocas;
1427 Allocas.clear();
1429 // Find allocas that are safe to promote, by looking at all instructions in
1434 Allocas.push_back(AI);
1436 if (Allocas.empty()) break;
1439 PromoteMemToReg(Allocas, *DT, nullptr, &AC);
1442 for (unsigned i = 0, e = Allocas.size(); i != e; ++i) {
1443 AllocaInst *AI = Allocas[i];
1452 NumPromoted += Allocas.size();
1481 // Scan the entry basic block, adding allocas to the worklist.
1493 // Handle dead allocas trivially. These can be formed by SROA'ing arrays
1595 // (But, don't add allocas to the dead instruction list -- they are