LLVM 20.0.0git
|
#include "llvm/IR/DIBuilder.h"
#include "LLVMContextImpl.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include <optional>
Go to the source code of this file.
|
static |
Definition at line 747 of file DIBuilder.cpp.
References assert(), and getNonCompileUnitScope().
Referenced by llvm::DIBuilder::createGlobalVariableExpression(), and llvm::DIBuilder::createTempGlobalVariableFwdDecl().
|
static |
Definition at line 161 of file DIBuilder.cpp.
References assert(), llvm::CallingConv::C, llvm::SmallVectorImpl< T >::emplace_back(), llvm::MDNode::get(), and Name.
Referenced by LLVMDIBuilderCreateImportedModuleFromAlias(), LLVMDIBuilderCreateImportedModuleFromModule(), and LLVMDIBuilderCreateImportedModuleFromNamespace().
|
static |
Definition at line 789 of file DIBuilder.cpp.
References llvm::SmallVectorImpl< T >::emplace_back(), llvm::MDNode::get(), and Name.
Referenced by llvm::DIBuilder::createAutoVariable(), and llvm::DIBuilder::createParameterVariable().
|
static |
Definition at line 469 of file DIBuilder.cpp.
References assert(), llvm::MDNode::get(), and Name.
Referenced by llvm::DIBuilder::createTemplateParameterPack(), llvm::DIBuilder::createTemplateTemplateParameter(), and llvm::DIBuilder::createTemplateValueParameter().
|
static |
Definition at line 634 of file DIBuilder.cpp.
References llvm::DIType::cloneWithFlags(), llvm::DIType::getFlags(), and llvm::MDNode::replaceWithUniqued().
Referenced by llvm::DIBuilder::createArtificialType(), and llvm::DIBuilder::createObjectPointerType().
|
static |
Definition at line 400 of file DIBuilder.cpp.
References llvm::CallingConv::C, and llvm::ConstantAsMetadata::get().
Referenced by llvm::DIBuilder::createStaticMemberType(), llvm::DIBuilder::createTemplateValueParameter(), and llvm::DIBuilder::createVariantMemberType().
|
static |
Definition at line 1060 of file DIBuilder.cpp.
References assert(), llvm::MetadataAsValue::get(), and llvm::ValueAsMetadata::get().
Definition at line 1065 of file DIBuilder.cpp.
References llvm::Intrinsic::getOrInsertDeclaration().
If N is compile unit return NULL otherwise return N.
Definition at line 128 of file DIBuilder.cpp.
References N.
Referenced by checkGlobalVariableScope(), llvm::DIBuilder::createBitFieldMemberType(), llvm::DIBuilder::createClassType(), llvm::DIBuilder::createEnumerationType(), llvm::DIBuilder::createForwardDecl(), llvm::DIBuilder::createFunction(), llvm::DIBuilder::createLexicalBlock(), llvm::DIBuilder::createMemberType(), llvm::DIBuilder::createMethod(), llvm::DIBuilder::createModule(), llvm::DIBuilder::createNameSpace(), llvm::DIBuilder::createObjCIVar(), llvm::DIBuilder::createReplaceableCompositeType(), llvm::DIBuilder::createSetType(), llvm::DIBuilder::createStaticMemberType(), llvm::DIBuilder::createStructType(), llvm::DIBuilder::createTempFunctionFwdDecl(), llvm::DIBuilder::createTemplateAlias(), llvm::DIBuilder::createTypedef(), llvm::DIBuilder::createUnionType(), llvm::DIBuilder::createVariantMemberType(), and llvm::DIBuilder::createVariantPart().
|
static |
Definition at line 852 of file DIBuilder.cpp.
References llvm::MDNode::get(), and llvm::MDNode::getDistinct().
Referenced by checkVars(), llvm::DIBuilder::createFunction(), llvm::DIBuilder::createMethod(), llvm::DILocation::getMergedLocation(), and LLVMGetSubprogram().
|
static |
Initialize IRBuilder for inserting dbg.declare and dbg.value intrinsics.
This abstracts over the various ways to specify an insert position.
Definition at line 1051 of file DIBuilder.cpp.
References DL, llvm::IRBuilderBase::SetCurrentDebugLocation(), and llvm::IRBuilderBase::SetInsertPoint().