Home
last modified time | relevance | path

Searched refs:VersionMD (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyMetadata.cpp61 for (auto *VersionMD : NamedMD->operands()) { in unifyVersionMD() local
62 assert(VersionMD->getNumOperands() == 2); in unifyVersionMD()
63 auto CMajor = mdconst::extract<ConstantInt>(VersionMD->getOperand(0)); in unifyVersionMD()
65 auto CMinor = mdconst::extract<ConstantInt>(VersionMD->getOperand(1)); in unifyVersionMD()
70 MaxMD = VersionMD; in unifyVersionMD()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVModuleAnalysis.cpp172 auto VersionMD = VerNode->getOperand(0); in setBaseInfo() local
173 unsigned MajorNum = getMetadataUInt(VersionMD, 0, 2); in setBaseInfo()
174 unsigned MinorNum = getMetadataUInt(VersionMD, 1); in setBaseInfo()
175 unsigned RevNum = getMetadataUInt(VersionMD, 2); in setBaseInfo()