summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* plug another leak in LLParser::PerFunctionState::SetInstName()Nuno Lopes2009-09-021-0/+1
| | | | llvm-svn: 80792
* plug memory leak in LLParser::PerFunctionState::SetInstName() by deleting a ↵Nuno Lopes2009-09-021-0/+1
| | | | | | value after replacing it llvm-svn: 80790
* Sort edges in MaximumSpanningTree more stable in case of equal weight.Andreas Neustifter2009-09-021-2/+6
| | | | | | (See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090824/085890.html) llvm-svn: 80789
* Changed set of BlocksToInstrument to set of InsertedBlocks that do not have toAndreas Neustifter2009-09-021-9/+9
| | | | | | be instrumented. llvm-svn: 80788
* Code cleanups and added comments.Andreas Neustifter2009-09-021-17/+45
| | | | llvm-svn: 80781
* Opaque types didn't work if llvm_is_multithreaded().Torok Edwin2009-09-021-1/+1
| | | | | | | AlwaysOpaqueTy is always NULL at this point, and it causes an assertion failure. Fix it by using the just constructed tmp instead. llvm-svn: 80780
* Fix DbgStopPointInst->getFileName/getDirectory, broken by the MDNodification inTorok Edwin2009-09-022-8/+7
| | | | | | r80406, and readd a -print-dbginfo test. llvm-svn: 80778
* Retype from unsigned to CallingConv::ID accordingly. Approved by Bob Wilson.Sandeep Patel2009-09-0238-159/+181
| | | | llvm-svn: 80773
* fix PR4815: some cases where DeleteDeadInstruction can deleteChris Lattner2009-09-021-3/+13
| | | | | | the instruction BBI points to. llvm-svn: 80768
* clean up this code a bit.Chris Lattner2009-09-021-64/+67
| | | | llvm-svn: 80767
* eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner2009-09-0230-118/+82
| | | | llvm-svn: 80766
* refactor select 'sched insertion' out to its own method.Chris Lattner2009-09-022-60/+73
| | | | llvm-svn: 80764
* Add support for modeling whether or not the processor has support forChris Lattner2009-09-023-10/+21
| | | | | | | conditional moves as a subtarget feature. This is the easy part of PR4841. llvm-svn: 80763
* fix PR4848 an infinite loop when indexing down through a recursive gepChris Lattner2009-09-021-1/+1
| | | | | | | and we get the original pointer type. This doesn't mean that we're at the first pointer being indexed. Correct the predicate. llvm-svn: 80762
* fix PR4837, some bugs folding vector compares. TheseChris Lattner2009-09-021-7/+7
| | | | | | return a vector of i1, not i1 itself. llvm-svn: 80761
* revert my patch, duncan points out what is wrong with my logic. AddChris Lattner2009-09-021-4/+8
| | | | | | a comment so that I don't change this in the future :) llvm-svn: 80760
* one more try at making this simpler, hopefully it won't break everything :)Chris Lattner2009-09-021-4/+4
| | | | llvm-svn: 80759
* Complicate Chris's simplification, avoiding complaintsDuncan Sands2009-09-021-1/+5
| | | | | | | about singular iterators when building with expensive checks turned on. llvm-svn: 80757
* Fixed the asmstrings for 8-bit, 16-bit, and 32-bit ADD %rAX, imm instructions.Sean Callanan2009-09-022-3/+28
| | | | | | | Added a 64-bit ADD %RAX, imm32 instruction. Added all 4 forms for AND %rAX, imm and CMP %rAX, imm. llvm-svn: 80746
* Fix PR4845: r77946 completely broke x86_64 Darwin (or any situation where theEvan Cheng2009-09-021-10/+32
| | | | | | | | desired triplet is a sub-target, e.g. thumbv7 vs. arm host). Reverting the patch isn't quite right either since the previous behavior does not allow the triplet to be overridden with -march. llvm-svn: 80742
* For now disable MDNode uniquing. This fixes llvm-gcc bootstrap failure on ↵Devang Patel2009-09-013-19/+8
| | | | | | certain Mac OS X 10.5. I am working on a proper fix. llvm-svn: 80738
* Avoid calling removeVirtualRegisterKilled which iterates over the operandsBob Wilson2009-09-011-1/+2
| | | | | | to find the kill, since we already have the operand. llvm-svn: 80736
* Refactor some code into separate functions. No functional changes.Bob Wilson2009-09-011-52/+82
| | | | llvm-svn: 80733
* Move use of LV inside condition that guards for null LV.Bob Wilson2009-09-011-5/+5
| | | | llvm-svn: 80731
* Fix build warning.Daniel Dunbar2009-09-011-1/+1
| | | | llvm-svn: 80730
* Simplify.Daniel Dunbar2009-09-011-18/+8
| | | | llvm-svn: 80729
* Fix what I believe is a copy-n-pasto introduced in r78129.Daniel Dunbar2009-09-011-3/+3
| | | | | | - Bruno, please check!! llvm-svn: 80728
* X86/Encoding: Support ExternalSymbol operands in emitDisplacementField (for ↵Daniel Dunbar2009-09-011-0/+7
| | | | | | consistency). llvm-svn: 80727
* Remove Offset from ExternalSybmol MachineOperands, this is unused (and at ↵Daniel Dunbar2009-09-012-2/+2
| | | | | | least partly unsupported, in X86 encoding at least). llvm-svn: 80726
* debug intrinsics do not go in the callgraph, this fixes a coupleChris Lattner2009-09-011-1/+2
| | | | | | clang regtest failures. llvm-svn: 80724
* Fix a regression I introduced in r80708, found by llvm-test.Chris Lattner2009-09-011-5/+12
| | | | llvm-svn: 80718
* Fix ELF Writter related memory leaksBruno Cardoso Lopes2009-09-011-7/+18
| | | | llvm-svn: 80717
* OptimalEdgeProfiling: Reading in Profiles.Andreas Neustifter2009-09-012-7/+187
| | | | | | This enables LLVM to read the OptimalEdgeProfiles. llvm-svn: 80715
* OptimalEdgeProfiling: Creation of profiles.Andreas Neustifter2009-09-012-0/+187
| | | | | | This adds the instrumentation and runtime part of OptimalEdgeProfiling. llvm-svn: 80712
* Small fix in ProfileEstimator that eliminates duplicated code.Andreas Neustifter2009-09-011-2/+1
| | | | llvm-svn: 80711
* reduce size of SmallString to something more reasonableJim Grosbach2009-09-012-2/+2
| | | | llvm-svn: 80710
* remove CallGraphNode::replaceCallSite, it is redundant with other APIs.Chris Lattner2009-09-014-25/+7
| | | | llvm-svn: 80708
* Add support for generating code for vst{234}lane intrinsics.Bob Wilson2009-09-014-0/+124
| | | | llvm-svn: 80707
* cleanup/simplifyChris Lattner2009-09-011-17/+13
| | | | llvm-svn: 80706
* Use raw_ostream instead of sstreamJim Grosbach2009-09-012-14/+10
| | | | llvm-svn: 80704
* remove a bunch of explicit code previously needed to update theChris Lattner2009-09-011-27/+7
| | | | | | callgraph. This is now dead because RAUW does the job. llvm-svn: 80703
* Add hidden flags to allow binary search of post-RA scheduling errors.David Goodwin2009-09-011-0/+21
| | | | llvm-svn: 80702
* RRX reads CPSR.David Goodwin2009-09-012-1/+4
| | | | llvm-svn: 80699
* doxygenate RefreshCallGraph, add a new 'verification mode', and run it after Chris Lattner2009-09-011-4/+37
| | | | | | | CGSCC passes make change to ensure they are updating the callgraph correctly (when assertions are enabled). llvm-svn: 80698
* Added TEST %rAX, $imm instructions to the Intel tables. These are required ↵Sean Callanan2009-09-012-0/+9
| | | | | | for the X86 disassembler. llvm-svn: 80696
* simpler solution to iterator invalidation "problem" foundChris Lattner2009-09-011-11/+6
| | | | | | by expensive checking. llvm-svn: 80695
* enhance memcpy opt to turn memmoves into memcpy when the src/destChris Lattner2009-09-011-6/+41
| | | | | | | don't alias. Remove an old and poorly reduced testcase that fails with this transform for reasons unrelated to the original test. llvm-svn: 80693
* Reapply 80278Bruno Cardoso Lopes2009-09-014-45/+71
| | | | | | | | Add MO flags to simplify the printing of relocations. Remove the support for printing large code model relocs (which aren't supported anyway). llvm-svn: 80691
* revert inadvertant change from previous commitJim Grosbach2009-09-011-2/+3
| | | | llvm-svn: 80689
* random code cleanups, no functionality change.Chris Lattner2009-09-011-63/+62
| | | | llvm-svn: 80682
OpenPOWER on IntegriCloud