comparison llvm/test/TableGen/searchabletables-intrinsic.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-searchable-tables -I %p/../../include %s | FileCheck %s 1 // RUN: llvm-tblgen -gen-searchable-tables -I %p/../../include %s | FileCheck %s
2 // XFAIL: vg_leak 2 // XFAIL: vg_leak
3 3
4 include "llvm/TableGen/SearchableTable.td" 4 include "llvm/TableGen/SearchableTable.td"
5 5
6 class IntrinsicProperty; 6 class IntrinsicProperty<bit is_default = 0> {
7 bit IsDefault = is_default;
8 }
9
7 class SDNodeProperty; 10 class SDNodeProperty;
8 11
9 class ValueType<int size, int value> { 12 class ValueType<int size, int value> {
10 string Namespace = "MVT"; 13 string Namespace = "MVT";
11 int Size = size; 14 int Size = size;
22 string TargetPrefix = ""; 25 string TargetPrefix = "";
23 list<LLVMType> RetTypes = []; 26 list<LLVMType> RetTypes = [];
24 list<LLVMType> ParamTypes = param_types; 27 list<LLVMType> ParamTypes = param_types;
25 list<IntrinsicProperty> IntrProperties = []; 28 list<IntrinsicProperty> IntrProperties = [];
26 list<SDNodeProperty> Properties = []; 29 list<SDNodeProperty> Properties = [];
30 bit DisableDefaultAttributes = 1;
27 } 31 }
28 32
29 def iAny : ValueType<0, 253>; 33 def iAny : ValueType<0, 253>;
30 def llvm_anyint_ty : LLVMType<iAny>; 34 def llvm_anyint_ty : LLVMType<iAny>;
31 35