LLVM API Documentation
#include <DebugInfo.h>
Public Member Functions | |
| DIDerivedType (GlobalVariable *GV) | |
| DIType | getTypeDerivedFrom () const |
| uint64_t | getOriginalTypeSize () const |
| void | dump () const |
| dump - print derived type. | |
| void | replaceAllUsesWith (DIDescriptor &D) |
Protected Member Functions | |
| DIDerivedType (GlobalVariable *GV, bool, bool) | |
Definition at line 245 of file DebugInfo.h.
| llvm::DIDerivedType::DIDerivedType | ( | GlobalVariable * | GV, | |
| bool | , | |||
| bool | ||||
| ) | [inline, explicit, protected] |
Definition at line 247 of file DebugInfo.h.
| llvm::DIDerivedType::DIDerivedType | ( | GlobalVariable * | GV | ) | [inline, explicit] |
Definition at line 250 of file DebugInfo.h.
References llvm::DIDescriptor::DbgGV, llvm::DIDescriptor::getTag(), and llvm::DIType::isDerivedType().
| DIType llvm::DIDerivedType::getTypeDerivedFrom | ( | ) | const [inline] |
| uint64_t DIDerivedType::getOriginalTypeSize | ( | ) | const |
getOriginalTypeSize - If this type is derived from a base type then return base type size.
getOriginalTypeSize - If this type is derived from a base type then return base type size.
Definition at line 316 of file DebugInfo.cpp.
References llvm::X86ISD::BT, llvm::dwarf::DW_TAG_base_type, llvm::dwarf::DW_TAG_member, llvm::DIType::getSizeInBits(), llvm::DIDescriptor::getTag(), and getTypeDerivedFrom().
| void DIDerivedType::dump | ( | ) | const |
dump - print derived type.
dump - Print derived type.
Reimplemented from llvm::DIType.
Reimplemented in llvm::DICompositeType.
Definition at line 406 of file DebugInfo.cpp.
References llvm::cerr(), llvm::DIType::dump(), and getTypeDerivedFrom().
| void DIDerivedType::replaceAllUsesWith | ( | DIDescriptor & | D | ) |
replaceAllUsesWith - Replace all uses of debug info referenced by this descriptor. After this completes, the current debug info value is erased.
replaceAllUsesWith - Replace all uses of debug info referenced by this descriptor. After this completes, the current debug info value is erased.
Definition at line 213 of file DebugInfo.cpp.
References llvm::GlobalVariable::eraseFromParent(), llvm::DIDescriptor::getGV(), llvm::DIDescriptor::isNull(), and llvm::Value::replaceAllUsesWith().