summaryrefslogtreecommitdiff
path: root/src/jit/lsra_reftypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/lsra_reftypes.h')
-rw-r--r--src/jit/lsra_reftypes.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/jit/lsra_reftypes.h b/src/jit/lsra_reftypes.h
new file mode 100644
index 0000000000..841b78c881
--- /dev/null
+++ b/src/jit/lsra_reftypes.h
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+// clang-format off
+// memberName - enum member name
+// memberValue - enum member value
+// shortName - short name string
+// DEF_REFTYPE(memberName , memberValue , shortName )
+ DEF_REFTYPE(RefTypeInvalid , 0x00 , "Invl" )
+ DEF_REFTYPE(RefTypeDef , 0x01 , "Def " )
+ DEF_REFTYPE(RefTypeUse , 0x02 , "Use " )
+ DEF_REFTYPE(RefTypeKill , 0x04 , "Kill" )
+ DEF_REFTYPE(RefTypeBB , 0x08 , "BB " )
+ DEF_REFTYPE(RefTypeFixedReg , 0x10 , "Fixd" )
+ DEF_REFTYPE(RefTypeExpUse , (0x20 | RefTypeUse), "ExpU" )
+ DEF_REFTYPE(RefTypeParamDef , (0x10 | RefTypeDef), "Parm" )
+ DEF_REFTYPE(RefTypeDummyDef , (0x20 | RefTypeDef), "DDef" )
+ DEF_REFTYPE(RefTypeZeroInit , (0x30 | RefTypeDef), "Zero" )
+ DEF_REFTYPE(RefTypeUpperVectorSaveDef, (0x40 | RefTypeDef), "UVSv" )
+ DEF_REFTYPE(RefTypeUpperVectorSaveUse, (0x40 | RefTypeUse), "UVRs" )
+ DEF_REFTYPE(RefTypeKillGCRefs , 0x80 , "KlGC" )
+// clang-format on