- Nov 24, 2010
-
-
Ted Kremenek authored
to use lowercase letters for the start of most method names and to replace some method names with more descriptive names (e.g., "getLeft()" instead of "Left()"). No real functionality change. llvm-svn: 120070
-
Eli Friedman authored
llvm-svn: 120069
-
Jakob Stoklund Olesen authored
This doesn't quite work yet because the calls to treeDecrement and treeIncrement operate at the leaf level, not on pathNode(Level) as required. llvm-svn: 120068
-
- Nov 23, 2010
-
-
Chris Lattner authored
followed by an open for every source file we open, probe the file system with 'open' and then do an fstat when it succeeds. open+fstat is faster than stat+open because the kernel only has to perform the string->inode mapping once. Presumably it gets faster the deeper in your filesystem a lookup happens. For -Eonly on cocoa.h, this reduces system time from 0.042s to 0.039s on my machine, a 7.7% speedup. llvm-svn: 120066
-
Chris Lattner authored
file descriptor into a MemoryBuffer (and closes the FD). llvm-svn: 120065
-
Howard Hinnant authored
llvm-svn: 120064
-
John McCall authored
Not sure what I was thinking before. Fixes PR8668. llvm-svn: 120063
-
Chris Lattner authored
leak a filedescriptor if a client ever starts returning one. llvm-svn: 120062
-
Chris Lattner authored
llvm-svn: 120061
-
Chris Lattner authored
pointer that is passed down through the APIs, and make FileSystemStatCache::get be the one that filters out directory lookups that hit files. This also paves the way to have stat queries be able to return opened files. llvm-svn: 120060
-
Michael J. Spencer authored
llvm-svn: 120059
-
Howard Hinnant authored
llvm-svn: 120058
-
Howard Hinnant authored
llvm-svn: 120057
-
Chris Lattner authored
which simplifies clients and is important for future directions. Add a FD member to FileEntry which isn't used but will be shortly. llvm-svn: 120056
-
John McCall authored
- Default argument expressions pick up the value kind of the incoming expression, not the value kind of the parameter it initializes. - When building a template argument for substitution, A::x is an rvalue if x is an instance method. - Anonymous struct/union paths pick up value kind the same way that normal member accesses do; extract out a common code path for this. Enable the value-kind assertion, now that it passes self-host. llvm-svn: 120055
-
Howard Hinnant authored
llvm-svn: 120054
-
Peter Collingbourne authored
llvm-svn: 120053
-
Howard Hinnant authored
llvm-svn: 120052
-
Duncan Sands authored
llvm-svn: 120051
-
Howard Hinnant authored
llvm-svn: 120050
-
Benjamin Kramer authored
E.g. -5 % 5 is 0 with srem and 1 with urem. Also addresses Frits van Bommel's comments. llvm-svn: 120049
-
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
-