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
This commit is contained in:
Reid Spencer
2007-01-29 05:41:09 +00:00
parent 57eba0ab51
commit 43f76c9925
2 changed files with 60 additions and 15 deletions

View File

@@ -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 };