Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/source/opt/
Dvector_dce.cpp100 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkExtractUseAsLive() local
102 if (HasVectorOrScalarResult(operand_inst)) { in MarkExtractUseAsLive()
104 new_item.instruction = operand_inst; in MarkExtractUseAsLive()
122 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkInsertUsesAsLive() local
125 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()
225 Instruction* operand_inst = def_use_mgr->GetDef(*operand_id); in MarkUsesAsLive() local
227 if (HasVectorResult(operand_inst)) { in MarkUsesAsLive()
229 new_item.instruction = operand_inst; in MarkUsesAsLive()
232 } else if (HasScalarResult(operand_inst)) { in MarkUsesAsLive()
234 new_item.instruction = operand_inst; in MarkUsesAsLive()
Dif_conversion.cpp244 Instruction* operand_inst = def_use_mgr->GetDef(*id); in HoistInstruction() local
245 HoistInstruction(operand_inst, target_block, dominators); in HoistInstruction()
279 Instruction* operand_inst = def_use_mgr->GetDef(*id); in CanHoistInstruction() local
280 return CanHoistInstruction(operand_inst, target_block, dominators); in CanHoistInstruction()
Dconst_folding_rules.cpp638 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in FoldFClampFeedingCompare() local
642 type_mgr->GetType(operand_inst->type_id()); in FoldFClampFeedingCompare()
653 if (operand_inst->opcode() != SpvOpExtInst) { in FoldFClampFeedingCompare()
657 if (operand_inst->GetSingleWordInOperand(1) != GLSLstd450FClamp) { in FoldFClampFeedingCompare()
665 uint32_t max_id = operand_inst->GetSingleWordInOperand(4); in FoldFClampFeedingCompare()
669 uint32_t min_id = operand_inst->GetSingleWordInOperand(3); in FoldFClampFeedingCompare()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dvector_dce.cpp102 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkExtractUseAsLive() local
104 if (HasVectorOrScalarResult(operand_inst)) { in MarkExtractUseAsLive()
106 new_item.instruction = operand_inst; in MarkExtractUseAsLive()
129 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkInsertUsesAsLive() local
132 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()
245 Instruction* operand_inst = def_use_mgr->GetDef(*operand_id); in MarkUsesAsLive() local
247 if (HasVectorResult(operand_inst)) { in MarkUsesAsLive()
249 new_item.instruction = operand_inst; in MarkUsesAsLive()
252 } else if (HasScalarResult(operand_inst)) { in MarkUsesAsLive()
254 new_item.instruction = operand_inst; in MarkUsesAsLive()
Dif_conversion.cpp244 Instruction* operand_inst = def_use_mgr->GetDef(*id); in HoistInstruction() local
245 HoistInstruction(operand_inst, target_block, dominators); in HoistInstruction()
279 Instruction* operand_inst = def_use_mgr->GetDef(*id); in CanHoistInstruction() local
280 return CanHoistInstruction(operand_inst, target_block, dominators); in CanHoistInstruction()
Dconst_folding_rules.cpp638 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in FoldFClampFeedingCompare() local
642 type_mgr->GetType(operand_inst->type_id()); in FoldFClampFeedingCompare()
653 if (operand_inst->opcode() != SpvOpExtInst) { in FoldFClampFeedingCompare()
657 if (operand_inst->GetSingleWordInOperand(1) != GLSLstd450FClamp) { in FoldFClampFeedingCompare()
665 uint32_t max_id = operand_inst->GetSingleWordInOperand(4); in FoldFClampFeedingCompare()
669 uint32_t min_id = operand_inst->GetSingleWordInOperand(3); in FoldFClampFeedingCompare()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidation_state.cpp523 Instruction* operand_inst = FindDef(operand_word); in RegisterInstruction() local
524 if (operand_inst && SpvOpSampledImage == operand_inst->opcode()) { in RegisterInstruction()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidation_state.cpp540 Instruction* operand_inst = FindDef(operand_word); in RegisterInstruction() local
541 if (operand_inst && SpvOpSampledImage == operand_inst->opcode()) { in RegisterInstruction()