aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* move ELF-specific code into ELFTargetAsmInfo.Chris Lattner2009-07-244-26/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76976 91177308-0d34-0410-b5e6-96231b3b80d8
* tidy upChris Lattner2009-07-241-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76975 91177308-0d34-0410-b5e6-96231b3b80d8
* split the ELF-specific section flag inference-from-name code outChris Lattner2009-07-241-25/+32
| | | | | | | into its own helper function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76974 91177308-0d34-0410-b5e6-96231b3b80d8
* make SectionFlagsForGlobal a private static function instead of a publicChris Lattner2009-07-242-13/+6
| | | | | | | virtual one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76973 91177308-0d34-0410-b5e6-96231b3b80d8
* move a method up in the file, GV is always non-null, so remove a check.Chris Lattner2009-07-241-61/+62
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76972 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76971 91177308-0d34-0410-b5e6-96231b3b80d8
* remove a use of SectionFlagsForGlobal.Chris Lattner2009-07-241-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76970 91177308-0d34-0410-b5e6-96231b3b80d8
* Another getName -> getNameStrDaniel Dunbar2009-07-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76967 91177308-0d34-0410-b5e6-96231b3b80d8
* More move to raw_ostream.Daniel Dunbar2009-07-241-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76966 91177308-0d34-0410-b5e6-96231b3b80d8
* Move more to raw_ostream, provide support for writing MachineBasicBlock,Daniel Dunbar2009-07-248-8/+67
| | | | | | | LiveInterval, etc to raw_ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76965 91177308-0d34-0410-b5e6-96231b3b80d8
* Move more to raw_ostream.Daniel Dunbar2009-07-242-7/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76964 91177308-0d34-0410-b5e6-96231b3b80d8
* Move to raw_ostream.Daniel Dunbar2009-07-244-74/+77
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76963 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch to getNameStr().Daniel Dunbar2009-07-2412-36/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76962 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow llvm_report_error to accept a Twine.Daniel Dunbar2009-07-242-3/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76961 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unused member functions.Eli Friedman2009-07-2417-496/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76960 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix constructor typesDaniel Dunbar2009-07-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76958 91177308-0d34-0410-b5e6-96231b3b80d8
* Update CMakeDaniel Dunbar2009-07-241-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76957 91177308-0d34-0410-b5e6-96231b3b80d8
* Add Twine ADT.Daniel Dunbar2009-07-243-0/+501
| | | | | | | - Not currently used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76956 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert a test to FileCheck.Evan Cheng2009-07-241-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76954 91177308-0d34-0410-b5e6-96231b3b80d8
* hoist section name uniquing logic up to the top-level SectionForGlobalChris Lattner2009-07-243-28/+26
| | | | | | | implementation, eliminating a dupe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76953 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement getSectionPrefixForUniqueGlobal to return null, indicating thatChris Lattner2009-07-241-0/+6
| | | | | | | darwin does it's own unique and special and wonderful thing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76952 91177308-0d34-0410-b5e6-96231b3b80d8
* reduce indentationChris Lattner2009-07-241-35/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76951 91177308-0d34-0410-b5e6-96231b3b80d8
* simplify code by making special case more obviousChris Lattner2009-07-241-9/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76950 91177308-0d34-0410-b5e6-96231b3b80d8
* the 'isWeakForLinker' code is common between functions and globals, hoist itChris Lattner2009-07-241-55/+44
| | | | | | | and simplify some other code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76949 91177308-0d34-0410-b5e6-96231b3b80d8
* Replace UniqueSectionForGlobal with getSectionPrefixForUniqueGlobal.Chris Lattner2009-07-247-67/+49
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76948 91177308-0d34-0410-b5e6-96231b3b80d8
* document SectionFlags::Named better and make it more easily greppable byChris Lattner2009-07-242-4/+6
| | | | | | | eliminating isNamed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76946 91177308-0d34-0410-b5e6-96231b3b80d8
* fix indentation.Chris Lattner2009-07-241-14/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76945 91177308-0d34-0410-b5e6-96231b3b80d8
* use section flags more correctly.Chris Lattner2009-07-244-7/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76944 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch to raw_ostream.Daniel Dunbar2009-07-241-9/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76943 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a mysterious and scary failure on test/CodeGen/X86/cstring.ll Chris Lattner2009-07-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76942 91177308-0d34-0410-b5e6-96231b3b80d8
* reduce api exposure: clients shouldn't call SectionKindForGlobal directly.Chris Lattner2009-07-244-31/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76941 91177308-0d34-0410-b5e6-96231b3b80d8
* make Constant::getRelocationInfo return an enum, as suggested by Duncan.Chris Lattner2009-07-244-28/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76938 91177308-0d34-0410-b5e6-96231b3b80d8
* remove more bits of small section support.Chris Lattner2009-07-243-36/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76937 91177308-0d34-0410-b5e6-96231b3b80d8
* remove more remnants of small section support.Chris Lattner2009-07-244-53/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76936 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove SectionKind::Small*. This was only used on mips, and is apparentlyChris Lattner2009-07-246-114/+4
| | | | | | | a sad mistake that is regretted. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76935 91177308-0d34-0410-b5e6-96231b3b80d8
* Thumb2 should use the register scavenger.Evan Cheng2009-07-241-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76930 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix whitespace.Dan Gohman2009-07-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76929 91177308-0d34-0410-b5e6-96231b3b80d8
* Give SCEVAddRecExpr no-signed-overflow and no-unsigned-overflow flags.Dan Gohman2009-07-241-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76928 91177308-0d34-0410-b5e6-96231b3b80d8
* Give the SCEV class a SubclassData field.Dan Gohman2009-07-241-2/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76927 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix whitespace.Dan Gohman2009-07-241-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76926 91177308-0d34-0410-b5e6-96231b3b80d8
* FLDD, FLDS, FCPYD, FCPYS, FSTD, FSTS, VMOVD, VMOVQ maps to the same ↵Evan Cheng2009-07-246-67/+29
| | | | | | instructions on all sub-targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76925 91177308-0d34-0410-b5e6-96231b3b80d8
* Add tests for handling of globals and tls on the XCore. These currently failRichard Osborne2009-07-242-0/+58
| | | | | | | but pass when run against r76652. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76923 91177308-0d34-0410-b5e6-96231b3b80d8
* Privatize the ConstantVector tables.Owen Anderson2009-07-246-62/+72
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76922 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76921 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the IA-64 backend.Dan Gohman2009-07-2453-4544/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76920 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76919 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a 2+-byte NOP instruction to the Intel tables,Sean Callanan2009-07-231-1/+4
| | | | | | | for the assembler/disassembler to use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76914 91177308-0d34-0410-b5e6-96231b3b80d8
* Privatize the ConstantStruct table.Owen Anderson2009-07-236-97/+133
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76912 91177308-0d34-0410-b5e6-96231b3b80d8
* Write space padding as one string to speed up comment printing.David Greene2009-07-232-4/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76910 91177308-0d34-0410-b5e6-96231b3b80d8
* Thumb2 does not allow the use of "pc" register as part of the load / store ↵Evan Cheng2009-07-233-23/+37
| | | | | | address. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76909 91177308-0d34-0410-b5e6-96231b3b80d8