Home
last modified time | relevance | path

Searched refs:LocalDeclMap (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp521 CodeGenFunction::DeclMapTy& LocalDeclMap; member
523 ParamReferenceReplacerRAII(CodeGenFunction::DeclMapTy &LocalDeclMap) in ParamReferenceReplacerRAII()
524 : LocalDeclMap(LocalDeclMap) {} in ParamReferenceReplacerRAII()
538 auto it = LocalDeclMap.find(PD); in addCopy()
539 assert(it != LocalDeclMap.end() && "parameter is not found"); in addCopy()
542 auto copyIt = LocalDeclMap.find(VD); in addCopy()
543 assert(copyIt != LocalDeclMap.end() && "parameter copy is not found"); in addCopy()
549 LocalDeclMap.insert({SavedLocal.first, SavedLocal.second}); in ~ParamReferenceReplacerRAII()
846 ParamReferenceReplacerRAII ParamReplacer(LocalDeclMap); in EmitCoroutineBody()
H A DCodeGenFunction.h1148 auto it = CGF.LocalDeclMap.find(LocalVD);
1149 if (it != CGF.LocalDeclMap.end())
1170 copyInto(SavedTempAddresses, CGF.LocalDeclMap);
1178 copyInto(SavedLocals, CGF.LocalDeclMap);
1242 return !VD->isLocalVarDeclOrParm() && CGF.LocalDeclMap.count(VD) > 0;
1260 : CGF(CGF), SavedMap(CGF.LocalDeclMap) {}
1261 ~OMPLocalDeclMapRAII() { SavedMap.swap(CGF.LocalDeclMap); }
1534 DeclMapTy LocalDeclMap;
3026 auto it = LocalDeclMap.find(VD);
3027 assert(it != LocalDeclMap.end() &&
[all …]
H A DCGBlocks.cpp796 CurGD, blockInfo, LocalDeclMap, isLambdaConv, blockInfo.CanBeGlobal); in EmitBlockLiteral()
959 auto I = LocalDeclMap.find(variable); in EmitBlockLiteral()
960 assert(I != LocalDeclMap.end()); in EmitBlockLiteral()
1250 if (capture.isConstant()) return LocalDeclMap.find(variable)->second; in GetAddrOfBlockDecl()
1298 CodeGenFunction::DeclMapTy LocalDeclMap; in GetAddrOfGlobalBlock() local
1300 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock()
1603 auto addr = LocalDeclMap.find(variable)->second; in GenerateBlockFunction()
H A DCGException.cpp1925 for (auto &I : ParentCGF.LocalDeclMap) { in EmitCapturedLocals()
1972 auto I = ParentCGF.LocalDeclMap.find(VD); in EmitCapturedLocals()
1973 if (I == ParentCGF.LocalDeclMap.end()) in EmitCapturedLocals()
H A DCGStmtOpenMP.cpp962 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
975 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
989 LocalDeclMap.erase(VD); in EmitOMPFirstprivateClause()
1059 LocalDeclMap.erase(VD); in EmitOMPCopyinClause()
2338 LocalDeclMap.erase(PrivateVD); in EmitOMPPrivateLoopCounters()
2340 if (LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD) || in EmitOMPPrivateLoopCounters()
2343 LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD), in EmitOMPPrivateLoopCounters()
2574 if (LocalDeclMap.count(OrigVD) || CapturedStmtInfo->lookup(OrigVD) || in EmitOMPSimdFinal()
8458 if (!CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
8473 if (!VD->hasLocalStorage() && !CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
[all …]
H A DCGExpr.cpp980 assert(LocalDeclMap.count(PassedSizeDecl) && "Passed size not loadable"); in LoadPassedObjectSize()
981 Address AddrOfSize = LocalDeclMap.find(PassedSizeDecl)->second; in LoadPassedObjectSize()
3186 auto I = LocalDeclMap.find(VD); in EmitDeclRefLValue()
3187 if (I != LocalDeclMap.end()) { in EmitDeclRefLValue()
3246 auto iter = LocalDeclMap.find(VD); in EmitDeclRefLValue()
3247 if (iter != LocalDeclMap.end()) { in EmitDeclRefLValue()
5024 auto It = LocalDeclMap.find(D); in EmitLValueForLambdaField()
5025 assert(It != LocalDeclMap.end() && "explicit parameter not loaded?"); in EmitLValueForLambdaField()
H A DCGDecl.cpp470 LocalDeclMap.find(&D)->second = Address(castedAddr, elemTy, alignment); in EmitStaticVarDecl()
H A DCGBuiltin.cpp1520 auto DIter = LocalDeclMap.find(D); in emitBuiltinObjectSize()
1521 assert(DIter != LocalDeclMap.end()); in emitBuiltinObjectSize()
H A DCodeGenModule.cpp7746 if (LocalDeclMap.empty()) return; in EmitDeclMetadata()
7755 for (auto &I : LocalDeclMap) { in EmitDeclMetadata()