summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak CGFunctionInfo::Profile method and reenable caching of ABIDaniel Dunbar2009-02-052-3/+2
| | | | | | information. llvm-svn: 63799
* Chase LLVM TOT in circles (i.e., revert r63773 to match revert ofDaniel Dunbar2009-02-041-3/+6
| | | | | | r63765). llvm-svn: 63795
* Add ABIArgInfo::dump()Daniel Dunbar2009-02-042-0/+33
| | | | llvm-svn: 63794
* Use correct signature for calling enumeration mutation function.Daniel Dunbar2009-02-041-1/+1
| | | | llvm-svn: 63782
* Temporarily disable caching of ABI results; this is going horriblyDaniel Dunbar2009-02-041-1/+3
| | | | | | wrong in some cases. llvm-svn: 63780
* Add -femit-all-decls codegen option.Daniel Dunbar2009-02-041-1/+1
| | | | | | | | - Emits all declarations, even unused (static) ones. - Useful when doing minimization of codegen problems (otherwise problems localized to a static function aren't minimized well). llvm-svn: 63776
* Add asserts that the function signature matches the other arguments provideDaniel Dunbar2009-02-042-0/+6
| | | | | | to CGCall functions. llvm-svn: 63775
* (llvm up) Update for intrinsic lookup changes.Daniel Dunbar2009-02-041-6/+3
| | | | llvm-svn: 63773
* Some early code for objc2's nonfragile abi messaging.Fariborz Jahanian2009-02-041-12/+93
| | | | llvm-svn: 63770
* Patch fixes messaging for GNU runtime.Fariborz Jahanian2009-02-041-58/+36
| | | | | | Patch by David Chisnall llvm-svn: 63769
* Handle demotion of coerced arguments (as in void a(x) short x; { ... }).Daniel Dunbar2009-02-041-1/+7
| | | | llvm-svn: 63726
* lower the interface to getLineNumber like we did forChris Lattner2009-02-041-1/+2
| | | | | | | | getColumnNumber. This fixes a FIXME in SourceManager::getPresumedLoc because we now just decompose the sloc once. llvm-svn: 63701
* Update passing of _Bool values to match what function was declared to take.Daniel Dunbar2009-02-041-3/+3
| | | | llvm-svn: 63697
* Change construction of common ObjC functions to use CGCallDaniel Dunbar2009-02-041-57/+41
| | | | | | | | | infrastructure to construct function type. - For consistencty, we should probably always use this to construct function types, but these are absolutely necessary to ensure that we can emit calls to these functions. llvm-svn: 63695
* Some function stub added for new abi messaging.Fariborz Jahanian2009-02-041-3/+36
| | | | llvm-svn: 63691
* Use CGCall infrastructure to call enumeration mutation function.Daniel Dunbar2009-02-031-1/+7
| | | | llvm-svn: 63685
* Several new declarations for objc2 nonfragileFariborz Jahanian2009-02-031-0/+115
| | | | | | abi messaging. llvm-svn: 63684
* Fix return type for calls to objc_setProperty.Daniel Dunbar2009-02-031-1/+5
| | | | llvm-svn: 63683
* Use ConvertTypeForMem when creating alloca for scalar argument.Daniel Dunbar2009-02-031-1/+1
| | | | llvm-svn: 63681
* Add CodeGenFunction::ConvertTypeForMem forwarding function.Daniel Dunbar2009-02-032-0/+5
| | | | llvm-svn: 63678
* GNUStep fast enumeration.Fariborz Jahanian2009-02-031-1/+3
| | | | | | Patch by David Chisnall. llvm-svn: 63666
* x86_64 ABI: Initial implementation of ABI compliant parameter passing.Daniel Dunbar2009-02-031-18/+119
| | | | | | | | | | | - Now only 27/500 failures on ABITest single argument tests; from 350/500. :) - As with return types, a large percentage of these are likely to be gcc bugs, not yet reviewed. Also, fix bug in handling of Ignore ABI type in argument lists. llvm-svn: 63654
* ABI handling: Implement coercion for argument types (in addition toDaniel Dunbar2009-02-031-4/+39
| | | | | | return types). llvm-svn: 63645
* ir-gen for nonfragile ivar bitfield access (objc2 nonfragile abi).Fariborz Jahanian2009-02-035-57/+70
| | | | llvm-svn: 63644
* Targets that don't have stack use global address space for parameters.Sanjiv Gupta2009-02-032-8/+20
| | | | | | | Specify external linkage for such globals so that llvm optimizer do not assume there values initialized as zero. llvm-svn: 63636
* Minor objc2 bug fix.Fariborz Jahanian2009-02-031-2/+2
| | | | llvm-svn: 63635
* Fixed the typo in comment.Sanjiv Gupta2009-02-031-1/+1
| | | | llvm-svn: 63634
* Change ABIInfo to compute information for a full signature at a timeDaniel Dunbar2009-02-032-47/+49
| | | | | | (the main point of this restructing). llvm-svn: 63619
* Remove ABIArgInfo::Default kind, ABI is now responsible for specifyingDaniel Dunbar2009-02-032-41/+30
| | | | | | acceptable kind with more precise semantics. llvm-svn: 63617
* Add ABIArgInfo::Direct kind, which passes arguments using whatever theDaniel Dunbar2009-02-032-1/+26
| | | | | | | native IRgen type is. This is like Default, but without any extra semantics (like automatic tweaking of structures or void). llvm-svn: 63615
* Add two FIXMEs.Daniel Dunbar2009-02-031-0/+5
| | | | llvm-svn: 63613
* Always use CGFunctionInfo to access ABI information.Daniel Dunbar2009-02-031-14/+16
| | | | llvm-svn: 63612
* Move ABIArgInfo into CGFunctionInfo, computed on creation.Daniel Dunbar2009-02-033-32/+62
| | | | | | - Still have to convert some consumers over. llvm-svn: 63610
* Move ABIInfo/ABIArgInfo classes into ABIInfo.hDaniel Dunbar2009-02-032-103/+119
| | | | llvm-svn: 63586
* objc2's ir-gen for nonfragile ivar access.Fariborz Jahanian2009-02-036-16/+83
| | | | llvm-svn: 63578
* Memoize CGFunctionInfo construction.Daniel Dunbar2009-02-033-2/+30
| | | | llvm-svn: 63576
* Change CGFunctionInfo args iterator to not include the return type.Daniel Dunbar2009-02-022-20/+18
| | | | llvm-svn: 63571
* Thread CGFunctionInfo construction through CodeGenTypes.Daniel Dunbar2009-02-0210-48/+83
| | | | | | - Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567
* More ABI API cleanup.Daniel Dunbar2009-02-029-32/+34
| | | | | | | - Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. llvm-svn: 63553
* ABI handling API changes.Daniel Dunbar2009-02-029-54/+51
| | | | | | | | | | | - Lift CGFunctionInfo creation up to callers of EmitCall. - Move isVariadic bit out of CGFunctionInfo, take as argument to GetFunctionType instead. No functionality change. llvm-svn: 63550
* Refactored code gen for ivar access in preparation forFariborz Jahanian2009-02-024-1/+51
| | | | | | objc2 nonfragile ivar access code gen. llvm-svn: 63541
* Shuffle some functions around, no functionality change.Daniel Dunbar2009-02-021-65/+65
| | | | llvm-svn: 63538
* Add FIXME.Daniel Dunbar2009-02-021-0/+4
| | | | llvm-svn: 63531
* Fix for PR3447: use padded sizes for computations on struct/union Eli Friedman2009-02-011-5/+5
| | | | | | constants. llvm-svn: 63491
* Remove unused overload of GetFunctionType.Daniel Dunbar2009-01-312-16/+3
| | | | llvm-svn: 63472
* Initialize CGFunctionInfo isVariadic bit correctly.Daniel Dunbar2009-01-311-2/+4
| | | | llvm-svn: 63471
* Use target alignment API to set objc2's meta-dataFariborz Jahanian2009-01-311-13/+20
| | | | | | alignment. llvm-svn: 63470
* Err, unbreak my previous "no functionality change commit", will fix properly ↵Daniel Dunbar2009-01-311-1/+1
| | | | | | later. llvm-svn: 63467
* Kill off CGCallInfo, always use CGFunctionInfo for encapsulatingDaniel Dunbar2009-01-316-53/+26
| | | | | | function/call info. llvm-svn: 63466
* class meta-data belong to __objc_data section (in objc2Fariborz Jahanian2009-01-311-1/+1
| | | | | | nonfragile abi). llvm-svn: 63461
OpenPOWER on IntegriCloud