LLVM
8.0.1
|
#include "llvm/IR/DebugInfoMetadata.h"
#include "LLVMContextImpl.h"
#include "MetadataImpl.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include <numeric>
#include "llvm/IR/DebugInfoFlags.def"
Go to the source code of this file.
Macros | |
#define | HANDLE_DI_FLAG(ID, NAME) .Case("DIFlag" #NAME, Flag##NAME) |
#define | HANDLE_DI_FLAG(ID, NAME) |
#define | HANDLE_DI_FLAG(ID, NAME) |
#define | UNWRAP_ARGS_IMPL(...) __VA_ARGS__ |
#define | UNWRAP_ARGS(ARGS) UNWRAP_ARGS_IMPL ARGS |
#define | DEFINE_GETIMPL_LOOKUP(CLASS, ARGS) |
#define | DEFINE_GETIMPL_STORE(CLASS, ARGS, OPS) |
#define | DEFINE_GETIMPL_STORE_NO_OPS(CLASS, ARGS) |
#define | DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(CLASS, OPS) |
#define | DEFINE_GETIMPL_STORE_N(CLASS, ARGS, OPS, NUM_OPS) |
#define | HANDLE_DISP_FLAG(ID, NAME) .Case("DISPFlag" #NAME, SPFlag##NAME) |
#define | HANDLE_DISP_FLAG(ID, NAME) |
#define | HANDLE_DISP_FLAG(ID, NAME) |
Functions | |
static void | adjustColumn (unsigned &Column) |
static bool | isCanonical (const MDString *S) |
Variables | |
static const char * | ChecksumKindName [DIFile::CSK_Last] |
#define DEFINE_GETIMPL_LOOKUP | ( | CLASS, | |
ARGS | |||
) |
Definition at line 285 of file DebugInfoMetadata.cpp.
Referenced by llvm::DIFile::getChecksumKind(), llvm::DICompositeType::getODRTypeIfExists(), llvm::DIBasicType::getSignedness(), llvm::DIVariable::getSizeInBits(), llvm::DIExpression::isConstant(), and llvm::DISubprogram::splitFlags().
#define DEFINE_GETIMPL_STORE | ( | CLASS, | |
ARGS, | |||
OPS | |||
) |
Definition at line 298 of file DebugInfoMetadata.cpp.
Referenced by llvm::DIFile::getChecksumKind(), llvm::DICompositeType::getODRTypeIfExists(), llvm::DIBasicType::getSignedness(), llvm::DIVariable::getSizeInBits(), llvm::DIExpression::isConstant(), and llvm::DISubprogram::splitFlags().
#define DEFINE_GETIMPL_STORE_N | ( | CLASS, | |
ARGS, | |||
OPS, | |||
NUM_OPS | |||
) |
Definition at line 308 of file DebugInfoMetadata.cpp.
Referenced by llvm::DISubprogram::splitFlags().
#define DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS | ( | CLASS, | |
OPS | |||
) |
Definition at line 305 of file DebugInfoMetadata.cpp.
Referenced by llvm::DIExpression::isConstant(), and llvm::DISubprogram::splitFlags().
#define DEFINE_GETIMPL_STORE_NO_OPS | ( | CLASS, | |
ARGS | |||
) |
Definition at line 302 of file DebugInfoMetadata.cpp.
Referenced by llvm::DIVariable::getSizeInBits().
#define HANDLE_DI_FLAG | ( | ID, | |
NAME | |||
) | .Case("DIFlag" #NAME, Flag##NAME) |
Referenced by llvm::DINode::getFlag().
#define HANDLE_DI_FLAG | ( | ID, | |
NAME | |||
) |
#define HANDLE_DI_FLAG | ( | ID, | |
NAME | |||
) |
#define HANDLE_DISP_FLAG | ( | ID, | |
NAME | |||
) | .Case("DISPFlag" #NAME, SPFlag##NAME) |
Referenced by llvm::DISubprogram::getFlag().
#define HANDLE_DISP_FLAG | ( | ID, | |
NAME | |||
) |
#define HANDLE_DISP_FLAG | ( | ID, | |
NAME | |||
) |
#define UNWRAP_ARGS | ( | ARGS | ) | UNWRAP_ARGS_IMPL ARGS |
Definition at line 284 of file DebugInfoMetadata.cpp.
#define UNWRAP_ARGS_IMPL | ( | ... | ) | __VA_ARGS__ |
Definition at line 283 of file DebugInfoMetadata.cpp.
|
static |
Definition at line 43 of file DebugInfoMetadata.cpp.
References assert(), Context, getImpl(), llvm::getUniqued(), N, llvm::LLVMContext::pImpl, llvm::SmallVectorTemplateBase< T >::push_back(), llvm::SmallVectorBase::size(), llvm::Metadata::Storage, llvm::MDNode::storeImpl(), and llvm::Metadata::Uniqued.
Referenced by llvm::DISubprogram::splitFlags().
Definition at line 250 of file DebugInfoMetadata.cpp.
References assert(), llvm::StringRef::empty(), llvm::MDString::getString(), llvm::getUniqued(), N, llvm::LLVMContext::pImpl, llvm::ArrayRef< T >::size(), llvm::Metadata::Storage, llvm::MDNode::storeImpl(), llvm::Tag, and llvm::Metadata::Uniqued.
Referenced by DoInitialMatch(), llvm::DIFile::getChecksumKind(), llvm::DIBasicType::getSignedness(), llvm::DIVariable::getSizeInBits(), llvm::DIExpression::isConstant(), and llvm::DISubprogram::splitFlags().
Definition at line 474 of file DebugInfoMetadata.cpp.