/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Mem2Reg.cpp | 37 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 D | PromoteMemoryToRegister.cpp | 227 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 D | CodeExtractor.cpp | 315 Allocas.push_back(AI);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | PromoteMemToReg.h | 1 //===- PromoteMemToReg.h - Promote Allocas to Scalars -----------*- C++ -*-===// 39 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
H A D | CodeExtractor.h | 48 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 D | StackLifetime.cpp | 82 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 D | StackSafetyAnalysis.cpp | 142 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 D | StackLifetime.h | 104 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 D | AArch64StackTagging.cpp | 313 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 D | AMDGPUPromoteAlloca.cpp | 1 //===-- 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 D | StackColoring.cpp | 905 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 D | Interpreter.h | 67 AllocaHolder Allocas; // Track memory allocated by alloca member in struct:llvm::ExecutionContext
|
H A D | Execution.cpp | 1043 ECStack.back().Allocas.add(Memory);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 745 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 D | HWAddressSanitizer.cpp | 229 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 D | IRTranslator.cpp | 1372 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 D | SelectionDAGBuilder.cpp | 6597 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) {
|