|
LLVM
3.7.0
|
A scope for locals. More...
#include <DebugInfoMetadata.h>
Static Public Member Functions | |
| static bool | classof (const Metadata *MD) |
Static Public Member Functions inherited from llvm::DIScope | |
| static bool | classof (const Metadata *MD) |
Static Public Member Functions inherited from llvm::DINode | |
| static unsigned | getFlag (StringRef Flag) |
| static const char * | getFlagString (unsigned Flag) |
| static unsigned | splitFlags (unsigned Flags, SmallVectorImpl< unsigned > &SplitFlags) |
| Split up a flags bitfield. More... | |
| static bool | classof (const Metadata *MD) |
Static Public Member Functions inherited from llvm::MDNode | |
| static MDTuple * | get (LLVMContext &Context, ArrayRef< Metadata * > MDs) |
| static MDTuple * | getIfExists (LLVMContext &Context, ArrayRef< Metadata * > MDs) |
| static MDTuple * | getDistinct (LLVMContext &Context, ArrayRef< Metadata * > MDs) |
| static TempMDTuple | getTemporary (LLVMContext &Context, ArrayRef< Metadata * > MDs) |
| static void | deleteTemporary (MDNode *N) |
| Deallocate a node created by getTemporary. More... | |
| template<class T > | |
| static std::enable_if < std::is_base_of< MDNode, T > ::value, T * >::type | replaceWithPermanent (std::unique_ptr< T, TempMDNodeDeleter > N) |
| Replace a temporary node with a permanent one. More... | |
| template<class T > | |
| static std::enable_if < std::is_base_of< MDNode, T > ::value, T * >::type | replaceWithUniqued (std::unique_ptr< T, TempMDNodeDeleter > N) |
| Replace a temporary node with a uniqued one. More... | |
| template<class T > | |
| static std::enable_if < std::is_base_of< MDNode, T > ::value, T * >::type | replaceWithDistinct (std::unique_ptr< T, TempMDNodeDeleter > N) |
| Replace a temporary node with a distinct one. More... | |
| static bool | classof (const Metadata *MD) |
| Methods for support type inquiry through isa, cast, and dyn_cast: More... | |
| static MDNode * | concatenate (MDNode *A, MDNode *B) |
| Methods for metadata merging. More... | |
| static MDNode * | intersect (MDNode *A, MDNode *B) |
| static MDNode * | getMostGenericTBAA (MDNode *A, MDNode *B) |
| static MDNode * | getMostGenericFPMath (MDNode *A, MDNode *B) |
| static MDNode * | getMostGenericRange (MDNode *A, MDNode *B) |
| static MDNode * | getMostGenericAliasScope (MDNode *A, MDNode *B) |
A scope for locals.
A legal scope for lexical blocks, local variables, and debug info locations. Subclasses are DISubprogram, DILexicalBlock, and DILexicalBlockFile.
Definition at line 1115 of file DebugInfoMetadata.h.
|
inlineprotected |
Definition at line 1117 of file DebugInfoMetadata.h.
|
protecteddefault |
Definition at line 1129 of file DebugInfoMetadata.h.
References llvm::Metadata::DILexicalBlockFileKind, llvm::Metadata::DILexicalBlockKind, llvm::Metadata::DISubprogramKind, and llvm::Metadata::getMetadataID().
| DISubprogram * DILocalScope::getSubprogram | ( | ) | const |
Get the subprogram for this scope.
Return this if it's an DISubprogram; otherwise, look up the scope chain.
Definition at line 337 of file DebugInfoMetadata.cpp.
References llvm::Block.
Referenced by llvm::DwarfDebug::beginFunction(), llvm::getDISubprogram(), llvm::DIBuilder::insertDbgValueIntrinsic(), llvm::DIBuilder::insertDeclare(), and llvm::DILocalVariable::isValidLocationForIntrinsic().
1.8.6