Home
last modified time | relevance | path

Searched refs:fty (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/test/Bindings/OCaml/
H A Dipo.ml41 let fty = function_type i8_type [| |] in
42 let fn = define_function "fn" fty m in
43 let fn2 = define_function "fn2" fty m in begin
46 ignore (build_ret (build_call2 fty fn [| |] "" b) b);
H A Dvectorize.ml40 let fty = function_type void_type [| |] in
41 let fn = define_function "fn" fty m in
H A Dexecutionengine.ml31 let fty = function_type i32_type [||] in
32 let fn = define_function "getglobal" fty m in
34 let g = build_call2 fty pg [||] "" b in
H A Dlinker.ml35 let fty = function_type void_type [| |] in
39 let fn = define_function ("fn_" ^ name) fty m in
H A Danalysis.ml24 let fty = function_type (void_type context) [| |] in
26 let fn = define_function "valid_fn" fty m in
H A Dscalar_opts.ml40 let fty = function_type void_type [| |] in
41 let fn = define_function "fn" fty m in
H A Ddebuginfo.ml134 let fty =
137 let f = Llvm.define_function name fty m in
155 (fty, f, f_di)
157 let test_bbinstr fty f f_di file_di dibuilder =
172 let foodecl = Llvm.declare_function "foo" fty (Llvm.global_parent f) in
186 let foocall = Llvm.build_call2 fty foodecl [| arg0 |] "" builder in
445 let fty, f, fun_di = test_get_function m dibuilder file_di m_di in
446 let () = test_bbinstr fty f fun_di file_di dibuilder in
H A Dcore.ml853 let f = define_function "f" fty m in
884 let fty = function_type void_type [| i32_type |] in
885 let fn = define_function "BuilderParent" fty m in
911 let fty = function_type void_type [| i32_type |] in
912 let fn = define_function "BuilderParent" fty m in
929 let fty = function_type void_type [| |] in var
930 let fn = declare_function "X6" fty m in
940 let fty = function_type sty [| |] in
941 let fn = declare_function "XA6" fty m in
949 let fn = define_function "X7" fty m in
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBlocks.cpp2868 llvm::FunctionType *fty in getBlockObjectDispose() local
2870 BlockObjectDispose = CreateRuntimeFunction(fty, "_Block_object_dispose"); in getBlockObjectDispose()
2881 llvm::FunctionType *fty in getBlockObjectAssign() local
2883 BlockObjectAssign = CreateRuntimeFunction(fty, "_Block_object_assign"); in getBlockObjectAssign()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.mli654 (** [is_var_arg fty] returns [true] if [fty] is a varargs function type, [false]
658 (** [return_type fty] gets the return type of the function type [fty].
662 (** [param_types fty] gets the parameter types of the function type [fty].
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp3438 const FunctionType *fty = type->castAs<FunctionType>(); in BuildDeclarationNameExpr() local
3442 if (fty->getReturnType() == Context.UnknownAnyTy) { in BuildDeclarationNameExpr()
3459 if (!cast<FunctionDecl>(VD)->hasPrototype() && isa<FunctionProtoType>(fty)) in BuildDeclarationNameExpr()
3460 type = Context.getFunctionNoProtoType(fty->getReturnType(), in BuildDeclarationNameExpr()
3461 fty->getExtInfo()); in BuildDeclarationNameExpr()