LLVM  14.0.0git
Namespaces | Functions
UpdateCompilerUsed.h File Reference
#include "llvm/ADT/StringSet.h"
#include "llvm/IR/GlobalValue.h"
Include dependency graph for UpdateCompilerUsed.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 This file implements support for optimizing divisions by a constant.


void llvm::updateCompilerUsed (Module &TheModule, const TargetMachine &TM, const StringSet<> &AsmUndefinedRefs)
 Find all globals in TheModule that are referenced in AsmUndefinedRefs, as well as the user-supplied functions definitions that are also libcalls, and create or update the magic "llvm.compiler_used" global in TheModule. More...