Home
last modified time | relevance | path

Searched refs:FunTy (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp627 auto *FunTy = cast<FunctionType>(F->getValueType()); in checkAsyncContextProjectFunction() local
629 auto *RetPtrTy = dyn_cast<PointerType>(FunTy->getReturnType()); in checkAsyncContextProjectFunction()
635 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy() || in checkAsyncContextProjectFunction()
636 !cast<PointerType>(FunTy->getParamType(0)) in checkAsyncContextProjectFunction()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSema.cpp2507 const FunctionType *FunTy = nullptr; in tryExprAsCall() local
2510 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
2511 if (!FunTy) in tryExprAsCall()
2512 FunTy = ExprTy->getAs<FunctionType>(); in tryExprAsCall()
2515 dyn_cast_or_null<FunctionProtoType>(FunTy)) { in tryExprAsCall()
2517 ZeroArgCallReturnTy = FunTy->getReturnType(); in tryExprAsCall()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c490 value llvm_is_var_arg(LLVMTypeRef FunTy) { in llvm_is_var_arg() argument
491 return Val_bool(LLVMIsFunctionVarArg(FunTy)); in llvm_is_var_arg()
495 value llvm_param_types(LLVMTypeRef FunTy) { in llvm_param_types() argument
496 value Tys = caml_alloc_tuple_uninit(LLVMCountParamTypes(FunTy)); in llvm_param_types()
497 LLVMGetParamTypes(FunTy, (LLVMTypeRef *)Op_val(Tys)); in llvm_param_types()
/openbsd-src/gnu/llvm/llvm/tools/llvm-c-test/
H A Decho.cpp105 LLVMTypeRef FunTy = LLVMFunctionType(Clone(LLVMGetReturnType(Src)), in Clone() local
110 return FunTy; in Clone()