diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-29 05:41:09 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-29 05:41:09 +0000 |
commit | 43f76c99256ff885462d903f88a777657b84f562 (patch) | |
tree | f4cd195d6c9dc8bd8308e6dff6ef5c29925c82e3 /tools/llvm-upgrade/UpgradeInternals.h | |
parent | 57eba0ab51e6a4ce68cd0ea545fa48324a81c7e7 (diff) |
Upgrade old csret calling convention into sret parameter attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-upgrade/UpgradeInternals.h')
-rw-r--r-- | tools/llvm-upgrade/UpgradeInternals.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/llvm-upgrade/UpgradeInternals.h b/tools/llvm-upgrade/UpgradeInternals.h index 5057e70be4..7a4864157f 100644 --- a/tools/llvm-upgrade/UpgradeInternals.h +++ b/tools/llvm-upgrade/UpgradeInternals.h @@ -213,6 +213,13 @@ enum CastOps { UIToFPOp, SIToFPOp, PtrToIntOp, IntToPtrOp, BitCastOp }; +// An enumeration for the old calling conventions, ala LLVM 1.9 +namespace OldCallingConv { + enum ID { + C = 0, CSRet = 1, Fast = 8, Cold = 9, X86_StdCall = 64, X86_FastCall = 65 + }; +} + /// An enumeration for defining the Signedness of a type or value. Signless /// means the signedness is not relevant to the type or value. enum Signedness { Signless, Unsigned, Signed }; |