Get the subprogram for this scope.
Declared in <llvm/IR/DebugInfoMetadata.h>
<llvm/IR/DebugInfoMetadata.h>
DISubprogram* getSubprogram() const;
Return this if it's an DISubprogram; otherwise, look up the scope chain.
get the subprogram for this scope.