/llvm-project/clang/test/Parser/ |
H A D | cxx0x-keyword-attributes.cpp | 1 // RUN: sed -e "s@ATTR_USE@__arm_streaming@g" -e "s@ATTR_NAME@__arm_streaming@g" %s > %t 3 // RUN: sed -e "s@ATTR_USE@__arm_inout\(\"za\"\)@g" -e "s@ATTR_NAME@__arm_inout@g" %s > %t 41 ATTR_USE int before_attr; // expected-error {{'ATTR_NAME' only applies to function types}} 42 int ATTR_USE between_attr; // expected-error {{'ATTR_NAME' only applies to function types}} 43 const ATTR_USE int between_attr_2 = 0; // expected-error {{'ATTR_NAME' cannot appear here}} 44 int after_attr ATTR_USE; // expected-error {{'ATTR_NAME' only applies to function types}} 45 int * ATTR_USE ptr_attr; // expected-error {{'ATTR_NAME' only applies to function types}} 46 int & ATTR_USE ref_attr = after_attr; // expected-error {{'ATTR_NAME' only applies to function type… 47 int && ATTR_USE rref_attr = 0; // expected-error {{'ATTR_NAME' only applies to function types}} 48 int array_attr [1] ATTR_USE; // expected-error {{'ATTR_NAME' only applies to function types}} [all …]
|
H A D | c2x-attribute-keywords.c | 1 // RUN: sed -e "s@ATTR_USE@__arm_streaming@g" -e "s@ATTR_NAME@__arm_streaming@g" %s > %t 4 // RUN: sed -e "s@ATTR_USE@__arm_inout\(\"za\"\)@g" -e "s@ATTR_NAME@__arm_inout@g" %s > %t 8 enum ATTR_USE E { // expected-error {{'ATTR_NAME' only applies to non-K&R-style functions}} 9 One ATTR_USE, // expected-error {{'ATTR_NAME' only applies to non-K&R-style functions}} 11 Three ATTR_USE // expected-error {{'ATTR_NAME' only applies to non-K&R-style functions}} 14 enum ATTR_USE { Four }; // expected-error {{'ATTR_NAME' only applies to non-K&R-style functions}} 15 ATTR_USE enum E2 { Five }; // expected-error {{misplaced 'ATTR_NAME'}} 23 struct ATTR_USE S1 { // expected-error {{'ATTR_NAME' only applies to non-K&R-style functions}} 24 int i ATTR_USE; // expected-error {{'ATTR_NAME' only applies to function types}} 25 int ATTR_USE j; // expected-error {{'ATTR_NAME' only applies to function types}} [all …]
|
H A D | cxx0x-attributes.cpp | 411 #define attr_name bitand 414 [[attr_name, attr_name_2(bitor), attr_name_3(com, pl)]] int macro_attrs; // expected-warning {{unkn…
|
/llvm-project/mlir/python/mlir/dialects/linalg/opdsl/lang/ |
H A D | scalar_expr.py | 39 attr_name: Optional[str], 43 if bool(fn_name) + bool(attr_name) != 1: 44 raise ValueError("One of 'fn_name', 'attr_name' must be specified") 47 self.attr_name = attr_name 55 name = self.fn_name if self.fn_name else self.attr_name 137 if self.scalar_fn.attr_name: 138 scalar_fn_dict["attr_name"] = self.scalar_fn.attr_name
|
H A D | comprehension.py | 161 attr_name = self.operand_def.name if self.operand_def else None 163 return ScalarFn(self.kind, self.name, attr_name, self.type_var, args).expr() 199 attr_name = None 203 attr_name = self.reduce_use.binary_attr.operand_def.name 204 return ScalarFn(FunctionKind.BINARY, fn_name, attr_name, None, full_args).expr()
|
H A D | emitter.py | 374 if expr.scalar_fn.attr_name: 375 fn_name, _ = self.fn_attr_mapping[expr.scalar_fn.attr_name]
|
/llvm-project/compiler-rt/test/ctx_profile/ |
H A D | lit.cfg.py | 14 def get_required_attr(config, attr_name): argument 15 attr_value = getattr(config, attr_name, None) 20 "to lit.site.cfg.py " % attr_name
|
/llvm-project/compiler-rt/test/ubsan_minimal/ |
H A D | lit.common.cfg.py | 6 def get_required_attr(config, attr_name): argument 7 attr_value = getattr(config, attr_name, None) 12 "to lit.site.cfg.py " % attr_name
|
/llvm-project/mlir/test/python/dialects/linalg/opdsl/ |
H A D | assignments.py | 18 # CHECK: attr_name: mul 22 # CHECK: attr_name: cast 28 # CHECK: attr_name: cast 78 # CHECK: attr_name: exp
|
/llvm-project/compiler-rt/test/asan_abi/ |
H A D | lit.cfg.py | 9 def get_required_attr(config, attr_name): argument 10 attr_value = getattr(config, attr_name, None) 15 'to lit.site.cfg.py ' % attr_name)
|
/llvm-project/compiler-rt/test/ubsan/ |
H A D | lit.common.cfg.py | 6 def get_required_attr(config, attr_name): argument 7 attr_value = getattr(config, attr_name, None) 12 "to lit.site.cfg.py " % attr_name
|
/llvm-project/compiler-rt/test/memprof/ |
H A D | lit.cfg.py | 10 def get_required_attr(config, attr_name): argument 11 attr_value = getattr(config, attr_name, None) 16 "to lit.site.cfg.py " % attr_name
|
/llvm-project/compiler-rt/test/tsan/ |
H A D | lit.cfg.py | 6 def get_required_attr(config, attr_name): argument 7 attr_value = getattr(config, attr_name, None) 12 "to lit.site.cfg.py " % attr_name
|
/llvm-project/compiler-rt/test/lsan/ |
H A D | lit.common.cfg.py | 11 def get_required_attr(config, attr_name): argument 12 attr_value = getattr(config, attr_name, None) 17 "to lit.site.cfg.py " % attr_name
|
/llvm-project/mlir/python/mlir/dialects/ |
H A D | builtin.py | 45 for attr_name, attr in attrs.items(): 46 mod.operation.attributes[attr_name] = attr
|
/llvm-project/compiler-rt/test/profile/ |
H A D | lit.cfg.py | 7 def get_required_attr(config, attr_name): argument 8 attr_value = getattr(config, attr_name, None) 13 "to lit.site.cfg.py " % attr_name
|
/llvm-project/compiler-rt/test/builtins/Unit/ |
H A D | lit.cfg.py | 22 def get_required_attr(config, attr_name): argument 23 attr_value = getattr(config, attr_name, None) 28 "to lit.site.cfg.py " % attr_name
|
/llvm-project/mlir/test/mlir-linalg-ods-gen/ |
H A D | test-linalg-ods-yaml-gen.yaml | 49 attr_name: cast 57 attr_name: cast 292 attr_name: binary_fun 297 attr_name: unary_fun
|
/llvm-project/cross-project-tests/ |
H A D | lit.cfg.py | 52 def get_required_attr(config, attr_name): 53 attr_value = getattr(config, attr_name, None) 58 "to lit.site.cfg " % attr_name 55 get_required_attr(config, attr_name) global() argument
|
/llvm-project/compiler-rt/test/asan/ |
H A D | lit.cfg.py | 11 def get_required_attr(config, attr_name): argument 12 attr_value = getattr(config, attr_name, None) 17 "to lit.site.cfg.py " % attr_name
|
/llvm-project/compiler-rt/test/msan/Linux/ |
H A D | xattr.cpp | 81 const char *attr_name) { in test_get_single_attr() argument 87 ssize_t res = fun(attr_name, buf, buf_size); in test_get_single_attr()
|
/llvm-project/mlir/python/mlir/dialects/linalg/opdsl/ |
H A D | dump_oplib.py | 70 for attr_name, value in m.__dict__.items():
|
/llvm-project/mlir/include/mlir/Dialect/Linalg/IR/ |
H A D | LinalgNamedStructuredOps.yaml | 41 attr_name: cast 86 attr_name: fun 91 attr_name: cast 597 attr_name: fun 602 attr_name: cast 610 attr_name: cast 1231 attr_name: cast 1239 attr_name: cast 1304 attr_name: cast 1312 attr_name [all...] |
/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemote.cpp | 4262 [&name, &value, &log](const llvm::StringRef &attr_name, in ParseEnums() 4264 if (attr_name == "name") { in ParseEnums() 4270 } else if (attr_name == "value") { in ParseEnums() 4285 attr_name.data()); in ParseEnums() 4316 enum_node.ForEachAttribute([&id](const llvm::StringRef &attr_name, in ParseFlagsFields() 4318 if (attr_name == "id") in ParseFlagsFields() 4368 &log](const llvm::StringRef &attr_name, in ParseFlagsFields() 4372 if (attr_name == "name") { in ParseFlagsFields() 4378 } else if (attr_name == "start") { in ParseFlagsFields() 4396 } else if (attr_name in ParseFlagsFields() 4205 __anon0221db6c1002(const llvm::StringRef &attr_name, const llvm::StringRef &attr_value) ParseEnumEvalues() argument 4259 __anon0221db6c1202(const llvm::StringRef &attr_name, const llvm::StringRef &attr_value) ParseEnums() argument 4311 __anon0221db6c1402(const llvm::StringRef &attr_name, const llvm::StringRef &attr_value) ParseFlagsFields() argument [all...] |
/llvm-project/mlir/tools/mlir-linalg-ods-gen/ |
H A D | mlir-linalg-ods-yaml-gen.cpp | 301 io.mapOptional("attr_name", info.attrName); in mapping()
|