commit | 095cc29f321382e1f7d295e262a28197f92c5491 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Sat Sep 13 01:54:27 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Sat Sep 13 01:54:27 2008 +0000 |
tree | be6c4833a95fbd06a8315df342c5ee55aef50473 | |
parent | e7de7e3574245fe4cdee3ea895c3aeabca04db63 [diff] |
Define CallSDNode, an SDNode subclass for use with ISD::CALL. Currently it just holds the calling convention and flags for isVarArgs and isTailCall. And it has several utility methods, which eliminate magic 5+2*i and similar index computations in several places. CallSDNodes are not CSE'd. Teach UpdateNodeOperands to handle nodes that are not CSE'd gracefully. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56183 91177308-0d34-0410-b5e6-96231b3b80d8