Home
last modified time | relevance | path

Searched refs:CalleeType (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp510 auto CalleeType = Callee->getFunctionType(); in promoteCall() local
511 auto CalleeParamNum = CalleeType->getNumParams(); in promoteCall()
521 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp699 } CallerType, CalleeType; in checkMustTailAttr() local
755 if (!GetMethodType(CMD, CalleeType, true)) in checkMustTailAttr()
761 CalleeType.This = QualType(MPT->getClass(), 0); in checkMustTailAttr()
762 CalleeType.Func = MPT->getPointeeType()->castAs<FunctionProtoType>(); in checkMustTailAttr()
763 CalleeType.MemberType = FuncType::ft_pointer_to_member; in checkMustTailAttr()
771 CalleeType.Func = in checkMustTailAttr()
776 if (!CalleeType.Func || !CallerType.Func) { in checkMustTailAttr()
778 if (!CalleeType.Func && CE->getDirectCallee()) { in checkMustTailAttr()
794 if (CallerType.Func->getCallConv() != CalleeType.Func->getCallConv()) { in checkMustTailAttr()
802 << FunctionType::getNameForCallConv(CalleeType.Func->getCallConv()); in checkMustTailAttr()
[all …]
H A DSemaDeclAttr.cpp3699 const Type *CalleeType = in handleCallbackAttr() local
3702 if (!CalleeType || !CalleeType->isFunctionPointerType()) { in handleCallbackAttr()
3709 CalleeType->getPointeeType()->getUnqualifiedDesugaredType(); in handleCallbackAttr()
H A DSemaExpr.cpp20377 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local
20378 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()
20381 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()
20382 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()
20383 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()
20386 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()
20389 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp304 GlobalDecl CalleeDecl, QualType CalleeType) { in addSignedPointer() argument
314 Pointer, Schema, StorageAddress, CalleeDecl, CalleeType); in addSignedPointer()
H A DCGDebugInfo.h488 QualType CalleeType,
H A DCGExprCXX.cpp1333 const FunctionProtoType *CalleeType, in EmitNewDeleteCall() argument
1340 Args, CalleeType, /*ChainCall=*/false), in EmitNewDeleteCall()
H A DCGExpr.cpp5809 RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee, in EmitCall() argument
5814 assert(CalleeType->isFunctionPointerType() && in EmitCall()
5824 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()
5826 auto PointeeType = cast<PointerType>(CalleeType)->getPointeeType(); in EmitCall()
5894 EmitCheckTypeDescriptor(CalleeType)}; in EmitCall()
H A DCoverageMappingGen.cpp1568 QualType CalleeType = E->getCallee()->getType(); in VisitCallExpr() local
1569 if (getFunctionExtInfo(*CalleeType).getNoReturn()) in VisitCallExpr()
H A DCGDebugInfo.cpp4549 QualType CalleeType, in EmitFuncDeclForCallSite() argument
4569 EmitFunctionDecl(CalleeDecl, CalleeDecl->getLocation(), CalleeType, Func); in EmitFuncDeclForCallSite()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1592 QualType CalleeType = Callee->getType(); in getCallReturnType() local
1593 if (const auto *FnTypePtr = CalleeType->getAs<PointerType>()) { in getCallReturnType()
1594 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()
1595 } else if (const auto *BPT = CalleeType->getAs<BlockPointerType>()) { in getCallReturnType()
1596 CalleeType = BPT->getPointeeType(); in getCallReturnType()
1597 } else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) { in getCallReturnType()
1605 CalleeType = Expr::findBoundMemberType(Callee); in getCallReturnType()
1606 assert(!CalleeType.isNull()); in getCallReturnType()
1607 } else if (CalleeType->isRecordType()) { in getCallReturnType()
1611 } else if (CalleeType->isDependentType() || in getCallReturnType()
[all …]
H A DExprConstant.cpp7938 QualType CalleeType = Callee->getType(); in handleCallExpr() local
7948 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in handleCallExpr()
7977 } else if (CalleeType->isFunctionPointerType()) { in handleCallExpr()
7996 CalleeType->getPointeeType(), FD->getType())) { in handleCallExpr()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h208 QualType CalleeType);