| /freebsd-14.2/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 | 1140 Type *ParamTy = CInst->getArgOperand(0)->getType(); in OptimizeIndividualCallImpl() local 1153 if (Op->getType() != ParamTy) in OptimizeIndividualCallImpl() 1154 Op = new BitCastInst(Op, ParamTy, "", InsertPos); in OptimizeIndividualCallImpl() 1765 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); in MoveCalls() local 1771 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls() 1772 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls() 1786 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls() 1787 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | InnerPointerChecker.cpp | 166 QualType ParamTy = FD->getParamDecl(I)->getType(); in checkFunctionArguments() local 167 if (!ParamTy->isReferenceType() || in checkFunctionArguments() 168 ParamTy->getPointeeType().isConstQualified()) in checkFunctionArguments()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 1038 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc() local 1043 return (ParamTy->isArrayTy() && ParamTy->getArrayNumElements() == 2 && in isValidProtoForLibFunc() 1044 ParamTy->getArrayElementType() == RetTy); in isValidProtoForLibFunc() 1046 return ParamTy == RetTy && FTy.getParamType(1) == RetTy; in isValidProtoForLibFunc() 1058 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc() local 1062 return (Ty->getElementType(0) == ParamTy && in isValidProtoForLibFunc() 1063 Ty->getElementType(1) == ParamTy); in isValidProtoForLibFunc() 1069 return Ty->getElementType() == ParamTy; in isValidProtoForLibFunc()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 833 std::vector<Type *> ParamTy; in constructFunction() local 845 ParamTy.push_back(value->getType()); in constructFunction() 855 ParamTy.push_back( in constructFunction() 860 (ParamTy.size() + AggParamTy.size()) == in constructFunction() 867 size_t NumScalarParams = ParamTy.size(); in constructFunction() 871 ParamTy.push_back(PointerType::get( in constructFunction() 877 for (Type *i : ParamTy) in constructFunction() 883 RetTy, ParamTy, AllowVarArgs && oldFunction->isVarArg()); in constructFunction()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 945 QualType ParamTy = Param->getType(); in containsUnexpandedParameterPacks() local 946 assert(!ParamTy.isNull() && "Couldn't parse type?"); in containsUnexpandedParameterPacks() 947 if (ParamTy->containsUnexpandedParameterPack()) return true; in containsUnexpandedParameterPacks()
|
| H A D | SemaType.cpp | 5559 if (ParamTy->isVoidType()) { in GetFullTypeForDeclarator() 5565 ParamTy = Context.IntTy; in GetFullTypeForDeclarator() 5566 Param->setType(ParamTy); in GetFullTypeForDeclarator() 5570 ParamTy = Context.IntTy; in GetFullTypeForDeclarator() 5571 Param->setType(ParamTy); in GetFullTypeForDeclarator() 5574 if (ParamTy.hasQualifiers()) in GetFullTypeForDeclarator() 5580 } else if (ParamTy->isHalfType()) { in GetFullTypeForDeclarator() 5587 << ParamTy << 0; in GetFullTypeForDeclarator() 5599 ParamTy = Context.getPromotedIntegerType(ParamTy); in GetFullTypeForDeclarator() 5603 ParamTy = Context.DoubleTy; in GetFullTypeForDeclarator() [all …]
|
| H A D | SemaChecking.cpp | 1983 QualType ParamTy = [&]() { in SemaBuiltinLaunder() local 1993 TheCall->setType(ParamTy); in SemaBuiltinLaunder() 1996 if (!ParamTy->isPointerType()) in SemaBuiltinLaunder() 1998 if (ParamTy->isFunctionPointerType()) in SemaBuiltinLaunder() 2000 if (ParamTy->isVoidPointerType()) in SemaBuiltinLaunder() 2020 assert(ParamTy->getPointeeType()->isObjectType() && in SemaBuiltinLaunder() 7417 QualType ParamTy) { in CheckArgAlignment() argument 7420 if (!ParamTy->isPointerType() && !ParamTy->isReferenceType()) in CheckArgAlignment() 7426 if (ParamTy->isPointerType()) in CheckArgAlignment() 7430 ParamTy = ParamTy->getPointeeType(); in CheckArgAlignment() [all …]
|
| H A D | SemaDeclAttr.cpp | 827 QualType ParamTy = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in checkParamIsIntegerType() local 828 if (!ParamTy->isIntegerType() && !ParamTy->isCharType()) { in checkParamIsIntegerType() 3776 QualType ParamTy = FD->getParamDecl(0)->getType(); in handleCleanupAttr() local 3778 ParamTy, Ty) != Sema::Compatible) { in handleCleanupAttr() 3780 << NI.getName() << ParamTy << Ty; in handleCleanupAttr() 6918 QualType ParamTy = Param->getType(); in DiagnoseSwiftName() local 6919 if (ParamTy->isReferenceType() || ParamTy->isPointerType()) in DiagnoseSwiftName() 6920 return !ParamTy->getPointeeType().isConstQualified(); in DiagnoseSwiftName()
|
| H A D | Sema.cpp | 2094 for (const auto &ParamTy : FPTy->param_types()) in checkTypeSupport() local 2095 CheckType(ParamTy); in checkTypeSupport()
|
| H A D | SemaOverload.cpp | 8988 for (QualType ParamTy : CandidateTypes[0].pointer_types()) { in addUnaryStarPointerOverloads() local 8989 QualType PointeeTy = ParamTy->getPointeeType(); in addUnaryStarPointerOverloads() 8997 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet); in addUnaryStarPointerOverloads() 9028 for (QualType ParamTy : CandidateTypes[0].pointer_types()) in addUnaryPlusPointerOverloads() local 9029 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet); in addUnaryPlusPointerOverloads() 9594 QualType ParamTy = S.Context.BoolTy; in addExclaimOverload() local 9595 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet, in addExclaimOverload()
|
| H A D | SemaLookup.cpp | 3702 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType(); in LookupLiteralOperator() local 3703 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
|
| H A D | SemaTemplate.cpp | 2622 QualType ParamTy = NewDI->getType(); in transformFunctionTypeParam() local 2625 ParamTy.getNonLValueExprType(SemaRef.Context), in transformFunctionTypeParam() 2626 ParamTy->isLValueReferenceType() ? VK_LValue in transformFunctionTypeParam() 2627 : ParamTy->isRValueReferenceType() ? VK_XValue in transformFunctionTypeParam()
|
| H A D | SemaExprCXX.cpp | 3958 QualType ParamTy = OperatorNewOrDelete->getParamDecl(i)->getType(); in SemaBuiltinOperatorNewDeleteOverloaded() local 3960 InitializedEntity::InitializeParameter(Context, ParamTy, false); in SemaBuiltinOperatorNewDeleteOverloaded()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 936 QualType ParamTy = in getLiteralOperatorKind() local 938 if (ParamTy->isPointerType()) in getLiteralOperatorKind() 940 if (ParamTy->isAnyCharacterType()) in getLiteralOperatorKind() 942 if (ParamTy->isIntegerType()) in getLiteralOperatorKind() 944 if (ParamTy->isFloatingType()) in getLiteralOperatorKind()
|
| H A D | DeclCXX.cpp | 852 const auto *ParamTy = in addedMember() local 854 if (!ParamTy || ParamTy->getPointeeType().isConstQualified()) in addedMember()
|
| H A D | ItaniumMangle.cpp | 3611 QualType ParamTy = Proto->getParamType(I); in mangleBareFunctionType() local 3612 mangleType(Context.getASTContext().getSignatureParameterType(ParamTy)); in mangleBareFunctionType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 3938 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local 3941 if (!CastInst::isBitOrNoopPointerCastable(ActTy, ParamTy, DL)) in transformConstExprCastCall() 3947 ParamTy, AttributeFuncs::ASK_UNSAFE_TO_DROP))) in transformConstExprCastCall() 4009 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local 4012 if ((*AI)->getType() != ParamTy) in transformConstExprCastCall() 4013 NewArg = Builder.CreateBitOrPointerCast(*AI, ParamTy); in transformConstExprCastCall() 4019 ParamTy, AttributeFuncs::ASK_SAFE_TO_DROP); in transformConstExprCastCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 1179 for (Type *ParamTy : FTy->params()) { in hasSufficientLocalMem() 1180 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy); in hasSufficientLocalMem()
|
| H A D | SIISelLowering.cpp | 2956 auto *ParamTy = in LowerFormalArguments() local 2959 ParamTy && (ParamTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS || in LowerFormalArguments() 2960 ParamTy->getAddressSpace() == AMDGPUAS::REGION_ADDRESS)) { in LowerFormalArguments()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 437 for (Type *ParamTy : FTy->params()) in getSignature() 438 OS << "_" << *ParamTy; in getSignature()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 311 QualType ParamTy = Ctx.getPointerType(Ctx.VoidPtrTy); in getFunctionInfo() local 315 Ctx, nullptr, SourceLocation(), &Ctx.Idents.get(ValNameStr[I]), ParamTy, in getFunctionInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 977 for (Type *ParamTy : TETy->type_params()) in getMangledTypeStr() 978 Result += "_" + getMangledTypeStr(ParamTy, HasUnnamedType); in getMangledTypeStr()
|
| H A D | Verifier.cpp | 3527 for (Type *ParamTy : FTy->params()) { in visitCallBase() 3528 Check(!ParamTy->isMetadataTy(), in visitCallBase() 3530 Check(!ParamTy->isTokenTy(), in visitCallBase()
|