irgen: Create functions instead of global variables for builtin hash and equal algorithms.

These are in fact functions, and have function type, so it is invalid
to represent them using global variables.

llvm-svn: 304689
GitOrigin-RevId: 08b4728f5194cd03b1100b00d4d08ac2d468a400
1 file changed