Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCoroutine.cpp346 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()
606 ParamReferenceReplacerRAII ParamReplacer(LocalDeclMap); in EmitCoroutineBody()
H A DCodeGenFunction.h971 auto it = CGF.LocalDeclMap.find(LocalVD);
972 if (it != CGF.LocalDeclMap.end())
993 copyInto(SavedTempAddresses, CGF.LocalDeclMap);
1001 copyInto(SavedLocals, CGF.LocalDeclMap);
1072 return !VD->isLocalVarDeclOrParm() && CGF.LocalDeclMap.count(VD) > 0;
1085 : CGF(CGF), SavedMap(CGF.LocalDeclMap) {}
1086 ~OMPLocalDeclMapRAII() { SavedMap.swap(CGF.LocalDeclMap); }
1364 DeclMapTy LocalDeclMap;
2663 auto it = LocalDeclMap.find(VD);
2664 assert(it != LocalDeclMap.end() &&
[all …]
H A DCGBlocks.cpp810 CurGD, blockInfo, LocalDeclMap, isLambdaConv, blockInfo.CanBeGlobal); in EmitBlockLiteral()
942 auto I = LocalDeclMap.find(variable); in EmitBlockLiteral()
943 assert(I != LocalDeclMap.end()); in EmitBlockLiteral()
1250 if (capture.isConstant()) return LocalDeclMap.find(variable)->second; in GetAddrOfBlockDecl()
1300 CodeGenFunction::DeclMapTy LocalDeclMap; in GetAddrOfGlobalBlock() local
1302 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock()
1588 auto addr = LocalDeclMap.find(variable)->second; in GenerateBlockFunction()
H A DCGStmtOpenMP.cpp890 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
907 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
922 LocalDeclMap.erase(VD); in EmitOMPFirstprivateClause()
995 LocalDeclMap.erase(VD); in EmitOMPCopyinClause()
2212 LocalDeclMap.erase(PrivateVD); in EmitOMPPrivateLoopCounters()
2216 if (LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD) || in EmitOMPPrivateLoopCounters()
2220 LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD), in EmitOMPPrivateLoopCounters()
2382 if (LocalDeclMap.count(OrigVD) || CapturedStmtInfo->lookup(OrigVD) || in EmitOMPSimdFinal()
6484 LocalDeclMap.erase(InitVD); in EmitOMPUseDevicePtrClause()
7101 if (!CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
[all …]
H A DCGException.cpp1900 for (auto &I : ParentCGF.LocalDeclMap) { in EmitCapturedLocals()
1949 auto I = ParentCGF.LocalDeclMap.find(VD); in EmitCapturedLocals()
1950 if (I == ParentCGF.LocalDeclMap.end()) in EmitCapturedLocals()
H A DCGExpr.cpp949 assert(LocalDeclMap.count(PassedSizeDecl) && "Passed size not loadable"); in LoadPassedObjectSize()
950 Address AddrOfSize = LocalDeclMap.find(PassedSizeDecl)->second; in LoadPassedObjectSize()
2724 auto I = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2725 if (I != LocalDeclMap.end()) { in EmitDeclRefLValue()
2781 auto iter = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2782 if (iter != LocalDeclMap.end()) { in EmitDeclRefLValue()
H A DCGDecl.cpp457 LocalDeclMap.find(&D)->second = Address(castedAddr, alignment); in EmitStaticVarDecl()
H A DCodeGenModule.cpp6099 if (LocalDeclMap.empty()) return; in EmitDeclMetadata()
6108 for (auto &I : LocalDeclMap) { in EmitDeclMetadata()
H A DCGBuiltin.cpp762 auto DIter = LocalDeclMap.find(D); in emitBuiltinObjectSize()
763 assert(DIter != LocalDeclMap.end()); in emitBuiltinObjectSize()