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.cpp520 CodeGenFunction::DeclMapTy& LocalDeclMap; member
522 ParamReferenceReplacerRAII(CodeGenFunction::DeclMapTy &LocalDeclMap) in ParamReferenceReplacerRAII()
523 : LocalDeclMap(LocalDeclMap) {} in ParamReferenceReplacerRAII()
537 auto it = LocalDeclMap.find(PD); in addCopy()
538 assert(it != LocalDeclMap.end() && "parameter is not found"); in addCopy()
541 auto copyIt = LocalDeclMap.find(VD); in addCopy()
542 assert(copyIt != LocalDeclMap.end() && "parameter copy is not found"); in addCopy()
548 LocalDeclMap.insert({SavedLocal.first, SavedLocal.second}); in ~ParamReferenceReplacerRAII()
841 ParamReferenceReplacerRAII ParamReplacer(LocalDeclMap); in EmitCoroutineBody()
H A DCGBlocks.cpp797 CurGD, blockInfo, LocalDeclMap, isLambdaConv, blockInfo.CanBeGlobal); in EmitBlockLiteral()
930 auto I = LocalDeclMap.find(variable); in EmitBlockLiteral()
931 assert(I != LocalDeclMap.end()); in EmitBlockLiteral()
1231 if (capture.isConstant()) return LocalDeclMap.find(variable)->second; in GetAddrOfBlockDecl()
1279 CodeGenFunction::DeclMapTy LocalDeclMap; in GetAddrOfGlobalBlock() local
1281 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock()
1571 auto addr = LocalDeclMap.find(variable)->second; in GenerateBlockFunction()
H A DCodeGenFunction.h1104 auto it = CGF.LocalDeclMap.find(LocalVD);
1105 if (it != CGF.LocalDeclMap.end())
1126 copyInto(SavedTempAddresses, CGF.LocalDeclMap);
1134 copyInto(SavedLocals, CGF.LocalDeclMap);
1204 return !VD->isLocalVarDeclOrParm() && CGF.LocalDeclMap.count(VD) > 0;
1222 : CGF(CGF), SavedMap(CGF.LocalDeclMap) {}
1223 ~OMPLocalDeclMapRAII() { SavedMap.swap(CGF.LocalDeclMap); }
1503 DeclMapTy LocalDeclMap;
2983 auto it = LocalDeclMap.find(VD);
2984 assert(it != LocalDeclMap.end() &&
[all …]
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.cpp924 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
937 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
951 LocalDeclMap.erase(VD); in EmitOMPFirstprivateClause()
1021 LocalDeclMap.erase(VD); in EmitOMPCopyinClause()
2291 LocalDeclMap.erase(PrivateVD); in EmitOMPPrivateLoopCounters()
2293 if (LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD) || in EmitOMPPrivateLoopCounters()
2296 LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD), in EmitOMPPrivateLoopCounters()
2450 if (LocalDeclMap.count(OrigVD) || CapturedStmtInfo->lookup(OrigVD) || in EmitOMPSimdFinal()
8156 if (!CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
8171 if (!VD->hasLocalStorage() && !CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
[all …]
H A DCGExpr.cpp913 assert(LocalDeclMap.count(PassedSizeDecl) && "Passed size not loadable"); in LoadPassedObjectSize()
914 Address AddrOfSize = LocalDeclMap.find(PassedSizeDecl)->second; in LoadPassedObjectSize()
3035 auto I = LocalDeclMap.find(VD); in EmitDeclRefLValue()
3036 if (I != LocalDeclMap.end()) { in EmitDeclRefLValue()
3095 auto iter = LocalDeclMap.find(VD); in EmitDeclRefLValue()
3096 if (iter != LocalDeclMap.end()) { in EmitDeclRefLValue()
4698 auto It = LocalDeclMap.find(D); in EmitLValueForLambdaField()
4699 assert(It != LocalDeclMap.end() && "explicit parameter not loaded?"); in EmitLValueForLambdaField()
H A DCGDecl.cpp485 LocalDeclMap.find(&D)->second = Address(castedAddr, elemTy, alignment); in EmitStaticVarDecl()
H A DCodeGenModule.cpp7413 if (LocalDeclMap.empty()) return; in EmitDeclMetadata()
7422 for (auto &I : LocalDeclMap) { in EmitDeclMetadata()
H A DCGBuiltin.cpp1090 auto DIter = LocalDeclMap.find(D); in emitBuiltinObjectSize()
1091 assert(DIter != LocalDeclMap.end()); in emitBuiltinObjectSize()