Searched refs:Allocas (Results 1 - 17 of 17) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DMem2Reg.cpp58 std::vector<AllocaInst*> Allocas; local
67 Allocas.clear();
74 Allocas.push_back(AI);
76 if (Allocas.empty()) break;
78 PromoteMemToReg(Allocas, DT);
79 NumPromoted += Allocas.size();
H A DPromoteMemoryToRegister.cpp199 /// Allocas - The alloca instructions being promoted.
201 std::vector<AllocaInst*> Allocas; member in struct:__anon23093::PromoteMem2Reg
209 /// AllocaLookup - Reverse mapping of Allocas.
217 /// PhiToAllocaMap - For each PHI node, keep track of which entry in Allocas
248 : Allocas(A), DT(dt), DIB(0), AST(ast) {}
263 Allocas[AllocaIdx] = Allocas.back();
264 Allocas.pop_back();
388 if (AST) PointerAllocaValues.resize(Allocas.size());
389 AllocaDbgDeclares.resize(Allocas
1132 PromoteMemToReg(const std::vector<AllocaInst*> &Allocas, DominatorTree &DT, AliasSetTracker *AST) argument
[all...]
/external/llvm/lib/Transforms/Utils/
H A DMem2Reg.cpp32 std::vector<AllocaInst *> Allocas; local
37 Allocas.clear();
44 Allocas.push_back(AI);
46 if (Allocas.empty())
49 PromoteMemToReg(Allocas, DT, nullptr, &AC);
50 NumPromoted += Allocas.size();
H A DPromoteMemoryToRegister.cpp224 std::vector<AllocaInst *> Allocas; member in struct:__anon14796::PromoteMem2Reg
234 /// Reverse mapping of Allocas.
245 /// For each PHI node, keep track of which entry in Allocas it corresponds
271 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, argument
273 : Allocas(Allocas.begin(), Allocas.end()), DT(DT),
281 Allocas[AllocaIdx] = Allocas.back();
282 Allocas
987 PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, AliasSetTracker *AST, AssumptionCache *AC) argument
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DPromoteMemToReg.h1 //===- PromoteMemToReg.h - Promote Allocas to Scalars -----------*- C++ -*-===//
43 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
H A DPromoteMemToReg.h1 //===- PromoteMemToReg.h - Promote Allocas to Scalars -----------*- C++ -*-===//
40 void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
/external/llvm/lib/CodeGen/
H A DSafeStackColoring.h74 ArrayRef<AllocaInst *> Allocas; member in class:llvm::safestack::StackColoring
103 StackColoring(Function &F, ArrayRef<AllocaInst *> Allocas) argument
104 : F(F), NumInst(-1), Allocas(Allocas), NumAllocas(Allocas.size()) {}
H A DSafeStackColoring.cpp59 AllocaInst *AI = Allocas[AllocaNo];
238 dbgs() << "Allocas:\n";
240 dbgs() << " " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n"; local
268 AllocaNumbering[Allocas[I]] = I;
H A DStackColoring.cpp796 DenseMap<const AllocaInst*, const AllocaInst*> Allocas; local
801 Allocas[From] = To;
860 if (!Allocas.count(AI))
863 MMO->setValue(Allocas[AI]);
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h72 AllocaHolder Allocas; // Track memory allocated by alloca member in struct:llvm::ExecutionContext
79 VarArgs(std::move(O.VarArgs)), Allocas(std::move(O.Allocas)) {}
88 Allocas = std::move(O.Allocas);
H A DExecution.cpp988 ECStack.back().Allocas.add(Memory);
/external/swiftshader/third_party/subzero/src/
H A DIceCfg.cpp910 void Cfg::sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas, argument
913 if (Allocas.empty())
916 std::sort(Allocas.begin(), Allocas.end(), [](InstAlloca *A1, InstAlloca *A2) {
930 for (Inst *Instr : Allocas) {
961 assert(Allocas.size() == Offsets.size());
966 for (SizeT i = 0; i < Allocas.size(); ++i) {
967 auto *Alloca = llvm::cast<InstAlloca>(Allocas[i]);
984 for (SizeT i = 0; i < Allocas.size(); ++i) {
985 auto *Alloca = llvm::cast<InstAlloca>(Allocas[
[all...]
H A DIceCfg.h304 void sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas,
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h78 AllocaHolderHandle Allocas; // Track memory allocated by alloca member in struct:llvm::ExecutionContext
H A DExecution.cpp759 ECStack.back().Allocas.add(Memory);
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1291 std::vector<AllocaInst*> Allocas; local
1301 Allocas.clear();
1308 Allocas.push_back(AI);
1310 if (Allocas.empty()) break;
1313 PromoteMemToReg(Allocas, *DT);
1316 for (unsigned i = 0, e = Allocas.size(); i != e; ++i) {
1317 AllocaInst *AI = Allocas[i];
1327 NumPromoted += Allocas.size();
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp5546 SmallVector<Value *, 4> Allocas;
5547 GetUnderlyingObjects(I.getArgOperand(1), Allocas, *DL);
5549 for (SmallVectorImpl<Value*>::iterator Object = Allocas.begin(),
5550 E = Allocas.end(); Object != E; ++Object) {

Completed in 527 milliseconds