/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | Mem2Reg.cpp | 58 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()
|
D | PromoteMemoryToRegister.cpp | 201 std::vector<AllocaInst*> Allocas; member 248 : Allocas(A), DT(dt), DIB(0), AST(ast) {} in PromoteMem2Reg() 263 Allocas[AllocaIdx] = Allocas.back(); in RemoveFromAllocasList() 264 Allocas.pop_back(); in RemoveFromAllocasList() 388 if (AST) PointerAllocaValues.resize(Allocas.size()); in run() 389 AllocaDbgDeclares.resize(Allocas.size()); in run() 394 for (unsigned AllocaNum = 0; AllocaNum != Allocas.size(); ++AllocaNum) { in run() 395 AllocaInst *AI = Allocas[AllocaNum]; in run() 523 AllocaLookup[Allocas[AllocaNum]] = AllocaNum; in run() 532 if (Allocas.empty()) in run() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | Mem2Reg.cpp | 32 std::vector<AllocaInst *> Allocas; in promoteMemoryToRegister() local 37 Allocas.clear(); in promoteMemoryToRegister() 44 Allocas.push_back(AI); in promoteMemoryToRegister() 46 if (Allocas.empty()) in promoteMemoryToRegister() 49 PromoteMemToReg(Allocas, DT, nullptr, &AC); in promoteMemoryToRegister() 50 NumPromoted += Allocas.size(); in promoteMemoryToRegister()
|
D | PromoteMemoryToRegister.cpp | 224 std::vector<AllocaInst *> Allocas; member 271 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, in PromoteMem2Reg() 273 : Allocas(Allocas.begin(), Allocas.end()), DT(DT), in PromoteMem2Reg() 281 Allocas[AllocaIdx] = Allocas.back(); in RemoveFromAllocasList() 282 Allocas.pop_back(); in RemoveFromAllocasList() 521 PointerAllocaValues.resize(Allocas.size()); in run() 522 AllocaDbgDeclares.resize(Allocas.size()); in run() 528 for (unsigned AllocaNum = 0; AllocaNum != Allocas.size(); ++AllocaNum) { in run() 529 AllocaInst *AI = Allocas[AllocaNum]; in run() 591 AllocaLookup[Allocas[AllocaNum]] = AllocaNum; in run() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Mem2Reg.cpp | 37 std::vector<AllocaInst *> Allocas; in promoteMemoryToRegister() local 42 Allocas.clear(); in promoteMemoryToRegister() 49 Allocas.push_back(AI); in promoteMemoryToRegister() 51 if (Allocas.empty()) in promoteMemoryToRegister() 54 PromoteMemToReg(Allocas, DT, &AC); in promoteMemoryToRegister() 55 NumPromoted += Allocas.size(); in promoteMemoryToRegister()
|
D | PromoteMemoryToRegister.cpp | 233 std::vector<AllocaInst *> Allocas; member 279 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, in PromoteMem2Reg() 281 : Allocas(Allocas.begin(), Allocas.end()), DT(DT), in PromoteMem2Reg() 290 Allocas[AllocaIdx] = Allocas.back(); in RemoveFromAllocasList() 291 Allocas.pop_back(); in RemoveFromAllocasList() 554 AllocaDbgDeclares.resize(Allocas.size()); in run() 560 for (unsigned AllocaNum = 0; AllocaNum != Allocas.size(); ++AllocaNum) { in run() 561 AllocaInst *AI = Allocas[AllocaNum]; in run() 616 AllocaLookup[Allocas[AllocaNum]] = AllocaNum; in run() 651 if (Allocas.empty()) in run() [all …]
|
/external/llvm/lib/CodeGen/ |
D | SafeStackColoring.h | 74 ArrayRef<AllocaInst *> Allocas; variable 103 StackColoring(Function &F, ArrayRef<AllocaInst *> Allocas) in StackColoring() argument 104 : F(F), NumInst(-1), Allocas(Allocas), NumAllocas(Allocas.size()) {} in StackColoring()
|
D | SafeStackColoring.cpp | 59 AllocaInst *AI = Allocas[AllocaNo]; in collectMarkers() 240 dbgs() << " " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n"; in dumpAllocas() 268 AllocaNumbering[Allocas[I]] = I; in run()
|
D | StackColoring.cpp | 796 DenseMap<const AllocaInst*, const AllocaInst*> Allocas; in remapInstructions() local 801 Allocas[From] = To; in remapInstructions() 860 if (!Allocas.count(AI)) in remapInstructions() 863 MMO->setValue(Allocas[AI]); in remapInstructions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SafeStackColoring.h | 89 ArrayRef<AllocaInst *> Allocas; variable 119 StackColoring(Function &F, ArrayRef<AllocaInst *> Allocas) in StackColoring() argument 120 : F(F), Allocas(Allocas), NumAllocas(Allocas.size()) {} in StackColoring()
|
D | SafeStackColoring.cpp | 74 AllocaInst *AI = Allocas[AllocaNo]; in collectMarkers() 258 dbgs() << " " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n"; in dumpAllocas() 287 AllocaNumbering[Allocas[I]] = I; in run()
|
D | StackColoring.cpp | 905 DenseMap<const AllocaInst*, const AllocaInst*> Allocas; in remapInstructions() local 914 Allocas[From] = To; in remapInstructions() 978 if (!Allocas.count(AI)) in remapInstructions() 981 MMO->setValue(Allocas[AI]); in remapInstructions()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 72 AllocaHolder Allocas; // Track memory allocated by alloca member 79 VarArgs(std::move(O.VarArgs)), Allocas(std::move(O.Allocas)) {} in ExecutionContext() 88 Allocas = std::move(O.Allocas);
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | PromoteMemToReg.h | 40 void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | PromoteMemToReg.h | 41 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
D | CodeExtractor.h | 112 const ValueSet &Allocas) const;
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | PromoteMemToReg.h | 43 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | HWAddressSanitizer.cpp | 169 bool instrumentStack(SmallVectorImpl<AllocaInst *> &Allocas, 629 SmallVectorImpl<AllocaInst *> &Allocas, in instrumentStack() argument 631 Function *F = Allocas[0]->getParent()->getParent(); in instrumentStack() 642 for (unsigned N = 0; N < Allocas.size(); ++N) { in instrumentStack() 643 auto *AI = Allocas[N]; in instrumentStack()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceCfg.cpp | 910 void Cfg::sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas, in sortAndCombineAllocas() argument 913 if (Allocas.empty()) in sortAndCombineAllocas() 916 std::sort(Allocas.begin(), Allocas.end(), [](InstAlloca *A1, InstAlloca *A2) { in sortAndCombineAllocas() 930 for (Inst *Instr : Allocas) { in sortAndCombineAllocas() 961 assert(Allocas.size() == Offsets.size()); in sortAndCombineAllocas() 966 for (SizeT i = 0; i < Allocas.size(); ++i) { in sortAndCombineAllocas() 967 auto *Alloca = llvm::cast<InstAlloca>(Allocas[i]); in sortAndCombineAllocas() 984 for (SizeT i = 0; i < Allocas.size(); ++i) { in sortAndCombineAllocas() 985 auto *Alloca = llvm::cast<InstAlloca>(Allocas[i]); in sortAndCombineAllocas()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | dynamic-alloca-in-entry.ll | 3 ; Allocas with unknown size in the entry block are dynamic.
|
/external/llvm/test/CodeGen/X86/ |
D | dynamic-alloca-in-entry.ll | 3 ; Allocas with unknown size in the entry block are dynamic.
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 490 SmallVector<std::pair<AllocaInst *, unsigned>, 4> Allocas; in insertSpills() local 493 Allocas.emplace_back(Shape.PromiseAlloca, coro::Shape::PromiseField); in insertSpills() 521 Allocas.emplace_back(AI, Index); in insertSpills() 590 for (auto &P : Allocas) { in insertSpills()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 1291 std::vector<AllocaInst*> Allocas; in performPromotion() local 1301 Allocas.clear(); in performPromotion() 1308 Allocas.push_back(AI); in performPromotion() 1310 if (Allocas.empty()) break; in performPromotion() 1313 PromoteMemToReg(Allocas, *DT); in performPromotion() 1316 for (unsigned i = 0, e = Allocas.size(); i != e; ++i) { in performPromotion() 1317 AllocaInst *AI = Allocas[i]; in performPromotion() 1327 NumPromoted += Allocas.size(); in performPromotion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 69 AllocaHolder Allocas; // Track memory allocated by alloca member
|
/external/llvm/test/Transforms/ConstantHoisting/ARM/ |
D | bad-cases.ll | 4 ; Allocas in the entry block get handled (for free) by
|