Searched refs:LocalDeclMap (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 346 CodeGenFunction::DeclMapTy& LocalDeclMap; member 348 ParamReferenceReplacerRAII(CodeGenFunction::DeclMapTy &LocalDeclMap) in ParamReferenceReplacerRAII() 349 : LocalDeclMap(LocalDeclMap) {} in ParamReferenceReplacerRAII() 363 auto it = LocalDeclMap.find(PD); in addCopy() 364 assert(it != LocalDeclMap.end() && "parameter is not found"); in addCopy() 367 auto copyIt = LocalDeclMap.find(VD); in addCopy() 368 assert(copyIt != LocalDeclMap.end() && "parameter copy is not found"); in addCopy() 374 LocalDeclMap.insert({SavedLocal.first, SavedLocal.second}); in ~ParamReferenceReplacerRAII() 537 ParamReferenceReplacerRAII ParamReplacer(LocalDeclMap); in EmitCoroutineBody()
|
| H A D | CodeGenFunction.h | 1009 auto it = CGF.LocalDeclMap.find(LocalVD); 1010 if (it != CGF.LocalDeclMap.end()) 1031 copyInto(SavedTempAddresses, CGF.LocalDeclMap); 1039 copyInto(SavedLocals, CGF.LocalDeclMap); 1109 return !VD->isLocalVarDeclOrParm() && CGF.LocalDeclMap.count(VD) > 0; 1127 : CGF(CGF), SavedMap(CGF.LocalDeclMap) {} 1128 ~OMPLocalDeclMapRAII() { SavedMap.swap(CGF.LocalDeclMap); } 1406 DeclMapTy LocalDeclMap; 2718 auto it = LocalDeclMap.find(VD); 2719 assert(it != LocalDeclMap.end() && [all …]
|
| H A D | CGBlocks.cpp | 817 CurGD, blockInfo, LocalDeclMap, isLambdaConv, blockInfo.CanBeGlobal); in EmitBlockLiteral() 949 auto I = LocalDeclMap.find(variable); in EmitBlockLiteral() 950 assert(I != LocalDeclMap.end()); in EmitBlockLiteral() 1256 if (capture.isConstant()) return LocalDeclMap.find(variable)->second; in GetAddrOfBlockDecl() 1305 CodeGenFunction::DeclMapTy LocalDeclMap; in GetAddrOfGlobalBlock() local 1307 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock() 1591 auto addr = LocalDeclMap.find(variable)->second; in GenerateBlockFunction()
|
| H A D | CGStmtOpenMP.cpp | 899 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause() 912 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause() 926 LocalDeclMap.erase(VD); in EmitOMPFirstprivateClause() 996 LocalDeclMap.erase(VD); in EmitOMPCopyinClause() 2255 LocalDeclMap.erase(PrivateVD); in EmitOMPPrivateLoopCounters() 2257 if (LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD) || in EmitOMPPrivateLoopCounters() 7199 LocalDeclMap.erase(InitVD); in EmitOMPUseDevicePtrClause() 7824 if (!CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective() 7839 if (!VD->hasLocalStorage() && !CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective() 7845 if (!CGF.LocalDeclMap.count(VD)) in EmitSimpleOMPExecutableDirective() [all …]
|
| H A D | CGException.cpp | 1906 for (auto &I : ParentCGF.LocalDeclMap) { in EmitCapturedLocals() 1956 auto I = ParentCGF.LocalDeclMap.find(VD); in EmitCapturedLocals() 1957 if (I == ParentCGF.LocalDeclMap.end()) in EmitCapturedLocals()
|
| H A D | CGExpr.cpp | 954 assert(LocalDeclMap.count(PassedSizeDecl) && "Passed size not loadable"); in LoadPassedObjectSize() 955 Address AddrOfSize = LocalDeclMap.find(PassedSizeDecl)->second; in LoadPassedObjectSize() 2810 auto I = LocalDeclMap.find(VD); in EmitDeclRefLValue() 2811 if (I != LocalDeclMap.end()) { in EmitDeclRefLValue() 2869 auto iter = LocalDeclMap.find(VD); in EmitDeclRefLValue() 2870 if (iter != LocalDeclMap.end()) { in EmitDeclRefLValue()
|
| H A D | CGDecl.cpp | 473 LocalDeclMap.find(&D)->second = Address(castedAddr, elemTy, alignment); in EmitStaticVarDecl()
|
| H A D | CodeGenModule.cpp | 6619 if (LocalDeclMap.empty()) return; in EmitDeclMetadata() 6628 for (auto &I : LocalDeclMap) { in EmitDeclMetadata()
|
| H A D | CGBuiltin.cpp | 786 auto DIter = LocalDeclMap.find(D); in emitBuiltinObjectSize() 787 assert(DIter != LocalDeclMap.end()); in emitBuiltinObjectSize()
|