summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Remove symbols that don't exist, remove tabs, fix comment typoChris Lattner2008-01-031-17/+15
| | | | llvm-svn: 45553
* Adding new files to win32 buildChuck Rose III2008-01-035-23/+47
| | | | llvm-svn: 45545
* add info on walking preds/succs of a block.Chris Lattner2008-01-031-8/+39
| | | | llvm-svn: 45537
* First steps in in X86 calling convention cleanup.Gordon Henriksen2008-01-031-121/+128
| | | | llvm-svn: 45536
* Test for handling of large bit offset from aDuncan Sands2008-01-032-0/+16
| | | | | | variable field offset. llvm-svn: 45534
* don't hoist FP additions into unconditional adds + selects. This Chris Lattner2008-01-032-0/+28
| | | | | | | could theoretically introduce a trap, but is also a performance issue. This speeds up ptrdist/ks by 8%. llvm-svn: 45533
* Fix PR1873, a problem finding stat-related symbols on linux, due toChris Lattner2008-01-031-9/+20
| | | | | | "libc_nonshared.a". Patch by Edwin Török! llvm-svn: 45532
* Trying that again.Gordon Henriksen2008-01-032-1/+1
| | | | llvm-svn: 45529
* Fix a compile error on Windows.Gordon Henriksen2008-01-031-0/+2
| | | | llvm-svn: 45528
* Change MachineRelocation::DoesntNeedFnStub to NeedStub. This fields will be usedEvan Cheng2008-01-035-66/+67
| | | | | | for non-function GV relocations that require function address stubs (e.g. Mac OS X in non-static mode). llvm-svn: 45527
* don't access element zero of an array of size zero.Chris Lattner2008-01-031-2/+2
| | | | llvm-svn: 45526
* Remove the function attr cache for intrinsics. This does not maintain the Chris Lattner2008-01-031-7/+1
| | | | | | | refcount on these correctly, and can end up referring to deleted attributes. This fixes PR1881. llvm-svn: 45525
* Don't create a new ParamAttrsList (which copies the vector) just to Chris Lattner2008-01-032-7/+10
| | | | | | get a profile. llvm-svn: 45524
* An example for which the TYPE_SIZE was being set fromDuncan Sands2008-01-031-0/+12
| | | | | | | | | the initial value, while the type fields were not (this is a qualified union type, so not all fields are always present). This resulted in the size of the corresponding LLVM type being larger than the gcc TYPE_SIZE. llvm-svn: 45522
* Test handling of records for which the fields areDuncan Sands2008-01-031-0/+7
| | | | | | not ordered by offset. llvm-svn: 45520
* move some code out of line, rearrange a bit.Chris Lattner2008-01-032-9/+11
| | | | llvm-svn: 45519
* Disallow copying explicitly.Chris Lattner2008-01-031-0/+3
| | | | llvm-svn: 45518
* Split param attr implementation out from Function.cpp into itsChris Lattner2008-01-027-282/+349
| | | | | | | own file. Don't #include ParameterAttributes.h into any major public header files: just move methods out of line as appropriate. llvm-svn: 45517
* add missing #includeChris Lattner2008-01-021-0/+1
| | | | llvm-svn: 45516
* X86 PIC JIT bug fix: relocations for constantpool and jumptable.Evan Cheng2008-01-021-7/+6
| | | | llvm-svn: 45515
* remove blob of #if'd out code.Chris Lattner2008-01-021-37/+0
| | | | llvm-svn: 45512
* fix this to use a valid triple.Chris Lattner2008-01-021-1/+1
| | | | llvm-svn: 45509
* Inverted argument order for ImmutableMap::Profile.Ted Kremenek2008-01-021-2/+2
| | | | llvm-svn: 45507
* Fix a build issue on cygwinChris Lattner2008-01-021-6/+3
| | | | llvm-svn: 45506
* Added iterator and profiling (i.e. FoldingSetNodeID) support to ImmutableMap.Ted Kremenek2008-01-021-1/+40
| | | | llvm-svn: 45503
* Fix PR1888, patch by Wilhansen Li.Chris Lattner2008-01-022-2/+6
| | | | llvm-svn: 45501
* Fix a build problem with VC++ by not doing the target prefixChris Lattner2008-01-021-13/+24
| | | | | | | comparison for every builtin. This reduces the depth of the if/elseif chain dramatically. llvm-svn: 45500
* Use the correct MachineRegisterInfo object.Bill Wendling2008-01-021-2/+1
| | | | llvm-svn: 45499
* Machine LICM will check that operands are defined outside of the loop. AlsoBill Wendling2008-01-022-40/+1
| | | | | | check that register isn't 0 before going further. llvm-svn: 45498
* Remove dead code.Bill Wendling2008-01-021-35/+0
| | | | llvm-svn: 45496
* verify that aligned common support doesn't break.Chris Lattner2008-01-021-0/+8
| | | | llvm-svn: 45495
* darwin9 and above support aligned common symbols.Chris Lattner2008-01-023-12/+36
| | | | llvm-svn: 45494
* leopard and above support alignment for common symbols.Chris Lattner2008-01-023-11/+32
| | | | llvm-svn: 45493
* Use the new architecture to get the containing machine basic block for a machineBill Wendling2008-01-021-28/+28
| | | | | | | instruction. Also, use "splice" to move the new instruction instead of remove/insert (where it was leaking memory anyway). llvm-svn: 45492
* Don't be rude, emit debugging info where asked to.Nick Lewycky2008-01-021-5/+5
| | | | llvm-svn: 45485
* Move some more instruction creation methods from RegisterInfo into InstrInfo.Owen Anderson2008-01-0140-1218/+1306
| | | | llvm-svn: 45484
* Make MachineRegisterInfo::getVRegDef more efficient by aiming the keep the ↵Chris Lattner2008-01-011-4/+10
| | | | | | def of the vreg at the start of the list, so the list doesn't need to be traversed. llvm-svn: 45483
* switch the register iterator to act more like hte LLVM value iterator: ↵Chris Lattner2008-01-013-11/+43
| | | | | | | | | | | dereferencing it now returns the machineinstr of the use. To get the operand, use I.getOperand(). Add a new MachineRegisterInfo::replaceRegWith, which is basically like Value::replaceAllUsesWith. llvm-svn: 45482
* Adding C bindings for SwitchInst::addCase.Gordon Henriksen2008-01-012-0/+9
| | | | | | Patch by Bryan O'Sullivan! llvm-svn: 45481
* Add a trivial but handy function to efficiently return the machine Chris Lattner2008-01-012-0/+21
| | | | | | instruction that defines the specified vreg. Crazy. llvm-svn: 45480
* add efficient iteration support for register use/def's Chris Lattner2008-01-012-0/+73
| | | | | | within a machine function. llvm-svn: 45479
* Update this testcase. The output needs to be disabled to pass.Bill Wendling2008-01-011-25/+23
| | | | llvm-svn: 45478
* Implement automatically updated def/use lists for all MachineInstr register Chris Lattner2008-01-016-58/+438
| | | | | | | operands. The lists are currently kept in MachineRegisterInfo, but it does not yet provide an iterator interface to them. llvm-svn: 45477
* Fix a bug in my previous patch: refer to the impl not the pure virtual ↵Chris Lattner2008-01-012-2/+2
| | | | | | version. It's unclear why gcc would ever compile this... llvm-svn: 45476
* Fix a problem where lib/Target/TargetInstrInfo.h would include and useChris Lattner2008-01-0119-62/+91
| | | | | | | | | | a header file from libcodegen. This violates a layering order: codegen depends on target, not the other way around. The fix to this is to split TII into two classes, TII and TargetInstrInfoImpl, which defines stuff that depends on libcodegen. It is defined in libcodegen, where the base is not. llvm-svn: 45475
* Factor out makefile dependency generation better.Chris Lattner2007-12-311-9/+14
| | | | | | | Don't include system headers in the .d files. Don't use $@ in the makefile rules, as there are two possible targets it could resolve to: use the one that we need explicitly. llvm-svn: 45473
* Fix PR1833 - eh.exception and eh.selector return twoDuncan Sands2007-12-312-6/+64
| | | | | | | | values, which means doing extra legalization work. It would be easier to get this kind of thing right if there was some documentation... llvm-svn: 45472
* Move copyRegToReg from MRegisterInfo to TargetInstrInfo. This is part of theOwen Anderson2007-12-3131-267/+321
| | | | | | Machine-level API cleanup instigated by Chris. llvm-svn: 45470
* properly encapsulate the parent field of MBB and MI with get/set accessors.Chris Lattner2007-12-315-49/+53
| | | | llvm-svn: 45469
* update a couple of references to SSARegMap.Chris Lattner2007-12-313-8/+7
| | | | llvm-svn: 45468
OpenPOWER on IntegriCloud