Searched refs:FunTy (Results 1 – 4 of 4) sorted by relevance
627 auto *FunTy = cast<FunctionType>(F->getValueType()); in checkAsyncContextProjectFunction() local629 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()
2507 const FunctionType *FunTy = nullptr; in tryExprAsCall() local2510 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()
490 value llvm_is_var_arg(LLVMTypeRef FunTy) { in llvm_is_var_arg() argument491 return Val_bool(LLVMIsFunctionVarArg(FunTy)); in llvm_is_var_arg()495 value llvm_param_types(LLVMTypeRef FunTy) { in llvm_param_types() argument496 value Tys = caml_alloc_tuple_uninit(LLVMCountParamTypes(FunTy)); in llvm_param_types()497 LLVMGetParamTypes(FunTy, (LLVMTypeRef *)Op_val(Tys)); in llvm_param_types()
105 LLVMTypeRef FunTy = LLVMFunctionType(Clone(LLVMGetReturnType(Src)), in Clone() local110 return FunTy; in Clone()