Brining back some of the custom inlining logic, start with primitives and force-inline them.

Signed-off-by: Stefan Marr <git@stefan-marr.de>