Home
last modified time | relevance | path

Searched refs:cp_inst (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinline_pass.cpp267 std::unique_ptr<Instruction> cp_inst(inst); in MoveInstsBeforeEntryBlock() local
269 if (IsSameBlockOp(&*cp_inst)) { in MoveInstsBeforeEntryBlock()
270 auto* sb_inst_ptr = cp_inst.get(); in MoveInstsBeforeEntryBlock()
271 (*preCallSB)[cp_inst->result_id()] = sb_inst_ptr; in MoveInstsBeforeEntryBlock()
273 new_blk_ptr->AddInstruction(std::move(cp_inst)); in MoveInstsBeforeEntryBlock()
337 std::unique_ptr<Instruction> cp_inst(inst->Clone(context())); in InlineSingleInstruction() local
338 cp_inst->ForEachInId([&callee2caller](uint32_t* iid) { in InlineSingleInstruction()
346 const uint32_t rid = cp_inst->result_id(); in InlineSingleInstruction()
353 cp_inst->SetResultId(nid); in InlineSingleInstruction()
357 cp_inst->UpdateDebugInlinedAt(dbg_inlined_at); in InlineSingleInstruction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinline_pass.cpp267 std::unique_ptr<Instruction> cp_inst(inst); in MoveInstsBeforeEntryBlock() local
269 if (IsSameBlockOp(&*cp_inst)) { in MoveInstsBeforeEntryBlock()
270 auto* sb_inst_ptr = cp_inst.get(); in MoveInstsBeforeEntryBlock()
271 (*preCallSB)[cp_inst->result_id()] = sb_inst_ptr; in MoveInstsBeforeEntryBlock()
273 new_blk_ptr->AddInstruction(std::move(cp_inst)); in MoveInstsBeforeEntryBlock()
337 std::unique_ptr<Instruction> cp_inst(inst->Clone(context())); in InlineSingleInstruction() local
338 cp_inst->ForEachInId([&callee2caller](uint32_t* iid) { in InlineSingleInstruction()
346 const uint32_t rid = cp_inst->result_id(); in InlineSingleInstruction()
353 cp_inst->SetResultId(nid); in InlineSingleInstruction()
357 cp_inst->UpdateDebugInlinedAt(dbg_inlined_at); in InlineSingleInstruction()
[all …]
/third_party/spirv-tools/source/opt/
Dinline_pass.cpp267 std::unique_ptr<Instruction> cp_inst(inst); in MoveInstsBeforeEntryBlock() local
269 if (IsSameBlockOp(&*cp_inst)) { in MoveInstsBeforeEntryBlock()
270 auto* sb_inst_ptr = cp_inst.get(); in MoveInstsBeforeEntryBlock()
271 (*preCallSB)[cp_inst->result_id()] = sb_inst_ptr; in MoveInstsBeforeEntryBlock()
273 new_blk_ptr->AddInstruction(std::move(cp_inst)); in MoveInstsBeforeEntryBlock()
337 std::unique_ptr<Instruction> cp_inst(inst->Clone(context())); in InlineSingleInstruction() local
338 cp_inst->ForEachInId([&callee2caller](uint32_t* iid) { in InlineSingleInstruction()
346 const uint32_t rid = cp_inst->result_id(); in InlineSingleInstruction()
353 cp_inst->SetResultId(nid); in InlineSingleInstruction()
357 cp_inst->UpdateDebugInlinedAt(dbg_inlined_at); in InlineSingleInstruction()
[all …]