Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/CodeGen/
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()
603 ParamReferenceReplacerRAII ParamReplacer(LocalDeclMap); in EmitCoroutineBody()
DCodeGenFunction.h923 auto it = CGF.LocalDeclMap.find(LocalVD);
924 if (it != CGF.LocalDeclMap.end())
945 copyInto(SavedTempAddresses, CGF.LocalDeclMap);
953 copyInto(SavedLocals, CGF.LocalDeclMap);
1024 return !VD->isLocalVarDeclOrParm() && CGF.LocalDeclMap.count(VD) > 0;
1037 : CGF(CGF), SavedMap(CGF.LocalDeclMap) {}
1038 ~OMPLocalDeclMapRAII() { SavedMap.swap(CGF.LocalDeclMap); }
1316 DeclMapTy LocalDeclMap;
2619 auto it = LocalDeclMap.find(VD);
2620 assert(it != LocalDeclMap.end() &&
[all …]
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()
1247 if (capture.isConstant()) return LocalDeclMap.find(variable)->second; in GetAddrOfBlockDecl()
1297 CodeGenFunction::DeclMapTy LocalDeclMap; in GetAddrOfGlobalBlock() local
1299 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock()
1585 auto addr = LocalDeclMap.find(variable)->second; in GenerateBlockFunction()
DCGStmtOpenMP.cpp869 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
886 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
901 LocalDeclMap.erase(VD); in EmitOMPFirstprivateClause()
974 LocalDeclMap.erase(VD); in EmitOMPCopyinClause()
2042 LocalDeclMap.erase(PrivateVD); in EmitOMPPrivateLoopCounters()
2046 if (LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD) || in EmitOMPPrivateLoopCounters()
2050 LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD), in EmitOMPPrivateLoopCounters()
2213 if (LocalDeclMap.count(OrigVD) || CapturedStmtInfo->lookup(OrigVD) || in EmitOMPSimdFinal()
6051 LocalDeclMap.erase(InitVD); in EmitOMPUseDevicePtrClause()
6668 if (!CGF.LocalDeclMap.count(VD)) { in EmitSimpleOMPExecutableDirective()
[all …]
DCGException.cpp1834 for (auto &I : ParentCGF.LocalDeclMap) { in EmitCapturedLocals()
1882 auto I = ParentCGF.LocalDeclMap.find(VD); in EmitCapturedLocals()
1883 if (I == ParentCGF.LocalDeclMap.end()) in EmitCapturedLocals()
DCGExpr.cpp949 assert(LocalDeclMap.count(PassedSizeDecl) && "Passed size not loadable"); in LoadPassedObjectSize()
950 Address AddrOfSize = LocalDeclMap.find(PassedSizeDecl)->second; in LoadPassedObjectSize()
2728 auto I = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2729 if (I != LocalDeclMap.end()) { in EmitDeclRefLValue()
2785 auto iter = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2786 if (iter != LocalDeclMap.end()) { in EmitDeclRefLValue()
DCGDecl.cpp456 LocalDeclMap.find(&D)->second = Address(castedAddr, alignment); in EmitStaticVarDecl()
DCodeGenModule.cpp5957 if (LocalDeclMap.empty()) return; in EmitDeclMetadata()
5966 for (auto &I : LocalDeclMap) { in EmitDeclMetadata()
DCGBuiltin.cpp758 auto DIter = LocalDeclMap.find(D); in emitBuiltinObjectSize()
759 assert(DIter != LocalDeclMap.end()); in emitBuiltinObjectSize()
/external/clang/lib/CodeGen/
DCodeGenFunction.h614 auto it = CGF.LocalDeclMap.find(LocalVD); in addPrivate()
615 if (it != CGF.LocalDeclMap.end()) { in addPrivate()
643 copyInto(SavedPrivates, CGF.LocalDeclMap); in Privatize()
650 copyInto(SavedLocals, CGF.LocalDeclMap); in ForceCleanup()
662 return !VD->isLocalVarDeclOrParm() && CGF.LocalDeclMap.count(VD) > 0; in isGlobalVarCaptured()
942 DeclMapTy LocalDeclMap; variable
1819 auto it = LocalDeclMap.find(VD); in GetAddrOfLocalVar()
1820 assert(it != LocalDeclMap.end() && in GetAddrOfLocalVar()
3252 assert(!LocalDeclMap.count(VD) && "Decl already exists in LocalDeclMap!"); in setAddrOfLocalVar()
3253 LocalDeclMap.insert({VD, Addr}); in setAddrOfLocalVar()
DCGBlocks.cpp698 LocalDeclMap, in EmitBlockLiteral()
800 auto I = LocalDeclMap.find(variable); in EmitBlockLiteral()
801 assert(I != LocalDeclMap.end()); in EmitBlockLiteral()
1008 if (capture.isConstant()) return LocalDeclMap.find(variable)->second; in GetAddrOfBlockDecl()
1047 CodeGenFunction::DeclMapTy LocalDeclMap; in GetAddrOfGlobalBlock() local
1050 LocalDeclMap, in GetAddrOfGlobalBlock()
1269 auto addr = LocalDeclMap.find(variable)->second; in GenerateBlockFunction()
DCGStmtOpenMP.cpp635 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
649 LocalDeclMap.erase(VDInit); in EmitOMPFirstprivateClause()
720 LocalDeclMap.erase(VD); in EmitOMPCopyinClause()
1434 if (!LocalDeclMap.count(PrivateVD)) { in EmitOMPPrivateLoopCounters()
1443 if (LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD) || in EmitOMPPrivateLoopCounters()
1447 LocalDeclMap.count(VD) || CapturedStmtInfo->lookup(VD), in EmitOMPPrivateLoopCounters()
1555 if (LocalDeclMap.count(OrigVD) || CapturedStmtInfo->lookup(OrigVD) || in EmitOMPSimdFinal()
DCGException.cpp1596 auto I = ParentCGF.LocalDeclMap.find(VD); in EmitCapturedLocals()
1597 if (I == ParentCGF.LocalDeclMap.end()) in EmitCapturedLocals()
DCGExpr.cpp2090 LocalDeclMap.count(VD))) { in EmitDeclRefLValue()
2108 auto it = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2109 if (it != LocalDeclMap.end()) { in EmitDeclRefLValue()
2150 auto iter = LocalDeclMap.find(VD); in EmitDeclRefLValue()
2151 if (iter != LocalDeclMap.end()) { in EmitDeclRefLValue()
DCGDecl.cpp405 LocalDeclMap.find(&D)->second = Address(castedAddr, alignment); in EmitStaticVarDecl()
DCodeGenModule.cpp4106 if (LocalDeclMap.empty()) return; in EmitDeclMetadata()
4115 for (auto &I : LocalDeclMap) { in EmitDeclMetadata()
DCGBuiltin.cpp442 auto DIter = LocalDeclMap.find(D); in emitBuiltinObjectSize()
443 assert(DIter != LocalDeclMap.end()); in emitBuiltinObjectSize()