Home
last modified time | relevance | path

Searched refs:load_id (Results 1 – 23 of 23) sorted by relevance

/third_party/mesa3d/src/intel/vulkan/
Danv_nir_add_base_work_group_id.c36 nir_intrinsic_instr *load_id = nir_instr_as_intrinsic(instr); in anv_nir_add_base_work_group_id_instr() local
37 if (load_id->intrinsic != nir_intrinsic_load_workgroup_id) in anv_nir_add_base_work_group_id_instr()
40 b->cursor = nir_after_instr(&load_id->instr); in anv_nir_add_base_work_group_id_instr()
47 nir_ssa_def *id = nir_iadd(b, &load_id->dest.ssa, load_base); in anv_nir_add_base_work_group_id_instr()
49 nir_ssa_def_rewrite_uses_after(&load_id->dest.ssa, id, id->parent_instr); in anv_nir_add_base_work_group_id_instr()
/third_party/spirv-tools/source/opt/
Dssa_rewrite_pass.cpp403 uint32_t load_id = inst->result_id(); in ProcessLoad() local
404 assert(load_replacement_.count(load_id) == 0); in ProcessLoad()
405 load_replacement_[load_id] = val_id; in ProcessLoad()
408 defining_phi->AddUser(load_id); in ProcessLoad()
414 << " (replacement for %" << load_id << " is %" << val_id << ")\n"; in ProcessLoad()
582 uint32_t load_id = repl.first; in ApplyReplacements() local
585 pass_->context()->get_def_use_mgr()->GetDef(load_id); in ApplyReplacements()
591 << " (%" << load_id << " -> %" << val_id << ")\n"; in ApplyReplacements()
598 pass_->context()->KillNamesAndDecorates(load_id); in ApplyReplacements()
599 pass_->context()->ReplaceAllUsesWith(load_id, val_id); in ApplyReplacements()
Ddesc_sroa.cpp401 uint32_t load_id = TakeNextId(); in ReplaceCompositeExtract() local
403 new Instruction(context(), SpvOpLoad, extract->type_id(), load_id, in ReplaceCompositeExtract()
410 context()->ReplaceAllUsesWith(extract->result_id(), load_id); in ReplaceCompositeExtract()
Dinstrument_pass.cpp228 uint32_t load_id = GenVarLoad(builtin_id, builder); in GenBuiltinOutputCode() local
229 GenDebugOutputFieldCode(base_offset_id, builtin_off, load_id, builder); in GenBuiltinOutputCode()
252 uint32_t load_id = GenVarLoad( in GenStageStreamWriteCode() local
256 GetUintId(), SpvOpCompositeExtract, load_id, 0); in GenStageStreamWriteCode()
258 GetUintId(), SpvOpCompositeExtract, load_id, 1); in GenStageStreamWriteCode()
260 GetUintId(), SpvOpCompositeExtract, load_id, 2); in GenStageStreamWriteCode()
291 uint32_t load_id = GenVarLoad( in GenStageStreamWriteCode() local
294 builder->AddUnaryOp(GetVec3UintId(), SpvOpBitcast, load_id); in GenStageStreamWriteCode()
Dinst_bindless_check_pass.h129 uint32_t load_id; member
Dmerge_return_pass.cpp506 uint32_t load_id = in BreakFromConstruct() local
510 builder.AddConditionalBranch(load_id, merge_block->id(), old_body->id(), in BreakFromConstruct()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dssa_rewrite_pass.cpp404 uint32_t load_id = inst->result_id(); in ProcessLoad() local
405 assert(load_replacement_.count(load_id) == 0); in ProcessLoad()
406 load_replacement_[load_id] = val_id; in ProcessLoad()
409 defining_phi->AddUser(load_id); in ProcessLoad()
415 << " (replacement for %" << load_id << " is %" << val_id << ")\n"; in ProcessLoad()
583 uint32_t load_id = repl.first; in ApplyReplacements() local
586 pass_->context()->get_def_use_mgr()->GetDef(load_id); in ApplyReplacements()
592 << " (%" << load_id << " -> %" << val_id << ")\n"; in ApplyReplacements()
599 pass_->context()->KillNamesAndDecorates(load_id); in ApplyReplacements()
600 pass_->context()->ReplaceAllUsesWith(load_id, val_id); in ApplyReplacements()
Ddesc_sroa.cpp401 uint32_t load_id = TakeNextId(); in ReplaceCompositeExtract() local
403 new Instruction(context(), SpvOpLoad, extract->type_id(), load_id, in ReplaceCompositeExtract()
410 context()->ReplaceAllUsesWith(extract->result_id(), load_id); in ReplaceCompositeExtract()
Dinstrument_pass.cpp183 uint32_t load_id = GenVarLoad(builtin_id, builder); in GenBuiltinOutputCode() local
184 GenDebugOutputFieldCode(base_offset_id, builtin_off, load_id, builder); in GenBuiltinOutputCode()
205 uint32_t load_id = GenVarLoad( in GenStageStreamWriteCode() local
209 GetUintId(), SpvOpCompositeExtract, load_id, 0); in GenStageStreamWriteCode()
211 GetUintId(), SpvOpCompositeExtract, load_id, 1); in GenStageStreamWriteCode()
213 GetUintId(), SpvOpCompositeExtract, load_id, 2); in GenStageStreamWriteCode()
244 uint32_t load_id = GenVarLoad( in GenStageStreamWriteCode() local
247 builder->AddUnaryOp(GetVec3UintId(), SpvOpBitcast, load_id); in GenStageStreamWriteCode()
Dinst_bindless_check_pass.h129 uint32_t load_id; member
Dmerge_return_pass.cpp505 uint32_t load_id = in BreakFromConstruct() local
509 builder.AddConditionalBranch(load_id, merge_block->id(), old_body->id(), in BreakFromConstruct()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dssa_rewrite_pass.cpp404 uint32_t load_id = inst->result_id(); in ProcessLoad() local
405 assert(load_replacement_.count(load_id) == 0); in ProcessLoad()
406 load_replacement_[load_id] = val_id; in ProcessLoad()
409 defining_phi->AddUser(load_id); in ProcessLoad()
415 << " (replacement for %" << load_id << " is %" << val_id << ")\n"; in ProcessLoad()
583 uint32_t load_id = repl.first; in ApplyReplacements() local
586 pass_->context()->get_def_use_mgr()->GetDef(load_id); in ApplyReplacements()
592 << " (%" << load_id << " -> %" << val_id << ")\n"; in ApplyReplacements()
599 pass_->context()->KillNamesAndDecorates(load_id); in ApplyReplacements()
600 pass_->context()->ReplaceAllUsesWith(load_id, val_id); in ApplyReplacements()
Ddesc_sroa.cpp400 uint32_t load_id = TakeNextId(); in ReplaceCompositeExtract() local
402 new Instruction(context(), SpvOpLoad, extract->type_id(), load_id, in ReplaceCompositeExtract()
409 context()->ReplaceAllUsesWith(extract->result_id(), load_id); in ReplaceCompositeExtract()
Dinstrument_pass.cpp183 uint32_t load_id = GenVarLoad(builtin_id, builder); in GenBuiltinOutputCode() local
184 GenDebugOutputFieldCode(base_offset_id, builtin_off, load_id, builder); in GenBuiltinOutputCode()
205 uint32_t load_id = GenVarLoad( in GenStageStreamWriteCode() local
209 GetUintId(), SpvOpCompositeExtract, load_id, 0); in GenStageStreamWriteCode()
211 GetUintId(), SpvOpCompositeExtract, load_id, 1); in GenStageStreamWriteCode()
213 GetUintId(), SpvOpCompositeExtract, load_id, 2); in GenStageStreamWriteCode()
244 uint32_t load_id = GenVarLoad( in GenStageStreamWriteCode() local
247 builder->AddUnaryOp(GetVec3UintId(), SpvOpBitcast, load_id); in GenStageStreamWriteCode()
Dinst_bindless_check_pass.h129 uint32_t load_id; member
Dmerge_return_pass.cpp505 uint32_t load_id = in BreakFromConstruct() local
509 builder.AddConditionalBranch(load_id, merge_block->id(), old_body->id(), in BreakFromConstruct()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_function.cpp86 loop_limiter_info.load_id(), ir_context, in IsApplicable()
617 loop_limiter_info.load_id(), in TryToAddLoopLimiters()
627 {{SPV_OPERAND_TYPE_ID, {loop_limiter_info.load_id()}}, in TryToAddLoopLimiters()
648 {{SPV_OPERAND_TYPE_ID, {loop_limiter_info.load_id()}}, in TryToAddLoopLimiters()
714 fuzzerutil::UpdateModuleIdBound(ir_context, loop_limiter_info.load_id()); in TryToAddLoopLimiters()
941 result.insert(loop_limiter_info.load_id()); in GetFreshIds()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_function.cpp86 loop_limiter_info.load_id(), ir_context, in IsApplicable()
617 loop_limiter_info.load_id(), in TryToAddLoopLimiters()
627 {{SPV_OPERAND_TYPE_ID, {loop_limiter_info.load_id()}}, in TryToAddLoopLimiters()
648 {{SPV_OPERAND_TYPE_ID, {loop_limiter_info.load_id()}}, in TryToAddLoopLimiters()
714 fuzzerutil::UpdateModuleIdBound(ir_context, loop_limiter_info.load_id()); in TryToAddLoopLimiters()
941 result.insert(loop_limiter_info.load_id()); in GetFreshIds()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_function.cpp86 loop_limiter_info.load_id(), ir_context, in IsApplicable()
617 loop_limiter_info.load_id(), in TryToAddLoopLimiters()
627 {{SPV_OPERAND_TYPE_ID, {loop_limiter_info.load_id()}}, in TryToAddLoopLimiters()
648 {{SPV_OPERAND_TYPE_ID, {loop_limiter_info.load_id()}}, in TryToAddLoopLimiters()
714 fuzzerutil::UpdateModuleIdBound(ir_context, loop_limiter_info.load_id()); in TryToAddLoopLimiters()
941 result.insert(loop_limiter_info.load_id()); in GetFreshIds()
/third_party/gn/src/gn/
Dloader.cc105 LoadID load_id(file, toolchain_name); in Load() local
106 if (!invocations_.insert(load_id).second) in Load()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto445 uint32 load_id = 2; field
/third_party/spirv-tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto445 uint32 load_id = 2; field
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto445 uint32 load_id = 2; field