llvm-mirror/lib
Nick Lewycky 5616407df7 Move the libcall annotating part from doFinalization to doInitialization.
Finalization occurs after all the FunctionPasses in the group have run, which
is clearly not what we want.

This also means that we have to make sure that we apply the right param 
attributes when creating a new function.

Also, add a missed optimization: strdup and strndup. NoCapture and 
NoAlias return!

llvm-svn: 61658
2009-01-05 00:07:50 +00:00
..
Analysis We know it's always a SCEVConstant if it gets here, so just cast it and 2009-01-03 01:53:24 +00:00
Archive Silence unused variable warnings. 2008-11-21 20:00:59 +00:00
AsmParser Refactor some parser interfaces to fix PR3278 and a FIXME: 2009-01-04 20:44:11 +00:00
Bitcode revert r61368. 2008-12-23 05:43:56 +00:00
CodeGen elf writer really wants the size of the global, not the size 2009-01-04 20:19:20 +00:00
Debugger Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
ExecutionEngine Fix MachineCodeEmitter to use uintptr_t instead of intptr_t. This avoids some overflow issues. Patch by Thomas Jablin. 2008-12-10 02:32:19 +00:00
Linker Make comments and code for QuietWarnings and QuietErrors 2008-10-25 17:57:20 +00:00
Support Tweak --version to include the date and time. 2008-12-23 18:41:47 +00:00
System Don't use plain %x to print pointer values. I had changed it from %p 2008-12-05 23:39:24 +00:00
Target Add Intel processors core i7 and atom. 2009-01-03 04:24:44 +00:00
Transforms Move the libcall annotating part from doFinalization to doInitialization. 2009-01-05 00:07:50 +00:00
VMCore Add a mechanism to specify attributes in getOrInsertFunction. 2009-01-04 22:54:40 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00