Previous IR labels were defined as "@<func>(". This causes problemsc because that sequence shows up in calls as well as functionc definitions. Constrain the labels a bit more by including the define keyword and matching the text before the function name.