Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_replace_load_store_with_copy_memory.cpp50 auto load_instruction = in IsApplicable() local
52 if (!load_instruction || load_instruction->opcode() != SpvOpLoad) { in IsApplicable()
64 if (load_instruction->result_id() != in IsApplicable()
72 load_instruction->GetSingleWordOperand(2)); in IsApplicable()
78 for (auto it = load_instruction; it != store_instruction; in IsApplicable()
101 auto load_instruction = in Apply() local
103 assert(load_instruction && load_instruction->opcode() == SpvOpLoad && in Apply()
111 assert(load_instruction->result_id() == in Apply()
119 load_instruction->GetSingleWordOperand(kOpLoadOperandIndexSourceVariable); in Apply()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_replace_load_store_with_copy_memory.cpp49 auto load_instruction = in IsApplicable() local
51 if (!load_instruction || load_instruction->opcode() != SpvOpLoad) { in IsApplicable()
63 if (load_instruction->result_id() != in IsApplicable()
71 load_instruction->GetSingleWordOperand(2)); in IsApplicable()
77 for (auto it = load_instruction; it != store_instruction; in IsApplicable()
100 auto load_instruction = in Apply() local
102 assert(load_instruction && load_instruction->opcode() == SpvOpLoad && in Apply()
110 assert(load_instruction->result_id() == in Apply()
118 load_instruction->GetSingleWordOperand(kOpLoadOperandIndexSourceVariable); in Apply()
Dtransformation_replace_copy_object_with_store_load.cpp121 opt::Instruction* load_instruction = in Apply() local
128 load_instruction->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
137 ir_context->get_def_use_mgr()->AnalyzeInstDefUse(load_instruction); in Apply()
139 ir_context->set_instr_block(load_instruction, enclosing_block); in Apply()
Dtransformation_push_id_through_variable.cpp139 opt::Instruction* load_instruction = in Apply() local
146 load_instruction->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
153 ir_context->get_def_use_mgr()->AnalyzeInstDefUse(load_instruction); in Apply()
154 ir_context->set_instr_block(load_instruction, enclosing_block); in Apply()
Dtransformation_replace_constant_with_uniform.cpp269 auto load_instruction = MakeLoadInstruction(ir_context, constant_type_id); in Apply() local
270 auto load_instruction_ptr = load_instruction.get(); in Apply()
271 insert_before_inst->InsertBefore(std::move(load_instruction)); in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_load_store_with_copy_memory.cpp50 auto load_instruction = in IsApplicable() local
52 if (!load_instruction || load_instruction->opcode() != SpvOpLoad) { in IsApplicable()
64 if (load_instruction->result_id() != in IsApplicable()
72 load_instruction->GetSingleWordOperand(2)); in IsApplicable()
78 for (auto it = load_instruction; it != store_instruction; in IsApplicable()
101 auto load_instruction = in Apply() local
103 assert(load_instruction && load_instruction->opcode() == SpvOpLoad && in Apply()
111 assert(load_instruction->result_id() == in Apply()
119 load_instruction->GetSingleWordOperand(kOpLoadOperandIndexSourceVariable); in Apply()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DIRForTarget.cpp1361 if (LoadInst *load_instruction = dyn_cast<LoadInst>(u)) in HandleObjCClass() local
1362 load_instructions.push_back(load_instruction); in HandleObjCClass()
1370 for (LoadInst *load_instruction : load_instructions) { in HandleObjCClass()
1372 ConstantExpr::getIntToPtr(class_addr, load_instruction->getType()); in HandleObjCClass()
1374 load_instruction->replaceAllUsesWith(class_bitcast); in HandleObjCClass()
1376 load_instruction->eraseFromParent(); in HandleObjCClass()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc2592 auto* load_instruction = in EmitTransferElements() local
2594 source_array.AnnotateLoadStoreInstructionWithMetadata(load_instruction); in EmitTransferElements()
2596 AlignedStore(load_instruction, BitCast(target, primitive_ptr_type), in EmitTransferElements()