1604 static ID for_raw_conversion(BasicType src, BasicType dest); 1605 1606 // The methods below provide information related to compiling intrinsics. 1607 1608 // (1) Information needed by the C1 compiler. 1609 1610 static bool preserves_state(vmIntrinsics::ID id); 1611 static bool can_trap(vmIntrinsics::ID id); 1612 1613 // (2) Information needed by the C2 compiler. 1614 1615 // Returns true if the intrinsic for method 'method' will perform a virtual dispatch. 1616 static bool does_virtual_dispatch(vmIntrinsics::ID id); 1617 // A return value larger than 0 indicates that the intrinsic for method 1618 // 'method' requires predicated logic. 1619 static int predicates_needed(vmIntrinsics::ID id); 1620 1621 // Returns true if a compiler intrinsic is disabled by command-line flags 1622 // and false otherwise. 1623 static bool is_disabled_by_flags(const methodHandle& method); 1624 }; 1625 1626 #endif // SHARE_VM_CLASSFILE_VMSYMBOLS_HPP | 1604 static ID for_raw_conversion(BasicType src, BasicType dest); 1605 1606 // The methods below provide information related to compiling intrinsics. 1607 1608 // (1) Information needed by the C1 compiler. 1609 1610 static bool preserves_state(vmIntrinsics::ID id); 1611 static bool can_trap(vmIntrinsics::ID id); 1612 1613 // (2) Information needed by the C2 compiler. 1614 1615 // Returns true if the intrinsic for method 'method' will perform a virtual dispatch. 1616 static bool does_virtual_dispatch(vmIntrinsics::ID id); 1617 // A return value larger than 0 indicates that the intrinsic for method 1618 // 'method' requires predicated logic. 1619 static int predicates_needed(vmIntrinsics::ID id); 1620 1621 // Returns true if a compiler intrinsic is disabled by command-line flags 1622 // and false otherwise. 1623 static bool is_disabled_by_flags(const methodHandle& method); 1624 static bool is_disabled_by_flags(const vmIntrinsics::ID id); 1625 static bool is_intrinsic_available(vmIntrinsics::ID id); 1626 }; 1627 1628 #endif // SHARE_VM_CLASSFILE_VMSYMBOLS_HPP |