Lines Matching defs:SP

479     const DISubprogram *SP, DIE &Die) {
485 if (!SP->isDefinition())
488 if (SP->getName() != "")
489 addAccelName(Unit, NameTableKind, SP->getName(), Die);
494 if (SP->getLinkageName() != "" && SP->getName() != SP->getLinkageName() &&
495 (useAllLinkageNames() || InfoHolder.getAbstractScopeDIEs().lookup(SP)))
496 addAccelName(Unit, NameTableKind, SP->getLinkageName(), Die);
500 if (isObjCClass(SP->getName())) {
502 getObjCClassCategory(SP->getName(), Class, Category);
507 addAccelName(Unit, NameTableKind, getObjCMethodName(SP->getName()), Die);
547 auto *SP = cast<DISubprogram>(Scope->getScopeNode());
551 if (useSplitDwarf() && !shareAcrossDWOCUs() && !SP->getUnit()->getSplitDebugInlining())
555 auto &CU = getOrCreateDwarfCompileUnit(SP->getUnit());
732 Register SP = TLI.getStackPointerRegisterToSaveRestore();
734 bool IsSPorFP = (RegLoc == SP) || (RegLoc == FP);
874 void DwarfDebug::constructCallSiteEntryDIEs(const DISubprogram &SP,
879 if (!SP.areAllCallsDescribed() || !SP.isDefinition())
1244 for (const DISubprogram *SP : ProcessedSPNodes) {
1245 assert(SP->getUnit()->getEmissionKind() != DICompileUnit::NoDebug);
1247 getOrCreateDwarfCompileUnit(SP->getUnit()),
1248 [&](DwarfCompileUnit &CU) { CU.finishSubprogramDefinition(SP); });
1874 const DISubprogram *SP,
1985 for (const DINode *DN : SP->getRetainedNodes()) {
2002 const auto *SP = MF.getFunction().getSubprogram();
2004 !SP || SP->getUnit()->getEmissionKind() == DICompileUnit::NoDebug;
2021 if (!NoDebug && SP->areAllCallsDescribed() &&
2207 const DISubprogram *SP = PrologEndLoc->getInlinedAtScope()->getSubprogram();
2208 ::recordSourceLine(*Asm, SP->getScopeLine(), 0, SP, DWARF2_FLAG_IS_STMT,
2220 auto *SP = MF->getFunction().getSubprogram();
2221 assert(LScopes.empty() || SP == LScopes.getCurrentFunctionScope()->getScopeNode());
2222 if (SP->getUnit()->getEmissionKind() == DICompileUnit::NoDebug)
2225 DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(SP->getUnit());
2269 const DISubprogram *SP = MF->getFunction().getSubprogram();
2278 assert(!FnScope || SP == FnScope->getScopeNode());
2279 DwarfCompileUnit &TheCU = getOrCreateDwarfCompileUnit(SP->getUnit());
2287 collectEntityInfo(TheCU, SP, Processed);
2313 const auto *SP = cast<DISubprogram>(AScope->getScopeNode());
2314 for (const DINode *DN : SP->getRetainedNodes()) {
2336 ProcessedSPNodes.insert(SP);
2337 DIE &ScopeDIE = TheCU.constructSubprogramScopeDIE(SP, FnScope);
2341 SkelCU->constructSubprogramScopeDIE(SP, FnScope);
2344 constructCallSiteEntryDIEs(*SP, TheCU, ScopeDIE, *MF);