| 216 | } |
| 217 | |
| 218 | int32_t spvOpcodeIsSpecConstant(const SpvOp opcode) { |
| 219 | switch (opcode) { |
| 220 | case SpvOpSpecConstantTrue: |
| 221 | case SpvOpSpecConstantFalse: |
| 222 | case SpvOpSpecConstant: |
| 223 | case SpvOpSpecConstantComposite: |
| 224 | case SpvOpSpecConstantOp: |
| 225 | return true; |
| 226 | default: |
| 227 | return false; |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | int32_t spvOpcodeIsConstant(const SpvOp opcode) { |
| 232 | switch (opcode) { |
no outgoing calls
no test coverage detected