summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move named cast helpers out of Sema, as Chris requested. This requirse ↵Sebastian Redl2008-11-082-141/+148
| | | | | | making a few functions public that weren't before. llvm-svn: 58906
* StoreInst does not produce any result thus it's useless to create newAnton Korobeynikov2008-11-081-1/+1
| | | | | | | variable for it. This greatly reduces amount of unused variables in llvm2cpp-generated code llvm-svn: 58905
* Revert r58880, it breaks test/SemaCXX/constructor.cppArgyrios Kyrtzidis2008-11-081-2/+1
| | | | llvm-svn: 58904
* Use only one constructor for CXXMethodDecl. Keep initialization stuff into ↵Argyrios Kyrtzidis2008-11-082-7/+1
| | | | | | one place. llvm-svn: 58902
* Properly escape dashes in TableGen's LLVMC2 emitter.Anton Korobeynikov2008-11-081-2/+2
| | | | | | Patch by Patrick Walton! llvm-svn: 58901
* Fix syntax of iterate_complex example. Noticed by Martin!Eric Christopher2008-11-081-1/+1
| | | | llvm-svn: 58900
* Moved InvalidateInstructionCache to ARMJITInfo::emitFunctionStub which knows ↵Evan Cheng2008-11-081-22/+21
| | | | | | size of stub. llvm-svn: 58899
* Remove a InvalidateInstructionCache call with incorrect size.Evan Cheng2008-11-081-4/+0
| | | | llvm-svn: 58898
* Rename startFunctionStub to startGVStub since it's also used for GV non-lazy ↵Evan Cheng2008-11-088-42/+39
| | | | | | ptr. llvm-svn: 58897
* Tell ARMJITInfo if codegen relocation is PIC. It changes how function stubs ↵Evan Cheng2008-11-083-8/+13
| | | | | | are generated. llvm-svn: 58896
* Rename isString -> isExternalSymbol; getString -> getExternalSymbol since ↵Evan Cheng2008-11-082-7/+7
| | | | | | these work on externsym machine relocations. llvm-svn: 58895
* More debug output.Evan Cheng2008-11-081-0/+2
| | | | llvm-svn: 58894
* Fix relocation for calls to external symbols.Evan Cheng2008-11-081-1/+1
| | | | llvm-svn: 58893
* Avoid redundant cast<>s / simplify type dispatch.Daniel Dunbar2008-11-082-45/+34
| | | | llvm-svn: 58892
* Support getTypeInfo, getTypeAlign, getTypeSize on const Type*s.Daniel Dunbar2008-11-082-7/+21
| | | | | | | | - Size/align are not effected by CVR qualifiers. Support getCanonicalType: const Type* -> const Type*. llvm-svn: 58891
* 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
OpenPOWER on IntegriCloud