Lines Matching refs:Subprogram
481 auto *Subprogram = DBuilder.createFunction( in CreateOldFunctionBodyAndDI() local
484 OldFunc->setSubprogram(Subprogram); in CreateOldFunctionBodyAndDI()
489 DebugLoc Loc = DebugLoc::get(3, 2, Subprogram); in CreateOldFunctionBodyAndDI()
492 IBuilder.SetCurrentDebugLocation(DebugLoc::get(4, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
495 IBuilder.SetCurrentDebugLocation(DebugLoc::get(5, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
501 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI()
502 auto *DL = DILocation::get(Subprogram->getContext(), 5, 0, Subprogram); in CreateOldFunctionBodyAndDI()
519 DebugLoc::get(9, 4, Scope, DebugLoc::get(5, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
559 TEST_F(CloneFunc, Subprogram) { in TEST_F() argument
860 auto *Subprogram = DBuilder.createFunction( in CreateOldModule() local
863 F->setSubprogram(Subprogram); in CreateOldModule()
867 Subprogram, "gv", "gv", File, 1, DBuilder.createNullPtrType(), false); in CreateOldModule()
875 Subprogram, "unattached", "unattached", File, 1, in CreateOldModule()
903 TEST_F(CloneModule, Subprogram) { in TEST_F() argument