comparison llvm/test/TableGen/intrinsic-struct.td @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
comparison
equal deleted inserted replaced
173:0572611fdcc8 207:2e18cbf3894f
1 // RUN: llvm-tblgen -gen-intrinsic-enums %s | FileCheck %s 1 // RUN: llvm-tblgen -gen-intrinsic-enums %s | FileCheck %s
2 // XFAIL: vg_leak 2 // XFAIL: vg_leak
3 3
4 class IntrinsicProperty; 4 class IntrinsicProperty<bit is_default = 0> {
5 bit IsDefault = is_default;
6 }
7
5 class SDNodeProperty; 8 class SDNodeProperty;
6 9
7 class ValueType<int size, int value> { 10 class ValueType<int size, int value> {
8 string Namespace = "MVT"; 11 string Namespace = "MVT";
9 int Size = size; 12 int Size = size;
20 string TargetPrefix = ""; 23 string TargetPrefix = "";
21 list<LLVMType> RetTypes = ret_types; 24 list<LLVMType> RetTypes = ret_types;
22 list<LLVMType> ParamTypes = []; 25 list<LLVMType> ParamTypes = [];
23 list<IntrinsicProperty> IntrProperties = []; 26 list<IntrinsicProperty> IntrProperties = [];
24 list<SDNodeProperty> Properties = []; 27 list<SDNodeProperty> Properties = [];
28 bit DisableDefaultAttributes = 1;
25 } 29 }
26 30
27 def iAny : ValueType<0, 253>; 31 def iAny : ValueType<0, 253>;
28 def llvm_anyint_ty : LLVMType<iAny>; 32 def llvm_anyint_ty : LLVMType<iAny>;
29 33