Searched refs:StaticAllocas (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 378 SmallVectorImpl<AllocaInst *> &StaticAllocas, in findInsts() argument 393 StaticAllocas.push_back(AI); in findInsts() 488 IRBuilder<> &IRB, Function &F, ArrayRef<AllocaInst *> StaticAllocas, in moveStaticAllocasToUnsafeStack() argument 491 if (StaticAllocas.empty() && ByValArguments.empty()) in moveStaticAllocasToUnsafeStack() 496 StackLifetime SSC(F, StaticAllocas, StackLifetime::LivenessType::May); in moveStaticAllocasToUnsafeStack() 531 for (AllocaInst *AI : StaticAllocas) { in moveStaticAllocasToUnsafeStack() 596 for (AllocaInst *AI : StaticAllocas) { in moveStaticAllocasToUnsafeStack() 759 SmallVector<AllocaInst *, 16> StaticAllocas; in run() local 773 findInsts(F, StaticAllocas, DynamicAllocas, ByValArguments, Returns, in run() 776 if (StaticAllocas.empty() && DynamicAllocas.empty() && in run() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | Cloning.h | 220 SmallVector<AllocaInst *, 4> StaticAllocas; variable 238 StaticAllocas.clear(); in reset()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | Inliner.cpp | 226 for (unsigned AllocaNo = 0, E = IFI.StaticAllocas.size(); AllocaNo != E; in mergeInlinedArrayAllocas() 228 AllocaInst *AI = IFI.StaticAllocas[AllocaNo]; in mergeInlinedArrayAllocas() 281 IFI.StaticAllocas[AllocaNo] = nullptr; in mergeInlinedArrayAllocas()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 1467 IFI.StaticAllocas.push_back(cast<AllocaInst>(NewAlloca)); in HandleByValArgument() 2125 IFI.StaticAllocas.push_back(AI); in InlineFunction() 2132 IFI.StaticAllocas.push_back(cast<AllocaInst>(I)); in InlineFunction() 2242 !IFI.StaticAllocas.empty()) { in InlineFunction() 2244 for (unsigned ai = 0, ae = IFI.StaticAllocas.size(); ai != ae; ++ai) { in InlineFunction() 2245 AllocaInst *AI = IFI.StaticAllocas[ai]; in InlineFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | PlaceSafepoints.cpp | 659 assert(IFI.StaticAllocas.empty() && "can't have allocs"); in INITIALIZE_PASS_DEPENDENCY()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 10113 SmallDenseMap<const AllocaInst *, StaticAllocaInfo, 8> StaticAllocas; in findArgumentCopyElisionCandidates() local 10115 StaticAllocas.reserve(NumArgs * 2); in findArgumentCopyElisionCandidates() 10124 auto Iter = StaticAllocas.insert({AI, Unknown}); in findArgumentCopyElisionCandidates()
|