This pass tries to remove Global Variables as well as their direct uses, for example if a given GV @x is deemed uninteresting and it's used by %call and %call2. Both the GV as well as its calls would be deleted (any uses of the calls would be replaced with undef)
Depends on D63672
This 'inline' keyword probably needs to be removed. I'm surprised if this code links as-is (or compiles - some sort of warning/error like this:
inl.cpp:1:13: warning: inline function 'f' is not defined [-Wundefined-inline]
inline void f();
inl.cpp:3:3: note: used here