summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* A typo.Evan Cheng2006-01-141-1/+1
| | | | llvm-svn: 25307
* Implement a new InvalidateStructLayoutInfo method and add some commentsChris Lattner2006-01-141-0/+18
| | | | llvm-svn: 25304
* Added instcombine support for extractelement.Robert Bocchino2006-01-131-1/+54
| | | | llvm-svn: 25299
* Add truncstore i1 patterns.Evan Cheng2006-01-131-0/+5
| | | | llvm-svn: 25296
* it is ok to dce stacksave.Chris Lattner2006-01-131-0/+1
| | | | llvm-svn: 25295
* Do a simple instcombine xforms to delete llvm.stackrestore cases.Chris Lattner2006-01-131-0/+33
| | | | llvm-svn: 25294
* Fix a bug in my last X86 checkin, pointed out by cozmicChris Lattner2006-01-131-1/+2
| | | | llvm-svn: 25293
* Simplify this a tiny bit by using the new IntrinsicInst functionality.Chris Lattner2006-01-131-7/+12
| | | | llvm-svn: 25292
* LHS = X86ISD::CMOVcc LHS, RHS means LHS = RHS if cc. So the operands must beEvan Cheng2006-01-131-2/+4
| | | | | | flipped around. llvm-svn: 25290
* Permit inlining functions that contain dynamic allocations now thatChris Lattner2006-01-131-27/+4
| | | | | | | InlineFunction handles this case safely. This implements Transforms/Inline/dynamic_alloca_test.ll. llvm-svn: 25288
* If inlining a call to a function that contains dynamic allocas, wrap theChris Lattner2006-01-131-0/+30
| | | | | | resultant code with llvm.stacksave/llvm.stackrestore intrinsics. llvm-svn: 25286
* Use ClonedCodeInfo to avoid another walk over the inlined code, this thisChris Lattner2006-01-131-2/+4
| | | | | | time in common C cases. llvm-svn: 25285
* Use the ClonedCodeInfo object to avoid scans of the inlined code whenChris Lattner2006-01-131-62/+67
| | | | | | | it doesn't contain any calls. This is a fairly common case for C++ code, so it will probably speed up the inliner marginally in these cases. llvm-svn: 25284
* Refactor a bunch of invoke handling stuff out into a new functionChris Lattner2006-01-131-88/+108
| | | | | | "HandleInlinedInvoke". No functionality change. llvm-svn: 25283
* make DAG isel the defaultAndrew Lenharth2006-01-131-3/+3
| | | | llvm-svn: 25282
* Allow the code cloning interfaces to capture some important info about theChris Lattner2006-01-131-11/+35
| | | | | | code being cloned if the client wants. llvm-svn: 25281
* Fix a bug I noticed by inspection: if the first instruction in the inlinedChris Lattner2006-01-131-5/+3
| | | | | | | | function was not an alloca, we wouldn't check the entry block for any allocas, leading to increased stack space in some cases. In practice, allocas are almost always at the top of the block, so this was never noticed. llvm-svn: 25280
* Fix 80 column violationsChris Lattner2006-01-131-2/+3
| | | | llvm-svn: 25279
* Enable X86 support for savestack/restorestackChris Lattner2006-01-132-1/+2
| | | | llvm-svn: 25278
* implement stacksave/stackrestore on PPCChris Lattner2006-01-131-0/+1
| | | | llvm-svn: 25277
* If a target specified a stack pointer with setStackPointerRegisterToSaveRestore,Chris Lattner2006-01-131-5/+21
| | | | | | lower STACKSAVE/STACKRESTORE into a copy from/to that register. llvm-svn: 25276
* don't be a doofus - this fixes storing boolsDuraid Madina2006-01-131-2/+5
| | | | llvm-svn: 25274
* Compile llvm.stacksave/restore into STACKSAVE/STACKRESTORE nodes, and allowChris Lattner2006-01-132-4/+72
| | | | | | targets to custom expand them as they desire. llvm-svn: 25273
* expand unsupported stacksave/stackrestore nodesChris Lattner2006-01-134-0/+16
| | | | llvm-svn: 25272
* new nodesChris Lattner2006-01-132-0/+8
| | | | llvm-svn: 25271
* add stacksave/stackrestore nodesChris Lattner2006-01-131-2/+6
| | | | llvm-svn: 25270
* Add "support" for stacksave/stackrestore to the dag iselChris Lattner2006-01-131-0/+5
| | | | llvm-svn: 25268
* Add "support" for the llvm.stacksave/stackrestore intrinsics, this isChris Lattner2006-01-131-2/+15
| | | | | | used by the C backend. llvm-svn: 25267
* Add recognition and verification of new llvm.stacksave/llvm.stackrestore ↵Chris Lattner2006-01-132-4/+18
| | | | | | intrinsics llvm-svn: 25266
* Minor update.Evan Cheng2006-01-131-0/+9
| | | | llvm-svn: 25263
* More typo's. I need new eye glasses...Evan Cheng2006-01-131-3/+2
| | | | llvm-svn: 25261
* Oops. Typo.Evan Cheng2006-01-131-1/+1
| | | | llvm-svn: 25260
* Fix a SETCC / BRCOND folding bug.Evan Cheng2006-01-131-12/+37
| | | | llvm-svn: 25259
* Fix sint_to_fp (fild*) support.Evan Cheng2006-01-125-42/+61
| | | | llvm-svn: 25257
* Add a simple missing fold to produce this:Chris Lattner2006-01-121-0/+8
| | | | | | | | | | | subfic r3, r2, 33 instead of this: subfic r2, r2, 32 addi r3, r2, 1 llvm-svn: 25255
* Specify transformation from GlobalAddress to TargetGlobalAddress andEvan Cheng2006-01-121-2/+2
| | | | | | ExternalSymbol to TargetExternalSymbol. llvm-svn: 25253
* If using __main, emit global ctor/dtor list like any other globalChris Lattner2006-01-121-2/+2
| | | | llvm-svn: 25251
* Don't create rotate instructions in unsupported types, because we don't haveChris Lattner2006-01-121-2/+2
| | | | | | promote/expand code yet. This fixes the 177.mesa failure on PPC. llvm-svn: 25250
* Fix branches on FP comparesChris Lattner2006-01-122-21/+17
| | | | llvm-svn: 25249
* Patch #10 from Saem:Chris Lattner2006-01-121-52/+32
| | | | | | | "Extracts a few more methods, reduces some redundancy in the code at the same time." llvm-svn: 25248
* X86ISD::SETCC (e.g. SETEr) produces a flag (so multiple SETCC can beEvan Cheng2006-01-122-3/+4
| | | | | | linked together). llvm-svn: 25247
* * Materialize GlobalAddress and ExternalSym with MOV32ri rather thanEvan Cheng2006-01-122-8/+10
| | | | | | | LEA32r. * Do not lower GlobalAddress to TargetGlobalAddress. Let isel does it. llvm-svn: 25246
* fix a bug in my previous checkinChris Lattner2006-01-121-2/+3
| | | | llvm-svn: 25244
* Give V8ISD nodes symbolic names in dumpsChris Lattner2006-01-121-0/+18
| | | | llvm-svn: 25243
* Convert the verifier over to use ETForest instead of DominatorSet. PatchChris Lattner2006-01-121-14/+14
| | | | | | by Daniel Berlin llvm-svn: 25242
* sabre's (correct) fix means these guys need to be flagged as well (elseDuraid Madina2006-01-121-2/+7
| | | | | | the scheduler will complain) llvm-svn: 25241
* ahem :)Chris Lattner2006-01-121-1/+1
| | | | llvm-svn: 25239
* these cases are autogeneratedChris Lattner2006-01-121-28/+0
| | | | llvm-svn: 25238
* remove dead codeChris Lattner2006-01-121-25/+2
| | | | llvm-svn: 25237
* Goodbye PPC pattern isel. You have served us well, but it is now time forChris Lattner2006-01-123-1725/+2
| | | | | | you to ride off into the sunset. llvm-svn: 25236
OpenPOWER on IntegriCloud