Lines Matching refs:range_t
78 spirvbin_t::range_t spirvbin_t::literalRange(spv::Op opCode) const in literalRange()
84 case spv::OpTypePointer: return range_t(2, 3); in literalRange()
85 case spv::OpTypeInt: return range_t(2, 4); in literalRange()
88 case spv::OpTypeSampler: return range_t(3, 8); in literalRange()
91 case spv::OpTypePipe: return range_t(3, 4); in literalRange()
92 case spv::OpConstant: return range_t(3, maxCount); in literalRange()
93 default: return range_t(0, 0); in literalRange()
97 spirvbin_t::range_t spirvbin_t::typeRange(spv::Op opCode) const in typeRange()
102 return range_t(1, 2); in typeRange()
110 case spv::OpTypePipe: return range_t(2, 3); in typeRange()
112 case spv::OpTypeFunction: return range_t(2, maxCount); in typeRange()
113 case spv::OpTypePointer: return range_t(3, 4); in typeRange()
114 default: return range_t(0, 0); in typeRange()
118 spirvbin_t::range_t spirvbin_t::constRange(spv::Op opCode) const in constRange()
124 case spv::OpTypeRuntimeArray: return range_t(3, 4); in constRange()
125 case spv::OpConstantComposite: return range_t(3, maxCount); in constRange()
126 default: return range_t(0, 0); in constRange()
470 fnPos[fnRes] = range_t(fnStart, start + asWordCount(start)); in buildLocalMaps()
1219 const auto cmpIdRange = [&](range_t range) { in matchType()