/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A 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()
|
H A D | PromoteMemoryToRegister.cpp | 224 std::vector<AllocaInst *> Allocas; member 267 : Allocas(Allocas.begin(), Allocas.end()), DT(DT), in PromoteMem2Reg() 276 Allocas[AllocaIdx] = Allocas.back(); in RemoveFromAllocasList() 277 Allocas.pop_back(); in RemoveFromAllocasList() 548 AllocaDbgUsers.resize(Allocas.size()); in run() 555 AllocaInst *AI = Allocas[AllocaNum]; in run() 610 AllocaLookup[Allocas[AllocaNum]] = AllocaNum; in run() 638 if (Allocas.empty()) in run() 670 for (Instruction *A : Allocas) { in run() 1016 if (Allocas.empty()) in PromoteMemToReg() [all …]
|
H A D | CodeExtractor.cpp | 315 Allocas.push_back(AI); in CodeExtractorAnalysisCache()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A 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()
|
H A 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 …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64StackTagging.cpp | 462 const MapVector<AllocaInst *, AllocaInfo> &Allocas, in insertBaseTaggedPointer() argument 466 for (auto &I : Allocas) { in insertBaseTaggedPointer() 560 Allocas[AI].AI = AI; in runOnFunction() 561 Allocas[AI].OldAI = AI; in runOnFunction() 568 Allocas[AI].DbgVariableIntrinsics.push_back(DVI); in runOnFunction() 581 Allocas[AI].LifetimeStart.push_back(II); in runOnFunction() 583 Allocas[AI].LifetimeEnd.push_back(II); in runOnFunction() 591 if (Allocas.empty()) in runOnFunction() 596 for (auto &I : Allocas) { in runOnFunction() 638 Instruction *Base = insertBaseTaggedPointer(Allocas, DT); in runOnFunction() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | CodeExtractor.h | 48 SmallVector<AllocaInst *, 16> Allocas; variable 65 ArrayRef<AllocaInst *> getAllocas() const { return Allocas; } in getAllocas() 167 const ValueSet &Allocas) const;
|
H A D | PromoteMemToReg.h | 39 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 324 SmallVector<AllocaInfo, 8> Allocas; member 330 for (const auto &A : Allocas) in getAllDefs() 403 for (const auto &A : Allocas) { in dumpAllocas() 556 for (const auto &A : Allocas) in updateLayoutIndex() 614 AllocaSetType Allocas; in addFieldForAllocas() local 615 Allocas.reserve(FrameData.Allocas.size()); in addFieldForAllocas() 616 for (const auto &A : FrameData.Allocas) in addFieldForAllocas() 617 Allocas.push_back(A.Alloca); in addFieldForAllocas() 618 return Allocas; in addFieldForAllocas() 640 for (const auto &A : FrameData.Allocas) { in addFieldForAllocas() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | StackLifetime.h | 105 ArrayRef<const AllocaInst *> Allocas; variable 136 StackLifetime(const Function &F, ArrayRef<const AllocaInst *> Allocas,
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 187 SmallVector<AllocaInst *, 16> Allocas; in run() local 190 Allocas.push_back(AI); in run() 193 for (AllocaInst *AI : Allocas) { in run() 1111 SmallVector<AllocaInst *, 16> Allocas; in promoteAllocasToVector() local 1114 Allocas.push_back(AI); in promoteAllocasToVector() 1117 for (AllocaInst *AI : Allocas) { in promoteAllocasToVector()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | StackColoring.cpp | 949 DenseMap<const AllocaInst*, const AllocaInst*> Allocas; in remapInstructions() local 958 Allocas[From] = To; in remapInstructions() 1029 if (!Allocas.count(AI)) in remapInstructions() 1032 MMO->setValue(Allocas[AI]); in remapInstructions()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | StatepointLowering.cpp | 692 SmallVector<SDValue, 4> Allocas; in lowerStatepointMetaArgs() local 699 Allocas.push_back(Builder.DAG.getTargetFrameIndex( in lowerStatepointMetaArgs() 707 pushStackMapConstant(Ops, Builder, Allocas.size()); in lowerStatepointMetaArgs() 708 Ops.append(Allocas.begin(), Allocas.end()); in lowerStatepointMetaArgs()
|
H A D | SelectionDAGBuilder.cpp | 6766 SmallVector<const Value *, 4> Allocas; in visitIntrinsicCall() local 6767 getUnderlyingObjects(ObjectPtr, Allocas); in visitIntrinsicCall() 6769 for (const Value *Alloca : Allocas) { in visitIntrinsicCall()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.h | 67 AllocaHolder Allocas; // Track memory allocated by alloca member
|
H A D | Execution.cpp | 1043 ECStack.back().Allocas.add(Memory); in visitAllocaInst()
|
/netbsd/external/apache2/llvm/dist/llvm/docs/ |
H A D | SegmentedStacks.rst | 63 Variable Sized Allocas
|
H A D | GetElementPtr.rst | 407 with such a pointer. This includes ``GlobalVariables``, ``Allocas``, and objects
|
H A D | Statepoints.rst | 283 pointer list. Allocas can be listed with or without additional explicit gc
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | HWAddressSanitizer.cpp | 233 SmallVectorImpl<AllocaInst *> &Allocas, 1142 SmallVectorImpl<AllocaInst *> &Allocas, in instrumentStack() argument 1150 for (unsigned N = 0; N < Allocas.size(); ++N) { in instrumentStack() 1151 auto *AI = Allocas[N]; in instrumentStack()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 1838 SmallVector<const Value *, 4> Allocas; in translateKnownIntrinsic() local 1839 getUnderlyingObjects(CI.getArgOperand(1), Allocas); in translateKnownIntrinsic() 1843 for (const Value *V : Allocas) { in translateKnownIntrinsic()
|