Make IceInstAlloca use the factory pattern