llvm::LexicalScope

This class is used to track scope information.

Synopsis

Declared in <llvm/CodeGen/LexicalScopes.h>

class LexicalScope;

Member Functions

NameDescription
LexicalScope [constructor]Constructors
operator= [deleted]Deleted copy assignment; LexicalScope is not copyable.
addChild Add a child scope.
closeInsnRange Create a range based on FirstInsn and LastInsn collected until now. This is used when a new scope is encountered while walking machine instructions.
dominates Return true if current scope dominates given lexical scope.
dump Print lexical scope.
extendInsnRange Extend the current instruction range covered by this scope.
getChildren Return the child scopes nested under this scope.
getDFSIn Return the DFS-in number used for scope nesting tests.
getDFSOut Return the DFS-out number used for scope nesting tests.
getDesc Return the debug-info descriptor associated with this scope.
getInlinedAt Return the inlined-at location for this scope, or nullptr if not inlined.
getParent Return the parent of this lexical scope, or nullptr if none.
getRanges Return the instruction ranges covered by this scope.
getScopeNode Return the DILocalScope node that describes this lexical scope.
isAbstractScope Return true if this is an abstract lexical scope.
openInsnRange This scope covers instruction range starting from MI.
setDFSIn Set the DFS-in number used for scope nesting tests.
setDFSOut Set the DFS-out number used for scope nesting tests.