Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp392 auto CalleeType = Callee->getFunctionType(); in promoteCall() local
393 auto CalleeParamNum = CalleeType->getNumParams(); in promoteCall()
396 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
/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-7.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp937 PointerType *CalleeType = cast<PointerType>( in visitGCResult() local
940 cast<FunctionType>(CalleeType->getElementType())->getReturnType(); in visitGCResult()
/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/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()