as constants. Refactor and simplify all the separate checks for whether a type can be emitted as a constant. llvm-svn: 150793