Home
last modified time | relevance | path

Searched refs:folded_inst (Results 1 – 15 of 15) sorted by relevance

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dfold.cpp234 Instruction* folded_inst = FoldInstructionToConstant(inst, identity_map); in FoldInstructionInternal() local
235 if (folded_inst != nullptr) { in FoldInstructionInternal()
237 inst->SetInOperands({{SPV_OPERAND_TYPE_ID, {folded_inst->result_id()}}}); in FoldInstructionInternal()
683 Instruction* folded_inst = in FoldInstructionToConstant() local
685 return folded_inst; in FoldInstructionToConstant()
703 Instruction* folded_inst = in FoldInstructionToConstant() local
705 return folded_inst; in FoldInstructionToConstant()
744 Instruction* folded_inst(inst); in FoldInstruction() local
745 while (folded_inst->opcode() != spv::Op::OpCopyObject && in FoldInstruction()
746 FoldInstructionInternal(&*folded_inst)) { in FoldInstruction()
Dfold_spec_constant_op_and_composite_pass.cpp112 Instruction* folded_inst = nullptr; in ProcessOpSpecConstantOp() local
123 folded_inst = FoldWithInstructionFolder(pos); in ProcessOpSpecConstantOp()
130 folded_inst = DoComponentWiseOperation(pos); in ProcessOpSpecConstantOp()
133 if (!folded_inst) return false; in ProcessOpSpecConstantOp()
137 uint32_t new_id = folded_inst->result_id(); in ProcessOpSpecConstantOp()
Dccp_pass.cpp164 Instruction* folded_inst = in VisitAssignment() local
168 if (folded_inst != nullptr) { in VisitAssignment()
171 assert((folded_inst->IsConstant() || in VisitAssignment()
172 IsSpecConstantInst(folded_inst->opcode())) && in VisitAssignment()
174 uint32_t new_val = ComputeLatticeMeet(instr, folded_inst->result_id()); in VisitAssignment()
Dsimplification_pass.cpp35 Instruction* folded_inst, std::unordered_set<Instruction*>* inst_seen, in AddNewOperands() argument
38 folded_inst->ForEachInId( in AddNewOperands()
Dsimplification_pass.h50 void AddNewOperands(Instruction* folded_inst,
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp115 Instruction* folded_inst = nullptr; in ProcessOpSpecConstantOp() local
126 folded_inst = FoldWithInstructionFolder(pos); in ProcessOpSpecConstantOp()
133 folded_inst = DoComponentWiseOperation(pos); in ProcessOpSpecConstantOp()
136 if (!folded_inst) return false; in ProcessOpSpecConstantOp()
140 uint32_t new_id = folded_inst->result_id(); in ProcessOpSpecConstantOp()
Dccp_pass.cpp168 Instruction* folded_inst = in VisitAssignment() local
172 if (folded_inst != nullptr) { in VisitAssignment()
175 assert((folded_inst->IsConstant() || in VisitAssignment()
176 IsSpecConstantInst(folded_inst->opcode())) && in VisitAssignment()
178 uint32_t new_val = ComputeLatticeMeet(instr, folded_inst->result_id()); in VisitAssignment()
Dfold.cpp234 Instruction* folded_inst = FoldInstructionToConstant(inst, identity_map); in FoldInstructionInternal() local
235 if (folded_inst != nullptr) { in FoldInstructionInternal()
237 inst->SetInOperands({{SPV_OPERAND_TYPE_ID, {folded_inst->result_id()}}}); in FoldInstructionInternal()
680 Instruction* folded_inst = in FoldInstructionToConstant() local
682 return folded_inst; in FoldInstructionToConstant()
702 Instruction* folded_inst(inst); in FoldInstruction() local
703 while (folded_inst->opcode() != SpvOpCopyObject && in FoldInstruction()
704 FoldInstructionInternal(&*folded_inst)) { in FoldInstruction()
Dsimplification_pass.cpp36 Instruction* folded_inst, std::unordered_set<Instruction*>* inst_seen, in AddNewOperands() argument
39 folded_inst->ForEachInId( in AddNewOperands()
Dsimplification_pass.h50 void AddNewOperands(Instruction* folded_inst,
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp115 Instruction* folded_inst = nullptr; in ProcessOpSpecConstantOp() local
126 folded_inst = FoldWithInstructionFolder(pos); in ProcessOpSpecConstantOp()
133 folded_inst = DoComponentWiseOperation(pos); in ProcessOpSpecConstantOp()
136 if (!folded_inst) return false; in ProcessOpSpecConstantOp()
140 uint32_t new_id = folded_inst->result_id(); in ProcessOpSpecConstantOp()
Dccp_pass.cpp165 Instruction* folded_inst = in VisitAssignment() local
169 if (folded_inst != nullptr) { in VisitAssignment()
172 assert((folded_inst->IsConstant() || in VisitAssignment()
173 IsSpecConstantInst(folded_inst->opcode())) && in VisitAssignment()
175 uint32_t new_val = ComputeLatticeMeet(instr, folded_inst->result_id()); in VisitAssignment()
Dfold.cpp235 Instruction* folded_inst = FoldInstructionToConstant(inst, identity_map); in FoldInstructionInternal() local
236 if (folded_inst != nullptr) { in FoldInstructionInternal()
238 inst->SetInOperands({{SPV_OPERAND_TYPE_ID, {folded_inst->result_id()}}}); in FoldInstructionInternal()
680 Instruction* folded_inst = in FoldInstructionToConstant() local
682 return folded_inst; in FoldInstructionToConstant()
702 Instruction* folded_inst(inst); in FoldInstruction() local
703 while (folded_inst->opcode() != spv::Op::OpCopyObject && in FoldInstruction()
704 FoldInstructionInternal(&*folded_inst)) { in FoldInstruction()
Dsimplification_pass.cpp36 Instruction* folded_inst, std::unordered_set<Instruction*>* inst_seen, in AddNewOperands() argument
39 folded_inst->ForEachInId( in AddNewOperands()
Dsimplification_pass.h50 void AddNewOperands(Instruction* folded_inst,