Searched refs:fty (Results 1 – 11 of 11) sorted by relevance
41 let fty = function_type i8_type [| |] in42 let fn = define_function "fn" fty m in43 let fn2 = define_function "fn2" fty m in begin46 ignore (build_ret (build_call2 fty fn [| |] "" b) b);
40 let fty = function_type void_type [| |] in41 let fn = define_function "fn" fty m in
31 let fty = function_type i32_type [||] in32 let fn = define_function "getglobal" fty m in34 let g = build_call2 fty pg [||] "" b in
35 let fty = function_type void_type [| |] in39 let fn = define_function ("fn_" ^ name) fty m in
24 let fty = function_type (void_type context) [| |] in26 let fn = define_function "valid_fn" fty m in
134 let fty =137 let f = Llvm.define_function name fty m in155 (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) in186 let foocall = Llvm.build_call2 fty foodecl [| arg0 |] "" builder in445 let fty, f, fun_di = test_get_function m dibuilder file_di m_di in446 let () = test_bbinstr fty f fun_di file_di dibuilder in
853 let f = define_function "f" fty m in884 let fty = function_type void_type [| i32_type |] in885 let fn = define_function "BuilderParent" fty m in911 let fty = function_type void_type [| i32_type |] in912 let fn = define_function "BuilderParent" fty m in929 let fty = function_type void_type [| |] in var930 let fn = declare_function "X6" fty m in940 let fty = function_type sty [| |] in941 let fn = declare_function "XA6" fty m in949 let fn = define_function "X7" fty m in[all …]
2868 llvm::FunctionType *fty in getBlockObjectDispose() local2870 BlockObjectDispose = CreateRuntimeFunction(fty, "_Block_object_dispose"); in getBlockObjectDispose()2881 llvm::FunctionType *fty in getBlockObjectAssign() local2883 BlockObjectAssign = CreateRuntimeFunction(fty, "_Block_object_assign"); in getBlockObjectAssign()
654 (** [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].
3438 const FunctionType *fty = type->castAs<FunctionType>(); in BuildDeclarationNameExpr() local3442 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()