Home
last modified time | relevance | path

Searched refs:loadInst (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcommon_uniform_elim_pass.cpp144 bool CommonUniformElimPass::IsVolatileLoad(const Instruction& loadInst) { in IsVolatileLoad() argument
145 assert(loadInst.opcode() == SpvOpLoad); in IsVolatileLoad()
147 if (loadInst.NumOperands() == 4) { in IsVolatileLoad()
148 uint32_t memory_access_mask = loadInst.GetSingleWordOperand(3); in IsVolatileLoad()
153 uint32_t type_id = loadInst.type_id(); in IsVolatileLoad()
196 Instruction* CommonUniformElimPass::ReplaceAndDeleteLoad(Instruction* loadInst, in ReplaceAndDeleteLoad() argument
199 const uint32_t loadId = loadInst->result_id(); in ReplaceAndDeleteLoad()
203 Instruction* next_instruction = context()->KillInst(loadInst); in ReplaceAndDeleteLoad()
Dcommon_uniform_elim_pass.h85 bool IsVolatileLoad(const Instruction& loadInst);
98 Instruction* ReplaceAndDeleteLoad(Instruction* loadInst, uint32_t replId,
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcommon_uniform_elim_pass.cpp144 bool CommonUniformElimPass::IsVolatileLoad(const Instruction& loadInst) { in IsVolatileLoad() argument
145 assert(loadInst.opcode() == SpvOpLoad); in IsVolatileLoad()
147 if (loadInst.NumOperands() == 4) { in IsVolatileLoad()
148 uint32_t memory_access_mask = loadInst.GetSingleWordOperand(3); in IsVolatileLoad()
153 uint32_t type_id = loadInst.type_id(); in IsVolatileLoad()
196 Instruction* CommonUniformElimPass::ReplaceAndDeleteLoad(Instruction* loadInst, in ReplaceAndDeleteLoad() argument
199 const uint32_t loadId = loadInst->result_id(); in ReplaceAndDeleteLoad()
203 Instruction* next_instruction = context()->KillInst(loadInst); in ReplaceAndDeleteLoad()
Dcommon_uniform_elim_pass.h85 bool IsVolatileLoad(const Instruction& loadInst);
98 Instruction* ReplaceAndDeleteLoad(Instruction* loadInst, uint32_t replId,