summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* revert accidental commitChris Lattner2007-05-031-1/+3
| | | | llvm-svn: 36668
* add support for printing offset of globalChris Lattner2007-05-032-3/+6
| | | | llvm-svn: 36667
* Sets the section names for fixed-size constants and use the mergeableDan Gohman2007-05-031-0/+5
| | | | | | | | flag for ELF on x86 so that duplicate constants can be eliminated by the linker. This matches what GCC does with its -fmerge-constants option, which is enabled at most -O levels. llvm-svn: 36666
* revert reid's patch to fix these failures:Chris Lattner2007-05-031-100/+28
| | | | | | | | test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll for PR1099 [DEJAGNU] Applications/SPASS/SPASS [CBE] Regression/C/2004-03-15-IndirectGoto [CBE] llvm-svn: 36664
* Typo. It's checking if V is multiple of 4, not multiple of 3. :-)Evan Cheng2007-05-031-1/+1
| | | | llvm-svn: 36663
* Drop 'const'Devang Patel2007-05-03121-260/+260
| | | | llvm-svn: 36662
* match a reassociated form of fnmul. This implements CodeGen/ARM/fnmul.llChris Lattner2007-05-032-2/+9
| | | | llvm-svn: 36660
* expose HonorSignDependentRoundingFPMathOption to .td filesChris Lattner2007-05-032-0/+6
| | | | llvm-svn: 36658
* Add a new option.Chris Lattner2007-05-031-4/+17
| | | | llvm-svn: 36657
* Non-algorithmic change. Moved definitions around into separate sectionsBill Wendling2007-05-021-1004/+1251
| | | | | | for SSE1, SSE2, SSE3, and SSSE3. llvm-svn: 36656
* Properly set arguments bitwidth of EHSELECT nodeAnton Korobeynikov2007-05-021-2/+2
| | | | llvm-svn: 36654
* Update.Bill Wendling2007-05-021-0/+27
| | | | llvm-svn: 36653
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-02121-261/+260
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Re-install patch to enable use of PassID.Devang Patel2007-05-021-15/+14
| | | | | | | I am preparing another patch to address the failure that prompted Chris to revert this patch earlier. llvm-svn: 36649
* Fix build error.Lauro Ramos Venancio2007-05-028-11/+14
| | | | llvm-svn: 36648
* Emit correct register move information in eh frames for X86. This allows ↵Anton Korobeynikov2007-05-022-8/+56
| | | | | | | | Shootout-C++/except to pass on x86/linux with non-llvm-compiled (e.g. "native") unwind runtime. llvm-svn: 36647
* Emit correct DWARF reg # for RA (return address) registerAnton Korobeynikov2007-05-022-1/+7
| | | | llvm-svn: 36646
* add reader logic for terminator instrs.Chris Lattner2007-05-023-10/+93
| | | | llvm-svn: 36642
* add reader support for a bunch of new instructionsChris Lattner2007-05-021-14/+90
| | | | llvm-svn: 36641
* read a few instructions, fix some bugs. This is enough to be able to roundChris Lattner2007-05-021-15/+38
| | | | | | | | | | | | | | trip function bodies like this: define <2 x i64> @foo(<2 x i64> %x, <2 x i64> %y) { %tmp4 = bitcast <2 x i64> %y to <8 x i16> ; <<8 x i16>> [#uses=1] %tmp5 = bitcast <2 x i64> %x to <8 x i16> ; <<8 x i16>> [#uses=1] %tmp = add <8 x i16> %tmp5, %tmp4 ; <<8 x i16>> [#uses=1] %tmp6 = bitcast <8 x i16> %tmp to <2 x i64> ; <<2 x i64>> [#uses=1] ret <2 x i64> %tmp6 } llvm-svn: 36640
* use the correct code for binop instrsChris Lattner2007-05-021-1/+1
| | | | llvm-svn: 36639
* revert enough of devang's recent patches to get the tree basically working againChris Lattner2007-05-021-15/+16
| | | | llvm-svn: 36638
* 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
OpenPOWER on IntegriCloud