profile directed pass with 'extern' profile data


is there a pass for profile-directed optimization or transformation, which doesn't use ProfileInfo- and ProfileLoader-class?
Perhaps in a project based on LLVM that uses profile data generated 'outside' of the standard LLVM-chain shown in ''?

Is there an example for such a pass I've slipped?

Kind regards,