Home
last modified time | relevance | path

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

1234

/src/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 …]
/src/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp466 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
489 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc()
546 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype()
562 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc()
577 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc()
622 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy()) in checkAsyncContextProjectFunction()
/src/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()
/src/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()
/src/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp436 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anonaa5899840111::Intrinsic
454 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx()
1021 Type T = getParamType(I); in getBuiltinTypeStr()
1264 if (getParamType(I).isImmediate()) in emitShadowedArgs()
1268 if (getParamType(I).isPointer()) in emitShadowedArgs()
1920 ErrMsg += I.getParamType(A).str(); in getIntrinsic()
1932 return Type == I.getParamType(ArgNum++); in getIntrinsic()
2097 const auto &Type = Def->getParamType(I); in genOverloadTypeCheckCode()
2206 Type T = Def->getParamType(Def->getImmediateIdx() - 1); in genIntrinsicRangeCheckCode()
/src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp98 QualType arg_qual_type(func_proto_type->getParamType(ArgIndex)); in AddFunDecl()
/src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp220 canonicalizeThunkType(FT->getParamType(I), ParamAlign, in getThunkArgTypes()
278 Arm64ArgTypes.push_back(FT->getParamType(0)); in getThunkRetType()
279 X64ArgTypes.push_back(FT->getParamType(0)); in getThunkRetType()
541 Type *ArgTy = Arm64Ty->getParamType(i); in buildEntryThunk()
/src/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.cpp1062 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc()
1070 return ParamTy == RetTy && FTy.getParamType(1) == RetTy; in isValidProtoForLibFunc()
1082 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc()
1144 Ty = FTy.getParamType(Idx++); in isValidProtoForLibFunc()
/src/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()
1120 Tys.push_back(FT->getParamType(0)); in upgradeIntrinsicFunction1()
1123 Tys.push_back(FT->getParamType(1)); in upgradeIntrinsicFunction1()
1210 FT->getParamType(0), // Dest in upgradeIntrinsicFunction1()
1211 FT->getParamType(2) // len in upgradeIntrinsicFunction1()
1309 if (!F->getFunctionType()->getParamType(2)->isIntegerTy(32)) { in upgradeIntrinsicFunction1()
1322 if (!F->getFunctionType()->getParamType(2)->isIntegerTy(32) || in upgradeIntrinsicFunction1()
[all …]
/src/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()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DAttr.h85 return cast<FunctionProtoType>(FnTy)->getParamType(Idx); in getFunctionOrMethodParamType()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h508 CanQualType getParamType(unsigned i) const {
509 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/src/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()
/src/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()
/src/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp315 OverloadType = FT->getParamType(Prop->OverloadParamIndex - 1); in getOverloadTy()
/src/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp593 ArgTys.push_back(InvokeFT->getParamType(I)); in createEnqueuedBlockKernel()
622 auto *Cast = Builder.CreatePointerCast(BlockPtr, InvokeFT->getParamType(0)); in createEnqueuedBlockKernel()
/src/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()
/src/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.cpp176 {FT->getParamType(0), PowNExpTy}, false); in getPownType()
788 B.CreateFPToSI(FPOp->getOperand(1), PownType->getParamType(1)); in fold()
1335 Type *CosPtrTy = Fsincos.getFunctionType()->getParamType(1); in insertSinCos()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp214 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible()
308 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionTypeInternal()
/src/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()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp521 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()

1234