Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [IR] Make paramHasAttr to use arg indices instead of attr indices | Reid Kleckner | 2017-04-14 | 1 | -1/+1 |
| | | | | | | | | | This avoids the confusing 'CS.paramHasAttr(ArgNo + 1, Foo)' pattern. Previously we were testing return value attributes with index 0, so I introduced hasReturnAttr() for that use case. llvm-svn: 300367 | ||||
* | Rename AttributeSet to AttributeList | Reid Kleckner | 2017-03-21 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This class is a list of AttributeSetNodes corresponding the function prototype of a call or function declaration. This class used to be called ParamAttrListPtr, then AttrListPtr, then AttributeSet. It is typically accessed by parameter and return value index, so "AttributeList" seems like a more intuitive name. Rename AttributeSetImpl to AttributeListImpl to follow suit. It's useful to rename this class so that we can rename AttributeSetNode to AttributeSet later. AttributeSet is the set of attributes that apply to a single function, argument, or return value. Reviewers: sanjoy, javed.absar, chandlerc, pete Reviewed By: pete Subscribers: pete, jholewinski, arsenm, dschuff, mehdi_amini, jfb, nhaehnle, sbc100, void, llvm-commits Differential Revision: https://reviews.llvm.org/D31102 llvm-svn: 298393 | ||||
* | Remove every uses of getGlobalContext() in LLVM (but the C API) | Mehdi Amini | 2016-04-14 | 1 | -1/+2 |
| | | | | | | | | | | | At the same time, fixes InstructionsTest::CastInst unittest: yes you can leave the IR in an invalid state and exit when you don't destroy the context (like the global one), no longer now. This is the first part of http://reviews.llvm.org/D19094 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266379 | ||||
* | [Orc] Re-add C bindings for the Orc APIs, with a fix to remove the union that | Lang Hames | 2015-10-28 | 1 | -1/+1 |
| | | | | | | | | | was causing builder failures. The bindings were originally added in r251472, and reverted in r251473 due to the builder failures. llvm-svn: 251482 | ||||
* | [Orc] Revert the C bindngs commit, r251472, while I debug some builder failures. | Lang Hames | 2015-10-28 | 1 | -1/+1 |
| | | | | llvm-svn: 251473 | ||||
* | [Orc] Add experimental C bindings for Orc. | Lang Hames | 2015-10-28 | 1 | -1/+1 |
| | | | | llvm-svn: 251472 | ||||
* | [Orc] Make the makeStub function propagate argument attributes onto the call to | Lang Hames | 2015-04-20 | 1 | -0/+48 |
the function body. This is necessary for correctness when lazily compiling. Also, flesh out the Orc unit test infrastructure slightly, and add a unit test for this. llvm-svn: 235347 |