Home | History | Annotate | Download | only in Instrumentation

Lines Matching defs:SP

154 static StringRef getFunctionName(DISubprogram SP) {
155 if (!SP.getLinkageName().empty())
156 return SP.getLinkageName();
157 return SP.getName();
306 GCOVFunction(DISubprogram SP, raw_ostream *os, uint32_t Ident,
308 SP(SP), Ident(Ident), UseCfgChecksum(UseCfgChecksum), CfgChecksum(0) {
311 Function *F = SP.getFunction();
312 DEBUG(dbgs() << "Function: " << getFunctionName(SP) << "\n");
321 FNLOS << getFunctionName(SP) << SP.getLineNumber();
361 uint32_t BlockLen = 1 + 1 + 1 + lengthOfGCOVString(getFunctionName(SP)) +
362 1 + lengthOfGCOVString(SP.getFilename()) + 1;
370 writeGCOVString(getFunctionName(SP));
371 writeGCOVString(SP.getFilename());
372 write(SP.getLineNumber());
407 DISubprogram SP;
490 DISubprogram SP(SPs.getElement(i));
491 assert((!SP || SP.isSubprogram()) &&
493 if (!SP)
496 Function *F = SP.getFunction();
509 make_unique<GCOVFunction>(SP, &out, i, Options.UseCfgChecksum));
538 if (SP != getDISubprogram(Loc.getScope(*Ctx))) continue;
540 GCOVLines &Lines = Block.getFile(SP.getFilename());
573 DISubprogram SP(SPs.getElement(i));
574 assert((!SP || SP.isSubprogram()) &&
576 if (!SP)
578 Function *F = SP.getFunction();
598 CountersBySP.push_back(std::make_pair(Counters, (MDNode*)SP));
858 DISubprogram SP(CountersBySP[j].second);
863 Builder.CreateGlobalStringPtr(getFunctionName(SP)) :