/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersMacros.h | 63 /// AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) { 71 /// is ParamType. 74 #define AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) \ 75 AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, Param, \ 77 #define AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, \ 79 inline ReturnType DefineMatcher(ParamType const &Param); \ 80 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \ 81 inline ReturnType DefineMatcher(ParamType const &Param) 115 /// AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) { ... } 123 /// is ParamType [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFixFunctionBitcasts.cpp | 145 Type *ParamType = *PI; local 147 if (ArgType == ParamType) { 150 if (CastInst::isBitOrNoopPointerCastable(ArgType, ParamType, DL)) { 152 CastInst::CreateBitOrPointerCast(AI, ParamType, "cast"); 155 } else if (ArgType->isStructTy() || ParamType->isStructTy()) { 163 << *ParamType << " Got: " << *ArgType << "\n");
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | Consumed.cpp | 181 static bool isRValueRef(QualType ParamType) { argument 182 return ParamType->isRValueReferenceType(); 189 static bool isPointerOrRef(QualType ParamType) { argument 190 return ParamType->isPointerType() || ParamType->isReferenceType(); 624 QualType ParamType = Param->getType(); local 649 else if (isRValueRef(ParamType) || isConsumableType(ParamType)) 651 else if (isPointerOrRef(ParamType) && 652 (!ParamType 858 QualType ParamType = Param->getType(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 6048 QualType ParamType, Expr *Arg, 6058 if (!S.isCompleteType(Arg->getExprLoc(), ParamType)) 6109 if (S.Context.hasSameUnqualifiedType(Arg->getType(), ParamType) || 6110 S.IsQualificationConversion(Arg->getType(), ParamType, false, 6117 << Arg->getType() << ParamType << Arg->getSourceRange(); 6125 std::string Code = "static_cast<" + ParamType.getAsString() + ">("; 6127 << ParamType << FixItHint::CreateInsertion(Arg->getBeginLoc(), Code) 6143 Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, 6146 if (ParamType->isPointerType() && 6147 !ParamType 6047 isNullPointerValueTemplateArgument(Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *Arg, Decl *Entity = nullptr) argument 6142 CheckTemplateArgumentIsCompatibleWithParameter( Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, Expr *Arg, QualType ArgType) argument 6200 CheckTemplateArgumentAddressOfObjectOrFunction(Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, TemplateArgument &Converted) argument 6486 CheckTemplateArgumentPointerToMember(Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *&ResultArg, TemplateArgument &Converted) argument 6619 CheckTemplateArgument(NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *Arg, TemplateArgument &Converted, CheckTemplateArgumentKind CTAK) argument 7264 BuildExpressionFromDeclTemplateArgument(const TemplateArgument &Arg, QualType ParamType, SourceLocation Loc) argument [all...] |
H A D | SemaTemplateDeduction.cpp | 405 QualType ParamType = S.Context.getAdjustedParameterType(NTTP->getType()); 406 if (auto *Expansion = dyn_cast<PackExpansionType>(ParamType)) 407 ParamType = Expansion->getPattern(); 414 S, TemplateParams, ParamType.getNonReferenceType(), 1122 /// a deduced set of qualifiers to the ParamType that would result in 1124 static bool hasInconsistentOrSupersetQualifiersOf(QualType ParamType, argument 1126 Qualifiers ParamQs = ParamType.getQualifiers(); 3544 Expr *Arg, QualType ParamType, 3562 if (!ParamType->isFunctionType() && 3563 !ParamType 3543 ResolveOverloadForDeduction(Sema &S, TemplateParameterList *TemplateParams, Expr *Arg, QualType ParamType, bool ParamWasReference) argument 3648 AdjustFunctionParmAndArgTypesForDeduction( Sema &S, TemplateParameterList *TemplateParams, unsigned FirstInnerIndex, QualType &ParamType, QualType &ArgType, Expr *Arg, unsigned &TDF) argument 3818 DeduceTemplateArgumentsFromCallArgument( Sema &S, TemplateParameterList *TemplateParams, unsigned FirstInnerIndex, QualType ParamType, Expr *Arg, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced, SmallVectorImpl<Sema::OriginalCallArg> &OriginalCallArgs, bool DecomposedParam, unsigned ArgIdx, unsigned TDF) argument 3950 QualType ParamType = ParamTypes[ParamIdx]; local [all...] |
H A D | SemaDeclCXX.cpp | 4558 QualType ParamType = Param->getType().getNonReferenceType(); 4563 Constructor->getLocation(), ParamType, 4571 ParamType.getQualifiers()); 4628 QualType ParamType = Param->getType().getNonReferenceType(); 4637 Loc, ParamType, VK_LValue, nullptr); 4654 ParamType, Loc, 9903 QualType ParamType = Constructor->getParamDecl(0)->getType(); 9905 if (Context.getCanonicalType(ParamType).getUnqualifiedType() == ClassTy) { 9943 QualType ParamType = OperatorDelete->getParamDecl(0)->getType(); 9944 if (!declaresSameEntity(ParamType [all...] |
H A D | SemaCodeComplete.cpp | 3497 QualType ParamType = (*P)->getType(); local 3502 if (ParamType->isBlockPointerType() && !DeclaringEntity) 3507 ParamType = ParamType.substObjCTypeArgs( 3510 ParamType); 3511 Arg += ParamType.getAsString(Policy) + ")"; 5102 QualType ParamType; local 5107 if (ParamType.isNull()) 5108 ParamType = Proto->getParamType(N); 5110 ParamType 5222 QualType ParamType = local 8272 QualType ParamType; local [all...] |
H A D | SemaStmt.cpp | 4347 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); local 4349 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, 4385 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)) local 4389 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, 4407 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); local 4409 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType,
|
H A D | SemaChecking.cpp | 9059 QualType ParamType = getAbsoluteValueArgumentType(Context, Kind); local 9060 if (Context.getTypeSize(ParamType) >= ArgSize) { 9063 else if (Context.hasSameType(ParamType, ArgType)) { 9224 QualType ParamType = FDecl->getParamDecl(0)->getType(); local 9225 if (getAbsoluteValueKind(ArgType) == getAbsoluteValueKind(ParamType) && 9227 S.Context.getTypeSize(ParamType)) { 9295 QualType ParamType = Call->getArg(0)->getType(); local 9302 Diag(Call->getExprLoc(), diag::warn_unsigned_abs) << ArgType << ParamType; local 9328 AbsoluteValueKind ParamValueKind = getAbsoluteValueKind(ParamType); 9333 if (Context.getTypeSize(ArgType) <= Context.getTypeSize(ParamType)) 9338 << FDecl << ArgType << ParamType; local [all...] |
H A D | SemaType.cpp | 2604 QualType ParamType = Context.getAdjustedParameterType(ParamTypes[Idx]); local 2605 if (ParamType->isVoidType()) { 2608 } else if (ParamType->isHalfType() && !getLangOpts().HalfArgsAndReturns) { 2617 if (ParamType.isVolatileQualified() && getLangOpts().CPlusPlus2a) 2618 Diag(Loc, diag::warn_deprecated_volatile_param) << ParamType; 2620 ParamTypes[Idx] = ParamType;
|
H A D | SemaOverload.cpp | 6321 QualType ParamType = Proto->getParamType(ArgIdx); 6323 *this, Args[ArgIdx], ParamType, SuppressUserConversions, 6838 QualType ParamType = Proto->getParamType(ArgIdx); 6840 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, 7062 QualType ParamType = ParamTypes[I]; 7063 if (!ParamType->isDependentType()) { 7068 = TryCopyInitialization(*this, Args[I], ParamType, 7461 QualType ParamType = Proto->getParamType(ArgIdx); 7463 = TryCopyInitialization(*this, Args[ArgIdx], ParamType,
|
H A D | SemaDecl.cpp | 3652 for (const auto &ParamType : OldProto->param_types()) { 3655 ParamType, /*TInfo=*/nullptr, 8593 OpenCLParamType ParamType = getOpenCLKernelParameterType(S, QT); local 8594 if (ParamType == ValidKernelParam) 8597 if (ParamType == RecordKernelParam) { 8606 if (ParamType == PtrKernelParam || ParamType == PtrPtrKernelParam || 8607 ParamType == InvalidAddrSpacePtrKernelParam) {
|
H A D | SemaExprCXX.cpp | 3420 QualType ParamType = OperatorDelete->getParamDecl(0)->getType(); 3421 if (!IsVirtualDelete && !ParamType->getPointeeType()->isVoidType()) { 3431 Ex = PerformImplicitConversion(Ex.get(), ParamType, AA_Passing);
|
H A D | SemaExpr.cpp | 5540 for (QualType ParamType : FT->param_types()) { 5549 if (!ParamType->isPointerType() || 5550 ParamType.hasAddressSpace() || 5553 OverloadParams.push_back(ParamType); 5557 QualType PointeeType = ParamType->getPointeeType(); 5587 QualType ParamType = FT->getParamType(i); local 5590 SourceLocation(), nullptr, ParamType,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MismatchedIteratorChecker.cpp | 176 const auto *ParamType = local 178 if (!ParamType || 179 ParamType->getReplacedParameter()->getDecl() != TPDecl)
|
H A D | DynamicTypePropagation.cpp | 774 QualType ParamType = OrigParamType.substObjCTypeArgs( local 777 const auto *ParamObjectPtrType = ParamType->getAs<ObjCObjectPointerType>();
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclCXX.cpp | 2271 QualType ParamType = getParamDecl(0)->getType(); 2272 if (const auto *Ref = ParamType->getAs<LValueReferenceType>()) 2273 ParamType = Ref->getPointeeType(); 2278 return Context.hasSameUnqualifiedType(ClassType, ParamType); 2291 QualType ParamType = getParamDecl(0)->getType(); 2292 if (!isa<RValueReferenceType>(ParamType)) 2294 ParamType = ParamType->getPointeeType(); 2299 return Context.hasSameUnqualifiedType(ClassType, ParamType); 2632 CanQualType ParamType [all...] |
H A D | ODRHash.cpp | 903 for (auto ParamType : T->getParamTypes()) 904 AddQualType(ParamType);
|
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CodeGenTarget.cpp | 817 MVT ParamType = MVT(IS.ParamVTs[ParamIdx]); 818 return ParamType == MVT::iPTR || ParamType == MVT::iPTRAny;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | WasmEmitter.cpp | 335 for (auto ParamType : Sig.ParamTypes) 336 writeUint8(OS, ParamType);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrProfiling.cpp | 563 #define VALUE_PROF_FUNC_PARAM(ParamType, ParamName, ParamLLVMType) ParamLLVMType 573 #define VALUE_PROF_FUNC_PARAM(ParamType, ParamName, ParamLLVMType) ParamLLVMType
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | WasmObjectFile.cpp | 880 uint32_t ParamType = readUint8(Ctx); local 881 Sig.Params.push_back(wasm::ValType(ParamType));
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 2060 QualType ParamType = I->type; 2096 Attrs.addByValAttr(getTypes().ConvertTypeForMem(ParamType)); 2134 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) { 2160 auto PTy = ParamType->getPointeeType();
|
H A D | CGDebugInfo.cpp | 1201 for (const QualType &ParamType : FPT->param_types()) 1202 EltTys.push_back(getOrCreateType(ParamType, Unit)); 3600 for (QualType ParamType : FPT->param_types()) 3601 EltTys.push_back(getOrCreateType(ParamType, F));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 2021 Type *ParamType = TargetFuncType->getParamType(i); local 2023 Assert(ArgType == ParamType,
|