summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Introduce and use convenience methods for getting pointer typesDuncan Sands2009-10-0621-58/+98
| | | | | | | where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. llvm-svn: 83379
* grammarJim Grosbach2009-10-061-1/+1
| | | | llvm-svn: 83378
* Fix cut-n-pasto.Devang Patel2009-10-061-1/+1
| | | | llvm-svn: 83367
* Update processDebugLoc() to handle requests to process debug info, before ↵Devang Patel2009-10-061-9/+11
| | | | | | and after emitting instructions. llvm-svn: 83364
* Update processDebugLoc() so that it can be used to process debug info before ↵Devang Patel2009-10-0617-28/+47
| | | | | | and after printing an instruction. llvm-svn: 83363
* Remove dead code.Devang Patel2009-10-062-23/+0
| | | | llvm-svn: 83362
* Add utility routine to set begin and end labels for DbgScopes.Devang Patel2009-10-062-0/+31
| | | | | | This will be used by processDebugLoc(). llvm-svn: 83361
* Remove unintentional function decl.Devang Patel2009-10-061-1/+0
| | | | llvm-svn: 83356
* Add utility routine to collect variable debug info. This is not yet used.Devang Patel2009-10-062-0/+17
| | | | llvm-svn: 83355
* Fix http://llvm.org/PR5116 by rolling back r60822. This passes `make unittestsJeffrey Yasskin2009-10-061-1/+1
| | | | | | check-lit` on both x86-64 Linux and x86-32 Darwin. llvm-svn: 83353
* Set default location for the function if it is not already set.Devang Patel2009-10-061-0/+2
| | | | | | This code is not yet enabled. llvm-svn: 83349
* Existence of a compile unit for input source file is a good indicator to ↵Devang Patel2009-10-061-10/+1
| | | | | | check debug info's presence in a module. llvm-svn: 83348
* If subprogram die is not available then construct new one.Devang Patel2009-10-051-0/+4
| | | | | | This can happen if debug info is processed lazily. llvm-svn: 83347
* Adjust context for the global variables that are not at file scope, e.g.Devang Patel2009-10-052-2/+22
| | | | | | | void foo() { static int bar = 42; } Here, foo's DIE is parent of bar's DIE. llvm-svn: 83344
* Set address while constructing DIE.Devang Patel2009-10-051-7/+8
| | | | llvm-svn: 83343
* Extend ConstantFolding to understand signed overflow variantsEvan Phoenix2009-10-051-0/+24
| | | | llvm-svn: 83338
* In Thumb1, the register scavenger is not always able to use an emergencyJim Grosbach2009-10-054-12/+51
| | | | | | | | spill slot. When frame references are via the frame pointer, they will be negative, but Thumb1 load/store instructions only allow positive immediate offsets. Instead, Thumb1 will spill to R12. llvm-svn: 83336
* Don't treat malloc calls with non-matching prototype as malloc.Torok Edwin2009-10-051-2/+13
| | | | | | | Fixes second part of PR5130, miscompilation in FreeBSD kernel, where malloc takes 3 params, and *does* initialize memory. llvm-svn: 83324
* No newline at end of files.Edward O'Callaghan2009-10-052-2/+2
| | | | llvm-svn: 83318
* Gracefully handle various scopes while recording source line info.Devang Patel2009-10-051-4/+21
| | | | llvm-svn: 83317
* Remove an unnnecessary LLVMContext argument inDan Gohman2009-10-055-13/+8
| | | | | | ConstantFoldLoadThroughGEPConstantExpr. llvm-svn: 83311
* Use Use::operator= instead of Use::set, for consistency.Dan Gohman2009-10-051-2/+2
| | | | llvm-svn: 83310
* Remove explicit enum integer values. They don't appear to be needed, andDan Gohman2009-10-052-22/+22
| | | | | | they make it less convenient to add new entries. llvm-svn: 83308
* Add RIP to GR64_NOREX. This fixed a MachineVerifier error when RIPDan Gohman2009-10-051-5/+5
| | | | | | is used in an operand which requires GR64_NOREX. llvm-svn: 83307
* strength reduce a ton of type equality tests to check the typeid (ThroughChris Lattner2009-10-0517-119/+121
| | | | | | | | the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this allows a smart compiler to turn the if sequence into a switch. llvm-svn: 83297
* teach the optimizer how to constant fold uadd/usub intrinsics.Chris Lattner2009-10-051-1/+29
| | | | llvm-svn: 83295
* simplify this code a bunch.Chris Lattner2009-10-051-14/+14
| | | | llvm-svn: 83294
* code simplifications.Chris Lattner2009-10-051-16/+25
| | | | llvm-svn: 83292
* instcombine shouldn't delete all null checks for mallocs.Chris Lattner2009-10-051-2/+2
| | | | | | This fixes PR5130. llvm-svn: 83290
* stop MachineFunctionPass from claiming that it preserves LoopDependence info,Chris Lattner2009-10-051-2/+0
| | | | | | which causes dependence info to be linked into lli. llvm-svn: 83289
* remove llvm-db: it is completely broken and if anyone wants to do a debugger,Chris Lattner2009-10-0512-1038/+1
| | | | | | they should not base it on llvm-db (which not following almost any "best practices"). llvm-svn: 83288
* Do away with the strange use of BitVectors in SSI, and just use normal sets. ↵Owen Anderson2009-10-041-116/+90
| | | | | | This makes the code much more C++/LLVM-ish. llvm-svn: 83286
* Whitespace and formatting.Jakob Stoklund Olesen2009-10-041-42/+16
| | | | llvm-svn: 83285
* Fix a typo in the comment.Owen Anderson2009-10-041-1/+1
| | | | llvm-svn: 83283
* SSI needs to require DT and DF transitively, since it uses them outside of ↵Owen Anderson2009-10-041-3/+3
| | | | | | | | its runOnFunction. Similarly, it can be marked setPreservesAll, since it does no work in its runOnFunction. llvm-svn: 83282
* Allow -inline-threshold override default threshold even if compiling to ↵Evan Cheng2009-10-041-0/+1
| | | | | | optimize for size. llvm-svn: 83274
* Requires element types in a constant initializer to match the element types ofNick Lewycky2009-10-031-11/+3
| | | | | | of the constant. This reverts r6544 and r7428. llvm-svn: 83270
* Add a comment to describe letters used in multiclass name suffixes.Bob Wilson2009-10-031-0/+6
| | | | llvm-svn: 83257
* Fix encoding problem for VMLS instruction.Bob Wilson2009-10-031-1/+1
| | | | | | Thanks to Johnny Chen for pointing this out! llvm-svn: 83256
* Oops. Renamed remaining MachineInstrIndex references.Lang Hames2009-10-036-21/+21
| | | | llvm-svn: 83255
* Renamed MachineInstrIndex to LiveIndex.Lang Hames2009-10-0310-264/+264
| | | | llvm-svn: 83254
* MingW build fixesBenjamin Kramer2009-10-021-0/+6
| | | | | | | | | | - MingW needs -lpsapi (in ${LIBS}) linked after -lLLVMSystem. Noticed by Ronald Pijnacker! - Some parts of the System library must be build with exceptions on windows. Based on a patch by Jay Foad! llvm-svn: 83251
* Fix a use-after-free in post-ra-scheduling.Benjamin Kramer2009-10-021-1/+3
| | | | | | | MI->addOperand invalidates references to it's operands, avoid touching the operand after a new one was added. llvm-svn: 83249
* getFunctionAlignment should return log2 alignment.Evan Cheng2009-10-022-3/+4
| | | | llvm-svn: 83242
* Forgot about ARM::tPUSH. It also has a new writeback operand.Evan Cheng2009-10-021-0/+1
| | | | llvm-svn: 83237
* Move load / store multiple before post-alloc scheduling.Evan Cheng2009-10-021-10/+2
| | | | llvm-svn: 83236
* All callee-saved registers are live-out of a return block.David Goodwin2009-10-011-18/+21
| | | | llvm-svn: 83223
* Remove neonfp attribute and instead set default based on CPU string. Add ↵David Goodwin2009-10-013-6/+9
| | | | | | -arm-use-neon-fp to override the default. llvm-svn: 83218
* Expand api out in the usual inserter way, though, I do have aMike Stump2009-10-011-3/+17
| | | | | | | question, can we get rid of the BasicBlock versions of all inserters and use Head == 0 to indicate the old case when GetInsertBlock == 0? llvm-svn: 83216
* Restore the -post-RA-scheduler flag as an override for the target ↵David Goodwin2009-10-013-10/+23
| | | | | | specification. Remove -mattr for setting PostRAScheduler enable and instead use CPU string. llvm-svn: 83215
OpenPOWER on IntegriCloud