Home
last modified time | relevance | path

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

123

/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp788 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 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()
479 if (FTy->getParamType(0) != Type::getInt8PtrTy(F->getContext())) in isLibFreeFunction()
/netbsd/external/apache2/llvm/dist/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 …]
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/clang/utils/TableGen/
H A DNeonEmitter.cpp435 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 DSveEmitter.cpp191 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 DExternalFunctions.cpp210 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 DCanonicalType.h509 CanQualType getParamType(unsigned i) const {
510 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DR600OpenCLImageTypeLoweringPass.cpp266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
/netbsd/external/apache2/llvm/dist/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.cpp166 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 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()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DVerifier.cpp1945 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 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()
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 DIRBuilder.cpp978 FnLaunderInvariantGroup->getFunctionType()->getParamType(0) == in CreateLaunderInvariantGroup()
1003 FnStripInvariantGroup->getFunctionType()->getParamType(0) == in CreateStripInvariantGroup()
/netbsd/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3378 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 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()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp706 Args.push_back(createCast(Builder, &AI, FFTy->getParamType(i))); in writeThunk()

123