summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Significant refactoring of the inline asm stuff, to support future changes.Chris Lattner2007-04-281-82/+107
| | | | | | No functionality change. llvm-svn: 36544
* Regenerate.Reid Spencer2007-04-284-2365/+2021
| | | | llvm-svn: 36543
* Revert the premature portion of the last commit.Reid Spencer2007-04-281-62/+76
| | | | llvm-svn: 36542
* This is not "FIXME" anymoreAnton Korobeynikov2007-04-281-3/+1
| | | | llvm-svn: 36541
* Let Verifier check aliaseesAnton Korobeynikov2007-04-281-0/+7
| | | | llvm-svn: 36540
* Fix a compilation error (jump to case label).Reid Spencer2007-04-281-77/+64
| | | | llvm-svn: 36539
* RegenerateAnton Korobeynikov2007-04-283-3352/+4719
| | | | llvm-svn: 36538
* Implement review feedback. Aliasees can be either GlobalValue's orAnton Korobeynikov2007-04-2812-66/+182
| | | | | | bitcasts of them. llvm-svn: 36537
* memory inputs to an inline asm are required to have an address available.Chris Lattner2007-04-282-20/+34
| | | | | | | | | If the operand is not already an indirect operand, spill it to a constant pool entry or a stack slot. This fixes PR1356 and CodeGen/X86/2007-04-27-InlineAsm-IntMemInput.ll llvm-svn: 36536
* Fix CodeGen/Generic/2007-04-27-LargeMemObject.ll andChris Lattner2007-04-281-4/+10
| | | | | | CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll llvm-svn: 36534
* add a way to make this less brittleChris Lattner2007-04-281-3/+7
| | | | llvm-svn: 36528
* fix a bug triggered by 403.gccChris Lattner2007-04-281-2/+1
| | | | llvm-svn: 36527
* Fix several latent bugs in EmitGEPOffset that didn't manifest with itsChris Lattner2007-04-281-36/+52
| | | | | | previous clients. This fixes MallocBench/gs llvm-svn: 36525
* Fix this to match change to InlineAsm class.Chris Lattner2007-04-281-3/+3
| | | | llvm-svn: 36524
* uhn zap cvsChris Lattner2007-04-281-6/+0
| | | | llvm-svn: 36523
* represent indirect operands explicitly in inline asm strings.Chris Lattner2007-04-281-8/+9
| | | | llvm-svn: 36522
* Implement PR1345 and Transforms/InstCombine/bitcast-gep.llChris Lattner2007-04-281-28/+104
| | | | llvm-svn: 36521
* change per reviewDale Johannesen2007-04-281-3/+3
| | | | llvm-svn: 36519
* Prevent Thumb code from generating ARM instructionsDale Johannesen2007-04-271-3/+3
| | | | llvm-svn: 36518
* add a GEP helper functionChris Lattner2007-04-271-0/+11
| | | | llvm-svn: 36515
* add parenthesis.Lauro Ramos Venancio2007-04-271-2/+2
| | | | llvm-svn: 36514
* Doh. ARM::LEApcrel is a single instruction MI.Evan Cheng2007-04-271-5/+3
| | | | llvm-svn: 36513
* In Thumb mode, the frame register must be R7.Lauro Ramos Venancio2007-04-271-2/+2
| | | | llvm-svn: 36512
* refactor some code relating to pointer cast xforms, pulling it out of the ↵Chris Lattner2007-04-271-53/+56
| | | | | | | | codepath for unrelated casts. llvm-svn: 36511
* Fix incorrect legalization of EHSELECTOR. This fixesChris Lattner2007-04-271-6/+10
| | | | | | CodeGen/Generic/2007-04-14-EHSelectorCrash.ll and PR1326 llvm-svn: 36510
* ARM TLS: implement "general dynamic", "initial exec" and "local exec" models.Lauro Ramos Venancio2007-04-278-13/+157
| | | | llvm-svn: 36506
* Darwin runtime library does not have these.Evan Cheng2007-04-271-73/+79
| | | | llvm-svn: 36505
* Special handling of LEApcrel and tLEApcrel.Evan Cheng2007-04-271-0/+11
| | | | llvm-svn: 36504
* Back out previous check-in. Incorrect.Evan Cheng2007-04-271-6/+2
| | | | llvm-svn: 36503
* tLEApcrel is a AddrModeTs, i.e. pc relative.Evan Cheng2007-04-271-2/+6
| | | | llvm-svn: 36502
* Expand UINT_TO_FP in turns of SINT_TO_FP when UINTTOFP_* libcalls are not ↵Evan Cheng2007-04-271-4/+25
| | | | | | available. llvm-svn: 36501
* improve EH global handling, patch by Duncan Sands.Chris Lattner2007-04-271-6/+10
| | | | llvm-svn: 36499
* Move ~Pass() from Pass.h into Pass.cppDevang Patel2007-04-261-0/+5
| | | | llvm-svn: 36498
* enable Anton's shift/and switch lowering stuff! It now passes ppc bootstrapChris Lattner2007-04-261-1/+0
| | | | | | successfully! woohoo... llvm-svn: 36496
* Fix PR1339 and CodeGen/X86/dollar-name.llDan Gohman2007-04-261-3/+32
| | | | llvm-svn: 36495
* Have MMX registers clobbered in x86-64 too.Bill Wendling2007-04-261-0/+1
| | | | llvm-svn: 36494
* Fixx off-by-one bug, which prevents llvm-gcc bootstrap on ppc32Anton Korobeynikov2007-04-261-1/+1
| | | | llvm-svn: 36490
* Fix a typo in a comment.Dan Gohman2007-04-261-1/+1
| | | | llvm-svn: 36485
* Rename findRegisterUseOperand to findRegisterUseOperandIdx to avoid confusion.Evan Cheng2007-04-267-12/+13
| | | | llvm-svn: 36483
* 1. Don't swap byte order in scanf. It isn't necessary and leads toReid Spencer2007-04-261-1/+1
| | | | | | | | incorrect results (canonicalization was dropped several commits ago). 2. Add support for fscanf. 3. Suppress a warning about cast to pointer from non-pointer-sized integer. llvm-svn: 36482
* Use toplevel function pass manager as OnTheFly manager.Devang Patel2007-04-261-10/+17
| | | | llvm-svn: 36481
OpenPOWER on IntegriCloud