summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling.Mike Stump2009-09-161-1/+1
| | | | llvm-svn: 82078
* At iSel time, update DebugLoc based on debug info attached with an instruction.Devang Patel2009-09-161-1/+30
| | | | llvm-svn: 82077
* Add a new pass for doing late hoisting of floating-point and vectorDan Gohman2009-09-164-1/+129
| | | | | | | | | | | constants out of loops. These aren't covered by the regular LICM pass, because in LLVM IR constants don't require separate instructions. They're not always covered by the MachineLICM pass either, because it doesn't know how to unfold folded constant-pool loads. This is somewhat experimental at this point, and off by default. llvm-svn: 82076
* Print debug info attached with an instruction.Devang Patel2009-09-163-3/+32
| | | | llvm-svn: 82075
* Expand vector floating-point conversions not supported by NEON.Bob Wilson2009-09-161-0/+6
| | | | llvm-svn: 82074
* fit in 80 colsChris Lattner2009-09-161-1/+2
| | | | llvm-svn: 82073
* Improve handling of vector casts in C++.Anders Carlsson2009-09-163-0/+75
| | | | llvm-svn: 82072
* Now that llc can read .ll files directly, teach it to recognize .ll asDan Gohman2009-09-161-1/+3
| | | | | | | an extension, so that the default output filename for foo.ll is foo.s, not foo.ll.s llvm-svn: 82071
* grammaroChris Lattner2009-09-161-1/+1
| | | | llvm-svn: 82070
* Teach Sema::FindInstantiatedDecl to find instantiated RecordDecls evenDouglas Gregor2009-09-164-24/+81
| | | | | | | | | | when we are not instantiating the corresponding "current instantiation." This happens, e.g., when we are instantiating a declaration reference that refers into the "current instantiation" but occurs in a default function argument. The libstdc++ vector default constructor now instantiates properly. llvm-svn: 82069
* Provide a way to extract location info from DILocation.Devang Patel2009-09-162-0/+28
| | | | llvm-svn: 82064
* Parse debug info attached with an instruction.Devang Patel2009-09-163-0/+19
| | | | llvm-svn: 82063
* Add an interface to attach debugging information with an instruction.Devang Patel2009-09-161-6/+24
| | | | llvm-svn: 82062
* Do not generate write-barrier in indirect assignment toFariborz Jahanian2009-09-162-2/+8
| | | | | | a weak object. llvm-svn: 82061
* Add llvm::Metadata to manage metadata used in a context. Devang Patel2009-09-167-1/+133
| | | | | | This interface will be used to attach metadata with an instruction. llvm-svn: 82060
* Fixed some problems with the logic of parsing line comments by addingKevin Enderby2009-09-162-9/+13
| | | | | | | isAtStartOfComment and using that instead in two places where a loop to check if the char was in MAI.getCommentString(). llvm-svn: 82059
* Fix incorrect assert that should be a user error for code like 'mov $0, %%eax'.Kevin Enderby2009-09-161-1/+2
| | | | llvm-svn: 82054
* Change FoldPHIArgBinOpIntoPHI to decline folding if it would introduce twoDan Gohman2009-09-161-7/+13
| | | | | | | | phis, similar to the FoldPHIArgGEPIntoPHI change. Also, delete some comments that don't reflect the code. llvm-svn: 82053
* Removed a superfluous check before settingFariborz Jahanian2009-09-161-2/+1
| | | | | | a flag (objc GC). llvm-svn: 82052
* Fix the comment in this test.Dan Gohman2009-09-161-1/+2
| | | | llvm-svn: 82051
* x86-64 ABI: If a type is a C++ record with either a non-trivial destructor ↵Anders Carlsson2009-09-165-9/+56
| | | | | | or a non-trivial copy constructor, it should be passed in a pointer. Daniel, plz review. llvm-svn: 82050
* Make cmake generated llvm-config output correct JIT backend for non X86 targets.Xerxes Ranby2009-09-161-1/+1
| | | | llvm-svn: 82049
* PR4991: Properly remove trailing newline from __TIMESTAMP__.Benjamin Kramer2009-09-161-3/+3
| | | | | | Replace strcpy with memcpy while at it. llvm-svn: 82043
* Don't sort the vector when it is empty. This should fix some expensive checkingBenjamin Kramer2009-09-161-1/+2
| | | | | | failures. llvm-svn: 82040
* Reapplied r81355 with the problems fixed.Andreas Neustifter2009-09-164-18/+33
| | | | | | | (See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086737.html and http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086746.html) llvm-svn: 82039
* updated lib/CodeGen/CMakeLists.txt to unbreak cmake build after r82018Xerxes Ranby2009-09-161-0/+1
| | | | llvm-svn: 82038
* Preserve ProfileInfo during CodeGenPrepare.Andreas Neustifter2009-09-163-3/+25
| | | | llvm-svn: 82034
* move FnStubs/GVSTubs/HiddenGVStub handling out of the X86 asmprinterChris Lattner2009-09-167-49/+52
| | | | | | and use MachineModuleInfoMachO instead. llvm-svn: 82022
* Incremental improvement to logic determining whether we emit unwind tables orDaniel Dunbar2009-09-161-4/+11
| | | | | | | not. - PR4932. llvm-svn: 82021
* revert a hunk of r82018 that wasn't supposed to go in yet.Chris Lattner2009-09-161-0/+5
| | | | llvm-svn: 82020
* Have divide-by-zero checker not handled undefined denominators. This is ↵Ted Kremenek2009-09-163-30/+22
| | | | | | handled by the generic checking for undefined operands for BinaryOperators. llvm-svn: 82019
* add a new MachineModuleInfoMachO class, which is the per-moduleChris Lattner2009-09-164-6/+124
| | | | | | stuff common across all macho targets. llvm-svn: 82018
* Remove ImplicitBadDivides/ExplicitBadDivides node sets. This checking is ↵Ted Kremenek2009-09-162-42/+0
| | | | | | now down by a 'Checker' and not build into GRExprEngine. llvm-svn: 82017
* apparently russians are really hard to sort or something!Chris Lattner2009-09-161-2/+2
| | | | llvm-svn: 82016
* I can sort, no really.Chris Lattner2009-09-161-3/+3
| | | | llvm-svn: 82015
* make more clear since it is sorted by last name now.Chris Lattner2009-09-161-1/+1
| | | | llvm-svn: 82014
* Doug is now the code owner for most of the Clang frontend.Chris Lattner2009-09-161-2/+4
| | | | llvm-svn: 82013
* the pointer MMI keeps will start out with object-file format specific stuffChris Lattner2009-09-162-12/+13
| | | | llvm-svn: 82012
* tidy upChris Lattner2009-09-161-3/+3
| | | | llvm-svn: 82011
* rearrange X86ATTAsmPrinter::doFinalization, making a scan of Chris Lattner2009-09-162-33/+43
| | | | | | the global variable list only happen for COFF targets. llvm-svn: 82010
* fix some ppc register name issues, patch by Richard Pennington!Chris Lattner2009-09-161-45/+78
| | | | llvm-svn: 82009
* Ted is christened as the owner of the clang static analyzer.Chris Lattner2009-09-161-0/+2
| | | | llvm-svn: 82008
* remove the AsmPrinter::printMCInst hook hack now thatChris Lattner2009-09-163-12/+1
| | | | | | we have MCInstPrinter. llvm-svn: 82006
* fix cmake buildShantonu Sen2009-09-161-0/+1
| | | | llvm-svn: 81999
* use an accessor to simplify code.Chris Lattner2009-09-161-5/+2
| | | | llvm-svn: 81997
* Do not try and sink a load whose chain result has more than one use, when Nate Begeman2009-09-161-2/+5
| | | | | | | | trying to create RMW opportunities in the x86 backend. This can cause a cycle to appear in the graph, since the other uses may eventually feed into the TokenFactor we are sinking the load below. llvm-svn: 81996
* Added the ENTER instruction, which sets up a stackSean Callanan2009-09-161-0/+5
| | | | | | frame, to the Intel instruction tables. llvm-svn: 81995
* Added the definitions for one-bit left shifts toSean Callanan2009-09-162-4/+15
| | | | | | | | | | the Intel instruction tables. The patterns will stay blank because ADD reg, reg is faster, but having the encoding available is useful for the disassembler. llvm-svn: 81994
* Don't sink gep operators through phi nodes if the result would requireDan Gohman2009-09-162-1/+115
| | | | | | | | more than one phi, since that leads to higher register pressure on entry to the phi. This is especially problematic when the phi is in a loop header, as it increases register pressure throughout the loop. llvm-svn: 81993
* Removed a few instructions that were alreadySean Callanan2009-09-161-5/+0
| | | | | | covered by other definitions. llvm-svn: 81992
OpenPOWER on IntegriCloud