Home
last modified time | relevance | path

Searched refs:Subprogram (Results 1 – 4 of 4) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp239 auto *Subprogram = DBuilder.createFunction( in CreateOldFunctionBodyAndDI() local
241 OldFunc->setSubprogram(Subprogram); in CreateOldFunctionBodyAndDI()
246 DebugLoc Loc = DebugLoc::get(3, 2, Subprogram); in CreateOldFunctionBodyAndDI()
249 IBuilder.SetCurrentDebugLocation(DebugLoc::get(4, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
252 IBuilder.SetCurrentDebugLocation(DebugLoc::get(5, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
260 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI()
261 auto *DL = DILocation::get(Subprogram->getContext(), 5, 0, Subprogram); in CreateOldFunctionBodyAndDI()
301 TEST_F(CloneFunc, Subprogram) { in TEST_F() argument
/external/llvm/test/DebugInfo/Generic/
Ddebuginfofinder-multiple-cu.ll11 ;CHECK: Subprogram: f from /tmp/test1.c:1
12 ;CHECK: Subprogram: g from /tmp/test2.c:1
/external/llvm/lib/IR/
DDebugInfo.cpp52 auto *Subprogram = getDISubprogram(Scope); in getDISubprogram() local
53 return Subprogram->describes(F) ? Subprogram : nullptr; in getDISubprogram()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp169 for (DISubprogram *Subprogram : Finder.subprograms()) { in FindSubprogram()
170 if (Subprogram->describes(F)) in FindSubprogram()
171 return Subprogram; in FindSubprogram()