summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Wrap the error msgs in DEBUG() macro so that they won't appear in NDEBUG build.Johnny Chen2010-04-152-4/+7
| | | | llvm-svn: 101329
* 80 col violations.Evan Cheng2010-04-151-8/+16
| | | | llvm-svn: 101325
* Add comment.Devang Patel2010-04-151-0/+3
| | | | llvm-svn: 101317
* There is no need to track compile unit offsets if there is only one compile ↵Devang Patel2010-04-142-6/+0
| | | | | | unit. llvm-svn: 101315
* Remove dead code.Devang Patel2010-04-141-4/+0
| | | | llvm-svn: 101314
* IPO needs ScalarOpts and InstCombine in its libsTobias Grosser2010-04-141-0/+2
| | | | | | | | The commit "Adding IPSCCP and Internalize passes to the C-bindings" introduced new dependencies for IPO. Add these to the CMAKE build as otherwise the BUILD_SHARED_LIBS=1 build fails. llvm-svn: 101313
* Fixed another assert exposed by fuzzing. Now, the DisassembleVFPLdStMulFrm()Johnny Chen2010-04-141-0/+6
| | | | | | | function checks whether we have a valid submode for VLDM/VSTM (must be either "ia" or "db") before calling ARM_AM::getAM5Opc(AMSubMode, unsigned char). llvm-svn: 101306
* Add -arm-long-calls option to force calls to be indirect. This makes theJim Grosbach2010-04-141-2/+44
| | | | | | | | kernel linker happier when dealing with kexts. Radar 7805069 llvm-svn: 101303
* Fix TrackingVH to handle const Value subclasses.Dan Gohman2010-04-141-1/+1
| | | | llvm-svn: 101300
* Remove a const here. This makes this function consistent with all theDan Gohman2010-04-141-2/+1
| | | | | | | other getOperand wrappers, and it makes it easier to use with DebugInfo code, which isn't currently prepared to see const MDNode *. llvm-svn: 101299
* Constify GetConstantStringInfo.Dan Gohman2010-04-142-13/+15
| | | | llvm-svn: 101298
* Don't use DILocation when processing a DebugLoc.Nicolas Geoffray2010-04-141-8/+9
| | | | llvm-svn: 101294
* For t2BFI disassembly, apply the same error checking as in r101205.Johnny Chen2010-04-142-3/+6
| | | | | | Change the error msg to read "Encoding error: msb < lsb". llvm-svn: 101293
* Move a bunch of methods from CallSite to CallSiteBase, so that they canDan Gohman2010-04-142-118/+95
| | | | | | be used in ImmutableCallSite too. llvm-svn: 101292
* Fixed another assert exposed by fuzzing. The utility function getRegisterEnum()Johnny Chen2010-04-144-319/+352
| | | | | | | | | | | | | | was asserting because the (RegClass, RegNum) combination doesn't make sense from an encoding point of view. Since getRegisterEnum() is used all over the place, to change the code to check for encoding error after each call would not only bloat the code, but also make it less readable. An Err flag is added to the ARMBasicMCBuilder where a client can set a non-zero value to indicate some kind of error condition while building up the MCInst. ARMBasicMCBuilder::BuildIt() checks this flag and returns false if a non-zero value is detected. llvm-svn: 101290
* Remove unneeded types from test.Jakob Stoklund Olesen2010-04-141-69/+3
| | | | llvm-svn: 101286
* - Code clean up to reduce indentation.Evan Cheng2010-04-141-51/+54
| | | | | | - TryToOptimizeStoreOfMallocToGlobal should check if TargetData is available and bail out if it is not. The transformations being done requires TD. llvm-svn: 101285
* Use FunTy instead of hard-coding Function.Dan Gohman2010-04-141-1/+1
| | | | llvm-svn: 101283
* Don't custom lower bit converts to ARM VMOVDRRD or VMOVDRR when the operandBob Wilson2010-04-142-9/+32
| | | | | | | does not have a legal type. The legalizer does not know how to handle those nodes. Radar 7854640. llvm-svn: 101282
* Oops, make these public.Dan Gohman2010-04-141-8/+8
| | | | llvm-svn: 101280
* Move getType() and getCaller() into CallSiteBase so thatDan Gohman2010-04-141-8/+8
| | | | | | ImmutableCallSite can use them too. llvm-svn: 101279
* Trim tests and convert to FileCheck.Evan Cheng2010-04-142-48/+13
| | | | llvm-svn: 101277
* Delete unneeeded arguments.Dan Gohman2010-04-143-7/+7
| | | | llvm-svn: 101276
* Delete unused arguments.Dan Gohman2010-04-142-8/+5
| | | | llvm-svn: 101275
* Factor out EH landing pad code into a separate function, and constifyDan Gohman2010-04-1410-60/+70
| | | | | | a bunch of stuff to support it. llvm-svn: 101273
* Reset the debug location even if the instruction was a terminator.Dan Gohman2010-04-141-5/+3
| | | | llvm-svn: 101272
* Fix a missing #include.Dan Gohman2010-04-141-0/+1
| | | | llvm-svn: 101270
* Refine #includes.Dan Gohman2010-04-142-2/+3
| | | | llvm-svn: 101269
* Split ISD::NodeType and a few related items out of SelectionDAGNodes.hDan Gohman2010-04-142-741/+764
| | | | | | | into a separate header to allow clients to use them without pulling in SelectionDAG-specific declarations. llvm-svn: 101268
* Pull utility routines with no SelectionDAG dependence out ofDan Gohman2010-04-143-76/+95
| | | | | | | SelectionDAGBuilder. FunctionLoweringInfo isn't an ideal place for them to live, but it's better than SelectionDAGBuilder for now. llvm-svn: 101267
* Fix typos in comments.Dan Gohman2010-04-142-2/+2
| | | | llvm-svn: 101266
* performance: cache the dereferenced use_iteratorGabor Greif2010-04-141-7/+8
| | | | llvm-svn: 101265
* Delete an obsolete comment.Dan Gohman2010-04-141-1/+0
| | | | llvm-svn: 101264
* Delete an unused function.Dan Gohman2010-04-142-6/+0
| | | | llvm-svn: 101263
* Clear the FunctionLoweringInfo object before doing other things thatDan Gohman2010-04-141-4/+4
| | | | | | don't need it. llvm-svn: 101262
* Move this assert out of SelectionDAGISel into FunctionLoweringInfo, andDan Gohman2010-04-142-5/+3
| | | | | | drop the redundant #ifndef NDEBUG. llvm-svn: 101261
* Add a comment.Dan Gohman2010-04-141-0/+2
| | | | llvm-svn: 101260
* Move the code for initialing the entry block livein set out ofDan Gohman2010-04-142-5/+5
| | | | | | SelectionDAGISel. llvm-svn: 101258
* Reorgnaize this code to be more tidy and readable.Dan Gohman2010-04-141-10/+5
| | | | llvm-svn: 101256
* Trim #includes.Dan Gohman2010-04-142-10/+0
| | | | llvm-svn: 101255
* Move the code for emitting livein copies out of SelectionDAGISel.Dan Gohman2010-04-143-105/+113
| | | | llvm-svn: 101254
* performance: cache the dereferenced use_iteratorGabor Greif2010-04-141-3/+4
| | | | llvm-svn: 101253
* Sink landing-pad marking code out ofDan Gohman2010-04-142-5/+5
| | | | | | SelectionDAGISel::runOnMachineFunction into FunctionLowering. llvm-svn: 101252
* It's not necessary to recompute EB here.Dan Gohman2010-04-141-1/+1
| | | | llvm-svn: 101251
* performance: cache the dereferenced use_iteratorGabor Greif2010-04-141-3/+5
| | | | llvm-svn: 101250
* Add a comment.Dan Gohman2010-04-141-0/+2
| | | | llvm-svn: 101248
* Fix whitespace, comments.Dan Gohman2010-04-141-3/+3
| | | | llvm-svn: 101247
* Add explicit keywords.Dan Gohman2010-04-141-2/+2
| | | | llvm-svn: 101246
* Use C++, not C++-standard-library-internals-ese.Dan Gohman2010-04-141-33/+33
| | | | llvm-svn: 101245
* Make SuccIterator's private parts private too.Dan Gohman2010-04-141-5/+6
| | | | llvm-svn: 101244
OpenPOWER on IntegriCloud