| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.cpp | 86 Type *ParamTy = Func->getArg(0)->getType(); in insertRVCallWithColors() local 87 Value *CallArg = Builder.CreateBitCast(AnnotatedCall, ParamTy); in insertRVCallWithColors()
|
| H A D | ObjCARCOpts.cpp | 1141 Type *ParamTy = CInst->getArgOperand(0)->getType(); in OptimizeIndividualCallImpl() local 1155 if (Op->getType() != ParamTy) in OptimizeIndividualCallImpl() 1156 Op = new BitCastInst(Op, ParamTy, "", InsertPos); in OptimizeIndividualCallImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | InnerPointerChecker.cpp | 156 QualType ParamTy = FD->getParamDecl(I)->getType(); in checkFunctionArguments() local 157 if (!ParamTy->isReferenceType() || in checkFunctionArguments() 158 ParamTy->getPointeeType().isConstQualified()) in checkFunctionArguments()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 1128 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc() local 1133 return (ParamTy->isArrayTy() && ParamTy->getArrayNumElements() == 2 && in isValidProtoForLibFunc() 1134 ParamTy->getArrayElementType() == RetTy); in isValidProtoForLibFunc() 1136 return ParamTy == RetTy && FTy.getParamType(1) == RetTy; in isValidProtoForLibFunc() 1148 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc() local 1152 return (Ty->getElementType(0) == ParamTy && in isValidProtoForLibFunc() 1153 Ty->getElementType(1) == ParamTy); in isValidProtoForLibFunc() 1159 return Ty->getElementType() == ParamTy; in isValidProtoForLibFunc()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaSwift.cpp | 574 QualType ParamTy = Param->getType(); in DiagnoseName() local 575 if (ParamTy->isReferenceType() || ParamTy->isPointerType()) in DiagnoseName() 576 return !ParamTy->getPointeeType().isConstQualified(); in DiagnoseName()
|
| H A D | SemaTemplateDeductionGuide.cpp | 659 QualType ParamTy = NewDI->getType(); in transformFunctionTypeParam() local 662 ParamTy.getNonLValueExprType(SemaRef.Context), in transformFunctionTypeParam() 663 ParamTy->isLValueReferenceType() ? VK_LValue in transformFunctionTypeParam() 664 : ParamTy->isRValueReferenceType() ? VK_XValue in transformFunctionTypeParam()
|
| H A D | SemaTemplateVariadic.cpp | 1084 QualType ParamTy = Param->getType(); in containsUnexpandedParameterPacks() local 1085 assert(!ParamTy.isNull() && "Couldn't parse type?"); in containsUnexpandedParameterPacks() 1086 if (ParamTy->containsUnexpandedParameterPack()) return true; in containsUnexpandedParameterPacks()
|
| H A D | SemaType.cpp | 5186 QualType ParamTy = Param->getType(); in GetFullTypeForDeclarator() local 5187 assert(!ParamTy.isNull() && "Couldn't parse type?"); in GetFullTypeForDeclarator() 5192 if (ParamTy->isVoidType()) { in GetFullTypeForDeclarator() 5198 ParamTy = Context.IntTy; in GetFullTypeForDeclarator() 5199 Param->setType(ParamTy); in GetFullTypeForDeclarator() 5203 ParamTy = Context.IntTy; in GetFullTypeForDeclarator() 5204 Param->setType(ParamTy); in GetFullTypeForDeclarator() 5207 if (ParamTy.hasQualifiers()) in GetFullTypeForDeclarator() 5226 } else if (ParamTy->isHalfType()) { in GetFullTypeForDeclarator() 5233 << ParamTy << 0; in GetFullTypeForDeclarator() [all …]
|
| H A D | SemaChecking.cpp | 1878 QualType ParamTy = [&]() { in BuiltinLaunder() local 1888 TheCall->setType(ParamTy); in BuiltinLaunder() 1891 if (!ParamTy->isPointerType()) in BuiltinLaunder() 1893 if (ParamTy->isFunctionPointerType()) in BuiltinLaunder() 1895 if (ParamTy->isVoidPointerType()) in BuiltinLaunder() 1911 if (S.RequireCompleteType(TheCall->getBeginLoc(), ParamTy->getPointeeType(), in BuiltinLaunder() 1915 assert(ParamTy->getPointeeType()->isObjectType() && in BuiltinLaunder() 1919 InitializedEntity::InitializeParameter(S.Context, ParamTy, false); in BuiltinLaunder() 1936 QualType ParamTy = Arg.get()->getType(); in BuiltinIsWithinLifetime() local 1942 if (const auto *PT = ParamTy->getAs<PointerType>()) { in BuiltinIsWithinLifetime() [all …]
|
| H A D | Sema.cpp | 2286 for (const auto &ParamTy : FPTy->param_types()) in checkTypeSupport() local 2287 CheckType(ParamTy); in checkTypeSupport()
|
| H A D | SemaDeclAttr.cpp | 556 QualType ParamTy = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in checkParamIsIntegerType() local 557 if (!ParamTy->isIntegerType() && !ParamTy->isCharType()) { in checkParamIsIntegerType() 3698 QualType ParamTy = FD->getParamDecl(0)->getType(); in handleCleanupAttr() local 3700 FD->getParamDecl(0)->getLocation(), ParamTy, Ty))) { in handleCleanupAttr() 3702 << NI.getName() << ParamTy << Ty; in handleCleanupAttr()
|
| H A D | SemaOverload.cpp | 9473 for (QualType ParamTy : CandidateTypes[0].pointer_types()) { in addUnaryStarPointerOverloads() local 9474 QualType PointeeTy = ParamTy->getPointeeType(); in addUnaryStarPointerOverloads() 9482 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet); in addUnaryStarPointerOverloads() 9513 for (QualType ParamTy : CandidateTypes[0].pointer_types()) in addUnaryPlusPointerOverloads() local 9514 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet); in addUnaryPlusPointerOverloads() 10079 QualType ParamTy = S.Context.BoolTy; in addExclaimOverload() local 10080 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet, in addExclaimOverload()
|
| H A D | SemaLookup.cpp | 3729 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType(); in LookupLiteralOperator() local 3730 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCallAndReturn.cpp | 718 QualType ParamTy = PVD->getType(); in evalCall() local 719 if (ParamTy.isNull() || in evalCall() 720 (!ParamTy->isPointerType() && !ParamTy->isReferenceType())) in evalCall() 722 QualType Pointee = ParamTy->getPointeeType(); in evalCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 842 std::vector<Type *> ParamTy; in constructFunctionDeclaration() local 853 ParamTy.push_back(value->getType()); in constructFunctionDeclaration() 863 ParamTy.push_back( in constructFunctionDeclaration() 868 (ParamTy.size() + AggParamTy.size()) == in constructFunctionDeclaration() 877 ParamTy.push_back(PointerType::get( in constructFunctionDeclaration() 884 for (Type *i : ParamTy) in constructFunctionDeclaration() 890 RetTy, ParamTy, AllowVarArgs && oldFunction->isVarArg()); in constructFunctionDeclaration()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.cpp | 1000 Type *ParamTy = getIntrinsicParamType(C, P, true); in getFunctionType() local 1001 if (!ParamTy) in getFunctionType() 1004 Args.push_back(ParamTy); in getFunctionType()
|
| H A D | AMDGPUPromoteAlloca.cpp | 1355 for (Type *ParamTy : FTy->params()) { in hasSufficientLocalMem() 1356 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy); in hasSufficientLocalMem()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 994 QualType ParamTy = in getLiteralOperatorKind() local 996 if (ParamTy->isPointerType()) in getLiteralOperatorKind() 998 if (ParamTy->isAnyCharacterType()) in getLiteralOperatorKind() 1000 if (ParamTy->isIntegerType()) in getLiteralOperatorKind() 1002 if (ParamTy->isFloatingType()) in getLiteralOperatorKind()
|
| H A D | DeclCXX.cpp | 901 const auto *ParamTy = in addedMember() local 903 if (!ParamTy || ParamTy->getPointeeType().isConstQualified()) in addedMember()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Intrinsics.cpp | 106 for (Type *ParamTy : TETy->type_params()) in getMangledTypeStr() 107 Result += "_" + getMangledTypeStr(ParamTy, HasUnnamedType); in getMangledTypeStr()
|
| H A D | Verifier.cpp | 3806 for (Type *ParamTy : FTy->params()) { in visitCallBase() 3807 Check(!ParamTy->isMetadataTy(), in visitCallBase() 3809 Check(!ParamTy->isTokenTy(), in visitCallBase()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 4469 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local 4472 if (!CastInst::isBitOrNoopPointerCastable(ActTy, ParamTy, DL)) in transformConstExprCastCall() 4478 ParamTy, CallerPAL.getParamAttrs(i), in transformConstExprCastCall() 4523 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local 4526 if ((*AI)->getType() != ParamTy) in transformConstExprCastCall() 4527 NewArg = Builder.CreateBitOrPointerCast(*AI, ParamTy); in transformConstExprCastCall() 4533 ParamTy, CallerPAL.getParamAttrs(i), AttributeFuncs::ASK_SAFE_TO_DROP); in transformConstExprCastCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 430 for (Type *ParamTy : FTy->params()) in getSignature() 431 OS << "_" << *ParamTy; in getSignature()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 324 QualType ParamTy = Ctx.getPointerType(Ctx.VoidPtrTy); in getFunctionInfo() local 328 Ctx, nullptr, SourceLocation(), &Ctx.Idents.get(ValNameStr[I]), ParamTy, in getFunctionInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVGlobalRegistry.cpp | 1072 for (const auto &ParamTy : FType->params()) in createSPIRVType() local 1073 ParamTypes.push_back(findSPIRVType(ParamTy, MIRBuilder, AccQual, in createSPIRVType()
|