/external/swiftshader/third_party/llvm-10.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 | 227 std::vector<AllocaInst *> Allocas; member 268 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, in PromoteMem2Reg() 270 : Allocas(Allocas.begin(), Allocas.end()), DT(DT), in PromoteMem2Reg() 279 Allocas[AllocaIdx] = Allocas.back(); in RemoveFromAllocasList() 280 Allocas.pop_back(); in RemoveFromAllocasList() 534 AllocaDbgDeclares.resize(Allocas.size()); in run() 540 for (unsigned AllocaNum = 0; AllocaNum != Allocas.size(); ++AllocaNum) { in run() 541 AllocaInst *AI = Allocas[AllocaNum]; in run() 596 AllocaLookup[Allocas[AllocaNum]] = AllocaNum; in run() 629 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/llvm-project/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 | 224 std::vector<AllocaInst *> Allocas; member 265 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, in PromoteMem2Reg() 267 : Allocas(Allocas.begin(), Allocas.end()), DT(DT), in PromoteMem2Reg() 276 Allocas[AllocaIdx] = Allocas.back(); in RemoveFromAllocasList() 277 Allocas.pop_back(); in RemoveFromAllocasList() 552 AllocaDbgUsers.resize(Allocas.size()); in run() 558 for (unsigned AllocaNum = 0; AllocaNum != Allocas.size(); ++AllocaNum) { in run() 559 AllocaInst *AI = Allocas[AllocaNum]; in run() 614 AllocaLookup[Allocas[AllocaNum]] = AllocaNum; in run() 642 if (Allocas.empty()) in run() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SafeStackColoring.h | 88 ArrayRef<AllocaInst *> Allocas; variable 118 StackColoring(Function &F, ArrayRef<AllocaInst *> Allocas) in StackColoring() argument 119 : F(F), Allocas(Allocas), NumAllocas(Allocas.size()) {} in StackColoring()
|
D | SafeStackColoring.cpp | 72 AllocaInst *AI = Allocas[AllocaNo]; in collectMarkers() 258 dbgs() << " " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n"; in dumpAllocas() 287 AllocaNumbering[Allocas[I]] = I; in run()
|
/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()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | StackLifetime.cpp | 286 dbgs() << " " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n"; in dumpAllocas() 310 ArrayRef<const AllocaInst *> Allocas, in StackLifetime() argument 312 : F(F), Type(Type), Allocas(Allocas), NumAllocas(Allocas.size()) { in StackLifetime() 316 AllocaNumbering[Allocas[I]] = I; in StackLifetime() 394 SmallVector<const AllocaInst *, 8> Allocas; in run() local 397 Allocas.push_back(AI); in run() 398 StackLifetime SL(F, Allocas, Type); in run()
|
D | StackSafetyAnalysis.cpp | 176 std::map<const AllocaInst *, UseInfo<CalleeTy>> Allocas; member 203 auto &AS = Allocas.find(AI)->second; in print() 209 assert(Allocas.empty()); in print() 447 SmallVector<AllocaInst *, 64> Allocas; in run() local 450 Allocas.push_back(AI); in run() 451 StackLifetime SL(F, Allocas, StackLifetime::LivenessType::Must); in run() 454 for (auto *AI : Allocas) { in run() 455 auto &UI = Info.Allocas.emplace(AI, PointerSize).first->second; in run() 751 for (auto &KV : FI.Allocas) { in createGlobalStackSafetyInfo() 759 A.Calls = SrcF.Allocas.find(KV.first)->second.Calls; in createGlobalStackSafetyInfo() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64StackTagging.cpp | 301 insertBaseTaggedPointer(const MapVector<AllocaInst *, AllocaInfo> &Allocas, 436 const MapVector<AllocaInst *, AllocaInfo> &Allocas, in insertBaseTaggedPointer() argument 440 for (auto &I : Allocas) { in insertBaseTaggedPointer() 524 MapVector<AllocaInst *, AllocaInfo> Allocas; // need stable iteration order in runOnFunction() local 533 Allocas[AI].AI = AI; in runOnFunction() 540 Allocas[AI].DbgVariableIntrinsics.push_back(DVI); in runOnFunction() 555 Allocas[AI].LifetimeStart.push_back(II); in runOnFunction() 557 Allocas[AI].LifetimeEnd.push_back(II); in runOnFunction() 565 if (Allocas.empty()) in runOnFunction() 570 for (auto &I : Allocas) { in runOnFunction() [all …]
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64StackTagging.cpp | 317 insertBaseTaggedPointer(const MapVector<AllocaInst *, AllocaInfo> &Allocas, 460 const MapVector<AllocaInst *, AllocaInfo> &Allocas, in insertBaseTaggedPointer() argument 464 for (auto &I : Allocas) { in insertBaseTaggedPointer() 550 MapVector<AllocaInst *, AllocaInfo> Allocas; // need stable iteration order in runOnFunction() local 558 Allocas[AI].AI = AI; in runOnFunction() 565 Allocas[AI].DbgVariableIntrinsics.push_back(DVI); in runOnFunction() 579 Allocas[AI].LifetimeStart.push_back(II); in runOnFunction() 581 Allocas[AI].LifetimeEnd.push_back(II); in runOnFunction() 589 if (Allocas.empty()) in runOnFunction() 594 for (auto &I : Allocas) { in runOnFunction() [all …]
|
/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-10.0/llvm/include/llvm/Transforms/Utils/ |
D | CodeExtractor.h | 48 SmallVector<AllocaInst *, 16> Allocas; variable 65 ArrayRef<AllocaInst *> getAllocas() const { return Allocas; } in getAllocas() 165 const ValueSet &Allocas) const;
|
D | PromoteMemToReg.h | 40 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
/external/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | CodeExtractor.h | 48 SmallVector<AllocaInst *, 16> Allocas; variable 65 ArrayRef<AllocaInst *> getAllocas() const { return Allocas; } in getAllocas() 167 const ValueSet &Allocas) const;
|
D | PromoteMemToReg.h | 39 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
/external/llvm-project/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 315 SmallVector<AllocaInfo, 8> Allocas; member 321 for (const auto &A : Allocas) in getAllDefs() 364 static void dumpAllocas(const SmallVectorImpl<AllocaInfo> &Allocas) { in dumpAllocas() argument 366 for (const auto &A : Allocas) { in dumpAllocas() 505 for (const auto &A : Allocas) in updateLayoutIndex() 533 for (const auto &A : FrameData.Allocas) { in addFieldForAllocas() 565 AllocaSetType Allocas; in addFieldForAllocas() local 566 Allocas.reserve(FrameData.Allocas.size()); in addFieldForAllocas() 567 for (const auto &A : FrameData.Allocas) in addFieldForAllocas() 568 Allocas.push_back(A.Alloca); in addFieldForAllocas() [all …]
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | StackLifetime.h | 104 ArrayRef<const AllocaInst *> Allocas; variable 135 StackLifetime(const Function &F, ArrayRef<const AllocaInst *> Allocas,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | StackSafetyAnalysis.cpp | 151 SmallVector<AllocaInfo, 4> Allocas; member 182 for (auto &AS : Allocas) in print() 377 Info.Allocas.emplace_back(PointerSize, AI, in run() 379 AllocaInfo &AS = Info.Allocas.back(); in run() 485 for (auto &AS : FS.Allocas) in updateOneNode() 510 for (auto &AS : FS.Allocas) in runDataFlow()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | PromoteMemToReg.h | 43 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
/external/llvm-project/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.
|