summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* CellSPU: Fix prologue/epilogue emission when function contains calls butScott Michel2008-11-081-2/+2
| | | | | | theframe size is 0; the prologue and epilogue should be emitted in this case. llvm-svn: 58890
* "Fix" PR3021, don't crash on generating record types when we can'tDaniel Dunbar2008-11-082-2/+11
| | | | | | generate the type of a member. llvm-svn: 58889
* Silence a gcc warning.Daniel Dunbar2008-11-081-1/+1
| | | | llvm-svn: 58888
* Rework r58829, allowing removal of dbg info intrinsics during allocaDaniel Dunbar2008-11-081-20/+24
| | | | | | | | promotion. - Eliminate uses after free and simplify tests. Devang: Please check that this is still doing what you intended. llvm-svn: 58887
* Add a boilerplate for out-of-bound array checking. This has no real function ↵Zhongxing Xu2008-11-083-1/+36
| | | | | | currently. llvm-svn: 58886
* Add LLVMC2 tool definitions for Objective-C and Objective-C++.Daniel Dunbar2008-11-084-2/+66
| | | | llvm-svn: 58885
* Add svn:ignore properties for Clang llvmc2 plugin.Daniel Dunbar2008-11-080-0/+0
| | | | llvm-svn: 58884
* Skip over two-address use operands.Evan Cheng2008-11-081-0/+12
| | | | llvm-svn: 58883
* Handle ARM machine constantpool entry with non-lazy ptr.Evan Cheng2008-11-083-6/+24
| | | | llvm-svn: 58882
* Indentation.Evan Cheng2008-11-081-4/+4
| | | | llvm-svn: 58881
* In a declarator, consider an identifier a constructor only if it is followed ↵Argyrios Kyrtzidis2008-11-081-1/+2
| | | | | | | | | | | | by '('. Previously: class C { int C; // Declarator::SetConstructor was called here. }; llvm-svn: 58880
* remove unavailable clang projectTed Kremenek2008-11-081-6/+0
| | | | llvm-svn: 58879
* update post-build stepTed Kremenek2008-11-081-1/+2
| | | | llvm-svn: 58878
* Use ARMFunctionInfo to track number of constpool entries and jumptables.Evan Cheng2008-11-083-11/+28
| | | | llvm-svn: 58877
* Generated code for generic expansion of SETUGT etc.Dale Johannesen2008-11-081-0/+1
| | | | | | | | | is noticeably worse than previous PPC-specific code. Since the latter was also wrong in some cases and correctness is more important than efficiency, I'm disabling this test temporarily while I fix it. llvm-svn: 58876
* Xfail an incorrect test.Dale Johannesen2008-11-081-0/+7
| | | | llvm-svn: 58875
* Make testb optimization work on big-endian targets.Dale Johannesen2008-11-081-1/+4
| | | | llvm-svn: 58874
* Greatly improve static_cast diagnosticsSebastian Redl2008-11-074-78/+143
| | | | llvm-svn: 58873
* More code clean up.Evan Cheng2008-11-073-17/+8
| | | | llvm-svn: 58872
* Make FP tests requiring two compares work on PPC (PR 642).Dale Johannesen2008-11-073-18/+35
| | | | | | | | | | This is Chris' patch from the PR, modified to realize that SETUGT/SETULT occur legitimately with integers, plus two fixes in LegalizeDAG to pass a valid result type into LegalizeSetCC. The argument of TLI.getSetCCResultType is ignored on PPC, but I think I'm following usage elsewhere. llvm-svn: 58871
* Initial, partially-baked support for implicit user-defined conversions by ↵Douglas Gregor2008-11-074-3/+166
| | | | | | conversion functions llvm-svn: 58870
* Get PIC jump table working.Evan Cheng2008-11-072-51/+54
| | | | llvm-svn: 58869
* More debug output.Evan Cheng2008-11-072-2/+4
| | | | llvm-svn: 58868
* Use css style instead of hard coded color in cxx_status. No visible change.Cedric Venet2008-11-071-257/+263
| | | | llvm-svn: 58867
* Changes in preparation for nested-name-specifiers.Argyrios Kyrtzidis2008-11-075-31/+53
| | | | | | | -When parsing declarators, don't depend on "CurScope->isCXXClassScope() == true" for constructors/destructors -For C++ member declarations, don't depend on "Declarator.getContext() == Declarator::MemberContext" llvm-svn: 58866
* Make tablegen print out a nice error message for a const char*Dan Gohman2008-11-071-0/+7
| | | | | | exception, like it does for a std::string exception. llvm-svn: 58865
* Updated checker build.Ted Kremenek2008-11-071-1/+1
| | | | llvm-svn: 58864
* Document the acronym RAUW. Patch by Jonathan Brandmeyer!Dan Gohman2008-11-071-0/+8
| | | | llvm-svn: 58863
* Update C++ statusDouglas Gregor2008-11-071-2/+16
| | | | llvm-svn: 58862
* Sign-extend rather than zero-extend when promotingDuncan Sands2008-11-072-10/+24
| | | | | | | | | | | | | | | | the condition for a BRCOND, according to what is returned by getSetCCResultContents. Since all targets return the same thing (ZeroOrOneSetCCResult), this should be harmless! The point is that all over the place the result of SETCC is fed directly into BRCOND. On machines for which getSetCCResultContents returns ZeroOrNegativeOneSetCCResult, this is a sign-extended boolean. So it seems dangerous to also feed BRCOND zero-extended booleans in some circumstances - for example, when promoting the condition. llvm-svn: 58861
* Parsing, ASTs, and semantic analysis for the declaration of conversionDouglas Gregor2008-11-0714-19/+447
| | | | | | | | | | | | | functions in C++, e.g., struct X { operator bool() const; }; Note that these conversions don't actually do anything, since we don't yet have the ability to use them for implicit or explicit conversions. llvm-svn: 58860
* Flush the raw_ostream after emitting the assembly for a function.Dan Gohman2008-11-074-0/+8
| | | | | | | | | This is a temporary fix for the -print-emitted-asm option, where errs() is used as the stream, in the case where other code is using stderr without using errs()' buffer. Hopefully soon we'll fix errs() to be non-buffered instead. Patch by Preston Gurd. llvm-svn: 58859
* Fix unsigned->ppcf128 conversion.Dale Johannesen2008-11-071-0/+3
| | | | llvm-svn: 58856
* Assert that Parser::MaybeParseOperatorFunctionId is called when token is ↵Argyrios Kyrtzidis2008-11-072-5/+2
| | | | | | kw_operator, and replace ExpectAndConsume for the 'operator' token with a ConsumeToken. llvm-svn: 58855
* Separate the parsing of type-specifiers from other declaration specifiers, ↵Douglas Gregor2008-11-072-112/+187
| | | | | | so that we can parse a C++ type-specifier-seq llvm-svn: 58854
* include alloca.h instead of malloc.h. If this doesn't work for everyone we ↵Anders Carlsson2008-11-071-1/+1
| | | | | | can just declare alloca directly in the file. llvm-svn: 58853
* Update to add newer bitcodes.Nick Lewycky2008-11-071-12/+20
| | | | llvm-svn: 58852
* Append the test runs with '&&'.Argyrios Kyrtzidis2008-11-071-1/+1
| | | | llvm-svn: 58851
* Properly deserialize ParamInfo of FunctionDecl.Argyrios Kyrtzidis2008-11-071-2/+6
| | | | | | | When allocating an array for ParamInfo, the "decl->getNumParams()" call was used, but this will return 0 since it checks ParamInfo (which isn't yet defined and is null). The result was that ParamInfo got an array of zero length to hold the ParmVarDecls. llvm-svn: 58850
* Bring in 'alloca' for the Analysis/stack-addr-ps.c test case.Argyrios Kyrtzidis2008-11-071-0/+1
| | | | llvm-svn: 58849
* Add simple get method.Zhongxing Xu2008-11-071-0/+1
| | | | llvm-svn: 58848
* Join two lines.Zhongxing Xu2008-11-071-3/+1
| | | | llvm-svn: 58847
* Fix crash caused by this:Argyrios Kyrtzidis2008-11-072-0/+5
| | | | | | | | void f() { int +; // crash here } llvm-svn: 58846
* Keep CREDITS.TXT sorted by name.Richard Osborne2008-11-071-4/+4
| | | | llvm-svn: 58845
* Add contributer information for XCore backend to CREDITS.TXTRichard Osborne2008-11-071-0/+4
| | | | llvm-svn: 58844
* Add XCore backend to CMake build.Richard Osborne2008-11-071-1/+1
| | | | llvm-svn: 58843
* Shut off an unsigned/signed comparison warning for GCC.Argyrios Kyrtzidis2008-11-071-1/+1
| | | | llvm-svn: 58842
* Add basic test for XCore backendRichard Osborne2008-11-072-0/+11
| | | | llvm-svn: 58841
* Fix compile warnings.Richard Osborne2008-11-072-3/+3
| | | | llvm-svn: 58840
* CellSPU: Ensure that C strings are always put in the .rodata sectionScott Michel2008-11-071-0/+1
| | | | llvm-svn: 58839
OpenPOWER on IntegriCloud