summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.h
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak CGFunctionInfo::Profile method and reenable caching of ABIDaniel Dunbar2009-02-051-0/+1
| | | | | | information. llvm-svn: 63799
* Add asserts that the function signature matches the other arguments provideDaniel Dunbar2009-02-041-0/+2
| | | | | | to CGCall functions. llvm-svn: 63775
* Move ABIArgInfo into CGFunctionInfo, computed on creation.Daniel Dunbar2009-02-031-7/+25
| | | | | | - Still have to convert some consumers over. llvm-svn: 63610
* Memoize CGFunctionInfo construction.Daniel Dunbar2009-02-031-1/+15
| | | | llvm-svn: 63576
* Change CGFunctionInfo args iterator to not include the return type.Daniel Dunbar2009-02-021-6/+4
| | | | llvm-svn: 63571
* Thread CGFunctionInfo construction through CodeGenTypes.Daniel Dunbar2009-02-021-6/+2
| | | | | | - Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567
* ABI handling API changes.Daniel Dunbar2009-02-021-8/+5
| | | | | | | | | | | - 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
* Kill off CGCallInfo, always use CGFunctionInfo for encapsulatingDaniel Dunbar2009-01-311-12/+2
| | | | | | function/call info. llvm-svn: 63466
* Large mechanical patch.Devang Patel2008-09-251-2/+2
| | | | | | | | | | | | | s/ParamAttr/Attribute/g s/PAList/AttrList/g s/FnAttributeWithIndex/AttributeWithIndex/g s/FnAttr/Attribute/g This sets the stage - to implement function notes as function attributes and - to distinguish between function attributes and return value attributes. llvm-svn: 56623
* s/ParamAttrsWithIndex/FnAttributeWithIndex/gDevang Patel2008-09-241-2/+2
| | | | | | Rename to match changes done on llvm side. llvm-svn: 56537
* Move FunctionType conversion into CGCall.cpp:Daniel Dunbar2008-09-101-4/+4
| | | | | | | | | | | | | - Added CodeGenTypes::GetFunctionType, taking a CGFunctionInfo. - Updated Obj-C runtimes to use this instead of rolling the llvm::FunctionType by hand. - Killed CodeGenTypes::{ConvertReturnType, DecodeArgumentTypes}. Add ABIArgInfo class to encapsulate ABI decision of how to lower types to LLVM. - Will move to target sometime soon. llvm-svn: 56047
* Tweak CGCall functions:Daniel Dunbar2008-09-101-6/+9
| | | | | | | | - Move actual param attr list creation to CodeGenFunction::ConstructParamAttrList. - Make ReturnTypeUsesSret static. llvm-svn: 56038
* Factor CodeGenFunction::StartFunction out of GenerateCode andDaniel Dunbar2008-09-091-0/+7
| | | | | | StartObjCMethod. llvm-svn: 56030
* Change CodeGen to emit calls using (RValue,Type) list:Daniel Dunbar2008-09-091-1/+3
| | | | | | | | | | | | | | - Add CodeGenFunction::EmitAnyExprToTemp o Like EmitAnyExpr, but emits aggregates to a temporary location if none is available. Seems like this should be simpler (even aside from using first class aggregates). - Killed CodeGenFunction::EmitCallArg (just append the pair) - Conversion of RValues to actual call arguments is now isolated in CodeGenFunction::EmitCall. llvm-svn: 55970
* Refactor parameter attribute handling:Daniel Dunbar2008-09-081-0/+76
- Add CGCall.h for dealing with ABI issues related to calls. - Add CGFunctionInfo and CGCallInfo for capturing ABI relevant information about functions and calls. - Isolate LLVM parameter attribute handling inside CGCall.cpp llvm-svn: 55963
OpenPOWER on IntegriCloud