Searched refs:Allocas (Results 1 - 17 of 17) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMem2Reg.cpp37 std::vector<AllocaInst *> Allocas; local
42 Allocas.clear();
49 Allocas.push_back(AI);
51 if (Allocas.empty())
54 PromoteMemToReg(Allocas, DT, &AC);
55 NumPromoted += Allocas.size();
H A DPromoteMemoryToRegister.cpp227 std::vector<AllocaInst *> Allocas; member in struct:__anon4757::PromoteMem2Reg
237 /// Reverse mapping of Allocas.
248 /// For each PHI node, keep track of which entry in Allocas it corresponds
268 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, argument
270 : Allocas(Allocas.begin(), Allocas.end()), DT(DT),
279 Allocas[AllocaIdx] = Allocas.back();
280 Allocas
995 PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, AssumptionCache *AC) argument
[all...]
H A DCodeExtractor.cpp315 Allocas.push_back(AI);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPromoteMemToReg.h1 //===- PromoteMemToReg.h - Promote Allocas to Scalars -----------*- C++ -*-===//
39 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
H A DCodeExtractor.h48 SmallVector<AllocaInst *, 16> Allocas; member in class:llvm::CodeExtractorAnalysisCache
65 ArrayRef<AllocaInst *> getAllocas() const { return Allocas; }
167 const ValueSet &Allocas) const;
180 /// Allocas which have life_time markers contained in the outlined region
184 /// 'Allocas'.
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DStackLifetime.cpp82 const AllocaInst *AI = Allocas[AllocaNo];
269 dbgs() << "Allocas:\n";
271 dbgs() << " " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n"; local
295 ArrayRef<const AllocaInst *> Allocas,
297 : F(F), Type(Type), Allocas(Allocas), NumAllocas(Allocas.size()) {
301 AllocaNumbering[Allocas[I]] = I;
365 SmallVector<const AllocaInst *, 8> Allocas; local
368 Allocas
294 StackLifetime(const Function &F, ArrayRef<const AllocaInst *> Allocas, LivenessType Type) argument
[all...]
H A DStackSafetyAnalysis.cpp142 std::map<const AllocaInst *, UseInfo<CalleeTy>> Allocas; member in struct:__anon3394::FunctionInfo
169 auto &AS = Allocas.find(AI)->second;
175 assert(Allocas.empty());
408 SmallVector<AllocaInst *, 64> Allocas; local
411 Allocas.push_back(AI);
412 StackLifetime SL(F, Allocas, StackLifetime::LivenessType::Must);
415 for (auto *AI : Allocas) {
416 auto &UI = Info.Allocas.emplace(AI, PointerSize).first->second;
678 for (auto &KV : FI.Allocas) {
686 A.Calls = SrcF.Allocas
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DStackLifetime.h104 ArrayRef<const AllocaInst *> Allocas; member in class:llvm::StackLifetime
133 StackLifetime(const Function &F, ArrayRef<const AllocaInst *> Allocas,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp313 insertBaseTaggedPointer(const MapVector<AllocaInst *, AllocaInfo> &Allocas,
455 const MapVector<AllocaInst *, AllocaInfo> &Allocas,
459 for (auto &I : Allocas) {
545 MapVector<AllocaInst *, AllocaInfo> Allocas; // need stable iteration order local
554 Allocas[AI].AI = AI;
561 Allocas[AI].DbgVariableIntrinsics.push_back(DVI);
576 Allocas[AI].LifetimeStart.push_back(II);
578 Allocas[AI].LifetimeEnd.push_back(II);
586 if (Allocas.empty())
591 for (auto &I : Allocas) {
454 insertBaseTaggedPointer( const MapVector<AllocaInst *, AllocaInfo> &Allocas, const DominatorTree *DT) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1 //===-- AMDGPUPromoteAlloca.cpp - Promote Allocas -------------------------===//
209 SmallVector<AllocaInst *, 16> Allocas; local
212 Allocas.push_back(AI);
215 for (AllocaInst *AI : Allocas) {
1066 SmallVector<AllocaInst *, 16> Allocas; local
1069 Allocas.push_back(AI);
1072 for (AllocaInst *AI : Allocas) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackColoring.cpp905 DenseMap<const AllocaInst*, const AllocaInst*> Allocas; local
914 Allocas[From] = To;
985 if (!Allocas.count(AI))
988 MMO->setValue(Allocas[AI]);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h67 AllocaHolder Allocas; // Track memory allocated by alloca member in struct:llvm::ExecutionContext
H A DExecution.cpp1043 ECStack.back().Allocas.add(Memory);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp745 SmallVector<std::pair<AllocaInst *, unsigned>, 4> Allocas; local
751 Allocas.emplace_back(PromiseAlloca, Shape.getPromiseField());
805 Allocas.emplace_back(AI, Index);
907 for (auto &P : Allocas) {
927 for (auto &P : Allocas) {
956 for (auto &P : Allocas) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp229 SmallVectorImpl<AllocaInst *> &Allocas,
1013 SmallVectorImpl<AllocaInst *> &Allocas,
1021 for (unsigned N = 0; N < Allocas.size(); ++N) {
1022 auto *AI = Allocas[N];
1012 instrumentStack( SmallVectorImpl<AllocaInst *> &Allocas, DenseMap<AllocaInst *, std::vector<DbgVariableIntrinsic *>> &AllocaDbgMap, SmallVectorImpl<Instruction *> &RetVec, Value *StackTag) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1372 SmallVector<const Value *, 4> Allocas; local
1373 GetUnderlyingObjects(CI.getArgOperand(1), Allocas, *DL);
1377 for (const Value *V : Allocas) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp6597 SmallVector<const Value *, 4> Allocas; local
6598 GetUnderlyingObjects(ObjectPtr, Allocas, *DL);
6600 for (SmallVectorImpl<const Value*>::iterator Object = Allocas.begin(),
6601 E = Allocas.end(); Object != E; ++Object) {

Completed in 155 milliseconds