summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* There is no need to pass the name into lib/Target/TargetAsmInfo.cppChris Lattner2009-07-241-1/+1
| | | | | | when we have a global with no section explicitly specified. llvm-svn: 76971
* remove a use of SectionFlagsForGlobal.Chris Lattner2009-07-241-3/+4
| | | | llvm-svn: 76970
* Another getName -> getNameStrDaniel Dunbar2009-07-241-1/+1
| | | | llvm-svn: 76967
* More move to raw_ostream.Daniel Dunbar2009-07-241-4/+3
| | | | llvm-svn: 76966
* Move more to raw_ostream, provide support for writing MachineBasicBlock,Daniel Dunbar2009-07-246-8/+51
| | | | | | LiveInterval, etc to raw_ostream. llvm-svn: 76965
* Move more to raw_ostream.Daniel Dunbar2009-07-242-7/+8
| | | | llvm-svn: 76964
* Move to raw_ostream.Daniel Dunbar2009-07-243-71/+73
| | | | llvm-svn: 76963
* Switch to getNameStr().Daniel Dunbar2009-07-2411-35/+35
| | | | llvm-svn: 76962
* Allow llvm_report_error to accept a Twine.Daniel Dunbar2009-07-241-3/+12
| | | | llvm-svn: 76961
* Remove unused member functions.Eli Friedman2009-07-2416-474/+0
| | | | llvm-svn: 76960
* Update CMakeDaniel Dunbar2009-07-241-0/+1
| | | | llvm-svn: 76957
* Add Twine ADT.Daniel Dunbar2009-07-241-0/+91
| | | | | | - Not currently used. llvm-svn: 76956
* hoist section name uniquing logic up to the top-level SectionForGlobalChris Lattner2009-07-243-28/+26
| | | | | | implementation, eliminating a dupe. llvm-svn: 76953
* reduce indentationChris Lattner2009-07-241-35/+37
| | | | llvm-svn: 76951
* simplify code by making special case more obviousChris Lattner2009-07-241-9/+5
| | | | llvm-svn: 76950
* the 'isWeakForLinker' code is common between functions and globals, hoist itChris Lattner2009-07-241-55/+44
| | | | | | and simplify some other code. llvm-svn: 76949
* Replace UniqueSectionForGlobal with getSectionPrefixForUniqueGlobal.Chris Lattner2009-07-245-60/+39
| | | | | | | | The later doesn't depend on any crazy LLVM IR stuff, and this pulls the concatenation of prefix with GV name (the root problem behind PR4584) out one level. llvm-svn: 76948
* document SectionFlags::Named better and make it more easily greppable byChris Lattner2009-07-241-1/+1
| | | | | | eliminating isNamed. llvm-svn: 76946
* fix indentation.Chris Lattner2009-07-241-14/+14
| | | | llvm-svn: 76945
* use section flags more correctly.Chris Lattner2009-07-243-7/+6
| | | | llvm-svn: 76944
* Switch to raw_ostream.Daniel Dunbar2009-07-241-9/+9
| | | | llvm-svn: 76943
* fix a mysterious and scary failure on test/CodeGen/X86/cstring.ll Chris Lattner2009-07-241-1/+1
| | | | llvm-svn: 76942
* reduce api exposure: clients shouldn't call SectionKindForGlobal directly.Chris Lattner2009-07-244-31/+32
| | | | llvm-svn: 76941
* make Constant::getRelocationInfo return an enum, as suggested by Duncan.Chris Lattner2009-07-242-13/+14
| | | | llvm-svn: 76938
* remove more bits of small section support.Chris Lattner2009-07-242-12/+4
| | | | llvm-svn: 76937
* remove more remnants of small section support.Chris Lattner2009-07-244-53/+1
| | | | llvm-svn: 76936
* Remove SectionKind::Small*. This was only used on mips, and is apparentlyChris Lattner2009-07-244-72/+2
| | | | | | a sad mistake that is regretted. :) llvm-svn: 76935
* Thumb2 should use the register scavenger.Evan Cheng2009-07-241-2/+1
| | | | llvm-svn: 76930
* Fix whitespace.Dan Gohman2009-07-241-1/+1
| | | | llvm-svn: 76929
* FLDD, FLDS, FCPYD, FCPYS, FSTD, FSTS, VMOVD, VMOVQ maps to the same ↵Evan Cheng2009-07-246-67/+29
| | | | | | instructions on all sub-targets. llvm-svn: 76925
* Privatize the ConstantVector tables.Owen Anderson2009-07-244-59/+71
| | | | llvm-svn: 76922
* Update insertps handling based on feedback. Move to a v4f32 styleEric Christopher2009-07-242-18/+15
| | | | | | | to support vector arguments and scalar arguments correctly. Update lowering and fix comment to refer to pinsr* instead of insertps. llvm-svn: 76921
* Remove the IA-64 backend.Dan Gohman2009-07-2431-4373/+1
| | | | llvm-svn: 76920
* Correctly handle the Thumb-2 imm8 addrmode. Specialize frame index ↵David Goodwin2009-07-2416-211/+370
| | | | | | elimination more exactly for Thumb-2 to get better code gen. llvm-svn: 76919
* Added a 2+-byte NOP instruction to the Intel tables,Sean Callanan2009-07-231-1/+4
| | | | | | for the assembler/disassembler to use. llvm-svn: 76914
* Privatize the ConstantStruct table.Owen Anderson2009-07-234-93/+129
| | | | llvm-svn: 76912
* Write space padding as one string to speed up comment printing.David Greene2009-07-231-3/+13
| | | | llvm-svn: 76910
* Thumb2 does not allow the use of "pc" register as part of the load / store ↵Evan Cheng2009-07-231-15/+0
| | | | | | address. llvm-svn: 76909
* Re-committing r76828 with the JIT memory manager changes now that the buildReid Kleckner2009-07-234-110/+319
| | | | | | bots like the BumpPtrAllocator changes. llvm-svn: 76902
* "fix" PR4612, which is a crash on:Chris Lattner2009-07-231-1/+5
| | | | | | | | | | %0 = malloc [3758096384 x i32] The "malloc" instruction doesn't support 64-bits correctly (see PR715), and should be removed. Victor is actively working on fixing this, in the meantime just don't crash. llvm-svn: 76899
* Revert r75581: it causes massive breakage in the AdaDuncan Sands2009-07-231-0/+23
| | | | | | | | | | | | | | | | testsuite, due to exception handling not working correctly. Maybe because the libgcc unwinder is miscompiled - not sure, and I won't have time to look into it before leaving on holiday. Note that miscompilations of libgcc are not picked up by the nightly testers, because they dynamically link with libgcc, so pick up the system version rather than the version built as part of llvm-gcc. This is a nasty flaw in the nightly testers. (On the other hand the Ada testsuite links with the just built libgcc). llvm-svn: 76895
* Switch ValueSymbolTable to StringRef based API.Daniel Dunbar2009-07-233-28/+7
| | | | llvm-svn: 76894
* Add llvm::Value::getNameRef, for help in API migration.Daniel Dunbar2009-07-231-1/+6
| | | | llvm-svn: 76893
* Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests forReid Kleckner2009-07-231-105/+133
| | | | | | an off-by-one error. llvm-svn: 76891
* Fix up ARM constant island pass for Thumb2.Evan Cheng2009-07-231-125/+129
| | | | | | Also fixed up code to fully use the SoImm field for ADR on ARM mode. llvm-svn: 76890
* Since we have moved unified assembly, switch to ADR instruction instead of a ↵Evan Cheng2009-07-232-28/+8
| | | | | | | | the difficult-to-read .set + add syntax to materialize pc-relative address. Turns out this also fixed a poor code selection on Thumb1. I have no idea why we were using a mov + add to do the same thing as ADR before. llvm-svn: 76889
* Convert StringMap to using StringRef for its APIs.Daniel Dunbar2009-07-237-37/+30
| | | | | | | | | | | | - Yay for '-'s and simplifications! - I kept StringMap::GetOrCreateValue for compatibility purposes, this can eventually go away. Likewise the StringMapEntry Create functions still follow the old style. - NIFC. llvm-svn: 76888
* Fix frame index elimination to correctly handle thumb-2 addressing modes ↵David Goodwin2009-07-2310-18/+124
| | | | | | that don't allow negative offsets. During frame elimination convert *i12 opcode to a *i8 when necessary due to a negative offset. llvm-svn: 76883
* Cache dependence computation using FoldingSet.Andreas Bolka2009-07-231-23/+65
| | | | | | | | | This introduces an LDA-internal DependencePair class. The intention is, that this is a place where dependence testers can store various results such as SCEVs describing conflicting iterations, breaking conditions, distance/direction vectors, etc. llvm-svn: 76877
* 80 col violation.Evan Cheng2009-07-231-2/+4
| | | | llvm-svn: 76872
OpenPOWER on IntegriCloud