summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Use getTargetConstant instead of getConstant since it's meant as an constant ↵Evan Cheng2009-07-225-22/+120
| | | | | | operand. llvm-svn: 76803
* Make the grep line in this test more specific, to avoidDan Gohman2009-07-221-2/+2
| | | | | | unintended matches. llvm-svn: 76802
* Constify the key in Mi2IndexMap.David Greene2009-07-222-3/+3
| | | | llvm-svn: 76801
* Ignore undef uses.Evan Cheng2009-07-222-0/+97
| | | | llvm-svn: 76799
* Switch some clients to Value::getName(), and other getName() userDaniel Dunbar2009-07-226-20/+20
| | | | | | | simplification. - NFC llvm-svn: 76789
* Fix indentation.Devang Patel2009-07-221-6/+6
| | | | llvm-svn: 76787
* Simplify some uses of Value::getName()Daniel Dunbar2009-07-223-4/+7
| | | | llvm-svn: 76786
* Define npos in a way that should make MSVC happier.Daniel Dunbar2009-07-221-1/+1
| | | | llvm-svn: 76785
* Remove unnecessary store to temporary std::string.Daniel Dunbar2009-07-221-3/+4
| | | | llvm-svn: 76782
* Put comment printing under asm-verbose.David Greene2009-07-222-14/+37
| | | | llvm-svn: 76780
* Fix indentation.Daniel Dunbar2009-07-221-18/+19
| | | | llvm-svn: 76778
* Make some changes suggested by Bill and Evan.David Greene2009-07-223-34/+29
| | | | llvm-svn: 76775
* Fix thinko.Devang Patel2009-07-221-1/+1
| | | | llvm-svn: 76769
* Added -b option to override the default bitcode output file name.Sanjiv Gupta2009-07-222-10/+24
| | | | llvm-svn: 76768
* Use isa<> instead of dyn_cast<>.Devang Patel2009-07-221-1/+1
| | | | llvm-svn: 76767
* Add replaceAllUsesWith() to FE replace debug info constructs while building ↵Devang Patel2009-07-222-0/+17
| | | | | | complex types. llvm-svn: 76765
* Do not print "metadata" twice while printing MDString.Devang Patel2009-07-221-2/+0
| | | | | | This fixes unittest failure. llvm-svn: 76764
* Remove empty test.Devang Patel2009-07-221-0/+0
| | | | llvm-svn: 76763
* Eliminate a redudant check Eli pointed out.Evan Cheng2009-07-221-2/+2
| | | | llvm-svn: 76762
* Fixed build warning. No functionality change.Sanjiv Gupta2009-07-221-1/+1
| | | | llvm-svn: 76761
* Introduce MetadataBase, a base class for MDString and MDNode.Devang Patel2009-07-2216-130/+231
| | | | | | | Derive MDString directly from MetadataBase. Introduce new bitcode block to hold metadata. llvm-svn: 76759
* Support writing a StringRef to a raw_ostream directly.Daniel Dunbar2009-07-222-7/+20
| | | | llvm-svn: 76754
* fix some wording problems Daniel pointed out, make a example actually real.Chris Lattner2009-07-221-20/+27
| | | | llvm-svn: 76751
* doxygenifyChris Lattner2009-07-221-7/+7
| | | | llvm-svn: 76750
* fix typo noticed by DuncanChris Lattner2009-07-221-1/+1
| | | | llvm-svn: 76747
* cast signed APInt constructor params to uint64_t to suppress signedness warningRyan Flynn2009-07-221-5/+5
| | | | llvm-svn: 76744
* Add newline at end of file.Duncan Sands2009-07-221-1/+1
| | | | llvm-svn: 76736
* Thread local globals don't require special handling by the linker and so canRichard Osborne2009-07-221-0/+7
| | | | | | be placed in the standard data / bss sections. llvm-svn: 76735
* Remove a comment that was copy+pasted from the wrong place,Torok Edwin2009-07-221-1/+0
| | | | | | there is no MachineFunction here. llvm-svn: 76734
* Revert commit 76707, it was breaking the llvm-gcc buildDuncan Sands2009-07-222-8/+4
| | | | | | | | on linux platforms. The binutils assembler does not recognize the "s" flag, see for example http://sourceware.org/binutils/docs/as/Section.html llvm-svn: 76733
* Don't give a massive inlining cost bonus to available_externally Eli Friedman2009-07-221-2/+1
| | | | | | | | functions with a single use; eliminating the single use may eliminate the function from the current module, but usually doesn't eliminate it from the final program. llvm-svn: 76730
* Don't forget D16 - D31 are clobbered by calls and sjlj eh.Evan Cheng2009-07-223-10/+20
| | | | llvm-svn: 76729
* Add R12 to the list of registers clobbered by 16-bit Thumb calls as a ↵Evan Cheng2009-07-221-2/+2
| | | | | | pre-caution. r12 could be live once we have mixed 32-bit and 16-bit instructions. llvm-svn: 76728
* Fix a obvious copy-n-paste bug.Evan Cheng2009-07-221-1/+1
| | | | llvm-svn: 76727
* Get rid one of the getRegisterNumbering. Also add D16 - D31.Evan Cheng2009-07-223-69/+78
| | | | llvm-svn: 76725
* remove Bill from the author list: his contribution (describing llvm::Ostream Chris Lattner2009-07-221-2/+1
| | | | | | and friends) has been removed awhile ago. llvm-svn: 76724
* add some more topics to the coding standards doc:Chris Lattner2009-07-221-33/+456
| | | | | | | | | | * Use Early Exits and 'continue' to Simplify Code * Turn Predicate Loops into Predicate Functions * Spaces Before Parentheses * Namespace Indentation * Anonymous Namespaces llvm-svn: 76723
* Attempt to fix BuildBot breakage with MSVC.Eli Friedman2009-07-221-0/+5
| | | | llvm-svn: 76722
* fix some formatting stuff, patch by Edward O'Callaghan!Chris Lattner2009-07-221-3/+3
| | | | llvm-svn: 76718
* Remove intrinsic support for __builtin_ia32_vec_set_v16qi andEric Christopher2009-07-221-6/+0
| | | | | | | __builtin_ia32_vec_set_v4si as these should be lowered in the front-end to inserts. llvm-svn: 76714
* Add support for MMX VSETCC.Eli Friedman2009-07-222-0/+33
| | | | llvm-svn: 76713
* Added the unconditional JMP with an 8-bit relocation for theSean Callanan2009-07-221-1/+3
| | | | | | assembler / disassembler. llvm-svn: 76712
* Add an entry.Evan Cheng2009-07-221-0/+4
| | | | llvm-svn: 76711
* inline the two MergeableConstSection implementations into theirChris Lattner2009-07-224-27/+18
| | | | | | only caller. llvm-svn: 76710
* set the ELF "small" flag on objects that end up in .rodata.cst4 consistently,Chris Lattner2009-07-222-4/+8
| | | | | | updating a mips testcase to expect it. llvm-svn: 76707
* don't set the small flag yet.Chris Lattner2009-07-221-2/+1
| | | | llvm-svn: 76706
* remove the SelectSectionForMachineConst hook, replacing it withChris Lattner2009-07-228-48/+87
| | | | | | | | a new getSectionForMergableConstant hook. This removes one dependence of TAI on Type, and provides the hook with enough info to make the right decision based on whether the global has relocations etc. llvm-svn: 76705
* Let each target determines whether a machine instruction is dead. If true, ↵Evan Cheng2009-07-224-25/+36
| | | | | | | | that allows late codeine passes to delete it. This is considered a workaround. The problem is some targets are not modeling side effects correctly. PPC is apparently one of those. This patch allows ppc llvm-gcc to bootstrap on Darwin. Once we find out which instruction definitions are wrong, we can remove the PPCInstrInfo workaround. llvm-svn: 76703
* Get rid of the Pass+Context magic.Owen Anderson2009-07-22120-786/+835
| | | | llvm-svn: 76702
* reimplement Constant::ContainsRelocations as Chris Lattner2009-07-225-67/+51
| | | | | | | | | Constant::getRelocationInfo(), which has a much simpler to use API. It still should not be part of libvmcore, but is better than it was. Also teach it to be smart about hidden visibility. llvm-svn: 76700
OpenPOWER on IntegriCloud