Home
last modified time | relevance | path

Searched refs:def_use_mgr (Results 1 – 25 of 105) sorted by relevance

12345

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconvert_to_sampled_image_pass.cpp69 Instruction* GetNonCopyObjectDef(analysis::DefUseManager* def_use_mgr, in GetNonCopyObjectDef() argument
71 Instruction* inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef()
74 inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef()
209 auto* def_use_mgr = context()->get_def_use_mgr(); in FindUses() local
210 def_use_mgr->ForEachUser(inst, [uses, user_opcode, this](Instruction* user) { in FindUses()
221 auto* def_use_mgr = context()->get_def_use_mgr(); in FindUsesOfImage() local
222 def_use_mgr->ForEachUser(image, [uses, this](Instruction* user) { in FindUsesOfImage()
284 auto* def_use_mgr = context()->get_def_use_mgr(); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding() local
286 auto* sampler_load = def_use_mgr->GetDef(sampler_id); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding()
288 auto* sampler = def_use_mgr->GetDef(sampler_load->GetSingleWordInOperand(0u)); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding()
[all …]
Dinterface_var_sroa.cpp41 uint32_t GetArrayLength(analysis::DefUseManager* def_use_mgr, in GetArrayLength() argument
46 Instruction* array_length_inst = def_use_mgr->GetDef(const_int_id); in GetArrayLength()
53 Instruction* GetArrayElementType(analysis::DefUseManager* def_use_mgr, in GetArrayElementType() argument
58 return def_use_mgr->GetDef(elem_type_id); in GetArrayElementType()
62 Instruction* GetMatrixColumnType(analysis::DefUseManager* def_use_mgr, in GetMatrixColumnType() argument
67 return def_use_mgr->GetDef(column_type_id); in GetMatrixColumnType()
73 uint32_t GetComponentTypeOfArrayMatrix(analysis::DefUseManager* def_use_mgr, in GetComponentTypeOfArrayMatrix() argument
78 Instruction* type_inst = def_use_mgr->GetDef(type_id); in GetComponentTypeOfArrayMatrix()
82 return GetComponentTypeOfArrayMatrix(def_use_mgr, elem_type_id, in GetComponentTypeOfArrayMatrix()
89 return GetComponentTypeOfArrayMatrix(def_use_mgr, column_type_id, in GetComponentTypeOfArrayMatrix()
[all …]
Dvector_dce.cpp100 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkExtractUseAsLive() local
103 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkExtractUseAsLive()
125 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkInsertUsesAsLive() local
134 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkInsertUsesAsLive()
148 Instruction* obj_operand_inst = def_use_mgr->GetDef(obj_operand_id); in MarkInsertUsesAsLive()
159 Instruction* object_inst = def_use_mgr->GetDef(object_id); in MarkInsertUsesAsLive()
172 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkVectorShuffleUsesAsLive() local
176 def_use_mgr->GetDef(current_item.instruction->GetSingleWordInOperand(0)); in MarkVectorShuffleUsesAsLive()
179 def_use_mgr->GetDef(current_item.instruction->GetSingleWordInOperand(1)); in MarkVectorShuffleUsesAsLive()
206 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkCompositeContructUsesAsLive() local
[all …]
Dloop_unswitch_pass.cpp95 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBasicBlock() local
102 def_use_mgr->AnalyzeInstDef(bb->GetLabelInst()); in CreateBasicBlock()
147 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in PerformUnswitch() local
176 def_use_mgr->AnalyzeInstDef(loop_merge_block->GetLabelInst()); in PerformUnswitch()
245 def_use_mgr->AnalyzeInstDef(loop_pre_header->GetLabelInst()); in PerformUnswitch()
289 def_use_mgr->GetDef(iv_condition->GetOperand(0).words[0]); in PerformUnswitch()
454 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in SpecializeLoop() local
460 def_use_mgr->ForEachUse(to_version_insn, in SpecializeLoop()
485 def_use_mgr->AnalyzeInstUse(inst); in SpecializeLoop()
494 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in IsDynamicallyUniform() local
[all …]
Dloop_peeling.cpp51 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in DuplicateAndConnectLoop() local
132 loop_->GetHeaderBlock()->ForEachPhiInst([cloned_loop_exit, def_use_mgr, in DuplicateAndConnectLoop()
141 def_use_mgr->AnalyzeInstUse(phi); in DuplicateAndConnectLoop()
199 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in GetIteratorUpdateOperations() local
201 iterator->ForEachInId([def_use_mgr, loop, operations, this](uint32_t* id) { in GetIteratorUpdateOperations()
202 Instruction* insn = def_use_mgr->GetDef(*id); in GetIteratorUpdateOperations()
264 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in GetIteratingExitValues() local
273 [condition_block_id, def_use_mgr, this](Instruction* phi) { in GetIteratingExitValues()
279 def_use_mgr->GetDef(phi->GetSingleWordInOperand(i)); in GetIteratingExitValues()
347 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBlockBefore() local
[all …]
Dreduce_load_size.cpp52 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ReplaceExtract() local
58 Instruction* composite_inst = def_use_mgr->GetDef(composite_id); in ReplaceExtract()
120 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ShouldReplaceExtract() local
121 Instruction* op_inst = def_use_mgr->GetDef( in ShouldReplaceExtract()
137 !def_use_mgr->WhileEachUser(op_inst, [&elements_used](Instruction* use) { in ShouldReplaceExtract()
Deliminate_dead_io_components_pass.cpp61 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in Process() local
104 Instruction* arr_len_inst = def_use_mgr->GetDef(arr_len_id); in Process()
136 auto type_inst = def_use_mgr->GetDef(type_id); in Process()
193 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ChangeArrayLength() local
206 def_use_mgr->AnalyzeInstUse(&arr_var); in ChangeArrayLength()
251 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ChangeIOVarStructLength() local
252 def_use_mgr->AnalyzeInstUse(&io_var); in ChangeIOVarStructLength()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconvert_to_sampled_image_pass.cpp69 Instruction* GetNonCopyObjectDef(analysis::DefUseManager* def_use_mgr, in GetNonCopyObjectDef() argument
71 Instruction* inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef()
74 inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef()
209 auto* def_use_mgr = context()->get_def_use_mgr(); in FindUses() local
210 def_use_mgr->ForEachUser(inst, [uses, user_opcode, this](Instruction* user) { in FindUses()
221 auto* def_use_mgr = context()->get_def_use_mgr(); in FindUsesOfImage() local
222 def_use_mgr->ForEachUser(image, [uses, this](Instruction* user) { in FindUsesOfImage()
284 auto* def_use_mgr = context()->get_def_use_mgr(); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding() local
286 auto* sampler_load = def_use_mgr->GetDef(sampler_id); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding()
288 auto* sampler = def_use_mgr->GetDef(sampler_load->GetSingleWordInOperand(0u)); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding()
[all …]
Dinterface_var_sroa.cpp41 uint32_t GetArrayLength(analysis::DefUseManager* def_use_mgr, in GetArrayLength() argument
46 Instruction* array_length_inst = def_use_mgr->GetDef(const_int_id); in GetArrayLength()
53 Instruction* GetArrayElementType(analysis::DefUseManager* def_use_mgr, in GetArrayElementType() argument
58 return def_use_mgr->GetDef(elem_type_id); in GetArrayElementType()
62 Instruction* GetMatrixColumnType(analysis::DefUseManager* def_use_mgr, in GetMatrixColumnType() argument
67 return def_use_mgr->GetDef(column_type_id); in GetMatrixColumnType()
73 uint32_t GetComponentTypeOfArrayMatrix(analysis::DefUseManager* def_use_mgr, in GetComponentTypeOfArrayMatrix() argument
78 Instruction* type_inst = def_use_mgr->GetDef(type_id); in GetComponentTypeOfArrayMatrix()
82 return GetComponentTypeOfArrayMatrix(def_use_mgr, elem_type_id, in GetComponentTypeOfArrayMatrix()
89 return GetComponentTypeOfArrayMatrix(def_use_mgr, column_type_id, in GetComponentTypeOfArrayMatrix()
[all …]
Dvector_dce.cpp100 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkExtractUseAsLive() local
103 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkExtractUseAsLive()
125 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkInsertUsesAsLive() local
134 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkInsertUsesAsLive()
148 Instruction* obj_operand_inst = def_use_mgr->GetDef(obj_operand_id); in MarkInsertUsesAsLive()
159 Instruction* object_inst = def_use_mgr->GetDef(object_id); in MarkInsertUsesAsLive()
172 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkVectorShuffleUsesAsLive() local
176 def_use_mgr->GetDef(current_item.instruction->GetSingleWordInOperand(0)); in MarkVectorShuffleUsesAsLive()
179 def_use_mgr->GetDef(current_item.instruction->GetSingleWordInOperand(1)); in MarkVectorShuffleUsesAsLive()
206 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkCompositeContructUsesAsLive() local
[all …]
Dliveness.cpp128 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in GetComponentType() local
129 Instruction* agg_type_inst = def_use_mgr->GetDef(agg_type_id); in GetComponentType()
176 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in AnalyzeAccessChainLoc() local
188 ac->WhileEachInOperand([this, &ocnt, def_use_mgr, deco_mgr, &curr_type_id, in AnalyzeAccessChainLoc()
193 Instruction* curr_type_inst = def_use_mgr->GetDef(curr_type_id); in AnalyzeAccessChainLoc()
204 auto idx_inst = def_use_mgr->GetDef(*opnd); in AnalyzeAccessChainLoc()
295 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ComputeLiveness() local
301 Instruction* var_type_inst = def_use_mgr->GetDef(var.type_id()); in ComputeLiveness()
320 Instruction* pte_type_inst = def_use_mgr->GetDef(pte_type_id); in ComputeLiveness()
323 Instruction* arr_elt_type = def_use_mgr->GetDef(array_elt_type_id); in ComputeLiveness()
[all …]
Dloop_unswitch_pass.cpp95 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBasicBlock() local
102 def_use_mgr->AnalyzeInstDef(bb->GetLabelInst()); in CreateBasicBlock()
147 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in PerformUnswitch() local
176 def_use_mgr->AnalyzeInstDef(loop_merge_block->GetLabelInst()); in PerformUnswitch()
245 def_use_mgr->AnalyzeInstDef(loop_pre_header->GetLabelInst()); in PerformUnswitch()
289 def_use_mgr->GetDef(iv_condition->GetOperand(0).words[0]); in PerformUnswitch()
454 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in SpecializeLoop() local
460 def_use_mgr->ForEachUse(to_version_insn, in SpecializeLoop()
485 def_use_mgr->AnalyzeInstUse(inst); in SpecializeLoop()
494 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in IsDynamicallyUniform() local
[all …]
Dloop_peeling.cpp51 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in DuplicateAndConnectLoop() local
132 loop_->GetHeaderBlock()->ForEachPhiInst([cloned_loop_exit, def_use_mgr, in DuplicateAndConnectLoop()
141 def_use_mgr->AnalyzeInstUse(phi); in DuplicateAndConnectLoop()
199 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in GetIteratorUpdateOperations() local
201 iterator->ForEachInId([def_use_mgr, loop, operations, this](uint32_t* id) { in GetIteratorUpdateOperations()
202 Instruction* insn = def_use_mgr->GetDef(*id); in GetIteratorUpdateOperations()
264 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in GetIteratingExitValues() local
273 [condition_block_id, def_use_mgr, this](Instruction* phi) { in GetIteratingExitValues()
279 def_use_mgr->GetDef(phi->GetSingleWordInOperand(i)); in GetIteratingExitValues()
347 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBlockBefore() local
[all …]
Dreduce_load_size.cpp52 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ReplaceExtract() local
58 Instruction* composite_inst = def_use_mgr->GetDef(composite_id); in ReplaceExtract()
120 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ShouldReplaceExtract() local
121 Instruction* op_inst = def_use_mgr->GetDef( in ShouldReplaceExtract()
137 !def_use_mgr->WhileEachUser(op_inst, [&elements_used](Instruction* use) { in ShouldReplaceExtract()
Deliminate_dead_io_components_pass.cpp61 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in Process() local
104 Instruction* arr_len_inst = def_use_mgr->GetDef(arr_len_id); in Process()
136 auto type_inst = def_use_mgr->GetDef(type_id); in Process()
193 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ChangeArrayLength() local
206 def_use_mgr->AnalyzeInstUse(&arr_var); in ChangeArrayLength()
251 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ChangeIOVarStructLength() local
252 def_use_mgr->AnalyzeInstUse(&io_var); in ChangeIOVarStructLength()
Dtrim_capabilities_pass.cpp65 const auto* def_use_mgr = instruction->context()->get_def_use_mgr(); in DFSWhile() local
68 const Instruction* item = def_use_mgr->GetDef(instructions_to_visit.top()); in DFSWhile()
333 const auto* def_use_mgr = instruction->context()->get_def_use_mgr(); in Handler_OpImageRead_StorageImageReadWithoutFormat() local
337 const uint32_t type_index = def_use_mgr->GetDef(image_index)->type_id(); in Handler_OpImageRead_StorageImageReadWithoutFormat()
338 const Instruction* type = def_use_mgr->GetDef(type_index); in Handler_OpImageRead_StorageImageReadWithoutFormat()
357 const auto* def_use_mgr = instruction->context()->get_def_use_mgr(); in Handler_OpImageWrite_StorageImageWriteWithoutFormat() local
361 const uint32_t type_index = def_use_mgr->GetDef(image_index)->type_id(); in Handler_OpImageWrite_StorageImageWriteWithoutFormat()
364 const Instruction* type = def_use_mgr->GetDef(type_index); in Handler_OpImageWrite_StorageImageWriteWithoutFormat()
377 const auto* def_use_mgr = instruction->context()->get_def_use_mgr(); in Handler_OpImageSparseRead_StorageImageReadWithoutFormat() local
381 const uint32_t type_index = def_use_mgr->GetDef(image_index)->type_id(); in Handler_OpImageSparseRead_StorageImageReadWithoutFormat()
[all …]
/external/angle/third_party/spirv-tools/src/source/opt/
Dconvert_to_sampled_image_pass.cpp69 Instruction* GetNonCopyObjectDef(analysis::DefUseManager* def_use_mgr, in GetNonCopyObjectDef() argument
71 Instruction* inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef()
74 inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef()
209 auto* def_use_mgr = context()->get_def_use_mgr(); in FindUses() local
210 def_use_mgr->ForEachUser(inst, [uses, user_opcode, this](Instruction* user) { in FindUses()
221 auto* def_use_mgr = context()->get_def_use_mgr(); in FindUsesOfImage() local
222 def_use_mgr->ForEachUser(image, [uses, this](Instruction* user) { in FindUsesOfImage()
284 auto* def_use_mgr = context()->get_def_use_mgr(); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding() local
286 auto* sampler_load = def_use_mgr->GetDef(sampler_id); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding()
288 auto* sampler = def_use_mgr->GetDef(sampler_load->GetSingleWordInOperand(0u)); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding()
[all …]
Dinterface_var_sroa.cpp41 uint32_t GetArrayLength(analysis::DefUseManager* def_use_mgr, in GetArrayLength() argument
46 Instruction* array_length_inst = def_use_mgr->GetDef(const_int_id); in GetArrayLength()
53 Instruction* GetArrayElementType(analysis::DefUseManager* def_use_mgr, in GetArrayElementType() argument
58 return def_use_mgr->GetDef(elem_type_id); in GetArrayElementType()
62 Instruction* GetMatrixColumnType(analysis::DefUseManager* def_use_mgr, in GetMatrixColumnType() argument
67 return def_use_mgr->GetDef(column_type_id); in GetMatrixColumnType()
73 uint32_t GetComponentTypeOfArrayMatrix(analysis::DefUseManager* def_use_mgr, in GetComponentTypeOfArrayMatrix() argument
78 Instruction* type_inst = def_use_mgr->GetDef(type_id); in GetComponentTypeOfArrayMatrix()
82 return GetComponentTypeOfArrayMatrix(def_use_mgr, elem_type_id, in GetComponentTypeOfArrayMatrix()
89 return GetComponentTypeOfArrayMatrix(def_use_mgr, column_type_id, in GetComponentTypeOfArrayMatrix()
[all …]
Dvector_dce.cpp100 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkExtractUseAsLive() local
103 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkExtractUseAsLive()
125 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkInsertUsesAsLive() local
134 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkInsertUsesAsLive()
148 Instruction* obj_operand_inst = def_use_mgr->GetDef(obj_operand_id); in MarkInsertUsesAsLive()
159 Instruction* object_inst = def_use_mgr->GetDef(object_id); in MarkInsertUsesAsLive()
172 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkVectorShuffleUsesAsLive() local
176 def_use_mgr->GetDef(current_item.instruction->GetSingleWordInOperand(0)); in MarkVectorShuffleUsesAsLive()
179 def_use_mgr->GetDef(current_item.instruction->GetSingleWordInOperand(1)); in MarkVectorShuffleUsesAsLive()
206 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in MarkCompositeContructUsesAsLive() local
[all …]
Dliveness.cpp128 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in GetComponentType() local
129 Instruction* agg_type_inst = def_use_mgr->GetDef(agg_type_id); in GetComponentType()
176 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in AnalyzeAccessChainLoc() local
188 ac->WhileEachInOperand([this, &ocnt, def_use_mgr, deco_mgr, &curr_type_id, in AnalyzeAccessChainLoc()
193 Instruction* curr_type_inst = def_use_mgr->GetDef(curr_type_id); in AnalyzeAccessChainLoc()
204 auto idx_inst = def_use_mgr->GetDef(*opnd); in AnalyzeAccessChainLoc()
295 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ComputeLiveness() local
301 Instruction* var_type_inst = def_use_mgr->GetDef(var.type_id()); in ComputeLiveness()
320 Instruction* pte_type_inst = def_use_mgr->GetDef(pte_type_id); in ComputeLiveness()
323 Instruction* arr_elt_type = def_use_mgr->GetDef(array_elt_type_id); in ComputeLiveness()
[all …]
Dresolve_binding_conflicts_pass.cpp91 auto* def_use_mgr = lhs->var->context()->get_def_use_mgr(); in Less() local
95 auto unwrap = [&def_use_mgr](Instruction* ty) { in Less()
100 ty = def_use_mgr->GetDef(ty->GetSingleWordInOperand(1)); in Less()
104 ty = def_use_mgr->GetDef(ty->GetSingleWordInOperand(0)); in Less()
114 auto* lhs_ty = unwrap(def_use_mgr->GetDef(lhs->var->type_id())); in Less()
115 auto* rhs_ty = unwrap(def_use_mgr->GetDef(rhs->var->type_id())); in Less()
263 auto* def_use_mgr = context()->get_def_use_mgr(); in Process() local
266 def_use_mgr->ForEachUser(var.var, [&](Instruction* user) { in Process()
Dloop_unswitch_pass.cpp95 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBasicBlock() local
102 def_use_mgr->AnalyzeInstDef(bb->GetLabelInst()); in CreateBasicBlock()
147 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in PerformUnswitch() local
176 def_use_mgr->AnalyzeInstDef(loop_merge_block->GetLabelInst()); in PerformUnswitch()
245 def_use_mgr->AnalyzeInstDef(loop_pre_header->GetLabelInst()); in PerformUnswitch()
289 def_use_mgr->GetDef(iv_condition->GetOperand(0).words[0]); in PerformUnswitch()
454 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in SpecializeLoop() local
460 def_use_mgr->ForEachUse(to_version_insn, in SpecializeLoop()
485 def_use_mgr->AnalyzeInstUse(inst); in SpecializeLoop()
494 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in IsDynamicallyUniform() local
[all …]
Dloop_peeling.cpp51 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in DuplicateAndConnectLoop() local
132 loop_->GetHeaderBlock()->ForEachPhiInst([cloned_loop_exit, def_use_mgr, in DuplicateAndConnectLoop()
141 def_use_mgr->AnalyzeInstUse(phi); in DuplicateAndConnectLoop()
199 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in GetIteratorUpdateOperations() local
201 iterator->ForEachInId([def_use_mgr, loop, operations, this](uint32_t* id) { in GetIteratorUpdateOperations()
202 Instruction* insn = def_use_mgr->GetDef(*id); in GetIteratorUpdateOperations()
264 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in GetIteratingExitValues() local
273 [condition_block_id, def_use_mgr, this](Instruction* phi) { in GetIteratingExitValues()
279 def_use_mgr->GetDef(phi->GetSingleWordInOperand(i)); in GetIteratingExitValues()
347 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBlockBefore() local
[all …]
Dreduce_load_size.cpp52 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ReplaceExtract() local
58 Instruction* composite_inst = def_use_mgr->GetDef(composite_id); in ReplaceExtract()
120 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ShouldReplaceExtract() local
121 Instruction* op_inst = def_use_mgr->GetDef( in ShouldReplaceExtract()
137 !def_use_mgr->WhileEachUser(op_inst, [&elements_used](Instruction* use) { in ShouldReplaceExtract()
Deliminate_dead_io_components_pass.cpp61 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in Process() local
104 Instruction* arr_len_inst = def_use_mgr->GetDef(arr_len_id); in Process()
136 auto type_inst = def_use_mgr->GetDef(type_id); in Process()
193 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ChangeArrayLength() local
206 def_use_mgr->AnalyzeInstUse(&arr_var); in ChangeArrayLength()
251 analysis::DefUseManager* def_use_mgr = context()->get_def_use_mgr(); in ChangeIOVarStructLength() local
252 def_use_mgr->AnalyzeInstUse(&io_var); in ChangeIOVarStructLength()

12345