Searched refs:load_instruction (Results 1 – 8 of 8) sorted by relevance
50 auto load_instruction = in IsApplicable() local52 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() local103 assert(load_instruction && load_instruction->opcode() == SpvOpLoad && in Apply()111 assert(load_instruction->result_id() == in Apply()119 load_instruction->GetSingleWordOperand(kOpLoadOperandIndexSourceVariable); in Apply()
49 auto load_instruction = in IsApplicable() local51 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() local102 assert(load_instruction && load_instruction->opcode() == SpvOpLoad && in Apply()110 assert(load_instruction->result_id() == in Apply()118 load_instruction->GetSingleWordOperand(kOpLoadOperandIndexSourceVariable); in Apply()
121 opt::Instruction* load_instruction = in Apply() local128 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()
139 opt::Instruction* load_instruction = in Apply() local146 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()
269 auto load_instruction = MakeLoadInstruction(ir_context, constant_type_id); in Apply() local270 auto load_instruction_ptr = load_instruction.get(); in Apply()271 insert_before_inst->InsertBefore(std::move(load_instruction)); in Apply()
1361 if (LoadInst *load_instruction = dyn_cast<LoadInst>(u)) in HandleObjCClass() local1362 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()
2592 auto* load_instruction = in EmitTransferElements() local2594 source_array.AnnotateLoadStoreInstructionWithMetadata(load_instruction); in EmitTransferElements()2596 AlignedStore(load_instruction, BitCast(target, primitive_ptr_type), in EmitTransferElements()