Defined IR types are wrapped in a TypeDefined by generateTypeNamed. This causes them to be sent through GEP, which is necessary for testing.