| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | cxx-templates.cpp | 184 …cls<void>::nested_fn(); // expected-error 1+{{explicit specialization of 'nested_fn' must be impor… in test() 190 cls<void> *k0; // ok in test() 191 cls<char> *k1; // ok in test() 192 cls<int> *k2; // ok in test() 193 cls<int*> *k3; // ok in test() 194 cls<void>::nested_cls *nk1; // ok in test() 195 cls<void>::nested_cls_t<int> *nk2; // ok in test() 196 cls<void>::nested_cls_t<char> *nk3; // ok in test() 208 cls<void>::nested_enum e; // ok in test() 218 (void)sizeof(cls<void>::nested_var); // ok in test() [all …]
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/ |
| H A D | cxx-templates-unimported.h | 6 template<> struct cls<int> { 15 template<typename T> struct cls<T*> { 24 template<> void cls<void>::nested_fn() {} 25 template<> struct cls<void>::nested_cls {}; 26 template<> int cls<void>::nested_var; 27 template<> enum class cls<void>::nested_enum { e }; 35 cls<char>(); 37 cls<char*>(); 39 cls<void>::nested_fn_t<char>(); 40 cls<void>::nested_cls_t<char>(); [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | cls.ll | 3 ; @llvm.aarch64.cls must be directly translated into the 'cls' instruction 5 ; CHECK-LABEL: cls 6 ; CHECK: cls [[REG:w[0-9]+]], [[REG]] 7 define i32 @cls(i32 %t) { 8 %cls.i = call i32 @llvm.aarch64.cls(i32 %t) 9 ret i32 %cls.i 13 ; CHECK: cls [[REG:x[0-9]+]], [[REG]] 15 %cls.i = call i32 @llvm.aarch64.cls64(i64 %t) 16 ret i32 %cls.i 19 declare i32 @llvm.aarch64.cls(i32) nounwind
|
| H A D | arm64-vcnt.ll | 5 ;CHECK: cls.8b 7 %tmp3 = call <8 x i8> @llvm.aarch64.neon.cls.v8i8(<8 x i8> %tmp1) 13 ;CHECK: cls.16b 15 %tmp3 = call <16 x i8> @llvm.aarch64.neon.cls.v16i8(<16 x i8> %tmp1) 21 ;CHECK: cls.4h 23 %tmp3 = call <4 x i16> @llvm.aarch64.neon.cls.v4i16(<4 x i16> %tmp1) 29 ;CHECK: cls.8h 31 %tmp3 = call <8 x i16> @llvm.aarch64.neon.cls.v8i16(<8 x i16> %tmp1) 37 ;CHECK: cls.2s 39 %tmp3 = call <2 x i32> @llvm.aarch64.neon.cls.v2i32(<2 x i32> %tmp1) [all …]
|
| H A D | arm64-clrsb.ll | 22 ; CHECK: cls [[TEMP:w[0-9]+]], [[TEMP]] 25 ; GISEL: cls [[TEMP:w[0-9]+]], [[TEMP]] 40 ; CHECK: cls [[TEMP:x[0-9]+]], [[TEMP]] 42 ; GISEL: cls [[TEMP:x[0-9]+]], [[TEMP]] 57 ; CHECK: cls [[TEMP:w[0-9]+]], [[TEMP]] 60 ; GISEL: cls [[TEMP:w[0-9]+]], [[TEMP]] 75 ; CHECK: cls [[TEMP:x[0-9]+]], [[TEMP]] 77 ; GISEL: cls [[TEMP:x[0-9]+]], [[TEMP]]
|
| /llvm-project-15.0.7/lldb/examples/python/ |
| H A D | cmdtemplate.py | 25 def register_lldb_command(cls, debugger, module_name): argument 26 parser = cls.create_options() 27 cls.__doc__ = parser.format_help() 30 cls.__name__, 31 cls.program) 34 '--help" for detailed help.'.format(cls.program)) 37 def create_options(cls): argument 53 prog=cls.program, 145 for _name, cls in inspect.getmembers(sys.modules[__name__]): 146 if inspect.isclass(cls) and callable(getattr(cls, [all …]
|
| /llvm-project-15.0.7/mlir/lib/Bindings/Python/ |
| H A D | DialectPDL.cpp | 34 [](py::object cls, MlirContext ctx) { in populateDialectPDLSubmodule() argument 35 return cls(mlirPDLAttributeTypeGet(ctx)); in populateDialectPDLSubmodule() 48 [](py::object cls, MlirContext ctx) { in populateDialectPDLSubmodule() argument 49 return cls(mlirPDLOperationTypeGet(ctx)); in populateDialectPDLSubmodule() 61 [](py::object cls, MlirType elementType) { in populateDialectPDLSubmodule() argument 62 return cls(mlirPDLRangeTypeGet(elementType)); in populateDialectPDLSubmodule() 79 [](py::object cls, MlirContext ctx) { in populateDialectPDLSubmodule() argument 80 return cls(mlirPDLTypeTypeGet(ctx)); in populateDialectPDLSubmodule() 92 [](py::object cls, MlirContext ctx) { in populateDialectPDLSubmodule() argument 93 return cls(mlirPDLValueTypeGet(ctx)); in populateDialectPDLSubmodule()
|
| H A D | DialectQuant.cpp | 163 [](py::object cls, unsigned flags, MlirType storageType, in populateDialectQuantSubmodule() 166 return cls(mlirAnyQuantizedTypeGet(flags, storageType, expressedType, in populateDialectQuantSubmodule() 184 [](py::object cls, unsigned flags, MlirType storageType, in populateDialectQuantSubmodule() argument 187 return cls(mlirUniformQuantizedTypeGet(flags, storageType, in populateDialectQuantSubmodule() 219 [](py::object cls, unsigned flags, MlirType storageType, in populateDialectQuantSubmodule() 227 return cls(mlirUniformQuantizedPerAxisTypeGet( in populateDialectQuantSubmodule() 290 [](py::object cls, MlirType expressedType, double min, double max) { in populateDialectQuantSubmodule() argument 291 return cls(mlirCalibratedQuantizedTypeGet(expressedType, min, max)); in populateDialectQuantSubmodule()
|
| H A D | IRInterfaces.cpp | 105 py::class_<ConcreteIface> cls(m, "InferTypeOpInterface", in bind() local 107 cls.def(py::init<py::object, DefaultingPyMlirContext>(), py::arg("object"), in bind() 114 ConcreteIface::bindDerived(cls); in bind() 118 static void bindDerived(ClassTy &cls) {} in bindDerived() argument 229 static void bindDerived(ClassTy &cls) { in bindDerived() argument 230 cls.def("inferReturnTypes", &PyInferTypeOpInterface::inferReturnTypes, in bindDerived()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrFormats.td | 2123 : InstRRE<opcode, (outs cls:$R1, cls:$R2), (ins), 2506 : InstRSI<opcode, (outs cls:$R1), (ins cls:$R1src, cls:$R3, brtarget16:$RI2), 2530 (outs cls:$R1), (ins cls:$R1src, cls:$R3, bdaddr20only:$BD2), 2561 : InstSSe<opcode, (outs cls:$R1, cls:$R3), 3564 [(set cls:$R1, (operator cls:$R1src, 4791 : InstRSa<opcode, (outs cls:$R1), (ins cls:$R1src, cls:$R3, mode:$BD2), 4793 [(set cls:$R1, (operator mode:$BD2, cls:$R1src, cls:$R3))]> { 4802 : InstRSYa<opcode, (outs cls:$R1), (ins cls:$R1src, cls:$R3, mode:$BD2), 4804 [(set cls:$R1, (operator mode:$BD2, cls:$R1src, cls:$R3))]> { 4969 : Pseudo<(outs cls:$R1), (ins cls:$R2, cls:$R3, mode:$XBD2), []> { [all …]
|
| H A D | SystemZPatterns.td | 23 def : Pat<(operator cls:$src1, (sext GR32:$src2)), 24 (insn cls:$src1, GR32:$src2)>; 32 def : Pat<(operator cls:$src1, (zext GR32:$src2)), 33 (insn cls:$src1, GR32:$src2)>; 61 cls:$src1, (load mode:$src2)), 62 (insn cls:$src1, mode:$src2)>; 64 (load mode:$src2), cls:$src1), 65 (insn cls:$src1, mode:$src2)>; 151 def : Pat<(z_any_fcmp cls:$reg, (fpimm0)), (insn cls:$reg, cls:$reg)>; 153 def : Pat<(z_any_fcmp cls:$reg, (fpimmneg0)), (insn cls:$reg, cls:$reg)>; [all …]
|
| /llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/ |
| H A D | test_setups.py | 36 def setUpClass(cls): argument 57 def tearDownClass(cls): argument 78 def tearDownClass(cls): argument 92 def tearDownClass(cls): argument 113 def setUpClass(cls): argument 174 def setUpClass(cls): argument 194 def setUpClass(cls): argument 235 def setUpClass(cls): argument 251 def setUpClass(cls): argument 267 def setUpClass(cls): argument [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/AArch64/SVE/ |
| H A D | cls.s | 12 cls z31.b, p7/m, z31.b label 18 cls z31.h, p7/m, z31.h label 24 cls z31.s, p7/m, z31.s label 30 cls z31.d, p7/m, z31.d label 46 cls z4.d, p7/m, z31.d label 58 cls z4.d, p7/m, z31.d label
|
| /llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/lang/ |
| H A D | types.py | 45 def __new__(cls, name: str): argument 46 existing = cls.ALL_TYPEVARS.get(name) 49 new = super().__new__(cls) 51 cls.ALL_TYPEVARS[name] = new 58 def create_expando(cls): argument 64 return cls(n)
|
| H A D | affine.py | 233 def __new__(cls, dimname: str): argument 234 existing = cls.ALL_DIMS.get(dimname) 237 new = super().__new__(cls) 239 cls.ALL_DIMS[dimname] = new 250 def create_expando(cls): argument 257 return cls(n) 276 def __new__(cls, symname: str): argument 280 new = super().__new__(cls) 282 cls.ALL_SYMBOLS[symname] = new 293 def create_expando(cls): argument [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | cls.ll | 7 define i32 @cls(i32 %t) { 8 %cls.i = call i32 @llvm.arm.cls(i32 %t) 9 ret i32 %cls.i 22 %cls.i = call i32 @llvm.arm.cls64(i64 %t) 23 ret i32 %cls.i 26 declare i32 @llvm.arm.cls(i32) nounwind
|
| /llvm-project-15.0.7/mlir/python/mlir/dialects/ |
| H A D | _arith_ops_ext.py | 14 def _isa(obj: Any, cls: type): 16 cls(obj) 23 return any(_isa(obj, cls) for cls in classes) 51 def create_index(cls, value: int, *, loc=None, ip=None): argument 53 return cls(
|
| /llvm-project-15.0.7/lldb/bindings/interface/ |
| H A D | SBFile.i | 44 def Create(cls, file, borrow=False, force_io_methods=False): 56 return cls.MakeBorrowedForcingIOMethods(file) 58 return cls.MakeBorrowed(file) 61 return cls.MakeForcingIOMethods(file) 63 return cls(file)
|
| /llvm-project-15.0.7/mlir/test/python/lib/ |
| H A D | PythonTestModule.cpp | 32 [](py::object cls, MlirContext ctx) { in PYBIND11_MODULE() argument 33 return cls(mlirPythonTestTestAttributeGet(ctx)); in PYBIND11_MODULE() 39 [](py::object cls, MlirContext ctx) { in PYBIND11_MODULE() argument 40 return cls(mlirPythonTestTestTypeGet(ctx)); in PYBIND11_MODULE()
|
| /llvm-project-15.0.7/lldb/test/API/terminal/ |
| H A D | TestSTTYBeforeAndAfter.py | 19 def classCleanup(cls): argument 21 cls.RemoveTempFile("child_send1.txt") 22 cls.RemoveTempFile("child_read1.txt") 23 cls.RemoveTempFile("child_send2.txt") 24 cls.RemoveTempFile("child_read2.txt")
|
| /llvm-project-15.0.7/lldb/examples/customization/pwd-cd-and-system/ |
| H A D | utils.py | 16 def prev_dir(cls): argument 17 return cls._prev_dir_ 20 def swap(cls, dir): argument 21 cls._prev_dir_ = dir
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | MicrosoftCompatibility.cpp | 6 struct cls { struct 10 char * cls::* __uptr wrong2 = &cls::m; // expected-error {{'__uptr' attribute cannot be used with p… argument
|
| /llvm-project-15.0.7/clang/bindings/python/tests/cindex/ |
| H A D | test_cursor.py | 130 cls = get_cursor(tu, 'X') 133 self.assertIsNotNone(cls) 227 cls = get_cursor(tu, 'X') 230 self.assertIsNotNone(cls) 243 cls = get_cursor(tu, 'X') 246 self.assertIsNotNone(cls) 258 cls = get_cursor(tu, 'X') 261 self.assertIsNotNone(cls) 273 cls = get_cursor(tu, 'X') 276 self.assertIsNotNone(cls) [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/AVR/ |
| H A D | inst-family-set-clr-flag.s | 60 cls label 99 ; CHECK: cls ; encoding: [0xc8,0x94] 100 ; CHECK: cls ; encoding: [0xc8,0x94] 133 ; CHECK-INST: cls 134 ; CHECK-INST: cls
|
| /llvm-project-15.0.7/llvm/tools/opt-viewer/ |
| H A D | optrecord.py | 64 def set_demangler(cls, demangler): argument 65 …cls.demangler_proc = subprocess.Popen(demangler.split(), stdin=subprocess.PIPE, stdout=subprocess.… 66 cls.demangler_lock = Lock() 69 def demangle(cls, name): argument 70 with cls.demangler_lock: 71 cls.demangler_proc.stdin.write((name + '\n').encode('utf-8')) 72 cls.demangler_proc.stdin.flush() 73 return cls.demangler_proc.stdout.readline().rstrip().decode('utf-8')
|