added codegen for one dimensional maxloc minloc intrinsic