Code for spans up to 14' is 2 x 10's at 16" on center. Typically, the only reason you'd use 2 x 12's is to eliminate steel (I beam supports) in the basement. Even then, it would have to be a really long span to go to 12" on center. At that point, it would probably make more sense to use floor trusses instead of 2 x 12's