HomeSort by relevance Sort by last modified time
    Searched refs:op_inst (Results 1 - 8 of 8) sorted by null

  /external/deqp-deps/SPIRV-Tools/source/opt/
reduce_load_size.cpp 125 Instruction* op_inst = def_use_mgr->GetDef( local
128 if (op_inst->opcode() != SpvOpLoad) {
132 auto cached_result = should_replace_cache_.find(op_inst->result_id());
141 !def_use_mgr->WhileEachUser(op_inst, [&elements_used](Instruction* use) {
155 analysis::Type* load_type = type_mgr->GetType(op_inst->type_id());
176 should_replace_cache_[op_inst->result_id()] = should_replace;
vector_dce.cpp 189 Instruction* op_inst = def_use_mgr->GetDef(id); local
191 if (HasScalarResult(op_inst)) {
193 new_work_item.instruction = op_inst;
200 assert(HasVectorResult(op_inst));
202 new_work_item.instruction = op_inst;
204 type_mgr->GetType(op_inst->type_id())->AsVector()->element_count();
folding_rules.cpp 256 Instruction* op_inst =
258 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed())
261 if (op_inst->opcode() == inst->opcode()) {
265 {{SPV_OPERAND_TYPE_ID, {op_inst->GetSingleWordInOperand(0u)}}});
291 Instruction* op_inst =
293 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed())
299 SpvOp opcode = op_inst->opcode();
303 const_mgr->GetOperandConstants(op_inst);
310 ? op_inst->GetSingleWordInOperand(0u)
311 : op_inst->GetSingleWordInOperand(1u)
    [all...]
upgrade_memory_model.cpp 245 Instruction* op_inst = context()->get_def_use_mgr()->GetDef(*id_ptr);
247 context()->get_type_mgr()->GetType(op_inst->type_id());
253 TraceInstruction(op_inst, indices, visited);
496 Instruction* op_inst =
499 context()->get_type_mgr()->GetType(op_inst->type_id());
  /external/swiftshader/third_party/SPIRV-Tools/source/opt/
reduce_load_size.cpp 125 Instruction* op_inst = def_use_mgr->GetDef( local
128 if (op_inst->opcode() != SpvOpLoad) {
132 auto cached_result = should_replace_cache_.find(op_inst->result_id());
141 !def_use_mgr->WhileEachUser(op_inst, [&elements_used](Instruction* use) {
156 analysis::Type* load_type = type_mgr->GetType(op_inst->type_id());
177 should_replace_cache_[op_inst->result_id()] = should_replace;
vector_dce.cpp 209 Instruction* op_inst = def_use_mgr->GetDef(id); local
211 if (HasScalarResult(op_inst)) {
213 new_work_item.instruction = op_inst;
220 assert(HasVectorResult(op_inst));
222 new_work_item.instruction = op_inst;
224 type_mgr->GetType(op_inst->type_id())->AsVector()->element_count();
folding_rules.cpp 256 Instruction* op_inst =
258 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed())
261 if (op_inst->opcode() == inst->opcode()) {
265 {{SPV_OPERAND_TYPE_ID, {op_inst->GetSingleWordInOperand(0u)}}});
291 Instruction* op_inst =
293 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed())
299 SpvOp opcode = op_inst->opcode();
303 const_mgr->GetOperandConstants(op_inst);
310 ? op_inst->GetSingleWordInOperand(0u)
311 : op_inst->GetSingleWordInOperand(1u)
    [all...]
upgrade_memory_model.cpp 262 Instruction* op_inst = context()->get_def_use_mgr()->GetDef(*id_ptr);
264 context()->get_type_mgr()->GetType(op_inst->type_id());
270 TraceInstruction(op_inst, indices, visited);
513 Instruction* op_inst =
516 context()->get_type_mgr()->GetType(op_inst->type_id());

Completed in 176 milliseconds