Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp394 auto CalleeType = Callee->getFunctionType(); in promoteCall() local
395 auto CalleeParamNum = CalleeType->getNumParams(); in promoteCall()
405 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
/external/llvm-project/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp474 auto CalleeType = Callee->getFunctionType(); in promoteCall() local
475 auto CalleeParamNum = CalleeType->getNumParams(); in promoteCall()
485 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
/external/llvm-project/clang-tools-extra/clangd/
DFindTarget.cpp207 const auto *CalleeType = resolveExprToType(CE->getCallee()); in resolveExprToDecls() local
208 if (!CalleeType) in resolveExprToDecls()
210 if (const auto *FnTypePtr = CalleeType->getAs<PointerType>()) in resolveExprToDecls()
211 CalleeType = FnTypePtr->getPointeeType().getTypePtr(); in resolveExprToDecls()
212 if (const FunctionType *FnType = CalleeType->getAs<FunctionType>()) { in resolveExprToDecls()
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp877 PointerType *CalleeType = cast<PointerType>( in visitGCResult() local
880 cast<FunctionType>(CalleeType->getElementType())->getReturnType(); in visitGCResult()
/external/clang/lib/AST/
DExpr.cpp1274 QualType CalleeType = Callee->getType(); in getCallReturnType() local
1275 if (const auto *FnTypePtr = CalleeType->getAs<PointerType>()) { in getCallReturnType()
1276 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()
1277 } else if (const auto *BPT = CalleeType->getAs<BlockPointerType>()) { in getCallReturnType()
1278 CalleeType = BPT->getPointeeType(); in getCallReturnType()
1279 } else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) { in getCallReturnType()
1284 CalleeType = Expr::findBoundMemberType(Callee); in getCallReturnType()
1287 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
DExprConstant.cpp4351 QualType CalleeType = Callee->getType(); in handleCallExpr() local
4359 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in handleCallExpr()
4379 } else if (CalleeType->isFunctionPointerType()) { in handleCallExpr()
4408 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in handleCallExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp978 PointerType *CalleeType = cast<PointerType>( in visitGCResult() local
981 cast<FunctionType>(CalleeType->getElementType())->getReturnType(); in visitGCResult()
/external/llvm-project/clang/lib/AST/
DExpr.cpp1384 QualType CalleeType = Callee->getType(); in getCallReturnType() local
1385 if (const auto *FnTypePtr = CalleeType->getAs<PointerType>()) { in getCallReturnType()
1386 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()
1387 } else if (const auto *BPT = CalleeType->getAs<BlockPointerType>()) { in getCallReturnType()
1388 CalleeType = BPT->getPointeeType(); in getCallReturnType()
1389 } else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) { in getCallReturnType()
1394 CalleeType = Expr::findBoundMemberType(Callee); in getCallReturnType()
1397 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
DExprConstant.cpp7519 QualType CalleeType = Callee->getType(); in handleCallExpr() local
7529 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in handleCallExpr()
7558 } else if (CalleeType->isFunctionPointerType()) { in handleCallExpr()
7572 CalleeType->getPointeeType(), FD->getType())) { in handleCallExpr()
/external/clang/lib/CodeGen/
DCGExpr.cpp3984 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument
3989 assert(CalleeType->isFunctionPointerType() && in EmitCall()
3995 const FunctionProtoType *NonCanonicalFTP = CalleeType->getAs<PointerType>() in EmitCall()
4012 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()
4015 cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()
4052 EmitCheckTypeDescriptor(CalleeType) in EmitCall()
DCGExprCXX.cpp1114 const FunctionProtoType *CalleeType, in EmitNewDeleteCall() argument
1120 Args, CalleeType, /*chainCall=*/false), in EmitNewDeleteCall()
/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.cpp1041 QualType CalleeType = E->getCallee()->getType(); in VisitCallExpr() local
1042 if (getFunctionExtInfo(*CalleeType).getNoReturn()) in VisitCallExpr()
DCGDebugInfo.h434 QualType CalleeType,
DCGExpr.cpp5102 RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee, in EmitCall() argument
5107 assert(CalleeType->isFunctionPointerType() && in EmitCall()
5113 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()
5115 auto PointeeType = cast<PointerType>(CalleeType)->getPointeeType(); in EmitCall()
5158 EmitCheckTypeDescriptor(CalleeType)}; in EmitCall()
DCGExprCXX.cpp1303 const FunctionProtoType *CalleeType, in EmitNewDeleteCall() argument
1310 Args, CalleeType, /*ChainCall=*/false), in EmitNewDeleteCall()
DCGDebugInfo.cpp3960 QualType CalleeType, in EmitFuncDeclForCallSite() argument
3986 EmitFunctionDecl(CalleeDecl, CalleeDecl->getLocation(), CalleeType, Func); in EmitFuncDeclForCallSite()
/external/clang/lib/Sema/
DSemaExpr.cpp419 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum
14614 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local
14615 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()
14618 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()
14619 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()
14620 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()
14623 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()
14626 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp414 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum
18895 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local
18896 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()
18899 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()
18900 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()
18901 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()
18904 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()
18907 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()
DSemaDeclAttr.cpp3567 const Type *CalleeType = in handleCallbackAttr() local
3570 if (!CalleeType || !CalleeType->isFunctionPointerType()) { in handleCallbackAttr()
3577 CalleeType->getPointeeType()->getUnqualifiedDesugaredType(); in handleCallbackAttr()