/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
H A D | Mem2Reg.cpp | 58 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 D | PromoteMemoryToRegister.cpp | 199 /// 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 D | Mem2Reg.cpp | 32 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 D | PromoteMemoryToRegister.cpp | 224 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 D | PromoteMemToReg.h | 1 //===- 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 D | PromoteMemToReg.h | 1 //===- PromoteMemToReg.h - Promote Allocas to Scalars -----------*- C++ -*-===// 40 void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
|
/external/llvm/lib/CodeGen/ |
H A D | SafeStackColoring.h | 74 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 D | SafeStackColoring.cpp | 59 AllocaInst *AI = Allocas[AllocaNo]; 238 dbgs() << "Allocas:\n"; 240 dbgs() << " " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n"; local 268 AllocaNumbering[Allocas[I]] = I;
|
H A D | StackColoring.cpp | 796 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 D | Interpreter.h | 72 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 D | Execution.cpp | 988 ECStack.back().Allocas.add(Memory);
|
/external/swiftshader/third_party/subzero/src/ |
H A D | IceCfg.cpp | 910 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 D | IceCfg.h | 304 void sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas,
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.h | 78 AllocaHolderHandle Allocas; // Track memory allocated by alloca member in struct:llvm::ExecutionContext
|
H A D | Execution.cpp | 759 ECStack.back().Allocas.add(Memory);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 1291 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 D | SelectionDAGBuilder.cpp | 5546 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) {
|