|
LLVM 23.0.0git
|
#include "Target/DirectX/DXILWriter/DXILValueEnumerator.h"
Public Types | |
| using | TypeList = std::vector<Type *> |
| using | ValueList = std::vector<std::pair<const Value *, unsigned>> |
| using | IndexAndAttrSet = std::pair<unsigned, AttributeSet> |
| Attribute groups as encoded in bitcode are almost AttributeSets, but they include the AttributeList index, so we have to track that in our map. | |
Public Attributes | |
| UseListOrderStack | UseListOrders |
Definition at line 48 of file DXILValueEnumerator.h.
| using llvm::dxil::ValueEnumerator::IndexAndAttrSet = std::pair<unsigned, AttributeSet> |
Attribute groups as encoded in bitcode are almost AttributeSets, but they include the AttributeList index, so we have to track that in our map.
Definition at line 57 of file DXILValueEnumerator.h.
| using llvm::dxil::ValueEnumerator::TypeList = std::vector<Type *> |
Definition at line 50 of file DXILValueEnumerator.h.
| using llvm::dxil::ValueEnumerator::ValueList = std::vector<std::pair<const Value *, unsigned>> |
Definition at line 53 of file DXILValueEnumerator.h.
| ValueEnumerator::ValueEnumerator | ( | const Module & | M, |
| Type * | PrefixType, | ||
| const DXILDebugInfoMap & | DebugInfo ) |
Definition at line 365 of file DXILValueEnumerator.cpp.
References A(), Call, llvm::dyn_cast(), EnumerateType(), F, GEP, llvm::TypedPointerType::get(), llvm::Type::getMetadataTy(), I, llvm::isa(), predictUseListOrder(), and UseListOrders.
Referenced by operator=(), and ValueEnumerator().
|
delete |
References ValueEnumerator().
| uint64_t llvm::dxil::ValueEnumerator::computeBitsRequiredForTypeIndices | ( | ) | const |
| void llvm::dxil::ValueEnumerator::dump | ( | ) | const |
| void llvm::dxil::ValueEnumerator::EnumerateType | ( | Type * | T | ) |
Referenced by ValueEnumerator().
|
inline |
Definition at line 187 of file DXILValueEnumerator.h.
|
inline |
Definition at line 227 of file DXILValueEnumerator.h.
|
inline |
Definition at line 179 of file DXILValueEnumerator.h.
|
inline |
Definition at line 223 of file DXILValueEnumerator.h.
|
inline |
Definition at line 219 of file DXILValueEnumerator.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 231 of file DXILValueEnumerator.h.
Definition at line 886 of file DXILValueEnumerator.cpp.
References llvm::Replace.
Referenced by getMetadataOrNullID().
|
inline |
getFunctionConstantRange - Return the range of values that corresponds to function-local constants.
Definition at line 197 of file DXILValueEnumerator.h.
| unsigned llvm::dxil::ValueEnumerator::getGlobalBasicBlockID | ( | const BasicBlock * | BB | ) | const |
getGlobalBasicBlockID - This returns the function-specific ID for the specified basic block.
This is relatively expensive information, so it should only be used by rare constructs such as address-of-label.
| unsigned llvm::dxil::ValueEnumerator::getInstructionID | ( | const Instruction * | I | ) | const |
References I.
Get the MDString metadata for this block.
Definition at line 208 of file DXILValueEnumerator.h.
References llvm::ArrayRef().
Definition at line 158 of file DXILValueEnumerator.h.
References assert(), and getMetadataOrNullID().
Definition at line 164 of file DXILValueEnumerator.h.
References getDXILMetadata().
Referenced by getMetadataID().
Get the non-MDString metadata for this block.
Definition at line 213 of file DXILValueEnumerator.h.
References llvm::ArrayRef().
Definition at line 170 of file DXILValueEnumerator.h.
Definition at line 217 of file DXILValueEnumerator.h.
Definition at line 202 of file DXILValueEnumerator.h.
|
inline |
Check whether the current block has any metadata to emit.
Definition at line 205 of file DXILValueEnumerator.h.
incorporateFunction/purgeFunction - If you'd like to deal with a function, use these two methods to get its data into the ValueEnumerator!
References F.
|
inline |
Definition at line 168 of file DXILValueEnumerator.h.
|
delete |
References ValueEnumerator().
| void llvm::dxil::ValueEnumerator::print | ( | raw_ostream & | OS, |
| const MetadataMapType & | Map, | ||
| const char * | Name ) const |
| void llvm::dxil::ValueEnumerator::print | ( | raw_ostream & | OS, |
| const ValueMapType & | Map, | ||
| const char * | Name ) const |
| void llvm::dxil::ValueEnumerator::purgeFunction | ( | ) |
| void llvm::dxil::ValueEnumerator::setInstructionID | ( | const Instruction * | I | ) |
References I.
| UseListOrderStack llvm::dxil::ValueEnumerator::UseListOrders |
Definition at line 59 of file DXILValueEnumerator.h.
Referenced by ValueEnumerator().