Value wrapper in the Metadata hierarchy. More...
#include "[llvm/IR/Metadata.h](Metadata%5F8h%5Fsource.html)"
Value wrapper in the Metadata hierarchy.
This is a custom value handle that allows other metadata to refer to classes in the Value hierarchy.
Because of full uniquing support, each value is only wrapped by a single ValueAsMetadata object, so the lookup maps are far more efficient than those using ValueHandleBase .
Definition at line 458 of file Metadata.h .
llvm::ValueAsMetadata::ValueAsMetadata ( unsigned ID , Value * V )
inlineprotected
llvm::ValueAsMetadata::~ValueAsMetadata ( )
protecteddefault
◆ classof()◆ get()Definition at line 503 of file Metadata.cpp .
References assert() , llvm::CallingConv::C , llvm::dyn_cast() , llvm::isa() , and ValueAsMetadata() .
Referenced by addFunctionTypeMutation() , addModuleFlags() , llvm::memprof::buildCallstackMetadata() , buildFrameDebugInfo() , constructEntryMetadata() , llvm::ConvertDebugDeclareToDebugValue() , llvm::ConvertDebugDeclareToDebugValue() , llvm::DbgVariableRecord::createDbgVariableRecord() , llvm::DbgVariableRecord::createDVRAssign() , llvm::DbgVariableRecord::createDVRDeclare() , llvm::DbgVariableRecord::createDVRDeclareValue() , createMIBNode() , getAsMetadata() , getAsMetadata() , llvm::dxil::ResourceInfo::getAsMetadata() , getConstant() , getDbgIntrinsicValueImpl() , getLocal() , llvm::DIArgList::handleChangedOperand() , llvm::DebugValueUser::handleChangedValue() , insertDbgValueOrDbgVariableRecord() , insertSpills() , LLVMValueAsMetadata() , llvm::DbgVariableIntrinsic::replaceVariableLocationOp() , llvm::DbgVariableIntrinsic::replaceVariableLocationOp() , llvm::DbgVariableRecord::replaceVariableLocationOp() , llvm::DbgVariableRecord::replaceVariableLocationOp() , restorePreTransformState() , llvm::ReplaceableMetadataImpl::SalvageDebugInfo() , llvm::DbgAssignIntrinsic::setAddress() , llvm::DbgVariableRecord::setAddress() , llvm::DbgVariableRecord::setKillAddress() , llvm::DbgAssignIntrinsic::setValue() , updateDVIWithLocation() , and updateDVIWithLocations() .
◆ getAllArgListUsers()◆ getAllDbgVariableRecordUsers()◆ getConstant()◆ getConstantIfExists()◆ getContext()
LLVMContext & llvm::ValueAsMetadata::getContext ( ) const
inline
◆ getIfExists()◆ getLocal()◆ getLocalIfExists()◆ getType()
Type * llvm::ValueAsMetadata::getType ( ) const
inline
◆ getValue()
Value * llvm::ValueAsMetadata::getValue ( ) const
inline
◆ handleDeletion()
void ValueAsMetadata::handleDeletion ( Value * V )
static
◆ handleRAUW()
void ValueAsMetadata::handleRAUW ( Value * From , Value * To )
static
Definition at line 546 of file Metadata.cpp .
References assert() , llvm::CallingConv::C , llvm::dyn_cast() , llvm::ConstantAsMetadata::get() , llvm::Type::getContext() , llvm::Value::getContext() , getLocalFunctionMetadata() , llvm::Value::getType() , getValue() , I , llvm::isa() , llvm::Value::IsUsedByMD , replaceAllUsesWith() , and ValueAsMetadata() .
◆ replaceAllUsesWith()
void llvm::ValueAsMetadata::replaceAllUsesWith ( Metadata * MD )
inlineprotected
◆ LLVMContextImpl
The documentation for this class was generated from the following files: