Go to the documentation of this file.
9 #ifndef LLVM_TRANSFORMS_IPO_OPENMPOPT_H
10 #define LLVM_TRANSFORMS_IPO_OPENMPOPT_H
51 #endif // LLVM_TRANSFORMS_IPO_OPENMPOPT_H
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
We currently emits eax Perhaps this is what we really should generate is Is imull three or four cycles eax eax The current instruction priority is based on pattern complexity The former is more complex because it folds a load so the latter will not be emitted Perhaps we should use AddedComplexity to give LEA32r a higher priority We should always try to match LEA first since the LEA matching code does some estimate to determine whether the match is profitable if we care more about code then imull is better It s two bytes shorter than movl leal On a Pentium M
A CRTP mix-in to automatically provide informational APIs needed for passes.
PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, LazyCallGraph &CG, CGSCCUpdateResult &UR)
An SCC of the call graph.
(vector float) vec_cmpeq(*A, *B) C
bool isOpenMPDevice(Module &M)
Helper to determine if M is a OpenMP target offloading device module.
A Module instance is used to store all the information related to an LLVM module.
KernelSet getDeviceKernels(Module &M)
Get OpenMP device kernels in M.
bool containsOpenMP(Module &M)
Helper to determine if M contains OpenMP.
Support structure for SCC passes to communicate updates the call graph back to the CGSCC pass manager...
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
OpenMP optimizations pass.
A container for analyses that lazily runs them and caches their results.
A lazily constructed view of the call graph of a module.
A vector that has set insertion semantics.