Searched refs:loadInst (Results 1 – 4 of 4) sorted by relevance
144 bool CommonUniformElimPass::IsVolatileLoad(const Instruction& loadInst) { in IsVolatileLoad() argument145 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() argument199 const uint32_t loadId = loadInst->result_id(); in ReplaceAndDeleteLoad()203 Instruction* next_instruction = context()->KillInst(loadInst); in ReplaceAndDeleteLoad()
85 bool IsVolatileLoad(const Instruction& loadInst);98 Instruction* ReplaceAndDeleteLoad(Instruction* loadInst, uint32_t replId,