/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckSecuritySyntaxOnly.cpp | 361 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcmp() 370 if (!FPT->getParamType(2)->isIntegralOrUnscopedEnumerationType()) in checkCall_bcmp() 403 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcopy() 412 if (!FPT->getParamType(2)->isIntegralOrUnscopedEnumerationType()) in checkCall_bcopy() 445 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_bzero() 453 if (!FPT->getParamType(1)->isIntegralOrUnscopedEnumerationType()) in checkCall_bzero() 487 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets() 523 if (!FPT->getParamType(0)->isIntegralOrUnscopedEnumerationType()) in checkCall_getpw() 527 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw() 567 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_mktemp() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | Coroutines.cpp | 459 Alloc->getFunctionType()->getParamType(0), in emitAlloc() 482 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc() 539 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype() 555 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc() 570 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc() 615 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy()) in checkAsyncContextProjectFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/ |
H A D | MCJIT.cpp | 533 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 534 FTy->getParamType(1)->isPointerTy() && in runFunction() 535 FTy->getParamType(2)->isPointerTy()) { in runFunction() 548 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 549 FTy->getParamType(1)->isPointerTy()) { in runFunction() 561 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/freebsd/contrib/llvm-project/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/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64Arm64ECCallLowering.cpp | 194 canonicalizeThunkType(FT->getParamType(I), ParamAlign, in getThunkArgTypes() 242 Arm64ArgTypes.push_back(FT->getParamType(0)); in getThunkRetType() 243 X64ArgTypes.push_back(FT->getParamType(0)); in getThunkRetType() 483 Type *ArgTy = Arm64Ty->getParamType(i - ThunkArgOffset); in buildEntryThunk()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 436 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anon3ab808570111::Intrinsic 454 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx() 1028 Type T = getParamType(I); in getBuiltinTypeStr() 1271 if (getParamType(I).isImmediate()) in emitShadowedArgs() 1275 if (getParamType(I).isPointer()) in emitShadowedArgs() 1927 ErrMsg += I.getParamType(A).str(); in getIntrinsic() 1939 return Type == I.getParamType(ArgNum++); in getIntrinsic() 2104 const auto &Type = Def->getParamType(I); in genOverloadTypeCheckCode() 2213 Type T = Def->getParamType(Def->getImmediateIdx() - 1); in genIntrinsicRangeCheckCode()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | NameSearchContext.cpp | 98 QualType arg_qual_type(func_proto_type->getParamType(ArgIndex)); in AddFunDecl()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 212 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationDataForFunction() 213 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationDataForFunction() 215 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationDataForFunction() 216 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationDataForFunction() 552 if (!FTy->getParamType(0)->isPointerTy()) in isLibFreeFunction()
|
H A D | TargetLibraryInfo.cpp | 1038 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc() 1046 return ParamTy == RetTy && FTy.getParamType(1) == RetTy; in isValidProtoForLibFunc() 1058 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc() 1120 Ty = FTy.getParamType(Idx++); in isValidProtoForLibFunc()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 222 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() 234 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | VFABIDemangler.cpp | 332 Type *PTy = Signature->getParamType(Param.ParamPos); in getScalableECFromSignature() 561 Type *OperandTy = ScalarFTy->getParamType(ScalarParamIndex++); in createFunctionType()
|
H A D | AutoUpgrade.cpp | 60 Type *Arg0Type = F->getFunctionType()->getParamType(0); in upgradePTESTIntrinsic() 75 Type *LastArgType = F->getFunctionType()->getParamType( in upgradeX86IntrinsicsWith8BitMask() 111 if (F->getFunctionType()->getParamType(1)->getScalarType()->isBFloatTy()) in upgradeX86BF16DPIntrinsic() 588 auto Idx = F->getFunctionType()->getParamType(2); in upgradeX86IntrinsicFunction() 1075 Tys.push_back(FT->getParamType(0)); in upgradeIntrinsicFunction1() 1078 Tys.push_back(FT->getParamType(1)); in upgradeIntrinsicFunction1() 1165 FT->getParamType(0), // Dest in upgradeIntrinsicFunction1() 1166 FT->getParamType(2) // len in upgradeIntrinsicFunction1() 1264 if (!F->getFunctionType()->getParamType(2)->isIntegerTy(32)) { in upgradeIntrinsicFunction1() 1277 if (!F->getFunctionType()->getParamType(2)->isIntegerTy(32) || in upgradeIntrinsicFunction1() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | CanonicalType.h | 508 CanQualType getParamType(unsigned i) const { 509 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 135 Type *getParamType(unsigned i) const { in getParamType() function 157 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | CodeCompleteConsumer.cpp | 561 CodeCompleteConsumer::OverloadCandidate::getParamType(unsigned N) const { in getParamType() function in CodeCompleteConsumer::OverloadCandidate 585 return FPT->getParamType(N); in getParamType()
|
H A D | SemaRISCVVectorLookup.cpp | 443 FP->getParamType(IParm), nullptr, SC_None, nullptr); in CreateRVVIntrinsicDecl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILOpBuilder.cpp | 307 OverloadType = FT->getParamType(Prop->OverloadParamIndex - SkipedParam); in getOverloadTy()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 441 if (CallbackFunctionType->getParamType(ParamIdx - 2) in create_call_once() 451 if (!CallbackFunctionType->getParamType(ParamIdx - 2)->isReferenceType()) { in create_call_once()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 158 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible() 252 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionTypeInternal()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 553 ArgTys.push_back(InvokeFT->getParamType(I)); in createEnqueuedBlockKernel() 582 auto *Cast = Builder.CreatePointerCast(BlockPtr, InvokeFT->getParamType(0)); in createEnqueuedBlockKernel()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600OpenCLImageTypeLoweringPass.cpp | 266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
|
H A D | AMDGPULibFunc.cpp | 535 Leads[0] = Param::getFromTy(FT->getParamType(0), SignedInts); in AMDGPUMangledLibFunc() 537 Leads[1] = Param::getFromTy(FT->getParamType(1), SignedInts); in AMDGPUMangledLibFunc()
|
H A D | AMDGPULibCalls.cpp | 175 {FT->getParamType(0), PowNExpTy}, false); in getPownType() 774 B.CreateFPToSI(FPOp->getOperand(1), PownType->getParamType(1)); in fold() 1293 Type *CosPtrTy = Fsincos.getFunctionType()->getParamType(1); in insertSinCos()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 509 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 438 if (NumArgs >= 3 && FTy->getParamType(2) != PPInt8Ty) in runFunctionAsMain() 440 if (NumArgs >= 2 && FTy->getParamType(1) != PPInt8Ty) in runFunctionAsMain() 442 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
|