Home
last modified time | relevance | path

Searched refs:function_type (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/mlir/test/Dialect/LLVMIR/
H A Dfunc.mlir7 // GENERIC: function_type = !llvm.func<void ()>
12 }) {sym_name = "foo", function_type = !llvm.func<void ()>} : () -> ()
15 // GENERIC: function_type = !llvm.func<i64 (i64, i64)>
20 }) {sym_name = "bar", function_type = !llvm.func<i64 (i64, i64)>} : () -> ()
30 // GENERIC: function_type = !llvm.func<i64 (i64)>
33 }) {sym_name = "baz", function_type = !llvm.func<i64 (i64)>} : () -> ()
38 }) {sym_name = "qux", function_type = !llvm.func<void (ptr<i64>, i64)>,
179 // expected-error@+1 {{requires attribute 'function_type'}}
187 "llvm.func"() ({}) {sym_name = "non_llvm_type", function_type = i64} : () -> ()
194 "llvm.func"() ({}) {sym_name = "non_function_type", function_type = i64} : () -> ()
[all …]
/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_func_ops_ext.py179 function_type = FunctionType.get(
181 func_op = FuncOp(name=symbol_name, type=function_type)
213 function_type = FunctionType.get(inputs=inputs, results=return_types)
214 func_op.attributes["function_type"] = TypeAttr.get(function_type)
/llvm-project-15.0.7/lldb/source/API/
H A DSBFunction.cpp197 Type *function_type = m_opaque_ptr->GetType(); in GetType() local
198 if (function_type) in GetType()
199 sb_type.ref().SetType(function_type->shared_from_this()); in GetType()
/llvm-project-15.0.7/lldb/examples/functions/
H A Dmain.cpp248 SBType function_type = function.GetType(); in main() local
249 SBType return_type = function_type.GetFunctionReturnType(); in main()
260 function_type.GetFunctionArgumentTypes(); in main()
/llvm-project-15.0.7/llvm/test/Bindings/OCaml/
H A Dexecutionengine.ml31 let fty = function_type i32_type [||] in
39 let fn = define_function "plus" (function_type i32_type [| i32_type;
65 (* let g = declare_function "g" (function_type i32_type [||]) m2 in
H A Dcore.ml580 let ty = function_type i32_type [| i32_type; i32_type |] in
607 let ty = function_type i32_type [| i32_type; i32_type |] in
641 let ty = function_type i32_type [| i32_type; i64_type |] in
642 let ty2 = function_type i8_type [| i8_type; i64_type |] in
776 let ty = function_type void_type [| |] in
884 let fty = function_type void_type [| i32_type |] in
911 let fty = function_type void_type [| i32_type |] in
929 let fty = function_type void_type [| |] in
940 let fty = function_type sty [| |] in
948 let fty = function_type i32_type [| i32_type; i32_type |] in
[all …]
H A Dvectorize.ml40 let fty = function_type void_type [| |] in
H A Dlinker.ml35 let fty = function_type void_type [| |] in
H A Danalysis.ml24 let fty = function_type (void_type context) [| |] in
H A Dscalar_opts.ml40 let fty = function_type void_type [| |] in
H A Dipo.ml41 let fty = function_type i8_type [| |] in
/llvm-project-15.0.7/mlir/test/IR/
H A Dinvalid-func-op.mlir94 // expected-error@+1 {{'function_type' is an inferred attribute and should not be specified in the …
95 func.func private @invalid_symbol_type_attr() attributes { function_type = "x" }
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DTestTypeSystemClang.cpp819 CompilerType function_type = in TEST_F() local
829 t.GetOpaqueQualType(), class_name, nullptr, function_type, in TEST_F()
863 CompilerType function_type = in TEST_F() local
867 t.GetOpaqueQualType(), class_name, nullptr, function_type, in TEST_F()
874 CompilerType function_type = in TEST_F() local
878 t.GetOpaqueQualType(), class_name, nullptr, function_type, in TEST_F()
/llvm-project-15.0.7/mlir/test/mlir-lsp-server/
H A Dhover.test117 …\" : public @foo\n\nGeneric Form:\n\n```mlir\n\"func.func\"() ({\n}) {function_type = (i1) -> (), …
141 …\" : public @foo\n\nGeneric Form:\n\n```mlir\n\"func.func\"() ({\n}) {function_type = (i1) -> (), …
/llvm-project-15.0.7/lldb/source/Symbol/
H A DFunction.cpp522 Type *function_type = GetType(); in GetCompilerType() local
523 if (function_type) in GetCompilerType()
524 return function_type->GetFullCompilerType(); in GetCompilerType()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.cpp1824 Type *function_type = function->GetType(); in AddOneFunction() local
1890 if (!function_type) { in AddOneFunction()
1895 function_clang_type = function_type->GetFullCompilerType(); in AddOneFunction()
1910 function_type->GetName(), function_type->GetID()); in AddOneFunction()
1919 function_type->GetName(), function_type->GetID()); in AddOneFunction()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-generated-actions.h667 typedef F function_type;\
728 typedef F function_type;\
777 typedef F function_type;\
832 typedef F function_type;\
892 typedef F function_type;\
959 typedef F function_type;\
1034 typedef F function_type;\
1114 typedef F function_type;\
1200 typedef F function_type;\
1294 typedef F function_type;\
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/GPU/
H A Dinvalid.mlir334 …// expected-error @+1 {{attribute 'function_type' failed to satisfy constraint: type attribute of …
337 }) {sym_name="kernel_1", function_type=f32} : () -> ()
418 …} ) {function_type = (f32, memref<?xf32>) -> (), gpu.kernel, sym_name = "kernel_1", workgroup_attr…
H A Dops.mlir195 …} ) {function_type = (f32, memref<?xf32>) -> (), gpu.kernel, sym_name = "kernel_1", workgroup_attr…
/llvm-project-15.0.7/mlir/include/mlir/Dialect/MLProgram/IR/
H A DMLProgramOps.td54 TypeAttrOf<FunctionType>:$function_type,
403 TypeAttrOf<FunctionType>:$function_type,
/llvm-project-15.0.7/lldb/source/Target/
H A DStackFrame.cpp1584 CompilerType function_type = sc.function->GetCompilerType(); in DoGuessValueAt() local
1585 if (!function_type.IsFunctionType()) { in DoGuessValueAt()
1588 CompilerType return_type = function_type.GetFunctionReturnType(); in DoGuessValueAt()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVStructureOps.td290 TypeAttrOf<FunctionType>:$function_type,
313 FunctionType getFunctionType() { return function_type(); }
/llvm-project-15.0.7/mlir/examples/toy/Ch3/include/toy/
H A DOps.td137 TypeAttrOf<FunctionType>:$function_type
/llvm-project-15.0.7/mlir/examples/toy/Ch2/include/toy/
H A DOps.td138 TypeAttrOf<FunctionType>:$function_type
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Func/IR/
H A DFuncOps.td254 TypeAttrOf<FunctionType>:$function_type,

12