llvm/lib
Chris Lattner e2cc1ad230 don't bother calling ConstantFoldInstruction unless there is a use of the
instruction (which disqualifies stores, unreachable, etc) and at least the
first operand is a constant.  This filters out a lot of obvious cases that
can't be folded.  Also, switch the IRBuilder to a TargetFolder, which tries
harder.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84170 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-15 04:13:44 +00:00
..
Analysis Take advantage of TargetData when available; we know that the atomic intrinsics 2009-10-15 00:36:35 +00:00
Archive Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
AsmParser Add an "msasm" flag to inline asm as suggested in PR 5125. 2009-10-13 20:46:56 +00:00
Bitcode Add an "msasm" flag to inline asm as suggested in PR 5125. 2009-10-13 20:46:56 +00:00
CodeGen Make CodePlacementOpt align loops, rather than loop headers. The 2009-10-15 00:36:22 +00:00
CompilerDriver convert LoopInfo.h and GraphWriter.h to use raw_ostream 2009-08-23 07:19:13 +00:00
ExecutionEngine s/DebugLoc.CompileUnit/DebugLoc.Scope/g 2009-10-13 23:28:53 +00:00
Linker Remove unnecessary #include. 2009-09-12 22:24:25 +00:00
MC Fixed MCSectionMachO::ParseSectionSpecifier to allow an attribute of "none" so 2009-10-07 20:57:20 +00:00
Support r83391 was completely broken since Twines keep references to their inputs, and 2009-10-06 21:45:26 +00:00
System Haiku porting patches, Credit to Paul Davey. 2009-10-12 04:57:20 +00:00
Target Fix instruction encoding bits for NEON VPADAL. 2009-10-14 21:43:17 +00:00
Transforms don't bother calling ConstantFoldInstruction unless there is a use of the 2009-10-15 04:13:44 +00:00
VMCore Add copyMD to copy metadata from one instruction to another instruction. 2009-10-14 17:02:49 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00