Home
last modified time | relevance | path

Searched refs:multi_mtf_ (Results 1 – 8 of 8) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/comp/
Dmarkv_codec.cpp209 multi_mtf_.Insert(GetMtfFunctionWithReturnType(inst_.type_id), in ProcessCurInstruction()
227 for (uint32_t id : ids_local_to_cur_function_) multi_mtf_.RemoveFromAll(id); in ProcessCurInstruction()
261 multi_mtf_.Insert(GetMtfIdGeneratedByOpcode(opcode), inst_.result_id); in ProcessCurInstruction()
268 multi_mtf_.Insert(kMtfTypeComposite, inst_.result_id); in ProcessCurInstruction()
272 multi_mtf_.InsertOrPromote(kMtfLabel, inst_.result_id); in ProcessCurInstruction()
276 multi_mtf_.Insert(kMtfTypeScalar, inst_.result_id); in ProcessCurInstruction()
277 multi_mtf_.Insert(kMtfTypeIntScalarOrVector, inst_.result_id); in ProcessCurInstruction()
281 multi_mtf_.Insert(kMtfTypeScalar, inst_.result_id); in ProcessCurInstruction()
282 multi_mtf_.Insert(kMtfTypeFloatScalarOrVector, inst_.result_id); in ProcessCurInstruction()
286 multi_mtf_.Insert(kMtfTypeScalar, inst_.result_id); in ProcessCurInstruction()
[all …]
Dmarkv_encoder.cpp193 assert(multi_mtf_.GetSize(mtf) > 0); in EncodeExistingId()
194 if (multi_mtf_.GetSize(mtf) == 1) { in EncodeExistingId()
201 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) in EncodeExistingId()
225 assert(multi_mtf_.HasValue(kMtfAll, id)); in EncodeRefId()
231 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) { in EncodeRefId()
233 multi_mtf_.Insert(kMtfAll, id); in EncodeRefId()
234 multi_mtf_.Insert(kMtfForwardDeclared, id); in EncodeRefId()
235 if (mtf != kMtfAll) multi_mtf_.Insert(mtf, id); in EncodeRefId()
243 if (!multi_mtf_.RankFromValue(kMtfForwardDeclared, id, &rank)) { in EncodeRefId()
245 multi_mtf_.Insert(kMtfForwardDeclared, id); in EncodeRefId()
[all …]
Dmarkv_decoder.cpp168 assert(multi_mtf_.GetSize(mtf) > 0); in DecodeExistingId()
173 if (multi_mtf_.GetSize(mtf) == 1) { in DecodeExistingId()
182 if (!multi_mtf_.ValueFromRank(mtf, rank, id)) in DecodeExistingId()
216 multi_mtf_.Insert(kMtfAll, *id); in DecodeRefId()
217 multi_mtf_.Insert(kMtfForwardDeclared, *id); in DecodeRefId()
218 if (mtf != kMtfAll) multi_mtf_.Insert(mtf, *id); in DecodeRefId()
220 if (!multi_mtf_.ValueFromRank(mtf, rank, id)) in DecodeRefId()
234 multi_mtf_.Insert(kMtfForwardDeclared, *id); in DecodeRefId()
236 if (!multi_mtf_.ValueFromRank(kMtfForwardDeclared, rank, id)) in DecodeRefId()
277 multi_mtf_.GetSize(kMtfForwardDeclared); in DecodeResultId()
[all …]
Dmarkv_codec.h263 multi_mtf_.Promote(id); in PromoteIfNeeded()
284 MultiMoveToFront multi_mtf_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmarkv_codec.cpp209 multi_mtf_.Insert(GetMtfFunctionWithReturnType(inst_.type_id), in ProcessCurInstruction()
227 for (uint32_t id : ids_local_to_cur_function_) multi_mtf_.RemoveFromAll(id); in ProcessCurInstruction()
261 multi_mtf_.Insert(GetMtfIdGeneratedByOpcode(opcode), inst_.result_id); in ProcessCurInstruction()
268 multi_mtf_.Insert(kMtfTypeComposite, inst_.result_id); in ProcessCurInstruction()
272 multi_mtf_.InsertOrPromote(kMtfLabel, inst_.result_id); in ProcessCurInstruction()
276 multi_mtf_.Insert(kMtfTypeScalar, inst_.result_id); in ProcessCurInstruction()
277 multi_mtf_.Insert(kMtfTypeIntScalarOrVector, inst_.result_id); in ProcessCurInstruction()
281 multi_mtf_.Insert(kMtfTypeScalar, inst_.result_id); in ProcessCurInstruction()
282 multi_mtf_.Insert(kMtfTypeFloatScalarOrVector, inst_.result_id); in ProcessCurInstruction()
286 multi_mtf_.Insert(kMtfTypeScalar, inst_.result_id); in ProcessCurInstruction()
[all …]
Dmarkv_encoder.cpp193 assert(multi_mtf_.GetSize(mtf) > 0); in EncodeExistingId()
194 if (multi_mtf_.GetSize(mtf) == 1) { in EncodeExistingId()
201 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) in EncodeExistingId()
225 assert(multi_mtf_.HasValue(kMtfAll, id)); in EncodeRefId()
231 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) { in EncodeRefId()
233 multi_mtf_.Insert(kMtfAll, id); in EncodeRefId()
234 multi_mtf_.Insert(kMtfForwardDeclared, id); in EncodeRefId()
235 if (mtf != kMtfAll) multi_mtf_.Insert(mtf, id); in EncodeRefId()
243 if (!multi_mtf_.RankFromValue(kMtfForwardDeclared, id, &rank)) { in EncodeRefId()
245 multi_mtf_.Insert(kMtfForwardDeclared, id); in EncodeRefId()
[all …]
Dmarkv_decoder.cpp168 assert(multi_mtf_.GetSize(mtf) > 0); in DecodeExistingId()
173 if (multi_mtf_.GetSize(mtf) == 1) { in DecodeExistingId()
182 if (!multi_mtf_.ValueFromRank(mtf, rank, id)) in DecodeExistingId()
216 multi_mtf_.Insert(kMtfAll, *id); in DecodeRefId()
217 multi_mtf_.Insert(kMtfForwardDeclared, *id); in DecodeRefId()
218 if (mtf != kMtfAll) multi_mtf_.Insert(mtf, *id); in DecodeRefId()
220 if (!multi_mtf_.ValueFromRank(mtf, rank, id)) in DecodeRefId()
234 multi_mtf_.Insert(kMtfForwardDeclared, *id); in DecodeRefId()
236 if (!multi_mtf_.ValueFromRank(kMtfForwardDeclared, rank, id)) in DecodeRefId()
277 multi_mtf_.GetSize(kMtfForwardDeclared); in DecodeResultId()
[all …]
Dmarkv_codec.h263 multi_mtf_.Promote(id); in PromoteIfNeeded()
284 MultiMoveToFront multi_mtf_; variable