Optimizing Compiler with Tensor Operation Intelligence