Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp361 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 DCoroutines.cpp459 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 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/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp112 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 DAArch64Arm64ECCallLowering.cpp194 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 DNeonEmitter.cpp436 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 DNameSearchContext.cpp98 QualType arg_qual_type(func_proto_type->getParamType(ArgIndex)); in AddFunDecl()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp212 (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 DTargetLibraryInfo.cpp1038 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 DExternalFunctions.cpp222 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
234 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVFABIDemangler.cpp332 Type *PTy = Signature->getParamType(Param.ParamPos); in getScalableECFromSignature()
561 Type *OperandTy = ScalarFTy->getParamType(ScalarParamIndex++); in createFunctionType()
H A DAutoUpgrade.cpp60 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 DCanonicalType.h508 CanQualType getParamType(unsigned i) const {
509 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h135 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 DCodeCompleteConsumer.cpp561 CodeCompleteConsumer::OverloadCandidate::getParamType(unsigned N) const { in getParamType() function in CodeCompleteConsumer::OverloadCandidate
585 return FPT->getParamType(N); in getParamType()
H A DSemaRISCVVectorLookup.cpp443 FP->getParamType(IParm), nullptr, SC_None, nullptr); in CreateRVVIntrinsicDecl()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp307 OverloadType = FT->getParamType(Prop->OverloadParamIndex - SkipedParam); in getOverloadTy()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp441 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 DCodeGenTypes.cpp158 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 DAMDGPU.cpp553 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 DR600OpenCLImageTypeLoweringPass.cpp266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
H A DAMDGPULibFunc.cpp535 Leads[0] = Param::getFromTy(FT->getParamType(0), SignedInts); in AMDGPUMangledLibFunc()
537 Leads[1] = Param::getFromTy(FT->getParamType(1), SignedInts); in AMDGPUMangledLibFunc()
H A DAMDGPULibCalls.cpp175 {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 DCallPromotionUtils.cpp509 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
/freebsd/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()

1234