Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCoroutine.cpp348 CodeGenFunction::DeclMapTy& LocalDeclMap; member
350 ParamReferenceReplacerRAII(CodeGenFunction::DeclMapTy &LocalDeclMap) in ParamReferenceReplacerRAII()
351 : LocalDeclMap(LocalDeclMap) {} in ParamReferenceReplacerRAII()
365 auto it = LocalDeclMap.find(PD); in addCopy()
366 assert(it != LocalDeclMap.end() && "parameter is not found"); in addCopy()
369 auto copyIt = LocalDeclMap.find(VD); in addCopy()
370 assert(copyIt != LocalDeclMap.end() && "parameter copy is not found"); in addCopy()
376 LocalDeclMap.insert({SavedLocal.first, SavedLocal.second}); in ~ParamReferenceReplacerRAII()
605 ParamReferenceReplacerRAII ParamReplacer(LocalDeclMap); in EmitCoroutineBody()
H A DCodeGenFunction.h837 auto it = CGF.LocalDeclMap.find(LocalVD);
838 if (it != CGF.LocalDeclMap.end())
859 copyInto(SavedTempAddresses, CGF.LocalDeclMap);
867 copyInto(SavedLocals, CGF.LocalDeclMap);
938 return !VD->isLocalVarDeclOrParm() && CGF.LocalDeclMap.count(VD) > 0;
1217 DeclMapTy LocalDeclMap;
2345 auto it = LocalDeclMap.find(VD);
2346 assert(it != LocalDeclMap.end() &&
4147 assert(!LocalDeclMap.count(VD) && "Decl already exists in LocalDeclMap!");
4148 LocalDeclMap.insert({VD, Addr});
H A DCGBlocks.cpp939 CurGD, blockInfo, LocalDeclMap, isLambdaConv, blockInfo.CanBeGlobal); in EmitBlockLiteral()
1076 auto I = LocalDeclMap.find(variable); in EmitBlockLiteral()
1077 assert(I != LocalDeclMap.end()); in EmitBlockLiteral()
1333 if (capture.isConstant()) return LocalDeclMap.find(variable)->second; in GetAddrOfBlockDecl()
1384 CodeGenFunction::DeclMapTy LocalDeclMap; in GetAddrOfGlobalBlock() local
1386 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock()
1672 auto addr = LocalDeclMap.find(variable)->second; in GenerateBlockFunction()
H A DCGStmtOpenMP.cpp799 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
814 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
884 LocalDeclMap.erase(VD); in EmitOMPCopyinClause()
1493 LocalDeclMap.erase(PrivateVD); in EmitOMPPrivateLoopCounters()
1497 if (LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD) || in EmitOMPPrivateLoopCounters()
1501 LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD), in EmitOMPPrivateLoopCounters()
1632 if (LocalDeclMap.count(OrigVD) || CapturedStmtInfo->lookup(OrigVD) || in EmitOMPSimdFinal()
4579 LocalDeclMap.erase(InitVD); in EmitOMPUseDevicePtrClause()
5044 if (!VD->hasLocalStorage() && !CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
5051 if (!CGF.LocalDeclMap.count(VD)) in EmitSimpleOMPExecutableDirective()
[all …]
H A DCGExpr.cpp909 assert(LocalDeclMap.count(PassedSizeDecl) && "Passed size not loadable"); in LoadPassedObjectSize()
910 Address AddrOfSize = LocalDeclMap.find(PassedSizeDecl)->second; in LoadPassedObjectSize()
2463 (LocalDeclMap.count(VD->getCanonicalDecl()) || in EmitDeclRefLValue()
2488 auto I = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2489 if (I != LocalDeclMap.end()) { in EmitDeclRefLValue()
2531 auto iter = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2532 if (iter != LocalDeclMap.end()) { in EmitDeclRefLValue()
H A DCGException.cpp1814 auto I = ParentCGF.LocalDeclMap.find(VD); in EmitCapturedLocals()
1815 if (I == ParentCGF.LocalDeclMap.end()) in EmitCapturedLocals()
H A DCGDecl.cpp438 LocalDeclMap.find(&D)->second = Address(castedAddr, alignment); in EmitStaticVarDecl()
H A DCodeGenModule.cpp5203 if (LocalDeclMap.empty()) return; in EmitDeclMetadata()
5212 for (auto &I : LocalDeclMap) { in EmitDeclMetadata()
H A DCGBuiltin.cpp530 auto DIter = LocalDeclMap.find(D); in emitBuiltinObjectSize()
531 assert(DIter != LocalDeclMap.end()); in emitBuiltinObjectSize()