Searched refs:opInst (Results 1 – 10 of 10) sorted by relevance
86 Instruction* opInst = get_def_use_mgr()->GetDef(opId); in ReplaceMultiplyByPowerOf2() local87 if (opInst->opcode() == SpvOp::SpvOpConstant) { in ReplaceMultiplyByPowerOf2()89 uint32_t constVal = opInst->GetSingleWordOperand(2); in ReplaceMultiplyByPowerOf2()
685 Instruction* opInst = in ProcessGlobalValues() local687 if (IsDead(opInst)) { in ProcessGlobalValues()712 Instruction* opInst = in ProcessGlobalValues() local714 if (IsDead(opInst)) { in ProcessGlobalValues()
135 Instruction* opInst = get_def_use_mgr()->GetDef(*tid); in IsConstantIndexAccessChain() local136 if (opInst->opcode() != SpvOpConstant) return false; in IsConstantIndexAccessChain()
256 Instruction* opInst = get_def_use_mgr()->GetDef(*tid); in IsConstantIndexAccessChain() local257 if (opInst->opcode() != SpvOpConstant) return false; in IsConstantIndexAccessChain()
643 const Instruction* opInst = get_def_use_mgr()->GetDef(id); in CheckUses() local644 if (!IsCompileTimeConstantInst(opInst->opcode())) { in CheckUses()