Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp387 CodeGenFunction::DeclMapTy& LocalDeclMap; member
389 ParamReferenceReplacerRAII(CodeGenFunction::DeclMapTy &LocalDeclMap) in ParamReferenceReplacerRAII()
390 : LocalDeclMap(LocalDeclMap) {} in ParamReferenceReplacerRAII()
404 auto it = LocalDeclMap.find(PD); in addCopy()
405 assert(it != LocalDeclMap.end() && "parameter is not found"); in addCopy()
408 auto copyIt = LocalDeclMap.find(VD); in addCopy()
409 assert(copyIt != LocalDeclMap.end() && "parameter copy is not found"); in addCopy()
415 LocalDeclMap.insert({SavedLocal.first, SavedLocal.second}); in ~ParamReferenceReplacerRAII()
708 ParamReferenceReplacerRAII ParamReplacer(LocalDeclMap); in EmitCoroutineBody()
H A DCodeGenFunction.h1018 auto it = CGF.LocalDeclMap.find(LocalVD);
1019 if (it != CGF.LocalDeclMap.end())
1040 copyInto(SavedTempAddresses, CGF.LocalDeclMap);
1048 copyInto(SavedLocals, CGF.LocalDeclMap);
1118 return !VD->isLocalVarDeclOrParm() && CGF.LocalDeclMap.count(VD) > 0;
1136 : CGF(CGF), SavedMap(CGF.LocalDeclMap) {}
1137 ~OMPLocalDeclMapRAII() { SavedMap.swap(CGF.LocalDeclMap); }
1415 DeclMapTy LocalDeclMap;
2785 auto it = LocalDeclMap.find(VD);
2786 assert(it != LocalDeclMap.end() &&
[all …]
H A DCGBlocks.cpp788 CurGD, blockInfo, LocalDeclMap, isLambdaConv, blockInfo.CanBeGlobal); in EmitBlockLiteral()
920 auto I = LocalDeclMap.find(variable); in EmitBlockLiteral()
921 assert(I != LocalDeclMap.end()); in EmitBlockLiteral()
1221 if (capture.isConstant()) return LocalDeclMap.find(variable)->second; in GetAddrOfBlockDecl()
1269 CodeGenFunction::DeclMapTy LocalDeclMap; in GetAddrOfGlobalBlock() local
1271 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock()
1556 auto addr = LocalDeclMap.find(variable)->second; in GenerateBlockFunction()
H A DCGException.cpp1923 for (auto &I : ParentCGF.LocalDeclMap) { in EmitCapturedLocals()
1969 auto I = ParentCGF.LocalDeclMap.find(VD); in EmitCapturedLocals()
1970 if (I == ParentCGF.LocalDeclMap.end()) in EmitCapturedLocals()
H A DCGStmtOpenMP.cpp897 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
910 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
924 LocalDeclMap.erase(VD); in EmitOMPFirstprivateClause()
994 LocalDeclMap.erase(VD); in EmitOMPCopyinClause()
2263 LocalDeclMap.erase(PrivateVD); in EmitOMPPrivateLoopCounters()
2265 if (LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD) || in EmitOMPPrivateLoopCounters()
2422 if (LocalDeclMap.count(OrigVD) || CapturedStmtInfo->lookup(OrigVD) || in EmitOMPSimdFinal()
8034 if (!CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
8049 if (!VD->hasLocalStorage() && !CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
8055 if (!CGF.LocalDeclMap.count(VD)) in EmitSimpleOMPExecutableDirective()
[all …]
H A DCGExpr.cpp902 assert(LocalDeclMap.count(PassedSizeDecl) && "Passed size not loadable"); in LoadPassedObjectSize()
903 Address AddrOfSize = LocalDeclMap.find(PassedSizeDecl)->second; in LoadPassedObjectSize()
3024 auto I = LocalDeclMap.find(VD); in EmitDeclRefLValue()
3025 if (I != LocalDeclMap.end()) { in EmitDeclRefLValue()
3083 auto iter = LocalDeclMap.find(VD); in EmitDeclRefLValue()
3084 if (iter != LocalDeclMap.end()) { in EmitDeclRefLValue()
4651 auto It = LocalDeclMap.find(D); in EmitLValueForLambdaField()
4652 assert(It != LocalDeclMap.end() && "explicit parameter not loaded?"); in EmitLValueForLambdaField()
H A DCGDecl.cpp481 LocalDeclMap.find(&D)->second = Address(castedAddr, elemTy, alignment); in EmitStaticVarDecl()
H A DCodeGenModule.cpp7264 if (LocalDeclMap.empty()) return; in EmitDeclMetadata()
7273 for (auto &I : LocalDeclMap) { in EmitDeclMetadata()
H A DCGBuiltin.cpp1081 auto DIter = LocalDeclMap.find(D); in emitBuiltinObjectSize()
1082 assert(DIter != LocalDeclMap.end()); in emitBuiltinObjectSize()