Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
537 ParamReferenceReplacerRAII ParamReplacer(LocalDeclMap); in EmitCoroutineBody()
H A DCodeGenFunction.h1010 auto it = CGF.LocalDeclMap.find(LocalVD);
1011 if (it != CGF.LocalDeclMap.end())
1032 copyInto(SavedTempAddresses, CGF.LocalDeclMap);
1040 copyInto(SavedLocals, CGF.LocalDeclMap);
1110 return !VD->isLocalVarDeclOrParm() && CGF.LocalDeclMap.count(VD) > 0;
1128 : CGF(CGF), SavedMap(CGF.LocalDeclMap) {}
1129 ~OMPLocalDeclMapRAII() { SavedMap.swap(CGF.LocalDeclMap); }
1407 DeclMapTy LocalDeclMap;
2720 auto it = LocalDeclMap.find(VD);
2721 assert(it != LocalDeclMap.end() &&
[all …]
H A DCGBlocks.cpp813 CurGD, blockInfo, LocalDeclMap, isLambdaConv, blockInfo.CanBeGlobal); in EmitBlockLiteral()
945 auto I = LocalDeclMap.find(variable); in EmitBlockLiteral()
946 assert(I != LocalDeclMap.end()); in EmitBlockLiteral()
1252 if (capture.isConstant()) return LocalDeclMap.find(variable)->second; in GetAddrOfBlockDecl()
1301 CodeGenFunction::DeclMapTy LocalDeclMap; in GetAddrOfGlobalBlock() local
1303 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock()
1587 auto addr = LocalDeclMap.find(variable)->second; in GenerateBlockFunction()
H A DCGStmtOpenMP.cpp901 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
914 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
928 LocalDeclMap.erase(VD); in EmitOMPFirstprivateClause()
998 LocalDeclMap.erase(VD); in EmitOMPCopyinClause()
2263 LocalDeclMap.erase(PrivateVD); in EmitOMPPrivateLoopCounters()
2265 if (LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD) || in EmitOMPPrivateLoopCounters()
2268 LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD), in EmitOMPPrivateLoopCounters()
2422 if (LocalDeclMap.count(OrigVD) || CapturedStmtInfo->lookup(OrigVD) || in EmitOMPSimdFinal()
7175 LocalDeclMap.erase(InitVD); in EmitOMPUseDevicePtrClause()
7812 if (!CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
[all …]
H A DCGException.cpp1903 for (auto &I : ParentCGF.LocalDeclMap) { in EmitCapturedLocals()
1953 auto I = ParentCGF.LocalDeclMap.find(VD); in EmitCapturedLocals()
1954 if (I == ParentCGF.LocalDeclMap.end()) in EmitCapturedLocals()
H A DCGExpr.cpp909 assert(LocalDeclMap.count(PassedSizeDecl) && "Passed size not loadable"); in LoadPassedObjectSize()
910 Address AddrOfSize = LocalDeclMap.find(PassedSizeDecl)->second; in LoadPassedObjectSize()
2773 auto I = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2774 if (I != LocalDeclMap.end()) { in EmitDeclRefLValue()
2832 auto iter = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2833 if (iter != LocalDeclMap.end()) { in EmitDeclRefLValue()
H A DCGDecl.cpp477 LocalDeclMap.find(&D)->second = Address(castedAddr, elemTy, alignment); in EmitStaticVarDecl()
H A DCodeGenModule.cpp6827 if (LocalDeclMap.empty()) return; in EmitDeclMetadata()
6836 for (auto &I : LocalDeclMap) { in EmitDeclMetadata()
H A DCGBuiltin.cpp801 auto DIter = LocalDeclMap.find(D); in emitBuiltinObjectSize()
802 assert(DIter != LocalDeclMap.end()); in emitBuiltinObjectSize()