summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Try to produce better code when scalarizing VSETCC.Duncan Sands2008-11-081-8/+26
| | | | llvm-svn: 58920
* Factor out offset printing code into generic AsmPrinter.Anton Korobeynikov2008-11-086-31/+19
| | | | | | | FIXME: it seems, that most of targets don't support offsets wrt CPI/GlobalAddress', was it intentional? llvm-svn: 58917
* The Index field of an AttributeWithIndex is of type unsigned, not uint16_t.Nicolas Geoffray2008-11-081-2/+2
| | | | llvm-svn: 58908
* 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
* 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
* 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
* 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 LLVMC2 tool definitions for Objective-C and Objective-C++.Daniel Dunbar2008-11-084-2/+66
| | | | llvm-svn: 58885
* 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
* remove unavailable clang projectTed Kremenek2008-11-081-6/+0
| | | | llvm-svn: 58879
* 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
* 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
* 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
* 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
* Document the acronym RAUW. Patch by Jonathan Brandmeyer!Dan Gohman2008-11-071-0/+8
| | | | llvm-svn: 58863
* 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
* 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
* Update to add newer bitcodes.Nick Lewycky2008-11-071-12/+20
| | | | llvm-svn: 58852
* 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
* 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
* Add XCore backend.Richard Osborne2008-11-0727-26/+4989
| | | | llvm-svn: 58838
* Jump table JIT support. Work in progress.Evan Cheng2008-11-076-76/+192
| | | | llvm-svn: 58836
* Jump tables may be emitted by target.Evan Cheng2008-11-072-9/+17
| | | | llvm-svn: 58835
* Jump table relocation addresses may be resolved by target.Evan Cheng2008-11-071-2/+3
| | | | llvm-svn: 58834
* Teach CellSPU about ELF sections and new section emitter classes.Scott Michel2008-11-073-35/+46
| | | | | NB: This is likely to need more work. llvm-svn: 58832
* BCUI + 1 doesn't work. Use next instead.Bill Wendling2008-11-071-1/+2
| | | | llvm-svn: 58830
* Refactor code that adjusts the offsets of stack objects.Bill Wendling2008-11-071-79/+34
| | | | llvm-svn: 58829
* Encode misc arithmetic instructions.Evan Cheng2008-11-074-14/+88
| | | | llvm-svn: 58828
* Testcase for testb optimization.Dale Johannesen2008-11-071-0/+25
| | | | llvm-svn: 58827
* Handle (delete) dbg intrinsics while promoting alloca.Devang Patel2008-11-072-3/+78
| | | | llvm-svn: 58826
OpenPOWER on IntegriCloud