ff7782bcc9235b1dc4c7fcb0497c52e4717eeffc |
|
22-Aug-2011 |
Jay Foad <jay.foad@gmail.com> |
Remove DEFINE_TRANSPARENT_CASTED_OPERAND_ACCESSORS, folding its functionality into DEFINE_TRANSPARENT_OPERAND_ACCESSORS. A side-effect of this is that the operand accessors for Constants will tolerate NULL operands, fixing PR10663. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138230 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
f18e4c3ab4735e278427f13e13603ecfa5608f0e |
|
14-Jan-2011 |
Jay Foad <jay.foad@gmail.com> |
OperandTraits<>::Layout isn't used for anything. Remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123452 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
67c619ba3eae68dcdb3f9340d82b33173aa0c256 |
|
11-Jan-2011 |
Jay Foad <jay.foad@gmail.com> |
FixedNumOperandTraits and VariadicOperandTraits assumed that, given a "this" pointer for any subclass of User, you could static_cast it to User* and then reinterpret_cast that to Use* to get the end of the operand list. This isn't a safe assumption in general, because the static_cast might adjust the "this" pointer. Fixed by having these OperandTraits classes take an extra template parameter, which is the subclass of User. This is groundwork for PR889. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123235 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
138acfe353ed8b895de093a4c118b01093b6fbfb |
|
16-Mar-2010 |
Gabor Greif <ggreif@gmail.com> |
fix PR6589 adjusted unittest I have added some doxygen to OptionalOperandTraits, so hopefully there will be no confusion in the future. Incidentally OptionalOperandTraits is not used any more (IIUC), but the obvious client would be BranchInstr, and I plan to rearrange it that way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
59bf4fcc0680e75b408579064d1205a132361196 |
|
06-Sep-2009 |
Duncan Sands <baldrick@free.fr> |
Public and private corrections, warned about by icc (#304). Patch by Erick Tryzelaar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
5e25dd388c0b23d34d44c4300e7d27dac9be1f39 |
|
14-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
Remove some dead functions, patch by Ryan Flynn! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75664 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
20cb46287cf5deb49cb484c9770e73f7cf246e7b |
|
11-Mar-2009 |
Gabor Greif <ggreif@gmail.com> |
Give Op<N>() AppleScript-like semantics, i.e. for negative N it indexes relative to op_end. This is a preliminary to changes to come. No intended functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
6cd093b56e80ed54a2062e789937a096ba3afe56 |
|
11-Feb-2009 |
Gabor Greif <ggreif@gmail.com> |
Fill in a glaring omission in derived User classes, namely add efficient versions of op_begin and op_end. Up to now always those from User have been called, which in most cases follow an indirection (OperandList) even if the exact Instruction type is known. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64331 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
315b333deaeae84dc35d7d9588ee5cf0bb35c2dc |
|
06-Jul-2008 |
Nick Lewycky <nicholas@mxc.ca> |
80col git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
07252fd463d2378383ae035e45f6ed3c12959efe |
|
30-May-2008 |
Gabor Greif <ggreif@gmail.com> |
add doxygen comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|
efe65369a74871c3140a540a6c95ce5d1f080954 |
|
10-May-2008 |
Gabor Greif <ggreif@gmail.com> |
merge of use-diet branch to trunk git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/OperandTraits.h
|