- Jan 07, 2009
-
-
Dan Gohman authored
X86_COND_B and X86_COND_AE, respectively. llvm-svn: 61835
-
Bob Wilson authored
to handle LLVMMatchType intrinsic parameters, and by adding new subclasses of LLVMMatchType to match vector types with integral elements that are either twice as wide or half as wide as the elements of the matched type. llvm-svn: 61834
-
Daniel Dunbar authored
llvm-svn: 61833
-
Douglas Gregor authored
nested in the translation unit. This fixes <rdar://problem/6476070>. llvm-svn: 61832
-
Dan Gohman authored
avoid the need for spilling, add a new testcase that tests that the pcmpeqd used for V_SETALLONES is changed to a constant-pool load as needed. llvm-svn: 61831
-
Dan Gohman authored
converted to LEA64_32r in x86's convertToThreeAddress. This replaces code like this: movl %esi, %edi inc %edi with this: lea 1(%rsi), %edi which appears to be beneficial. llvm-svn: 61830
-
Scott Michel authored
- Add preliminary support for v2i32; load/store generates the right code but there's a lot work to be done to make this vector type operational. llvm-svn: 61829
-
- Jan 06, 2009
-
-
Dan Gohman authored
aggregate types. Don't increment the current index after reaching the end of a struct, as it will already be pointing at one-past-the end. This fixes PR3288. llvm-svn: 61828
-
Ted Kremenek authored
- Big Idea: Source files are now mmaped when ContentCache::getBuffer() is first called. While this doesn't change the functionality when lexing regular source files, it can result in source files not being paged in when using PTH. - Performance change: - No observable difference (-fsyntax-only/-Eonly) on Cocoa.h when doing regular source lexing. - No observable time difference (-fsyntax-only/-Eonly) on Cocoa.h when using PTH. We do observe, however, a reduction of 279K in memory mapped source code (3% reduction). The majority of pages from Cocoa.h (and friends) are still being pulled in, however, because any literal will cause Preprocessor::getSpelling() to be called (causing the source for the file to get pulled in). The next possible optimization is to cache literal strings in the PTH file to avoid the need for the original header sources entirely. - Right now there is a preprocessor directive to toggle between "lazy" and "eager" creation of MemBuffers. This is not permanent, and is there in the short term to just test additional optimizations. llvm-svn: 61827
-
Ted Kremenek authored
Remove redunant (and incorrect) call to SourceManager::PrintStats(). This would be called after a SourceManager was 'cleared', so it printed bogus results. Moreover, these stats are already printed earlier in the code path. llvm-svn: 61825
-
Devang Patel authored
llvm-svn: 61822
-
-
Ted Kremenek authored
Add whitespace to silence the following warning in a Release build: warning: suggest a space before ';' or explicit braces around empty body in 'while' statement llvm-svn: 61820
-
Bill Wendling authored
llvm-svn: 61819
-
Ted Kremenek authored
Return UnknownVal in RegionStoreManager::getSizeInElements() for unsupported regions. This silences a warning when compiling Release-Asserts builds. llvm-svn: 61818
-
Fariborz Jahanian authored
to track down, easy to fix. This is on going. llvm-svn: 61817
-
rdar://problem/5956221Steve Naroff authored
Fix <rdar://problem/5956221> clang ObjC rewriter: Microsoft-specific __fastcall keyword unrecognized. This fix is C++ specific. llvm-svn: 61816
-
Cedric Venet authored
llvm-svn: 61815
-
Owen Anderson authored
two address instructions. We need to keep track of things we've processed AS USES independetly of whether we've processed them as defs. This fixes all known miscompilations when reconstruction is turned on. llvm-svn: 61802
-
Chris Lattner authored
- Simplify ParseDeclCXX to use early exit on error instead of nesting. - Change ParseDeclCXX to using the 'skip on error' form of ExpectAndConsume. - If we don't see the ; in a using directive, still call the action, for hopefully better error recovery. llvm-svn: 61801
-
Chris Lattner authored
llvm-svn: 61800
-
Chris Lattner authored
llvm-svn: 61799
-
Douglas Gregor authored
llvm-svn: 61798
-
Chris Lattner authored
llvm-svn: 61797
-
Chris Lattner authored
MaybeParseTypeSpecifier -> ParseOptionalTypeSpecifier. llvm-svn: 61796
-
Chris Lattner authored
llvm-svn: 61795
-
Daniel Dunbar authored
llvm-svn: 61794
-
Daniel Dunbar authored
driver to lookup this way instead of manually scanning arguments in multiple places. llvm-svn: 61793
-
Chris Lattner authored
llvm-svn: 61792
-
Chris Lattner authored
llvm-svn: 61791
-
Douglas Gregor authored
llvm-svn: 61790
-
Douglas Gregor authored
information for declarations that were referenced via a qualified-id, e.g., N::C::value. We keep track of the location of the start of the nested-name-specifier. Note that the difference between QualifiedDeclRefExpr and DeclRefExpr does have an effect on the semantics of function calls in two ways: 1) The use of a qualified-id instead of an unqualified-id suppresses argument-dependent lookup 2) If the name refers to a virtual function, the qualified-id version will call the function determined statically while the unqualified-id version will call the function determined dynamically (by looking up the appropriate function in the vtable). Neither of these features is implemented yet, but we do print out qualified names for QualifiedDeclRefExprs as part of the AST printing. llvm-svn: 61789
-
Chris Lattner authored
shorter and more accurate. The type name might not be qualified. llvm-svn: 61788
-
Chris Lattner authored
llvm-svn: 61787
-
Chris Lattner authored
llvm-svn: 61786
-
Scott Michel authored
llvm-svn: 61785
-
Scott Michel authored
- Fix bugs 3194, 3195: i128 load/stores produce correct code (although, we need to ensure that i128 is 16-byte aligned in real life), and 128 zero- extends are supported. - New td file: SPU128InstrInfo.td: this is where all new i128 support should be put in the future. - Continue to hammer on i64 operations and test cases; ensure that the only remaining problem will be i64 mul. llvm-svn: 61784
-
Daniel Dunbar authored
InputArg and UnknownArg. - Every argument now always corresponds to some option, which simplifies other code. llvm-svn: 61783
-
Ted Kremenek authored
- 'Buffer' is now private and must be accessed via 'getBuffer()'. This paves the way for lazily mapping in source files on demand. - Added 'getSize()' (which gets the size of the content without necessarily accessing the MemBuffer) and 'getSizeBytesMapped()'. - Modifed SourceManager to use these new methods. This reduces the number of places that actually access the MemBuffer object for a file to those that actually look at the character data. These changes result in no performance change for -fsyntax-only on Cocoa.h. llvm-svn: 61782
-
Dan Gohman authored
llvm-svn: 61781
-