| 815 | } |
| 816 | |
| 817 | uint32_t InOperandIndexFromOperandIndex(const opt::Instruction& inst, |
| 818 | uint32_t absolute_index) { |
| 819 | // Subtract the number of non-input operands from the index |
| 820 | return absolute_index - inst.NumOperands() + inst.NumInOperands(); |
| 821 | } |
| 822 | |
| 823 | bool IsNullConstantSupported(opt::IRContext* ir_context, |
| 824 | const opt::Instruction& type_inst) { |
no test coverage detected