| 530 | } |
| 531 | |
| 532 | uint32_t ConstantManager::GetUIntConstId(uint32_t val) { |
| 533 | Type* uint_type = context()->get_type_mgr()->GetUIntType(); |
| 534 | const Constant* c = GetConstant(uint_type, {val}); |
| 535 | return GetDefiningInstruction(c)->result_id(); |
| 536 | } |
| 537 | |
| 538 | uint32_t ConstantManager::GetNullConstId(const Type* type) { |
| 539 | const Constant* c = GetConstant(type, {}); |
no test coverage detected