'api_magic' LIR transformation replaces known Java API calls with platform dependent instruction sequences.
Example of Java API methods that can be replaced with IA32 instructions:
java/lang/Integer.numberOfLeadingZeros java/lang/Long.numberOfLeadingZeros java/lang/Float.floatToRawIntBits java/lang/Float.intBitsToFloat various java/lang/Math methods ...
implementation file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32APIMagics.cpp