summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* disable this assertion as a hack to get the build more unbroken :(Chris Lattner2007-05-021-1/+1
| | | | llvm-svn: 36637
* Make sign extension work correctly for unusual bit widths.Reid Spencer2007-05-021-28/+100
| | | | llvm-svn: 36635
* Add some support for (Darwin) code-generating directives in getInlineAsmLength.Dale Johannesen2007-05-022-18/+115
| | | | | | Support is incomplete, but more accurate than gcc's. llvm-svn: 36634
* Fix couple of bugs connected with eh info:Anton Korobeynikov2007-05-013-18/+33
| | | | | | | 1. Correct output offsets on Linux 2. Fix "style" of personality function. It shouldn't be indirect. llvm-svn: 36633
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-01122-80/+529
| | | | llvm-svn: 36632
* Doh. PC displacement is between the constantpool and the add instruction.Evan Cheng2007-05-011-1/+1
| | | | llvm-svn: 36630
* Use correct PC symbolAnton Korobeynikov2007-05-011-0/+2
| | | | llvm-svn: 36628
* Adjust correct EH-related sectionsAnton Korobeynikov2007-05-011-0/+4
| | | | llvm-svn: 36627
* eliminateFrameIndex() change.Evan Cheng2007-05-0112-14/+25
| | | | llvm-svn: 36626
* If call frame is not part of stack frame and no dynamic alloc, ↵Evan Cheng2007-05-012-18/+49
| | | | | | eliminateFrameIndex() must adjust SP offset with size of call frames. llvm-svn: 36625
* Forgot about chain result; also UNDEF cannot have multiple values.Evan Cheng2007-05-011-12/+12
| | | | llvm-svn: 36622
* fix build with non-buggy compilersChris Lattner2007-05-011-10/+11
| | | | llvm-svn: 36621
* handle function-level forward references, read binops.Chris Lattner2007-05-012-20/+145
| | | | llvm-svn: 36620
* llvm bug #1350, parts 1, 2, and 3.Nate Begeman2007-05-013-10/+61
| | | | llvm-svn: 36618
* implement materializeModule, force deallocation of vector memory when weChris Lattner2007-05-012-15/+107
| | | | | | are done with them, start implementing ParseFunctionBody llvm-svn: 36617
* The stream to read from is now an ivarChris Lattner2007-05-012-20/+18
| | | | llvm-svn: 36615
* implement scafolding for lazy deserialization of function bodiesChris Lattner2007-05-012-7/+85
| | | | llvm-svn: 36614
* write the symbol table for function bodiesChris Lattner2007-05-011-30/+33
| | | | llvm-svn: 36610
* encode all of the instructions.Chris Lattner2007-05-011-3/+166
| | | | llvm-svn: 36609
* Under normal circumstances, when a frame pointer is not required, we reserveEvan Cheng2007-05-013-20/+43
| | | | | | | | | | | | argument space for call sites in the function immediately on entry to the current function. This eliminates the need for add/sub sp brackets around call sites. However, this is not always a good idea. If the "call frame" is large and the target load / store instructions have small immediate field to encode sp offset, this can cause poor codegen. In the worst case, this can make it impossible to scavenge a register if the reserved spill slot is pushed too far apart from sp / fp. llvm-svn: 36607
* * Only turn a load to UNDEF if all of its outputs have no uses (indexed loadsEvan Cheng2007-05-011-5/+20
| | | | | | | produce two results.) * Do not touch volatile loads. llvm-svn: 36604
* Fix PR1228 and CodeGen/Generic/2007-04-30-LandingPadBranchFolding.llChris Lattner2007-04-301-2/+8
| | | | llvm-svn: 36602
* print isLandingPad() for MBBsChris Lattner2007-04-301-3/+5
| | | | llvm-svn: 36600
* Continue refactoring inline asm code. If there is an earlyclobber outputChris Lattner2007-04-301-79/+108
| | | | | | | | register, preallocate all input registers and the early clobbered output. This fixes PR1357 and CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll llvm-svn: 36599
* Updates.Evan Cheng2007-04-301-1/+57
| | | | llvm-svn: 36594
* refactor GetRegistersForValue to take OpInfo as an argument instead of variousChris Lattner2007-04-301-98/+101
| | | | | | pieces of it. No functionality change. llvm-svn: 36592
* refactor some code, no functionality changeChris Lattner2007-04-301-44/+52
| | | | llvm-svn: 36590
* Clean up multi-line asam string printing. Instead of printing:Chris Lattner2007-04-301-1/+1
| | | | | | | | | | | | | | | | # InlineAsm Start subfc r3,r5,r4 subfze r4,r3 # InlineAsm End print: # InlineAsm Start subfc r3,r5,r4 subfze r4,r3 # InlineAsm End llvm-svn: 36589
* Fix typo. Interesting, but old variant worked too :)Anton Korobeynikov2007-04-301-1/+1
| | | | llvm-svn: 36588
* Remove item: thumb padding in constant islandsDale Johannesen2007-04-301-6/+2
| | | | llvm-svn: 36586
* remove unused variableDale Johannesen2007-04-301-1/+0
| | | | llvm-svn: 36585
* If an archive is not recognized as an LLVM bytecode archive then declareReid Spencer2007-04-302-3/+8
| | | | | | | | | that it is native so that the linker will pass it on downstream. This avoids a problem where the native link line fails because there is both a .so and a .a file. The .a file gets processed as bytecode and then dropped from the command line. llvm-svn: 36584
* Enable protected visibility on ARM.Lauro Ramos Venancio2007-04-302-4/+16
| | | | llvm-svn: 36583
* Dependent libraries could be native too.Reid Spencer2007-04-301-1/+4
| | | | llvm-svn: 36582
* Implement visibility checking during linking. Also implement protectedAnton Korobeynikov2007-04-293-3/+18
| | | | | | visibility support for bitcode. llvm-svn: 36577
* Rewrite of Thumb constant islands handling (exact allowance for paddingDale Johannesen2007-04-292-87/+226
| | | | | | around islands and jump tables). llvm-svn: 36573
* Make ARM-specific version of getInlineAsmLengthDale Johannesen2007-04-292-0/+53
| | | | llvm-svn: 36572
* generalize aggregate handlingChris Lattner2007-04-291-5/+21
| | | | llvm-svn: 36568
* RegenerateAnton Korobeynikov2007-04-293-3809/+4382
| | | | llvm-svn: 36566
* Implement protected visibility. This partly implements PR1363. LinkerAnton Korobeynikov2007-04-2910-13/+34
| | | | | | should be taught to deal with protected symbols. llvm-svn: 36565
* Implement review feedbackAnton Korobeynikov2007-04-295-22/+34
| | | | llvm-svn: 36564
* Fix MemoryBuffer breakage correctly.Jeff Cohen2007-04-293-1626/+1403
| | | | llvm-svn: 36561
* Unbreak build.Jeff Cohen2007-04-291-1/+2
| | | | llvm-svn: 36559
* Switch the bitcode reader interface to take a MemoryBuffer instead of knowingChris Lattner2007-04-293-108/+62
| | | | | | | | | | | | | | anything about disk I/O itself. This greatly simplifies its interface - eliminating the need for the ReaderWrappers.cpp file. This adds a new option to llvm-dis (-bitcode) which instructs it to read the input file as bitcode. Until/unless the bytecode reader is taught to read from MemoryBuffer, there is no way to handle stdin reading without it. I don't plan to switch the bytecode reader over, I'd rather delete it :), so the option will stay around temporarily. llvm-svn: 36554
* Add a new memorybuffer class, to unify all the file reading code in the systemChris Lattner2007-04-291-0/+239
| | | | llvm-svn: 36553
* Fix this to use the right block IDChris Lattner2007-04-291-3/+1
| | | | llvm-svn: 36550
* moved Writer.cpp -> BitcodeWriter.cpp to make it more unique in the tree.Chris Lattner2007-04-291-1/+1
| | | | llvm-svn: 36549
* memory operands that have a direct operand should have their stores createdChris Lattner2007-04-281-35/+42
| | | | | | | | | | | | | before the copies into physregs are done. This avoids having flag operands skip the store, causing cycles in the dag at sched time. This fixes infinite loops on these tests: test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll for PR1308 test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll for PR828 llvm-svn: 36547
* eliminate more redundant constraint type analysisChris Lattner2007-04-281-6/+2
| | | | llvm-svn: 36546
* merge constraint type analysis stuff together.Chris Lattner2007-04-281-14/+21
| | | | llvm-svn: 36545
OpenPOWER on IntegriCloud