Searched refs:operand_inst (Results 1 – 8 of 8) sorted by relevance
100 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkExtractUseAsLive() local102 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() local125 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()225 Instruction* operand_inst = def_use_mgr->GetDef(*operand_id); in MarkUsesAsLive() local227 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()
244 Instruction* operand_inst = def_use_mgr->GetDef(*id); in HoistInstruction() local245 HoistInstruction(operand_inst, target_block, dominators); in HoistInstruction()279 Instruction* operand_inst = def_use_mgr->GetDef(*id); in CanHoistInstruction() local280 return CanHoistInstruction(operand_inst, target_block, dominators); in CanHoistInstruction()
638 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in FoldFClampFeedingCompare() local642 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()
102 Instruction* operand_inst = def_use_mgr->GetDef(operand_id); in MarkExtractUseAsLive() local104 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() local132 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()245 Instruction* operand_inst = def_use_mgr->GetDef(*operand_id); in MarkUsesAsLive() local247 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()
523 Instruction* operand_inst = FindDef(operand_word); in RegisterInstruction() local524 if (operand_inst && SpvOpSampledImage == operand_inst->opcode()) { in RegisterInstruction()
540 Instruction* operand_inst = FindDef(operand_word); in RegisterInstruction() local541 if (operand_inst && SpvOpSampledImage == operand_inst->opcode()) { in RegisterInstruction()