Home
last modified time | relevance | path

Searched refs:getParamType (Results 1 – 25 of 73) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp801 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc()
826 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc()
837 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc()
842 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc()
848 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc()
865 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc()
1001 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc()
1145 IsSizeTTy(FTy.getParamType(2)) && FTy.getParamType(3)->isPointerTy(); in isValidProtoForLibFunc()
1152 IsSizeTTy(FTy.getParamType(3)) && FTy.getParamType(4)->isPointerTy(); in isValidProtoForLibFunc()
1569 IsSizeTTy(FTy.getParamType(1)) && IsSizeTTy(FTy.getParamType(2))); in isValidProtoForLibFunc()
[all …]
H A DMemoryBuiltins.cpp169 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationDataForFunction()
170 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationDataForFunction()
172 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationDataForFunction()
173 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationDataForFunction()
480 if (FTy->getParamType(0) != Type::getInt8PtrTy(F->getContext())) in isLibFreeFunction()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp363 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcmp()
372 if (!FPT->getParamType(2)->isIntegralOrUnscopedEnumerationType()) in checkCall_bcmp()
405 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcopy()
414 if (!FPT->getParamType(2)->isIntegralOrUnscopedEnumerationType()) in checkCall_bcopy()
447 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_bzero()
455 if (!FPT->getParamType(1)->isIntegralOrUnscopedEnumerationType()) in checkCall_bzero()
489 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets()
525 if (!FPT->getParamType(0)->isIntegralOrUnscopedEnumerationType()) in checkCall_getpw()
529 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw()
569 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_mktemp()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp539 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
562 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc()
619 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype()
635 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc()
650 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc()
707 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy() || in checkAsyncContextProjectFunction()
708 !FunTy->getParamType(0)->getPointerElementType()->isIntegerTy(8)) in checkAsyncContextProjectFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp533 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-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp111 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
122 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
123 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
158 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp435 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anonf5d68bc30111::Intrinsic
453 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx()
1020 Type T = getParamType(I); in getBuiltinTypeStr()
1250 if (getParamType(I).isImmediate()) in emitShadowedArgs()
1254 if (getParamType(I).isPointer()) in emitShadowedArgs()
1908 ErrMsg += I.getParamType(A).str(); in getIntrinsic()
1921 return Type == I.getParamType(ArgNum++); in getIntrinsic()
2052 const auto &Type = Def->getParamType(I); in genOverloadTypeCheckCode()
2160 Type T = Def->getParamType(Def->getImmediateIdx() - 1); in genIntrinsicRangeCheckCode()
H A DSveEmitter.cpp191 SVEType getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anon1b4186c10111::Intrinsic
848 S += getParamType(I).builtin_str(); in getBuiltinTypeStr()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp98 QualType arg_qual_type(func_proto_type->getParamType(ArgIndex)); in AddFunDecl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp212 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
224 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h509 CanQualType getParamType(unsigned i) const {
510 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h134 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } in getParamType() function
153 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp409 if (CallbackFunctionType->getParamType(ParamIdx - 2) in create_call_once()
419 if (!CallbackFunctionType->getParamType(ParamIdx - 2)->isReferenceType()) { in create_call_once()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600OpenCLImageTypeLoweringPass.cpp266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp246 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible()
341 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionTypeInternal()
H A DCGCall.cpp167 prefix.push_back(FPT->getParamType(I)); in appendParameterTypes()
1116 V->getType() != IRFuncTy->getParamType(IRCallArgPos)) in ExpandTypeToArgs()
1117 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs()
4809 IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() == in EmitCall()
4838 getParamType(FirstIRArg)->getPointerAddressSpace())) { in EmitCall()
4918 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall()
4919 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall()
5063 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1); in EmitCall()
5117 if (OrigFT->getParamType(i) != CalleeFT->getParamType(i)) in EmitCall()
5147 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(i)); in EmitCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp481 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
H A DFunctionComparator.cpp480 if (int Res = cmpTypes(FTyL->getParamType(i), FTyR->getParamType(i))) in cmpTypes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp438 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp1876 Type *Ty = FT->getParamType(i); in verifyFunctionAttrs()
1995 if (!FT->getParamType(ParamNo)->isIntegerTy()) { in verifyFunctionAttrs()
2163 Type *ParamType = TargetFuncType->getParamType(i); in verifyStatepoint()
2404 Assert(Arg.getType() == FT->getParamType(i), in visitFunction()
2406 FT->getParamType(i)); in visitFunction()
2537 Assert(FT->getParamType(0) == F.getReturnType(), in visitFunction()
2545 Assert(isa<PointerType>(FT->getParamType(0)), in visitFunction()
3058 Assert(Call.getArgOperand(i)->getType() == FTy->getParamType(i), in visitCallBase()
3060 Call.getArgOperand(i), FTy->getParamType(i), Call); in visitCallBase()
3411 isTypeCongruent(CallerTy->getParamType(I), CalleeTy->getParamType(I)), in verifyMustTailCall()
H A DAutoUpgrade.cpp46 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradePTESTIntrinsic()
61 Type *LastArgType = F->getFunctionType()->getParamType( in UpgradeX86IntrinsicsWith8BitMask()
507 auto Idx = F->getFunctionType()->getParamType(2); in UpgradeX86IntrinsicFunction()
885 FT->getParamType(0), // Dest in UpgradeIntrinsicFunction1()
886 FT->getParamType(2) // len in UpgradeIntrinsicFunction1()
4123 NewFuncTy->getParamType(I))) { in UpgradeARCRuntime()
4127 Arg = Builder.CreateBitCast(Arg, NewFuncTy->getParamType(I)); in UpgradeARCRuntime()
H A DIRBuilder.cpp1018 FnLaunderInvariantGroup->getFunctionType()->getParamType(0) == in CreateLaunderInvariantGroup()
1043 FnStripInvariantGroup->getFunctionType()->getParamType(0) == in CreateStripInvariantGroup()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp908 Target->getParamType(i), TargetLoc, Source->getParamType(i), in CheckParamExceptionSpec()
H A DSemaAccess.cpp405 if (!MightInstantiateTo(S, ContextTy->getParamType(I), in MightInstantiateTo()
406 FriendTy->getParamType(I))) in MightInstantiateTo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3343 Type *PTy = cast<FunctionType>(FTy)->getParamType(i); in parseFunctionRecord()
3878 assert(I.getType() == FTy->getParamType(ArgNo++) && in parseFunctionBody()
4671 FTy->getParamType(i))); in parseFunctionBody()
4672 ArgsTys.push_back(FTy->getParamType(i)); in parseFunctionBody()
4751 if (FTy->getParamType(i)->isLabelTy()) in parseFunctionBody()
4755 FTy->getParamType(i))); in parseFunctionBody()
5299 if (FTy->getParamType(i)->isLabelTy()) in parseFunctionBody()
5303 FTy->getParamType(i))); in parseFunctionBody()
5304 ArgsTys.push_back(FTy->getParamType(i)); in parseFunctionBody()

123