/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | instrument_pass.cpp | 119 return builder->AddUnaryOp(GetUintId(), SpvOpBitcast, val_32b_id) in GenUintCastCode() 131 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, base_offset_id, in GenDebugOutputFieldCode() 165 GetUintId(), SpvOpCompositeExtract, uint_frag_coord_id, element); in GenFragCoordEltDebugOutputCode() 209 GetUintId(), SpvOpCompositeExtract, load_id, 0); in GenStageStreamWriteCode() 211 GetUintId(), SpvOpCompositeExtract, load_id, 1); in GenStageStreamWriteCode() 213 GetUintId(), SpvOpCompositeExtract, load_id, 2); in GenStageStreamWriteCode() 250 GetUintId(), SpvOpCompositeExtract, uvec3_cast_id, 0); in GenStageStreamWriteCode() 252 GetUintId(), SpvOpCompositeExtract, uvec3_cast_id, 1); in GenStageStreamWriteCode() 279 GetUintId(), SpvOpCompositeExtract, launch_id, 0); in GenStageStreamWriteCode() 281 GetUintId(), SpvOpCompositeExtract, launch_id, 1); in GenStageStreamWriteCode() [all …]
|
D | inst_debug_printf_pass.cpp | 47 GetUintId(), SpvOpSelect, val_inst->result_id(), one_id, zero_id); in GenOutputValues() 70 Instruction* bc_inst = builder->AddUnaryOp(GetUintId(), SpvOpBitcast, in GenOutputValues() 92 GetUintId(), SpvOpUConvert, ui64_inst->result_id()); in GenOutputValues() 97 GetUintId(), SpvOpUConvert, rshift_ui64_inst->result_id()); in GenOutputValues() 111 GetUintId(), SpvOpUConvert, ui8_inst->result_id()); in GenOutputValues() 119 ui32_inst = builder->AddUnaryOp(GetUintId(), SpvOpBitcast, in GenOutputValues()
|
D | inst_buff_addr_check_pass.cpp | 89 builder.AddUnaryOp(GetUintId(), SpvOpUConvert, ref_uptr_id); in GenCheckCode() 93 Instruction* hi_uptr_inst = builder.AddUnaryOp(GetUintId(), SpvOpUConvert, in GenCheckCode() 230 type_mgr->GetType(GetUint64Id()), type_mgr->GetType(GetUintId())}; in GetSearchAndTestFuncId() 246 AddParam(GetUintId(), ¶m_vec, &input_func); in GetSearchAndTestFuncId() 276 context(), SpvOpIAdd, GetUintId(), idx_inc_id, in GetSearchAndTestFuncId() 281 context(), SpvOpPhi, GetUintId(), idx_phi_id, in GetSearchAndTestFuncId() 337 GetUintId(), SpvOpISub, idx_inc_id, builder.GetUintConstantId(1u)); in GetSearchAndTestFuncId() 363 GetUintId(), SpvOpUConvert, len_start_load_inst->result_id()); in GetSearchAndTestFuncId() 366 builder.AddBinaryOp(GetUintId(), SpvOpISub, cand_idx_inst->result_id(), in GetSearchAndTestFuncId() 370 GetUintId(), SpvOpIAdd, cand_len_idx_inst->result_id(), in GetSearchAndTestFuncId()
|
D | inst_bindless_check_pass.cpp | 410 GetUintId(), SpvOpIMul, arr_stride_id, curr_idx_32b_id); in GenLastByteIdx() 433 GetUintId(), SpvOpIMul, col_stride_id, curr_idx_32b_id); in GenLastByteIdx() 446 GetUintId(), SpvOpIMul, matrix_stride_id, curr_idx_32b_id); in GenLastByteIdx() 452 GetUintId(), SpvOpIMul, comp_ty_sz_id, curr_idx_32b_id); in GenLastByteIdx() 507 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, sum_id, curr_offset_id); in GenLastByteIdx() 517 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, sum_id, last_id); in GenLastByteIdx() 760 builder.AddUnaryOp(GetUintId(), SpvOpImageQuerySize, ref.image_id); in GenTexBuffCheckCode()
|
D | instrument_pass.h | 228 uint32_t GetUintId();
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | instrument_pass.cpp | 119 return builder->AddUnaryOp(GetUintId(), SpvOpBitcast, val_32b_id) in GenUintCastCode() 131 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, base_offset_id, in GenDebugOutputFieldCode() 165 GetUintId(), SpvOpCompositeExtract, uint_frag_coord_id, element); in GenFragCoordEltDebugOutputCode() 209 GetUintId(), SpvOpCompositeExtract, load_id, 0); in GenStageStreamWriteCode() 211 GetUintId(), SpvOpCompositeExtract, load_id, 1); in GenStageStreamWriteCode() 213 GetUintId(), SpvOpCompositeExtract, load_id, 2); in GenStageStreamWriteCode() 250 GetUintId(), SpvOpCompositeExtract, uvec3_cast_id, 0); in GenStageStreamWriteCode() 252 GetUintId(), SpvOpCompositeExtract, uvec3_cast_id, 1); in GenStageStreamWriteCode() 279 GetUintId(), SpvOpCompositeExtract, launch_id, 0); in GenStageStreamWriteCode() 281 GetUintId(), SpvOpCompositeExtract, launch_id, 1); in GenStageStreamWriteCode() [all …]
|
D | inst_debug_printf_pass.cpp | 47 GetUintId(), SpvOpSelect, val_inst->result_id(), one_id, zero_id); in GenOutputValues() 70 Instruction* bc_inst = builder->AddUnaryOp(GetUintId(), SpvOpBitcast, in GenOutputValues() 92 GetUintId(), SpvOpUConvert, ui64_inst->result_id()); in GenOutputValues() 97 GetUintId(), SpvOpUConvert, rshift_ui64_inst->result_id()); in GenOutputValues() 111 GetUintId(), SpvOpUConvert, ui8_inst->result_id()); in GenOutputValues() 119 ui32_inst = builder->AddUnaryOp(GetUintId(), SpvOpBitcast, in GenOutputValues()
|
D | inst_buff_addr_check_pass.cpp | 89 builder.AddUnaryOp(GetUintId(), SpvOpUConvert, ref_uptr_id); in GenCheckCode() 93 Instruction* hi_uptr_inst = builder.AddUnaryOp(GetUintId(), SpvOpUConvert, in GenCheckCode() 230 type_mgr->GetType(GetUint64Id()), type_mgr->GetType(GetUintId())}; in GetSearchAndTestFuncId() 246 AddParam(GetUintId(), ¶m_vec, &input_func); in GetSearchAndTestFuncId() 276 context(), SpvOpIAdd, GetUintId(), idx_inc_id, in GetSearchAndTestFuncId() 281 context(), SpvOpPhi, GetUintId(), idx_phi_id, in GetSearchAndTestFuncId() 337 GetUintId(), SpvOpISub, idx_inc_id, builder.GetUintConstantId(1u)); in GetSearchAndTestFuncId() 363 GetUintId(), SpvOpUConvert, len_start_load_inst->result_id()); in GetSearchAndTestFuncId() 366 builder.AddBinaryOp(GetUintId(), SpvOpISub, cand_idx_inst->result_id(), in GetSearchAndTestFuncId() 370 GetUintId(), SpvOpIAdd, cand_len_idx_inst->result_id(), in GetSearchAndTestFuncId()
|
D | inst_bindless_check_pass.cpp | 410 GetUintId(), SpvOpIMul, arr_stride_id, curr_idx_32b_id); in GenLastByteIdx() 433 GetUintId(), SpvOpIMul, col_stride_id, curr_idx_32b_id); in GenLastByteIdx() 446 GetUintId(), SpvOpIMul, matrix_stride_id, curr_idx_32b_id); in GenLastByteIdx() 452 GetUintId(), SpvOpIMul, comp_ty_sz_id, curr_idx_32b_id); in GenLastByteIdx() 507 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, sum_id, curr_offset_id); in GenLastByteIdx() 517 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, sum_id, last_id); in GenLastByteIdx() 760 builder.AddUnaryOp(GetUintId(), SpvOpImageQuerySize, ref.image_id); in GenTexBuffCheckCode()
|
D | instrument_pass.h | 228 uint32_t GetUintId();
|
/third_party/spirv-tools/source/opt/ |
D | instrument_pass.cpp | 164 return builder->AddUnaryOp(GetUintId(), SpvOpBitcast, val_32b_id) in GenUintCastCode() 176 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, base_offset_id, in GenDebugOutputFieldCode() 210 GetUintId(), SpvOpCompositeExtract, uint_frag_coord_id, element); in GenFragCoordEltDebugOutputCode() 256 GetUintId(), SpvOpCompositeExtract, load_id, 0); in GenStageStreamWriteCode() 258 GetUintId(), SpvOpCompositeExtract, load_id, 1); in GenStageStreamWriteCode() 260 GetUintId(), SpvOpCompositeExtract, load_id, 2); in GenStageStreamWriteCode() 297 GetUintId(), SpvOpCompositeExtract, uvec3_cast_id, 0); in GenStageStreamWriteCode() 299 GetUintId(), SpvOpCompositeExtract, uvec3_cast_id, 1); in GenStageStreamWriteCode() 326 GetUintId(), SpvOpCompositeExtract, launch_id, 0); in GenStageStreamWriteCode() 328 GetUintId(), SpvOpCompositeExtract, launch_id, 1); in GenStageStreamWriteCode() [all …]
|
D | inst_debug_printf_pass.cpp | 48 GetUintId(), SpvOpSelect, val_inst->result_id(), one_id, zero_id); in GenOutputValues() 71 Instruction* bc_inst = builder->AddUnaryOp(GetUintId(), SpvOpBitcast, in GenOutputValues() 93 GetUintId(), SpvOpUConvert, ui64_inst->result_id()); in GenOutputValues() 98 GetUintId(), SpvOpUConvert, rshift_ui64_inst->result_id()); in GenOutputValues() 112 GetUintId(), SpvOpUConvert, ui8_inst->result_id()); in GenOutputValues() 120 ui32_inst = builder->AddUnaryOp(GetUintId(), SpvOpBitcast, in GenOutputValues()
|
D | inst_buff_addr_check_pass.cpp | 89 builder.AddUnaryOp(GetUintId(), SpvOpUConvert, ref_uptr_id); in GenCheckCode() 93 Instruction* hi_uptr_inst = builder.AddUnaryOp(GetUintId(), SpvOpUConvert, in GenCheckCode() 230 type_mgr->GetType(GetUint64Id()), type_mgr->GetType(GetUintId())}; in GetSearchAndTestFuncId() 246 AddParam(GetUintId(), ¶m_vec, &input_func); in GetSearchAndTestFuncId() 276 context(), SpvOpIAdd, GetUintId(), idx_inc_id, in GetSearchAndTestFuncId() 281 context(), SpvOpPhi, GetUintId(), idx_phi_id, in GetSearchAndTestFuncId() 337 GetUintId(), SpvOpISub, idx_inc_id, builder.GetUintConstantId(1u)); in GetSearchAndTestFuncId() 363 GetUintId(), SpvOpUConvert, len_start_load_inst->result_id()); in GetSearchAndTestFuncId() 366 builder.AddBinaryOp(GetUintId(), SpvOpISub, cand_idx_inst->result_id(), in GetSearchAndTestFuncId() 370 GetUintId(), SpvOpIAdd, cand_len_idx_inst->result_id(), in GetSearchAndTestFuncId()
|
D | inst_bindless_check_pass.cpp | 403 GetUintId(), SpvOpIMul, arr_stride_id, curr_idx_32b_id); in GenLastByteIdx() 426 GetUintId(), SpvOpIMul, col_stride_id, curr_idx_32b_id); in GenLastByteIdx() 439 GetUintId(), SpvOpIMul, matrix_stride_id, curr_idx_32b_id); in GenLastByteIdx() 445 GetUintId(), SpvOpIMul, comp_ty_sz_id, curr_idx_32b_id); in GenLastByteIdx() 500 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, sum_id, curr_offset_id); in GenLastByteIdx() 510 builder->AddBinaryOp(GetUintId(), SpvOpIAdd, sum_id, last_id); in GenLastByteIdx() 753 builder.AddUnaryOp(GetUintId(), SpvOpImageQuerySize, ref.image_id); in GenTexBuffCheckCode()
|
D | instrument_pass.h | 241 uint32_t GetUintId();
|