Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp957 FTy.getParamType(1)->isIntegerTy()); in isValidProtoForLibFunc()
999 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc()
1024 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc()
1035 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc()
1040 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc()
1046 FTy.getParamType(0) == FTy.getParamType(1) && in isValidProtoForLibFunc()
1063 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc()
1202 FTy.getParamType(0) == FTy.getParamType(1)); in isValidProtoForLibFunc()
1346 FTy.getParamType(2)->isIntegerTy(SizeTBits) && FTy.getParamType(3)->isPointerTy(); in isValidProtoForLibFunc()
1353 FTy.getParamType(3)->isIntegerTy(SizeTBits) && FTy.getParamType(4)->isPointerTy(); in isValidProtoForLibFunc()
[all …]
H A DMemoryBuiltins.cpp206 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationDataForFunction()
207 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationDataForFunction()
209 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationDataForFunction()
210 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationDataForFunction()
570 if (FTy->getParamType(0) != Type::getInt8PtrTy(F->getContext())) in isLibFreeFunction()
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp457 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
480 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc()
537 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype()
553 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc()
568 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc()
629 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy() || in checkAsyncContextProjectFunction()
630 !cast<PointerType>(FunTy->getParamType(0)) in checkAsyncContextProjectFunction()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DNewDeleteOverloadsCheck.cpp58 Ctx.hasSameType(FPT->getParamType(1), Ctx.getSizeType())) in AST_MATCHER()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DNeonEmitter.cpp434 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anonc6b5f5bf0111::Intrinsic
452 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx()
1020 Type T = getParamType(I); in getBuiltinTypeStr()
1259 if (getParamType(I).isImmediate()) in emitShadowedArgs()
1263 if (getParamType(I).isPointer()) in emitShadowedArgs()
1915 ErrMsg += I.getParamType(A).str(); in getIntrinsic()
1927 return Type == I.getParamType(ArgNum++); in getIntrinsic()
2058 const auto &Type = Def->getParamType(I); in genOverloadTypeCheckCode()
2166 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 __anon409da13d0111::Intrinsic
848 S += getParamType(I).builtin_str(); in getBuiltinTypeStr()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp100 QualType arg_qual_type(func_proto_type->getParamType(ArgIndex)); in AddFunDecl()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp212 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
224 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h509 CanQualType getParamType(unsigned i) const {
510 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDerivedTypes.h135 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } in getParamType() function
154 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp555 CodeCompleteConsumer::OverloadCandidate::getParamType(unsigned N) const { in getParamType() function in CodeCompleteConsumer::OverloadCandidate
579 return FPT->getParamType(N); in getParamType()
H A DSemaRISCVVectorLookup.cpp341 FP->getParamType(IParm), nullptr, SC_None, nullptr); in CreateRVVIntrinsicDecl()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp306 OverloadType = FT->getParamType(Prop->OverloadParamIndex - SkipedParam); in getOverloadTy()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DBodyFarm.cpp440 if (CallbackFunctionType->getParamType(ParamIdx - 2) in create_call_once()
450 if (!CallbackFunctionType->getParamType(ParamIdx - 2)->isReferenceType()) { in create_call_once()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMTypes.h170 Type getParamType(unsigned i);
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600OpenCLImageTypeLoweringPass.cpp266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.cpp255 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible()
350 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionTypeInternal()
H A DCGCall.cpp170 prefix.push_back(FPT->getParamType(I)); in appendParameterTypes()
1135 V->getType() != IRFuncTy->getParamType(IRCallArgPos)) in ExpandTypeToArgs()
1136 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs()
4902 IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() == in EmitCall()
4931 getParamType(FirstIRArg)->getPointerAddressSpace())) { in EmitCall()
5012 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall()
5013 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall()
5156 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1); in EmitCall()
5212 if (OrigFT->getParamType(i) != CalleeFT->getParamType(i)) in EmitCall()
5242 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(i)); in EmitCall()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp134 Type *ArgTy = FTy->getParamType(i); in lowerFormalArguments()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp496 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp1951 Type *Ty = FT->getParamType(i); in verifyFunctionAttrs()
2071 if (!FT->getParamType(ParamNo)->isIntegerTy()) { in verifyFunctionAttrs()
2302 Type *ParamType = TargetFuncType->getParamType(i); in verifyStatepoint()
2542 Check(Arg.getType() == FT->getParamType(i), in visitFunction()
2544 FT->getParamType(i)); in visitFunction()
2676 Check(FT->getParamType(0) == F.getReturnType(), in visitFunction()
2683 Check(isa<PointerType>(FT->getParamType(0)), in visitFunction()
3173 Check(Call.getArgOperand(i)->getType() == FTy->getParamType(i), in visitCallBase()
3175 Call.getArgOperand(i), FTy->getParamType(i), Call); in visitCallBase()
3193 Type *Ty = FTy->getParamType(i); in visitCallBase()
[all …]

1234