summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Print the debug info line and column in MachineInstr::print even when there'sDan Gohman2009-11-231-2/+3
| | | | | | no filename. This situation is apparently fairly common right now. llvm-svn: 89701
* move fconst[sd] to UAL. <rdar://7414913>Jim Grosbach2009-11-232-4/+4
| | | | llvm-svn: 89700
* Partially revert r84730 by removing N2VDup from ARMInstrFormats.td and modifyingJohnny Chen2009-11-232-37/+21
| | | | | | | VDUPLND and VDUPLNQ to derive from N2V instead of N2VDup. VDUPLND and VDUPLNQ now expect op19_18 and op17_16 as the first two args. llvm-svn: 89699
* fold immediate of a + Const into the user as a subtract if it can fit as a ↵Jim Grosbach2009-11-232-6/+37
| | | | | | negated two-part immediate. llvm-svn: 89694
* Revert r84572 by removing N3VImm from ARMInstrFormats.td now that we can specifyJohnny Chen2009-11-232-24/+10
| | | | | | {?,?,?,?} as op11_8 for VEXTd and VEXTq. llvm-svn: 89693
* Add CreateLocation varinat that accepts MDNode (with a default value).Devang Patel2009-11-231-0/+11
| | | | llvm-svn: 89689
* Revert r89487.Devang Patel2009-11-231-1/+1
| | | | llvm-svn: 89686
* Partially revert r89377 by removing NLdStLN class definition fromJohnny Chen2009-11-232-45/+34
| | | | | | | ARMInstrFormats.td and fixing VLD[234]LN* and VST[234]LN* to derive from NLdSt instead of NLdStLN. llvm-svn: 89684
* Move CopyCatchInfo into FunctionLoweringInfo.cpp too, for consistency.Dan Gohman2009-11-233-15/+18
| | | | llvm-svn: 89683
* Rename SelectionDAGLowering to SelectionDAGBuilder, and renameDan Gohman2009-11-235-238/+238
| | | | | | SelectionDAGBuild.cpp to SelectionDAGBuilder.cpp. llvm-svn: 89681
* Make it clear that the index bit(s) of Vector Get Lane and Vector Set LaneJohnny Chen2009-11-231-8/+8
| | | | | | should be left unspecified now that Bob Wilson has fixed pr5470. llvm-svn: 89676
* Move RegsForValue to an anonymous namespace, since it is only usedDan Gohman2009-11-231-2/+2
| | | | | | in this file. llvm-svn: 89675
* Move some more code out of SelectionDAGBuild.cpp and intoDan Gohman2009-11-235-74/+76
| | | | | | FunctionLoweringInfo.cpp. llvm-svn: 89674
* Minor itinerary fixes for FP instructions.David Goodwin2009-11-231-13/+13
| | | | llvm-svn: 89672
* Update CMake file.Ted Kremenek2009-11-231-0/+1
| | | | llvm-svn: 89671
* Move the FunctionLoweringInfo class and some related utility functions outDan Gohman2009-11-235-310/+419
| | | | | | | of SelectionDAGBuild.h/cpp into its own files, to help separate general lowering logic from SelectionDAG-specific lowering logic. llvm-svn: 89667
* fix comment, thanks all :)Chris Lattner2009-11-231-1/+3
| | | | llvm-svn: 89666
* use the new isNoAlias method to simplify some code, only do an escaping ↵Chris Lattner2009-11-232-13/+17
| | | | | | | | check if we have a non-constant pointer. Constant pointers can't be local. llvm-svn: 89665
* whitespace cleanup, tidyingChris Lattner2009-11-231-16/+17
| | | | llvm-svn: 89664
* speed up BasicAA a bit by implementing a long-standing TODO.Chris Lattner2009-11-231-9/+20
| | | | llvm-svn: 89663
* Move FunctionPassManagerImpl's dumpArguments and dumpPasses callsDan Gohman2009-11-231-3/+3
| | | | | | | out of its run function and into its doInitialization method, so that it does the dump once instead of once per function. llvm-svn: 89660
* Make ConstantFoldConstantExpression recursively visit the entireDan Gohman2009-11-232-2/+20
| | | | | | | | | | ConstantExpr, not just the top-level operator. This allows it to fold many more constants. Also, make GlobalOpt call ConstantFoldConstantExpression on GlobalVariable initializers. llvm-svn: 89659
* Fix a use of an invalidated iterator in the case where there are multipleDan Gohman2009-11-231-1/+5
| | | | | | adjacent uses of a dead basic block from the same user. This fixes PR5596. llvm-svn: 89658
* I forgot to update the prototype for LLVMBuildIntCast when correctingDuncan Sands2009-11-231-3/+3
| | | | | | | | | | | | the body to not pass the name for the isSigned parameter. However it seems that changing prototypes is a big-no-no, so here I revert the previous change and pass "true" for isSigned, meaning this always does a signed cast, which was the previous behaviour assuming the name was not NULL! Some other C function needs to be introduced for the general case of signed or unsigned casts. This hopefully unbreaks the ocaml binding. llvm-svn: 89648
* Start catching LLVMContext misuse in the verifier.Nick Lewycky2009-11-231-0/+3
| | | | llvm-svn: 89646
* Pull LLVMContext out of PromoteMemToReg.Nick Lewycky2009-11-235-13/+9
| | | | llvm-svn: 89645
* Remove LLVMContext and its include.Nick Lewycky2009-11-231-7/+5
| | | | llvm-svn: 89644
* Remove unused LLVMContext.Nick Lewycky2009-11-232-24/+17
| | | | llvm-svn: 89642
* Remove dead LLVMContext argument.Nick Lewycky2009-11-231-2/+2
| | | | llvm-svn: 89641
* Reapply r88830 with a bugfix: this transform only applies to icmp eq/ne. ThisNick Lewycky2009-11-231-0/+30
| | | | | | fixes part of PR5438. llvm-svn: 89639
* SourceMgr: Add ShowLine argument to PrintMessage, to allow suppressing the ↵Daniel Dunbar2009-11-221-16/+19
| | | | | | source line output. llvm-svn: 89627
* Add getFrameIndexReference() to TargetRegisterInfo, which allows targets toJim Grosbach2009-11-221-5/+6
| | | | | | | | | tell debug info which base register to use to reference a frame index on a per-index basis. This is useful, for example, in the presence of dynamic stack realignment when local variables are indexed via the stack pointer and stack-based arguments via the frame pointer. llvm-svn: 89620
* Move default FrameReg val to getFrameIndexReference(). Otherwise, debug info ↵Jim Grosbach2009-11-221-1/+2
| | | | | | can get bogus values. llvm-svn: 89618
* 80-column cleanupJim Grosbach2009-11-221-10/+18
| | | | llvm-svn: 89612
* Teach MachineBasicBlock::updateTerminator() to handle a failing ↵Jakob Stoklund Olesen2009-11-221-2/+8
| | | | | | | | TII->ReverseBranchCondition(Cond) call. This fixes the MallocBench/cfrac test case regression. llvm-svn: 89608
* add fixme for dubious code. Duncan, what do you think?Chris Lattner2009-11-221-0/+1
| | | | llvm-svn: 89602
* remove a silly condition that doesn't make a lot of sense anymore.Chris Lattner2009-11-221-5/+0
| | | | llvm-svn: 89601
* reduce indentation, no functionality change.Chris Lattner2009-11-221-85/+91
| | | | llvm-svn: 89600
* Remove the AliasAnalysis::getMustAliases method, which is dead.Chris Lattner2009-11-226-55/+0
| | | | | | | | The hasNoModRefInfoForCalls isn't worth it as a filter because basicaa provides m/r info and everything chains to it, so remove it. llvm-svn: 89599
* Remove dead code. While there, also turn a few 'T* ' into 'T *' to match theNick Lewycky2009-11-221-8/+4
| | | | | | rest of the file. llvm-svn: 89577
* Generate more correct debug info for frame indices.Jim Grosbach2009-11-222-35/+53
| | | | llvm-svn: 89576
* Minor optimization: when doing eq/ne comparions and RHS is a constant - swap ↵Anton Korobeynikov2009-11-221-0/+8
| | | | | | operands, this will allow us to fold imm into comparison. llvm-svn: 89574
* Drop unsupported imm operandsAnton Korobeynikov2009-11-221-31/+0
| | | | llvm-svn: 89573
* Use 2-byte alignment for functions. 4 bytes are clear overkill here.Anton Korobeynikov2009-11-221-1/+1
| | | | llvm-svn: 89572
* Use semicolon as assembler comment stringAnton Korobeynikov2009-11-221-0/+1
| | | | llvm-svn: 89571
* Revert 89562. We're being sneakier than I was giving us credit for, and thisJim Grosbach2009-11-211-4/+1
| | | | | | isn't necessary. llvm-svn: 89568
* remove trailing whitespaceJim Grosbach2009-11-211-39/+39
| | | | llvm-svn: 89567
* Darwin requires a frame pointer for all non-leaf functions to support correctJim Grosbach2009-11-211-1/+4
| | | | | | backtraces. llvm-svn: 89562
* Add predicate operand to NEON instructions. Fix lots (but not all) 80 col ↵Evan Cheng2009-11-216-297/+414
| | | | | | violations in ARMInstrNEON.td. llvm-svn: 89542
* Allow target to disable if-converting predicable instructions. e.g. NEON ↵Evan Cheng2009-11-211-1/+1
| | | | | | instructions under ARM mode. llvm-svn: 89541
OpenPOWER on IntegriCloud