Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp700 auto *FunTy = cast<FunctionType>(F->getValueType()); in checkAsyncContextProjectFunction() local
701 if (!FunTy->getReturnType()->isPointerTy() || in checkAsyncContextProjectFunction()
702 !FunTy->getReturnType()->getPointerElementType()->isIntegerTy(8)) in checkAsyncContextProjectFunction()
707 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy() || in checkAsyncContextProjectFunction()
708 !FunTy->getParamType(0)->getPointerElementType()->isIntegerTy(8)) in checkAsyncContextProjectFunction()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2363 const FunctionType *FunTy = nullptr; in tryExprAsCall() local
2366 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
2367 if (!FunTy) in tryExprAsCall()
2368 FunTy = ExprTy->getAs<FunctionType>(); in tryExprAsCall()
2371 dyn_cast_or_null<FunctionProtoType>(FunTy)) { in tryExprAsCall()
2373 ZeroArgCallReturnTy = FunTy->getReturnType(); in tryExprAsCall()