Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/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.cpp235 std::vector<AllocaInst *> Allocas; member
282 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, in PromoteMem2Reg()
284 : Allocas(Allocas.begin(), Allocas.end()), DT(DT), in PromoteMem2Reg()
291 Allocas[AllocaIdx] = Allocas.back(); in RemoveFromAllocasList()
292 Allocas.pop_back(); in RemoveFromAllocasList()
526 PointerAllocaValues.resize(Allocas.size()); in run()
527 AllocaDbgDeclares.resize(Allocas.size()); in run()
532 for (unsigned AllocaNum = 0; AllocaNum != Allocas.size(); ++AllocaNum) { in run()
533 AllocaInst *AI = Allocas[AllocaNum]; in run()
615 AllocaLookup[Allocas[AllocaNum]] = AllocaNum; in run()
[all …]
/freebsd-10-stable/contrib/llvm/include/llvm/Transforms/Utils/
DPromoteMemToReg.h43 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
DStackColoring.cpp499 DenseMap<const AllocaInst*, const AllocaInst*> Allocas; in remapInstructions() local
505 Allocas[From] = To; in remapInstructions()
544 if (!Allocas.count(AI)) in remapInstructions()
547 MMO->setValue(Allocas[AI]); in remapInstructions()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1407 std::vector<AllocaInst*> Allocas; in performPromotion() local
1417 Allocas.clear(); in performPromotion()
1424 Allocas.push_back(AI); in performPromotion()
1426 if (Allocas.empty()) break; in performPromotion()
1429 PromoteMemToReg(Allocas, *DT); in performPromotion()
1432 for (unsigned i = 0, e = Allocas.size(); i != e; ++i) { in performPromotion()
1433 AllocaInst *AI = Allocas[i]; in performPromotion()
1443 NumPromoted += Allocas.size(); in performPromotion()
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h78 AllocaHolderHandle Allocas; // Track memory allocated by alloca member
DExecution.cpp986 ECStack.back().Allocas.add(Memory); in visitAllocaInst()
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp5291 SmallVector<Value *, 4> Allocas; in visitIntrinsicCall() local
5292 GetUnderlyingObjects(I.getArgOperand(1), Allocas, TD); in visitIntrinsicCall()
5294 for (SmallVectorImpl<Value*>::iterator Object = Allocas.begin(), in visitIntrinsicCall()
5295 E = Allocas.end(); Object != E; ++Object) { in visitIntrinsicCall()