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