In the bowl of standing mixer, beat the butter and cream cheese until smooth. Gradually add the sugar, scraping down the sides of the bowl as needed. Add the vanilla, the eggs, one at a time, mixing well after each addition. Scrape down the sides of the bowl as needed. Add the flour mixture, in three additions, and mix just until incorporated. Pour the batter into the prepared pan and smooth the top.