This patch creates the profile data variable before lowering the profile intrinsics (i.e. InstrProfIncrementInst and InstrProfValueProfileInst).
This is for IR level instrumentation. Lowering InstrProfValueProfileInst assumes the existing of profile data variable. For clang based instrumentation, we always see InstrProfIncrementInst before the first InstrProfValueProfileInst. But this is not true for IR level instrumeatnion (as we may not instrument the entry BB).