- Nov 23, 2010
-
-
Chris Lattner authored
llvm-svn: 120048
-
Howard Hinnant authored
llvm-svn: 120047
-
Howard Hinnant authored
llvm-svn: 120046
-
Howard Hinnant authored
llvm-svn: 120045
-
Duncan Sands authored
in two places that are really interested in simplified instructions, not constants. llvm-svn: 120044
-
Howard Hinnant authored
llvm-svn: 120043
-
Duncan Sands authored
(which does constant folding and more) is called a few lines later. llvm-svn: 120042
-
Howard Hinnant authored
llvm-svn: 120041
-
Howard Hinnant authored
llvm-svn: 120040
-
Chris Lattner authored
llvm-svn: 120039
-
Chris Lattner authored
llvm-svn: 120038
-
Chris Lattner authored
method in FileSystemStatCache. llvm-svn: 120037
-
Howard Hinnant authored
llvm-svn: 120036
-
Jason W Kim authored
llvm-svn: 120035
-
Bob Wilson authored
We need to check if the individual vector elements are sign/zero-extended values. For now this only handles constants values. Radar 8687140. llvm-svn: 120034
-
Bob Wilson authored
llvm-svn: 120033
-
Chris Lattner authored
MemoryBuffer::getFile, causing us to pick up a fstat for every file. Restore the optimization. llvm-svn: 120032
-
Chris Lattner authored
the result code of the stat to/from the PCH file since it is always 0. llvm-svn: 120031
-
Chris Lattner authored
its own header and giving it some more structure. No functionality change. llvm-svn: 120030
-
Howard Hinnant authored
llvm-svn: 120029
-
Benjamin Kramer authored
This allows to transform the rem in "1 << ((int)x % 8);" to an and. llvm-svn: 120028
-
Howard Hinnant authored
llvm-svn: 120027
-
Duncan Sands authored
Stylistic improvement suggested by Frits van Bommel. llvm-svn: 120026
-
Duncan Sands authored
llvm-svn: 120025
-
Duncan Sands authored
fairly systematic way in instcombine. Some of these cases were already dealt with, in which case I removed the existing code. The case of Add has a bunch of funky logic which covers some of this plus a few variants (considers shifts to be a form of multiplication), which I didn't touch. The simplification performed is: A*B+A*C -> A*(B+C). The improvement is to do this in cases that were not already handled [such as A*B-A*C -> A*(B-C), which was reported on the mailing list], and also to do it more often by not checking for "only one use" if "B+C" simplifies. llvm-svn: 120024
-
Kalle Raiskila authored
shifts. llvm-svn: 120022
-
Rafael Espindola authored
llvm-svn: 120017
-
Duncan Sands authored
llvm-svn: 120016
-
Duncan Sands authored
are constant. There was in fact one exception to this (phi nodes) - so remove that exception (InstructionSimplify handles this so there should be no loss). llvm-svn: 120015
-
John McCall authored
on 64-bit systems. llvm-svn: 120014
-
Chris Lattner authored
two copies, since they are fundamentally different operations and the StringRef one should go away (it shouldn't be part of FileManager at least). Remove some dead arguments. llvm-svn: 120013
-
Chris Lattner authored
client should just pass in absolute paths. llvm-svn: 120012
-
Chris Lattner authored
this code. no functionality change. llvm-svn: 120011
-
Chris Lattner authored
FileSystemOpts through a ton of apis, simplifying a lot of code. This also fixes a latent bug in ASTUnit where it would invoke methods on FileManager without creating one in some code paths in cindextext. llvm-svn: 120010
-
Rafael Espindola authored
While here, remove unused argument and rename UpdateForSlide to Invalidate. llvm-svn: 120009
-
Chris Lattner authored
llvm-svn: 120008
-
Chris Lattner authored
to simplify a bunch of code in it. It should ultimately get inlined into FileManager. llvm-svn: 120007
-
Rafael Espindola authored
llvm-svn: 120006
-
Francois Pichet authored
llvm-svn: 120005
-
Zhanyong Wan authored
llvm-svn: 120004
-