LLVM Pass that renames all functions
TargetLibraryInforWrapperPass seems to have one r too many.
Try using auto a bit more extensively. Almost always auto
Did you really mean '\1' or should that be '1' in the following line? Either way, use a character-literal to make it obvious it's not an error.

if (Name.startswith("llvm.") || (!Name.empty() &amp;&amp; Name[0] == 1) ||
                                                             ^

The same applies to using namespace llvm; as to using namespace std;:
Don't do it. Read "Why is “using namespace std” considered bad practice?" for why.