Home
last modified time | relevance | path

Searched refs:Allocas (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DMem2Reg.cpp58 std::vector<AllocaInst*> Allocas; in INITIALIZE_PASS_DEPENDENCY() local
67 Allocas.clear(); in INITIALIZE_PASS_DEPENDENCY()
74 Allocas.push_back(AI); in INITIALIZE_PASS_DEPENDENCY()
76 if (Allocas.empty()) break; in INITIALIZE_PASS_DEPENDENCY()
78 PromoteMemToReg(Allocas, DT); in INITIALIZE_PASS_DEPENDENCY()
79 NumPromoted += Allocas.size(); in INITIALIZE_PASS_DEPENDENCY()
DPromoteMemoryToRegister.cpp197 std::vector<AllocaInst*> Allocas; member
244 : Allocas(A), DT(dt), DIB(0), AST(ast) {} in PromoteMem2Reg()
259 Allocas[AllocaIdx] = Allocas.back(); in RemoveFromAllocasList()
260 Allocas.pop_back(); in RemoveFromAllocasList()
384 if (AST) PointerAllocaValues.resize(Allocas.size()); in run()
385 AllocaDbgDeclares.resize(Allocas.size()); in run()
390 for (unsigned AllocaNum = 0; AllocaNum != Allocas.size(); ++AllocaNum) { in run()
391 AllocaInst *AI = Allocas[AllocaNum]; in run()
519 AllocaLookup[Allocas[AllocaNum]] = AllocaNum; in run()
528 if (Allocas.empty()) in run()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DPromoteMemToReg.h40 void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1439 std::vector<AllocaInst*> Allocas; in performPromotion() local
1449 Allocas.clear(); in performPromotion()
1456 Allocas.push_back(AI); in performPromotion()
1458 if (Allocas.empty()) break; in performPromotion()
1461 PromoteMemToReg(Allocas, *DT); in performPromotion()
1464 for (unsigned i = 0, e = Allocas.size(); i != e; ++i) { in performPromotion()
1465 AllocaInst *AI = Allocas[i]; in performPromotion()
1475 NumPromoted += Allocas.size(); in performPromotion()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h78 AllocaHolderHandle Allocas; // Track memory allocated by alloca member
DExecution.cpp756 ECStack.back().Allocas.add(Memory); in visitAllocaInst()