LLVM 17.0.0git
Namespaces | Functions
CtorUtils.h File Reference
#include "llvm/ADT/STLFunctionalExtras.h"
Include dependency graph for CtorUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.


bool llvm::optimizeGlobalCtorsList (Module &M, function_ref< bool(uint32_t, Function *)> ShouldRemove)
 Call "ShouldRemove" for every entry in M's global_ctor list and remove the entries for which it returns true.