| 700 | Arm64JITCore::~Arm64JITCore() {} |
| 701 | |
| 702 | bool Arm64JITCore::IsInlineConstant(const IR::OrderedNodeWrapper& WNode, uint64_t* Value) const { |
| 703 | if (WNode.IsImmediate()) { |
| 704 | return false; |
| 705 | } |
| 706 | |
| 707 | auto OpHeader = IR->GetOp<IR::IROp_Header>(WNode); |
| 708 | |
| 709 | if (OpHeader->Op == IR::IROps::OP_INLINECONSTANT) { |
| 710 | auto Op = OpHeader->C<IR::IROp_InlineConstant>(); |
| 711 | if (Value) { |
| 712 | *Value = Op->Constant; |
| 713 | } |
| 714 | return true; |
| 715 | } else { |
| 716 | return false; |
| 717 | } |
| 718 | } |
| 719 | |
| 720 | bool Arm64JITCore::IsInlineEntrypointOffset(const IR::OrderedNodeWrapper& WNode, uint64_t* Value) const { |
| 721 | if (WNode.IsImmediate()) { |
nothing calls this directly
no outgoing calls
no test coverage detected