Searched refs:Subprogram (Results 1 – 4 of 4) sorted by relevance
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 239 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/ |
D | debuginfofinder-multiple-cu.ll | 11 ;CHECK: Subprogram: f from /tmp/test1.c:1 12 ;CHECK: Subprogram: g from /tmp/test2.c:1
|
/external/llvm/lib/IR/ |
D | DebugInfo.cpp | 52 auto *Subprogram = getDISubprogram(Scope); in getDISubprogram() local 53 return Subprogram->describes(F) ? Subprogram : nullptr; in getDISubprogram()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 169 for (DISubprogram *Subprogram : Finder.subprograms()) { in FindSubprogram() 170 if (Subprogram->describes(F)) in FindSubprogram() 171 return Subprogram; in FindSubprogram()
|