Home
last modified time | relevance | path

Searched refs:FPT (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp212 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in isFuncTypeConvertible() local
213 for (unsigned i = 0, e = FPT->getNumParams(); i != e; i++) in isFuncTypeConvertible()
214 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible()
306 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in ConvertFunctionTypeInternal() local
307 for (unsigned i = 0, e = FPT->getNumParams(); i != e; i++) in ConvertFunctionTypeInternal()
308 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionTypeInternal()
320 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { in ConvertFunctionTypeInternal() local
322 CanQual<FunctionProtoType>::CreateUnsafe(QualType(FPT, 0))); in ConvertFunctionTypeInternal()
H A DCGExprCXX.cpp57 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in commonEmitCXXMemberOrOperatorCall() local
58 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, Args.size()); in commonEmitCXXMemberOrOperatorCall()
75 CGF.EmitCallArgs(Args, FPT, drop_begin(CE->arguments(), ArgsToSkip), in commonEmitCXXMemberOrOperatorCall()
79 FPT->getNumParams() == 0 && in commonEmitCXXMemberOrOperatorCall()
90 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in EmitCXXMemberOrOperatorCall() local
95 Args, FPT, CallInfo.ReqArgs, CallInfo.PrefixSize); in EmitCXXMemberOrOperatorCall()
450 const auto *FPT = MPT->getPointeeType()->castAs<FunctionProtoType>(); in EmitCXXMemberPointerCallExpr() local
481 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, 1); in EmitCXXMemberPointerCallExpr()
484 EmitCallArgs(Args, FPT, E->arguments()); in EmitCXXMemberPointerCallExpr()
485 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required, in EmitCXXMemberPointerCallExpr()
[all …]
H A DCGCall.cpp158 CanQual<FunctionProtoType> FPT) { in appendParameterTypes() argument
160 if (!FPT->hasExtParameterInfos()) { in appendParameterTypes()
163 prefix.append(FPT->param_type_begin(), FPT->param_type_end()); in appendParameterTypes()
171 prefix.reserve(prefix.size() + FPT->getNumParams()); in appendParameterTypes()
173 auto ExtInfos = FPT->getExtParameterInfos(); in appendParameterTypes()
174 assert(ExtInfos.size() == FPT->getNumParams()); in appendParameterTypes()
175 for (unsigned I = 0, E = FPT->getNumParams(); I != E; ++I) { in appendParameterTypes()
176 prefix.push_back(FPT->getParamType(I)); in appendParameterTypes()
181 addExtParameterInfosForCall(paramInfos, FPT.getTypePtr(), PrefixSize, in appendParameterTypes()
433 CanQual<FunctionProtoType> FPT = GetFormalType(D); in arrangeCXXConstructorCall() local
[all …]
H A DCGCXXABI.cpp57 const FunctionProtoType *FPT = in EmitLoadOfMemberFunctionPointer() local
61 return CGCallee::forDirect(FnPtr, FPT); in EmitLoadOfMemberFunctionPointer()
H A DCGVTables.cpp170 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in GenerateVarArgsThunk() local
171 QualType ResultType = FPT->getReturnType(); in GenerateVarArgsThunk()
356 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in EmitCallAndReturnForThunk() local
360 CallArgs, FPT, RequiredArgs::forPrototypePlus(FPT, 1), PrefixArgs); in EmitCallAndReturnForThunk()
380 : FPT->getReturnType(); in EmitCallAndReturnForThunk()
H A DMicrosoftCXXABI.cpp1363 const FunctionProtoType *FPT = CD->getType()->castAs<FunctionProtoType>(); in buildStructorSignature() local
1365 if (FPT->isVariadic()) { in buildStructorSignature()
1552 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in addImplicitStructorParams() local
1553 if (FPT->isVariadic()) in addImplicitStructorParams()
1637 const FunctionProtoType *FPT = D->getType()->castAs<FunctionProtoType>(); in getImplicitConstructorArgs() local
1644 if (FPT->isVariadic()) { in getImplicitConstructorArgs()
2979 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in EmitMemberFunctionPointer() local
2983 if (Types.isFuncTypeConvertible(FPT)) { in EmitMemberFunctionPointer()
3519 const FunctionProtoType *FPT = in EmitLoadOfMemberFunctionPointer() local
3555 CGCallee Callee(FPT, FunctionPointer); in EmitLoadOfMemberFunctionPointer()
[all …]
H A DCGClass.cpp2159 const FunctionProtoType *FPT = D->getType()->castAs<FunctionProtoType>(); in EmitCXXConstructorCall() local
2163 EmitCallArgs(Args, FPT, E->arguments(), E->getConstructor(), in EmitCXXConstructorCall()
2397 const FunctionProtoType *FPT = D->getType()->castAs<FunctionProtoType>(); in EmitSynthesizedCXXCopyCtorCall() local
2406 QualType QT = *(FPT->param_type_begin()); in EmitSynthesizedCXXCopyCtorCall()
2413 EmitCallArgs(Args, FPT, drop_begin(E->arguments(), 1), E->getConstructor(), in EmitSynthesizedCXXCopyCtorCall()
2974 const FunctionProtoType *FPT = in EmitForwardingCallToLambda() local
2976 QualType resultType = FPT->getReturnType(); in EmitForwardingCallToLambda()
H A DCGDebugInfo.cpp1572 const auto *FPT = dyn_cast<FunctionProtoType>(Ty); in CreateType() local
1573 if (FPT) { in CreateType()
1574 if (llvm::DIType *QTy = CreateQualifiedType(FPT, Unit)) in CreateType()
1588 if (!FPT) { in CreateType()
1591 Flags = getRefFlags(FPT); in CreateType()
1592 for (const QualType &ParamType : FPT->param_types()) in CreateType()
1594 if (FPT->isVariadic()) in CreateType()
3446 const FunctionProtoType *FPT = in CreateType() local
3450 CXXMethodDecl::getThisType(FPT, Ty->getMostRecentCXXRecordDecl()), in CreateType()
3451 FPT, U), in CreateType()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DXCore.cpp571 if (const FunctionProtoType *FPT = FT->getAs<FunctionProtoType>()) { in appendFunctionType() local
573 auto I = FPT->param_type_begin(); in appendFunctionType()
574 auto E = FPT->param_type_end(); in appendFunctionType()
583 if (FPT->isVariadic()) in appendFunctionType()
586 if (FPT->isVariadic()) in appendFunctionType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp554 if (const auto *FPT = dyn_cast<FunctionProtoType>(FT)) in getNumParams() local
555 return FPT->getNumParams(); in getNumParams()
583 if (const auto *FPT = dyn_cast<FunctionProtoType>(FT)) in getParamType() local
584 if (N < FPT->getNumParams()) in getParamType()
585 return FPT->getParamType(N); in getParamType()
H A DSemaARM.cpp551 if (const auto *FPT = Ty->getAs<FunctionProtoType>()) { in getArmStreamingFnType() local
552 if (FPT->getAArch64SMEAttributes() & in getArmStreamingFnType()
555 if (FPT->getAArch64SMEAttributes() & in getArmStreamingFnType()
1220 Sema &S, const ParsedAttr &AL, const FunctionProtoType *FPT, in checkNewAttrMutualExclusion() argument
1277 if (auto *FPT = dyn_cast<FunctionProtoType>(D->getFunctionType())) { in handleNewAttr() local
1279 FunctionType::getArmZAState(FPT->getAArch64SMEAttributes()); in handleNewAttr()
1281 checkNewAttrMutualExclusion(SemaRef, AL, FPT, ZAState, "za")) in handleNewAttr()
1284 FunctionType::getArmZT0State(FPT->getAArch64SMEAttributes()); in handleNewAttr()
1286 checkNewAttrMutualExclusion(SemaRef, AL, FPT, ZT0State, "zt0")) in handleNewAttr()
H A DSemaExceptionSpec.cpp207 Sema::ResolveExceptionSpec(SourceLocation Loc, const FunctionProtoType *FPT) { in ResolveExceptionSpec() argument
208 if (FPT->getExceptionSpecType() == EST_Unparsed) { in ResolveExceptionSpec()
213 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) in ResolveExceptionSpec()
214 return FPT; in ResolveExceptionSpec()
216 FunctionDecl *SourceDecl = FPT->getExceptionSpecDecl(); in ResolveExceptionSpec()
H A DSemaLambda.cpp374 const FunctionProtoType *FPT = MethodType->castAs<FunctionProtoType>(); in buildTypeForLambdaCallOperator() local
375 QualType Result = FPT->getReturnType(); in buildTypeForLambdaCallOperator()
378 MethodType = S.Context.getFunctionType(Result, FPT->getParamTypes(), in buildTypeForLambdaCallOperator()
379 FPT->getExtProtoInfo()); in buildTypeForLambdaCallOperator()
H A DSemaType.cpp1752 const FunctionProtoType *FPT = T->getAs<FunctionProtoType>(); in checkQualifiedFunction() local
1753 if (!FPT || in checkQualifiedFunction()
1754 (FPT->getMethodQuals().empty() && FPT->getRefQualifier() == RQ_None)) in checkQualifiedFunction()
1759 << getFunctionQualifiersAsString(FPT); in checkQualifiedFunction()
1764 const FunctionProtoType *FPT = T->getAs<FunctionProtoType>(); in CheckQualifiedFunctionForTypeId() local
1765 if (!FPT || in CheckQualifiedFunctionForTypeId()
1766 (FPT->getMethodQuals().empty() && FPT->getRefQualifier() == RQ_None)) in CheckQualifiedFunctionForTypeId()
1770 << T << getFunctionQualifiersAsString(FPT); in CheckQualifiedFunctionForTypeId()
7517 auto *FPT = Unwrapped.get()->getAs<FunctionProtoType>(); in handleNonBlockingNonAllocatingTypeAttr() local
7518 if (FPT == nullptr) { in handleNonBlockingNonAllocatingTypeAttr()
[all …]
/freebsd/lib/libc/stdio/
H A Dprintflocal.h45 #define FPT 0x100 /* Floating point number */ macro
H A Dvfprintf.c791 flags |= FPT; in __vfprintf()
1031 if ((flags & FPT) == 0) { in __vfprintf()
H A Dvfwprintf.c854 flags |= FPT; in __vfwprintf()
1088 if ((flags & FPT) == 0) { in __vfwprintf()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp143 const auto *FPT = MPT ? cast<FunctionProtoType>(MPT->getPointeeType()) in AST_MATCHER() local
145 if (!FPT) in AST_MATCHER()
147 return FPT->isConst(); in AST_MATCHER()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h2156 const auto *FPT = getType()->getAs<FunctionProtoType>(); in getEllipsisLoc() local
2157 if (FPT && FPT->isVariadic()) in getEllipsisLoc()
2158 return FPT->getEllipsisLoc(); in getEllipsisLoc()
2744 const auto *FPT = T->getAs<FunctionProtoType>(); in getExceptionSpecType() local
2745 return FPT ? FPT->getExceptionSpecType() : EST_None; in getExceptionSpecType()
3010 if (const auto *FPT = in getFunctionEffects() local
3012 return FPT->getFunctionEffects(); in getFunctionEffects()
4646 if (const auto *FPT = TSI->getType()->getAs<FunctionProtoType>()) in getFunctionEffects() local
4647 return FPT->getFunctionEffects(); in getFunctionEffects()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1710 Instruction *InstCombinerImpl::visitFPTrunc(FPTruncInst &FPT) { in visitFPTrunc() argument
1711 if (Instruction *I = commonCastTransforms(FPT)) in visitFPTrunc()
1721 Type *Ty = FPT.getType(); in visitFPTrunc()
1722 auto *BO = dyn_cast<BinaryOperator>(FPT.getOperand(0)); in visitFPTrunc()
1812 Instruction *Op = dyn_cast<Instruction>(FPT.getOperand(0)); in visitFPTrunc()
1833 return replaceInstUsesWith(FPT, Sel); in visitFPTrunc()
1840 return replaceInstUsesWith(FPT, Sel); in visitFPTrunc()
1844 if (auto *II = dyn_cast<IntrinsicInst>(FPT.getOperand(0))) { in visitFPTrunc()
1871 Function *Overload = Intrinsic::getDeclaration(FPT.getModule(), in visitFPTrunc()
1883 if (Instruction *I = shrinkInsertElt(FPT, Builder)) in visitFPTrunc()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp3371 const auto *FPT = getType()->castAs<FunctionProtoType>(); in isReplaceableGlobalAllocationFunction() local
3372 if (FPT->getNumParams() == 0 || FPT->getNumParams() > 4 || FPT->isVariadic()) in isReplaceableGlobalAllocationFunction()
3377 if (FPT->getNumParams() == 1) in isReplaceableGlobalAllocationFunction()
3381 QualType Ty = FPT->getParamType(Params); in isReplaceableGlobalAllocationFunction()
3386 Ty = Params < FPT->getNumParams() ? FPT->getParamType(Params) : QualType(); in isReplaceableGlobalAllocationFunction()
3434 return Params == FPT->getNumParams(); in isReplaceableGlobalAllocationFunction()
3681 const auto *FPT = getType()->getAs<FunctionProtoType>(); in getNumParams() local
3682 return FPT ? FPT->getNumParams() : 0; in getNumParams()
5755 if (const auto *FPT = Ty->getAs<FunctionProtoType>()) in IsArmStreamingFunction() local
5756 if (FPT->getAArch64SMEAttributes() & in IsArmStreamingFunction()
H A DDeclCXX.cpp2578 static QualType getThisObjectType(ASTContext &C, const FunctionProtoType *FPT, in getThisObjectType() argument
2581 return C.getQualifiedType(ClassTy, FPT->getMethodQuals()); in getThisObjectType()
2584 QualType CXXMethodDecl::getThisType(const FunctionProtoType *FPT, in getThisType() argument
2587 QualType ObjectTy = ::getThisObjectType(C, FPT, Decl); in getThisType()
2591 bool Restrict = FPT->getMethodQuals().hasRestrict(); in getThisType()
2619 const FunctionProtoType *FPT = getType()->castAs<FunctionProtoType>(); in getFunctionObjectParameterReferenceType() local
2620 QualType Type = ::getThisObjectType(C, FPT, getParent()); in getFunctionObjectParameterReferenceType()
2621 RefQualifierKind RK = FPT->getRefQualifier(); in getFunctionObjectParameterReferenceType()
H A DASTDiagnostic.cpp94 const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT); in desugarForDiagnostic() local
95 if (FPT) { in desugarForDiagnostic()
96 for (QualType SugarPT : FPT->param_types()) { in desugarForDiagnostic()
109 QT = FPT ? Context.getFunctionType(RT, Args, FPT->getExtProtoInfo()) in desugarForDiagnostic()
/freebsd/contrib/file/magic/Magdir/
H A Ddatabase206 >>>>>>>>>>>>28 ubyte&0x02 2 \b, with memo .FPT
377 # dBase memo files .DBT or .FPT
406 # dBASE III DBT without version, dBASE IV DBT , FoxPro FPT , or many ZIP , DBF garbage
408 # unusual dBASE III DBT like angest.dbt, dBASE IV DBT with block size 0 , FoxPro FPT , or garbage …
410 # FoxPro FPT , unusual dBASE III DBT like biblio.dbt or garbage
542 # Print the information of FoxPro FPT memo file
544 >0 belong x FoxPro FPT
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3626 auto *FPT = FD->getType()->getAs<FunctionProtoType>(); in attachPreviousDeclImpl() local
3628 if (FPT && PrevFPT) { in attachPreviousDeclImpl()
3631 bool IsUnresolved = isUnresolvedExceptionSpec(FPT->getExceptionSpecType()); in attachPreviousDeclImpl()
3640 bool IsUndeduced = isUndeducedReturnType(FPT->getReturnType()); in attachPreviousDeclImpl()
3645 (IsUndeduced ? PrevFPT : FPT)->getReturnType()}); in attachPreviousDeclImpl()
4725 auto *FPT = FD->getType()->castAs<FunctionProtoType>(); in UpdateDecl() local
4728 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in UpdateDecl()
4730 FPT->getReturnType(), FPT->getParamTypes(), in UpdateDecl()
4731 FPT->getExtProtoInfo().withExceptionSpec(ESI))); in UpdateDecl()

123