| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 683 IsSizeTTy(FTy.getParamType(2))); in isValidProtoForLibFunc() 694 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc() 695 FTy.getParamType(0) == PCharTy); in isValidProtoForLibFunc() 706 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc() 708 IsSizeTTy(FTy.getParamType(2))); in isValidProtoForLibFunc() 717 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc() 722 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc() 728 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc() 745 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc() 1380 FTy.getParamType(1) == SizeTTy && FTy.getParamType(2) == SizeTTy); in isValidProtoForLibFunc() [all …]
|
| H A D | MemoryBuiltins.cpp | 164 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationDataForFunction() 165 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationDataForFunction() 167 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationDataForFunction() 168 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationDataForFunction() 415 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext())) in isFreeCall()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/ |
| H A D | OrcMCJITReplacement.cpp | 47 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 48 FTy->getParamType(1)->isPointerTy() && in runFunction() 49 FTy->getParamType(2)->isPointerTy()) { in runFunction() 62 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 63 FTy->getParamType(1)->isPointerTy()) { in runFunction() 74 if (FTy->getNumParams() == 1 && FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckSecuritySyntaxOnly.cpp | 330 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcmp() 339 if (!FPT->getParamType(2)->isIntegralOrUnscopedEnumerationType()) in checkCall_bcmp() 372 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcopy() 381 if (!FPT->getParamType(2)->isIntegralOrUnscopedEnumerationType()) in checkCall_bcopy() 414 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_bzero() 422 if (!FPT->getParamType(1)->isIntegralOrUnscopedEnumerationType()) in checkCall_bzero() 456 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets() 492 if (!FPT->getParamType(0)->isIntegralOrUnscopedEnumerationType()) in checkCall_getpw() 496 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw() 536 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_mktemp() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/MCJIT/ |
| H A D | MCJIT.cpp | 528 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 529 FTy->getParamType(1)->isPointerTy() && in runFunction() 530 FTy->getParamType(2)->isPointerTy()) { in runFunction() 543 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 544 FTy->getParamType(1)->isPointerTy()) { in runFunction() 556 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | Mips16HardFloat.cpp | 112 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded() 123 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded() 124 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded() 159 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
|
| /freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 407 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anoneec6fbfe0111::Intrinsic 427 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx() 1105 Type T = getParamType(I); in getBuiltinTypeStr() 1339 if (getParamType(I).isPointer()) in emitShadowedArgs() 1446 ThisTy = getParamType(0); in emitBodyAsBuiltinCall() 1448 ThisTy = getParamType(1); in emitBodyAsBuiltinCall() 1996 ErrMsg += I.getParamType(A).str(); in getIntrinsic() 2005 if (I.getParamType(Arg) != Types[Arg]) { in getIntrinsic() 2140 Ty = Def->getParamType(0); in genOverloadTypeCheckCode() 2142 Ty = Def->getParamType(1); in genOverloadTypeCheckCode() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 135 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } in getParamType() function 154 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 211 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() 223 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 508 CanQualType getParamType(unsigned i) const { 509 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 405 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
|
| H A D | FunctionComparator.cpp | 461 if (int Res = cmpTypes(FTyL->getParamType(i), FTyR->getParamType(i))) in cmpTypes()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenTypes.cpp | 235 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible() 329 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionType()
|
| H A D | CGCall.cpp | 158 prefix.push_back(FPT->getParamType(I)); in appendParameterTypes() 1110 V->getType() != IRFuncTy->getParamType(IRCallArgPos)) in ExpandTypeToArgs() 1111 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs() 3960 IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() == in EmitCall() 3990 getParamType(FirstIRArg)->getPointerAddressSpace())) { in EmitCall() 4058 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall() 4059 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall() 4193 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1); in EmitCall() 4246 if (OrigFT->getParamType(i) != CalleeFT->getParamType(i)) in EmitCall() 4272 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(i)); in EmitCall()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 413 CallbackFunctionType->getParamType(ParamIdx - 2) in create_call_once() 423 if (!CallbackFunctionType->getParamType(ParamIdx - 2)->isReferenceType()) { in create_call_once()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | R600OpenCLImageTypeLoweringPass.cpp | 282 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Verifier.cpp | 1686 Type *Ty = FT->getParamType(i); in verifyFunctionAttrs() 1787 if (!FT->getParamType(ParamNo)->isIntegerTy()) { in verifyFunctionAttrs() 1964 Type *ParamType = TargetFuncType->getParamType(i); in verifyStatepoint() 2179 Assert(Arg.getType() == FT->getParamType(i), in visitFunction() 2181 FT->getParamType(i)); in visitFunction() 2774 Assert(Call.getArgOperand(i)->getType() == FTy->getParamType(i), in visitCallBase() 2776 Call.getArgOperand(i), FTy->getParamType(i), Call); in visitCallBase() 2973 isTypeCongruent(CallerTy->getParamType(I), CalleeTy->getParamType(I)), in verifyMustTailCall() 4103 Assert(!Intrinsic::matchIntrinsicType(IFTy->getParamType(i), in visitIntrinsicCall()
|
| H A D | Function.cpp | 276 Type *ArgTy = FT->getParamType(i); in BuildLazyArguments() 598 Result += getMangledTypeStr(FT->getParamType(i)); in getMangledTypeStr()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 442 if (NumArgs >= 3 && FTy->getParamType(2) != PPInt8Ty) in runFunctionAsMain() 444 if (NumArgs >= 2 && FTy->getParamType(1) != PPInt8Ty) in runFunctionAsMain() 446 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 871 Target->getParamType(i), TargetLoc, Source->getParamType(i), in CheckParamExceptionSpec()
|
| H A D | SemaAccess.cpp | 393 if (!MightInstantiateTo(S, ContextTy->getParamType(I), in MightInstantiateTo() 394 FriendTy->getParamType(I))) in MightInstantiateTo()
|
| H A D | SemaOverload.cpp | 2570 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in isObjCPointerConversion() 2571 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in isObjCPointerConversion() 2732 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion() 2733 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion() 2844 << ToFunction->getParamType(ArgPos) in HandleFunctionTypeMismatch() 2845 << FromFunction->getParamType(ArgPos); in HandleFunctionTypeMismatch() 3235 QualType FirstArg = CtorType->getParamType(0); in isFirstArgumentCompatibleWithType() 5965 QualType ArgType = Proto->getParamType(0).getNonReferenceType(); in IsAcceptableNonMemberOperatorCandidate() 6152 QualType ParamType = Proto->getParamType(ArgIdx); in AddOverloadCandidate() 6653 QualType ParamType = Proto->getParamType(ArgIdx); in AddMethodCandidate() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 499 if (!IsStructurallyEquivalent(Context, Proto1->getParamType(I), in IsStructurallyEquivalent() 500 Proto2->getParamType(I))) in IsStructurallyEquivalent()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | WholeProgramDevirt.cpp | 984 Constant::getNullValue(Target.Fn->getFunctionType()->getParamType(0))); in tryEvaluateFunctionsWithArgs() 987 Target.Fn->getFunctionType()->getParamType(I + 1)); in tryEvaluateFunctionsWithArgs()
|
| H A D | MergeFunctions.cpp | 707 Args.push_back(createCast(Builder, &AI, FFTy->getParamType(i))); in writeThunk()
|