/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | dead_insert_elim_pass.cpp | 91 Instruction* insInst = insertChain; in MarkInsertChain() local 92 while (insInst->opcode() == SpvOpCompositeInsert) { in MarkInsertChain() 101 liveInserts_.insert(insInst->result_id()); in MarkInsertChain() 102 uint32_t objId = insInst->GetSingleWordInOperand(kInsertObjectIdInIdx); in MarkInsertChain() 108 } else if (ExtInsMatch(*pExtIndices, insInst, extOffset)) { in MarkInsertChain() 109 liveInserts_.insert(insInst->result_id()); in MarkInsertChain() 110 uint32_t objId = insInst->GetSingleWordInOperand(kInsertObjectIdInIdx); in MarkInsertChain() 116 } else if (ExtInsConflict(*pExtIndices, insInst, extOffset)) { in MarkInsertChain() 117 liveInserts_.insert(insInst->result_id()); in MarkInsertChain() 120 uint32_t numInsertIndices = insInst->NumInOperands() - 2; in MarkInsertChain() [all …]
|
D | composite.cpp | 29 const Instruction* insInst, const uint32_t extOffset) { in ExtInsMatch() argument 31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch() 33 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsMatch() 39 const Instruction* insInst, const uint32_t extOffset) { in ExtInsConflict() argument 40 if (extIndices.size() - extOffset == insInst->NumInOperands() - 2) in ExtInsConflict() 43 uint32_t insNumIndices = insInst->NumInOperands() - 2; in ExtInsConflict() 46 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsConflict()
|
D | composite.h | 38 const Instruction* insInst, const uint32_t extOffset); 46 const Instruction* insInst, const uint32_t extOffset);
|
/third_party/spirv-tools/source/opt/ |
D | dead_insert_elim_pass.cpp | 91 Instruction* insInst = insertChain; in MarkInsertChain() local 92 while (insInst->opcode() == SpvOpCompositeInsert) { in MarkInsertChain() 101 liveInserts_.insert(insInst->result_id()); in MarkInsertChain() 102 uint32_t objId = insInst->GetSingleWordInOperand(kInsertObjectIdInIdx); in MarkInsertChain() 108 } else if (ExtInsMatch(*pExtIndices, insInst, extOffset)) { in MarkInsertChain() 109 liveInserts_.insert(insInst->result_id()); in MarkInsertChain() 110 uint32_t objId = insInst->GetSingleWordInOperand(kInsertObjectIdInIdx); in MarkInsertChain() 116 } else if (ExtInsConflict(*pExtIndices, insInst, extOffset)) { in MarkInsertChain() 117 liveInserts_.insert(insInst->result_id()); in MarkInsertChain() 120 uint32_t numInsertIndices = insInst->NumInOperands() - 2; in MarkInsertChain() [all …]
|
D | composite.cpp | 29 const Instruction* insInst, const uint32_t extOffset) { in ExtInsMatch() argument 31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch() 33 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsMatch() 39 const Instruction* insInst, const uint32_t extOffset) { in ExtInsConflict() argument 40 if (extIndices.size() - extOffset == insInst->NumInOperands() - 2) in ExtInsConflict() 43 uint32_t insNumIndices = insInst->NumInOperands() - 2; in ExtInsConflict() 46 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsConflict()
|
D | composite.h | 38 const Instruction* insInst, const uint32_t extOffset); 46 const Instruction* insInst, const uint32_t extOffset);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | dead_insert_elim_pass.cpp | 91 Instruction* insInst = insertChain; in MarkInsertChain() local 92 while (insInst->opcode() == SpvOpCompositeInsert) { in MarkInsertChain() 101 liveInserts_.insert(insInst->result_id()); in MarkInsertChain() 102 uint32_t objId = insInst->GetSingleWordInOperand(kInsertObjectIdInIdx); in MarkInsertChain() 108 } else if (ExtInsMatch(*pExtIndices, insInst, extOffset)) { in MarkInsertChain() 109 liveInserts_.insert(insInst->result_id()); in MarkInsertChain() 110 uint32_t objId = insInst->GetSingleWordInOperand(kInsertObjectIdInIdx); in MarkInsertChain() 116 } else if (ExtInsConflict(*pExtIndices, insInst, extOffset)) { in MarkInsertChain() 117 liveInserts_.insert(insInst->result_id()); in MarkInsertChain() 120 uint32_t numInsertIndices = insInst->NumInOperands() - 2; in MarkInsertChain() [all …]
|
D | composite.cpp | 29 const Instruction* insInst, const uint32_t extOffset) { in ExtInsMatch() argument 31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch() 33 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsMatch() 39 const Instruction* insInst, const uint32_t extOffset) { in ExtInsConflict() argument 40 if (extIndices.size() - extOffset == insInst->NumInOperands() - 2) in ExtInsConflict() 43 uint32_t insNumIndices = insInst->NumInOperands() - 2; in ExtInsConflict() 46 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsConflict()
|
D | composite.h | 38 const Instruction* insInst, const uint32_t extOffset); 46 const Instruction* insInst, const uint32_t extOffset);
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | insert_extract_elim.cpp | 30 const ir::Instruction* insInst) const { in ExtInsMatch() 31 if (extInst->NumInOperands() != insInst->NumInOperands() - 1) in ExtInsMatch() 36 insInst->GetSingleWordInOperand(i + 2)) in ExtInsMatch() 42 const ir::Instruction* insInst) const { in ExtInsConflict() 43 if (extInst->NumInOperands() == insInst->NumInOperands() - 1) in ExtInsConflict() 46 uint32_t insNumIdx = insInst->NumInOperands() - 2; in ExtInsConflict() 50 insInst->GetSingleWordInOperand(i + 2)) in ExtInsConflict()
|
D | insert_extract_elim.h | 44 const ir::Instruction* extInst, const ir::Instruction* insInst) const; 52 const ir::Instruction* extInst, const ir::Instruction* insInst) const;
|