LLVM: lib/Transforms/Utils/HelloWorld.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
11
12using namespace llvm;
13
16 errs() << F.getName() << "\n";
18}
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
Definition HelloWorld.cpp:14
A set of analyses that are preserved following a run of a transformation pass.
static PreservedAnalyses all()
Construct a special preserved set that preserves all passes.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI raw_fd_ostream & errs()
This returns a reference to a raw_ostream for standard error.
AnalysisManager< Function > FunctionAnalysisManager
Convenience typedef for the Function analysis manager.