|
LLVM
3.7.0
|
Debug location. More...
#include <DebugInfoMetadata.h>
Static Public Member Functions | |
| 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) |
Public Attributes | |
| unsigned | Line |
| unsigned unsigned | Column |
| unsigned unsigned DILocalScope * | Scope |
| unsigned unsigned DILocalScope DILocation * | InlinedAt |
Friends | |
| class | LLVMContextImpl |
| class | MDNode |
Debug location.
A debug location in source code, used for debug info and otherwise.
Definition at line 1139 of file DebugInfoMetadata.h.
Definition at line 1240 of file DebugInfoMetadata.h.
References llvm::Metadata::DILocationKind, and llvm::Metadata::getMetadataID().
| unsigned DILocation::computeNewDiscriminator | ( | ) | const |
Compute new discriminator in the given context.
This modifies the LLVMContext that this is in to increment the next discriminator for this's line/filename combination.
FIXME: Delete this. See comments in implementation and at the only call site in AddDiscriminators::runOnFunction().
Definition at line 69 of file DebugInfoMetadata.cpp.
References llvm::LLVMContextImpl::DiscriminatorTable, llvm::MDNode::getContext(), and llvm::LLVMContext::pImpl.
| llvm::DILocation::DEFINE_MDNODE_GET | ( | DILocation | , |
| (unsigned Line, unsigned Column, Metadata *Scope,Metadata *InlinedAt=nullptr) | , | ||
| (Line, Column, Scope, InlinedAt) | |||
| ) |
|
inline |
Definition at line 1234 of file DebugInfoMetadata.h.
References llvm::MDNode::getNumOperands(), and llvm::MDNode::getOperand().
Referenced by llvm::MDNodeKeyImpl< DILocation >::isKeyOf().
|
inline |
Definition at line 1233 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by llvm::MDNodeKeyImpl< DILocation >::isKeyOf().
|
friend |
Definition at line 1140 of file DebugInfoMetadata.h.
|
friend |
Definition at line 1141 of file DebugInfoMetadata.h.
Definition at line 1173 of file DebugInfoMetadata.h.
| unsigned unsigned DILocalScope DILocation* llvm::DILocation::InlinedAt |
Definition at line 1174 of file DebugInfoMetadata.h.
| unsigned llvm::DILocation::Line |
Definition at line 1173 of file DebugInfoMetadata.h.
| unsigned unsigned DILocalScope* llvm::DILocation::Scope |
Definition at line 1173 of file DebugInfoMetadata.h.
1.8.6