summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* x86_64 ABI: Pass <1 x double> in memory. This is arguably wrong, butDaniel Dunbar2009-01-301-4/+7
| | | | | | matches gcc 4.2 (not llvm-gcc). llvm-svn: 63413
* Move method out-of-line.Ted Kremenek2009-01-302-30/+31
| | | | llvm-svn: 63412
* Propagate debug loc info in SimplifyBinOpWithSameOpcodeHands.Bill Wendling2009-01-301-8/+9
| | | | llvm-svn: 63411
* Fix inverted logic in ParentMap::hasParent()Ted Kremenek2009-01-301-1/+1
| | | | llvm-svn: 63410
* wire up -fno-show-source-location option, patch by Alexei Svitkine!Chris Lattner2009-01-301-1/+7
| | | | llvm-svn: 63409
* Code gen. for @protocol expression in the new nonfragile abi.Fariborz Jahanian2009-01-301-4/+34
| | | | llvm-svn: 63408
* add testcase for PR3437 and r63405Chris Lattner2009-01-301-2/+4
| | | | llvm-svn: 63407
* Remove testing -use-x86_64-abi option; current implementation isDaniel Dunbar2009-01-301-7/+1
| | | | | | robust enough for general use. llvm-svn: 63406
* avoid emitting a bogus line marker for the top level #includeChris Lattner2009-01-301-1/+3
| | | | | | | | | | | | | | | | | | | | | location. We now -E a file containing "foo" into: # 1 "t.c" # 1 "t.c" 1 # 1 "<predefines>" 1 # 1 "t.c" 2 foo instead of: # 1 "t.c" # 1 "t.c" 1 # 0 "t.c" # 1 "<predefines>" 1 # 1 "t.c" 2 foo llvm-svn: 63405
* x86_64 ABI: Split small vectors which cross an eightbyte boundary. Down to ↵Daniel Dunbar2009-01-301-2/+7
| | | | | | 33/500 return type failures. llvm-svn: 63404
* use precise gettersGabor Greif2009-01-301-5/+8
| | | | llvm-svn: 63403
* use precise gettersGabor Greif2009-01-301-2/+2
| | | | llvm-svn: 63402
* Each input file is encoded as a separate compile unit in LLVM debuggingDevang Patel2009-01-305-128/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | information output. However, many target specific tool chains prefer to encode only one compile unit in an object file. In this situation, the LLVM code generator will include debugging information entities in the compile unit that is marked as main compile unit. The code generator accepts maximum one main compile unit per module. If a module does not contain any main compile unit then the code generator will emit multiple compile units in the output object file. [Part 1] Update DebugInfo APIs to accept optional boolean value while creating DICompileUnit to mark the unit as "main" unit. By defaults all units are considered non-main. Update SourceLevelDebugging.html to document "main" compile unit. Update DebugInfo APIs to not accept and encode separate source file/directory entries while creating various llvm.dbg.* entities. There was a recent, yet to be documented, change to include this additional information so no documentation changes are required here. Update DwarfDebug to handle "main" compile unit. If "main" compile unit is seen then all DIEs are inserted into "main" compile unit. All other compile units are used to find source location for llvm.dbg.* values. If there is not any "main" compile unit then create unique compile unit DIEs for each llvm.dbg.compile_unit. [Part 2] Create separate llvm.dbg.compile_unit for each input file. Mark compile unit create for main_input_filename as "main" compile unit. Use appropriate compile unit, based on source location information collected from the tree node, while creating llvm.dbg.* values using DebugInfo APIs. --- This is Part 1. llvm-svn: 63400
* Closed out a few radars that were addressed by designated initializersDouglas Gregor2009-01-301-0/+16
| | | | llvm-svn: 63398
* " Attached is a patch for TextDiagnosticPrinter that adds an optionalChris Lattner2009-01-302-6/+10
| | | | | | | | | | parameter that allows users to omit the printing of the source location on a diagnostic. So basically it would omit the "abc.c:5:1: " at the beginning of the line." Patch by Alexei Svitkine! llvm-svn: 63396
* Switch Type::isAggregateType to use the C++ definition of "aggregateDouglas Gregor2009-01-305-10/+18
| | | | | | | | type" rather than the C definition. We do this because both C99 and Clang always use "aggregate type" as "aggregate or union type", and the C++ definition includes union types. llvm-svn: 63395
* Make sure to cast the VLA size of array to the type of size_t. Fixes PR3442.Anders Carlsson2009-01-302-1/+17
| | | | llvm-svn: 63394
* Simplify/cleanup r63219 (based on Chris review).Steve Naroff2009-01-301-13/+1
| | | | llvm-svn: 63393
* fix RUN lineNuno Lopes2009-01-301-1/+1
| | | | llvm-svn: 63392
* enable test as it worksNuno Lopes2009-01-301-1/+1
| | | | llvm-svn: 63391
* enable test as it already worksNuno Lopes2009-01-301-3/+2
| | | | llvm-svn: 63390
* As Duncan suggested, add braces for the one-line "else branch".Zhou Sheng2009-01-301-1/+2
| | | | | | Thanks, Duncan. llvm-svn: 63389
* This is to fix the bug in IntrinsicLowering.cpp,Zhou Sheng2009-01-301-1/+2
| | | | | | | | the LowerPartSet(). It didn't handle the situation correctly when the low, high argument values are in reverse order (low > high) with 'Val' type i32 (a corner case). llvm-svn: 63388
* Fixed the comment. No functionality change.Sanjiv Gupta2009-01-301-1/+1
| | | | llvm-svn: 63387
* This is case is to uncover the bug in IntrinsicLowering.cpp,Zhou Sheng2009-01-301-0/+17
| | | | | | | | the LowerPartSet(). It didn't handle the situation correctly when the low, high argument values are in reverse order (low > high) with 'Val' type is i32 (a corner case). llvm-svn: 63386
* Add -fno-blocks support. This fixes block-no-block-def.c.Mike Stump2009-01-303-4/+13
| | | | llvm-svn: 63385
* Add opposite_of and inverse_opt to support -fno- style options. ThisMike Stump2009-01-302-1/+54
| | | | | | is necessary for eventual gcc commmand line compatibility. llvm-svn: 63384
* x86_64 ABI: Implement classification for arrays.Daniel Dunbar2009-01-301-55/+101
| | | | | | | - This brings us down to an 8% failure rate on the first 500 return types tests (from 12%). llvm-svn: 63383
* Use sublw for comparison with literals instead of subwf.Sanjiv Gupta2009-01-301-9/+11
| | | | llvm-svn: 63382
* When PerformBuildVectorCombine, avoid creating a X86ISD::VZEXT_LOAD ofMon P Wang2009-01-301-1/+5
| | | | | | an illegal type. llvm-svn: 63380
* Implement constant generation of ImplicitValueInitExprs.Anders Carlsson2009-01-301-1/+6
| | | | llvm-svn: 63379
* ccc: Forward -fobjc-nonfragile-abi to clang.Daniel Dunbar2009-01-302-0/+2
| | | | llvm-svn: 63378
* Enable emitting of constant values in non-default address space as well. The ↵Sanjiv Gupta2009-01-307-116/+119
| | | | | | APIs emitting constants now take an additional parameter signifying the address space in which to emit. The APIs like getData8BitsDirective() etc are made virtual enabling targets to be able to define appropirate directivers for various sizes and address spaces. llvm-svn: 63377
* Propagate debug loc info in SimplifyNodeWithTwoResults.Bill Wendling2009-01-301-7/+8
| | | | llvm-svn: 63376
* Propagate debug loc info for MULHS.Bill Wendling2009-01-301-2/+2
| | | | llvm-svn: 63375
* Propagate debug loc info for SREM and UREM.Bill Wendling2009-01-301-10/+12
| | | | llvm-svn: 63374
* Propagate debug loc info for UDIV.Bill Wendling2009-01-301-6/+7
| | | | llvm-svn: 63373
* Propagate debug loc info for SDIV.Bill Wendling2009-01-301-12/+21
| | | | llvm-svn: 63372
* Forgot to propagate debug loc info here.Bill Wendling2009-01-301-2/+4
| | | | llvm-svn: 63371
* Fix a post-RA scheduling dependency bug.Dan Gohman2009-01-303-12/+96
| | | | | | | | | | | | | | | If a MachineInstr doesn't have a memoperand but has an opcode that is known to load or store, assume its memory reference may alias *anything*, including stack slots which the compiler completely controls. To partially compensate for this, teach the ScheduleDAG building code to do basic getUnderlyingValue analysis. This greatly reduces the number of instructions that require restrictive dependencies. This code will need to be revisited when we start doing real alias analysis, but it should suffice for now. llvm-svn: 63370
* Propagate debug loc info for MUL.Bill Wendling2009-01-301-16/+21
| | | | llvm-svn: 63369
* Propagate debug loc info in SUB.Bill Wendling2009-01-301-7/+8
| | | | llvm-svn: 63368
* Propagate debug loc info in ADDC and ADDE.Bill Wendling2009-01-301-11/+13
| | | | llvm-svn: 63367
* Propagate debug loc info in DAG combine's "ADD".Bill Wendling2009-01-301-20/+18
| | | | llvm-svn: 63366
* - Propagate debug loc info in combineSelectAndUse().Bill Wendling2009-01-302-20/+42
| | | | | | | - Modify ReassociateOps so that the resulting SDValue is what the comment claims it is. llvm-svn: 63365
* Add some comments.Mikhail Glushenkov2009-01-301-1/+5
| | | | llvm-svn: 63364
* update for change in API.Chris Lattner2009-01-301-4/+4
| | | | llvm-svn: 63363
* Fix a bug in getMaxValue/getMinValue to pass the right signedness theChris Lattner2009-01-301-6/+6
| | | | | | the constructed APSInt, patch suggested by Ben Laurie! llvm-svn: 63362
* Enable target tripple.Devang Patel2009-01-301-1/+1
| | | | llvm-svn: 63361
* Linux and other target's encoding for DW_AT_declaration may not match.Devang Patel2009-01-301-0/+1
| | | | llvm-svn: 63360
OpenPOWER on IntegriCloud