Why doesn't compile functions like pinMod to required instructions !

You are not required to use pinMode(), digitalWrite(), etc. People who need higher speed use direct register access instructions.