introduce a new TargetLibraryInfo pass, which transformations can use to

query about available library functions.  For now this just has 
memset_pattern16, which exists on darwin, but it can be extended for a 
bunch of other things in the future.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2011-02-18 21:50:34 +00:00
parent d78b789110
commit ce99120084
5 changed files with 108 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ using namespace llvm;
void llvm::initializeTarget(PassRegistry &Registry) {
initializeTargetDataPass(Registry);
initializeTargetLibraryInfoPass(Registry);
}
void LLVMInitializeTarget(LLVMPassRegistryRef R) {