/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | TargetLibraryInfo.cpp | 788 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc() 802 IsSizeTTy(FTy.getParamType(2)); in isValidProtoForLibFunc() 813 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc() 824 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc() 829 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc() 835 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc() 852 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc() 1126 IsSizeTTy(FTy.getParamType(2)) && FTy.getParamType(3)->isPointerTy(); in isValidProtoForLibFunc() 1133 IsSizeTTy(FTy.getParamType(3)) && FTy.getParamType(4)->isPointerTy(); in isValidProtoForLibFunc() 1550 IsSizeTTy(FTy.getParamType(1)) && IsSizeTTy(FTy.getParamType(2))); in isValidProtoForLibFunc() [all …]
|
H A D | MemoryBuiltins.cpp | 169 (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() 479 if (FTy->getParamType(0) != Type::getInt8PtrTy(F->getContext())) in isLibFreeFunction()
|
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckSecuritySyntaxOnly.cpp | 363 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 …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
H A D | Coroutines.cpp | 539 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()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
H A D | Mips16HardFloat.cpp | 111 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()
|
/netbsd/external/apache2/llvm/dist/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 435 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anon7e6fcd500111::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 D | SveEmitter.cpp | 191 SVEType getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anon93c24aae0111::Intrinsic 848 S += getParamType(I).builtin_str(); in getBuiltinTypeStr()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 210 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() 222 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | CanonicalType.h | 509 CanQualType getParamType(unsigned i) const { 510 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 134 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } in getParamType() function 153 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 409 if (CallbackFunctionType->getParamType(ParamIdx - 2) in create_call_once() 419 if (!CallbackFunctionType->getParamType(ParamIdx - 2)->isReferenceType()) { in create_call_once()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | R600OpenCLImageTypeLoweringPass.cpp | 266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 246 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible() 341 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionTypeInternal()
|
H A D | CGCall.cpp | 166 prefix.push_back(FPT->getParamType(I)); in appendParameterTypes() 1115 V->getType() != IRFuncTy->getParamType(IRCallArgPos)) in ExpandTypeToArgs() 1116 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs() 4802 IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() == in EmitCall() 4831 getParamType(FirstIRArg)->getPointerAddressSpace())) { in EmitCall() 4911 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall() 4912 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall() 5056 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1); in EmitCall() 5110 if (OrigFT->getParamType(i) != CalleeFT->getParamType(i)) in EmitCall() 5140 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(i)); in EmitCall()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 481 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
|
H A D | FunctionComparator.cpp | 480 if (int Res = cmpTypes(FTyL->getParamType(i), FTyR->getParamType(i))) in cmpTypes()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Verifier.cpp | 1945 Type *Ty = FT->getParamType(i); in verifyFunctionAttrs() 2056 if (!FT->getParamType(ParamNo)->isIntegerTy()) { in verifyFunctionAttrs() 2254 Type *ParamType = TargetFuncType->getParamType(i); in verifyStatepoint() 2493 Assert(Arg.getType() == FT->getParamType(i), in visitFunction() 2495 FT->getParamType(i)); in visitFunction() 3135 Assert(Call.getArgOperand(i)->getType() == FTy->getParamType(i), in visitCallBase() 3137 Call.getArgOperand(i), FTy->getParamType(i), Call); in visitCallBase() 3413 isTypeCongruent(CallerTy->getParamType(I), CalleeTy->getParamType(I)), in verifyMustTailCall()
|
H A D | AutoUpgrade.cpp | 46 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() 881 FT->getParamType(0), // Dest in UpgradeIntrinsicFunction1() 882 FT->getParamType(2) // len in UpgradeIntrinsicFunction1() 4118 NewFuncTy->getParamType(I))) { in UpgradeARCRuntime() 4122 Arg = Builder.CreateBitCast(Arg, NewFuncTy->getParamType(I)); in UpgradeARCRuntime()
|
H A D | IRBuilder.cpp | 978 FnLaunderInvariantGroup->getFunctionType()->getParamType(0) == in CreateLaunderInvariantGroup() 1003 FnStripInvariantGroup->getFunctionType()->getParamType(0) == in CreateStripInvariantGroup()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 3378 Type *PTy = cast<FunctionType>(FullFTy)->getParamType(i); in parseFunctionRecord() 3904 assert(I.getType() == flattenPointerTypes(FullFTy->getParamType(ArgNo)) && in parseFunctionBody() 3906 ValueList.push_back(&I, FullFTy->getParamType(ArgNo++)); in parseFunctionBody() 4708 FTy->getParamType(i))); in parseFunctionBody() 4709 ArgsFullTys.push_back(FullFTy->getParamType(i)); in parseFunctionBody() 4794 if (FTy->getParamType(i)->isLabelTy()) in parseFunctionBody() 4798 FTy->getParamType(i))); in parseFunctionBody() 5350 if (FTy->getParamType(i)->isLabelTy()) in parseFunctionBody() 5354 FTy->getParamType(i))); in parseFunctionBody() 5355 ArgsFullTys.push_back(FullFTy->getParamType(i)); in parseFunctionBody()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaExceptionSpec.cpp | 908 Target->getParamType(i), TargetLoc, Source->getParamType(i), in CheckParamExceptionSpec()
|
H A D | SemaAccess.cpp | 405 if (!MightInstantiateTo(S, ContextTy->getParamType(I), in MightInstantiateTo() 406 FriendTy->getParamType(I))) in MightInstantiateTo()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 706 Args.push_back(createCast(Builder, &AI, FFTy->getParamType(i))); in writeThunk()
|