Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp530 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
531 FTy->getParamType(1)->isPointerTy() && in runFunction()
532 FTy->getParamType(2)->isPointerTy()) { in runFunction()
545 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
546 FTy->getParamType(1)->isPointerTy()) { in runFunction()
558 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp515 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
538 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc()
595 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype()
611 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc()
626 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc()
671 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy()) in checkAsyncContextProjectFunction()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp1077 !FTy.getParamType(0)->isIntegerTy(SizeTSizeBits)) { in isValidProtoForSizeReturningNew()
1083 !FTy.getParamType(0)->isIntegerTy(SizeTSizeBits) || in isValidProtoForSizeReturningNew()
1084 !FTy.getParamType(1)->isIntegerTy(8)) { in isValidProtoForSizeReturningNew()
1090 !FTy.getParamType(0)->isIntegerTy(SizeTSizeBits) || in isValidProtoForSizeReturningNew()
1091 !FTy.getParamType(1)->isIntegerTy(SizeTSizeBits)) { in isValidProtoForSizeReturningNew()
1097 !FTy.getParamType(0)->isIntegerTy(SizeTSizeBits) || in isValidProtoForSizeReturningNew()
1098 !FTy.getParamType(1)->isIntegerTy(SizeTSizeBits) || in isValidProtoForSizeReturningNew()
1099 !FTy.getParamType(2)->isIntegerTy(8)) { in isValidProtoForSizeReturningNew()
1128 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc()
1136 return ParamTy == RetTy && FTy.getParamType(1) == RetTy; in isValidProtoForLibFunc()
[all …]
H A DMemoryBuiltins.cpp209 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationDataForFunction()
210 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationDataForFunction()
212 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationDataForFunction()
213 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationDataForFunction()
542 if (!FTy->getParamType(0)->isPointerTy()) in isLibFreeFunction()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DLowLevelHelpers.cpp79 ParamType = FProto->getParamType(ParamIndex); in matchEachArgumentWithParamTypeImpl()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp422 Type ContextType = getParamType(TypeArgIdx); in Intrinsic()
466 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anonfaf0748f0111::Intrinsic
484 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx()
1086 Type T = getParamType(I); in getBuiltinTypeStr()
1326 if (getParamType(I).isImmediate()) in emitShadowedArgs()
1330 if (getParamType(I).isPointer()) in emitShadowedArgs()
1982 ErrMsg += I.getParamType(A).str(); in getIntrinsic()
1994 return Type == I.getParamType(ArgNum++); in getIntrinsic()
2181 const auto &Type = Def->getParamType(I); in genOverloadTypeCheckCode()
/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/Target/AMDGPU/
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()
1052 Type *FuncArgTy = FuncTy->getParamType(I); in isCompatibleSignature()
1053 Type *CallArgTy = CallTy->getParamType(I); in isCompatibleSignature()
H A DR600OpenCLImageTypeLoweringPass.cpp266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp215 canonicalizeThunkType(FT->getParamType(I), ParamAlign, in getThunkArgTypes()
273 Arm64ArgTypes.push_back(FT->getParamType(0)); in getThunkRetType()
274 X64ArgTypes.push_back(FT->getParamType(0)); in getThunkRetType()
535 Type *ArgTy = Arm64Ty->getParamType(i); in buildEntryThunk()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DNVPTX.cpp404 auto *PTy = FTy->getParamType(i); in MakeHalfType()
801 llvm::Type *ParamType = Intrinsic->getFunctionType()->getParamType(1); in EmitNVPTXBuiltinExpr()
873 llvm::Type *AType = Intrinsic->getFunctionType()->getParamType(0); in EmitNVPTXBuiltinExpr()
884 llvm::Type *BType = Intrinsic->getFunctionType()->getParamType(MI.NumEltsA); in EmitNVPTXBuiltinExpr()
895 Intrinsic->getFunctionType()->getParamType(MI.NumEltsA + MI.NumEltsB); in EmitNVPTXBuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVFABIDemangler.cpp333 Type *PTy = Signature->getParamType(Param.ParamPos); in getScalableECFromSignature()
570 Type *OperandTy = ScalarFTy->getParamType(ScalarParamIndex++); in createFunctionType()
/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/clang/include/clang/Sema/
H A DAttr.h85 return cast<FunctionProtoType>(FnTy)->getParamType(Idx); in getFunctionOrMethodParamType()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFunction.h226 PrimType getParamType(unsigned ParamIndex) const { in getParamType() function
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h512 CanQualType getParamType(unsigned i) const {
513 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMergeFunctions.cpp265 Builder.CreateAggregateCast(&AI, ToFuncTy->getParamType(ParamIdx))); in createThunk()
273 Builder.CreateAggregateCast(Param, ToFuncTy->getParamType(ParamIdx))); in createThunk()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h137 Type *getParamType(unsigned i) const { in getParamType() function
159 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp557 CodeCompleteConsumer::OverloadCandidate::getParamType(unsigned N) const { in getParamType() function in CodeCompleteConsumer::OverloadCandidate
581 return FPT->getParamType(N); in getParamType()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILIntrinsicExpansion.cpp93 F.getParent(), F.getFunctionType()->getParamType(3), /*IsRaw*/ true); in isIntrinsicExpansion()
96 F.getParent(), F.getFunctionType()->getParamType(2), /*IsRaw*/ false); in isIntrinsicExpansion()
674 Type *BufferTy = Orig->getFunctionType()->getParamType(ValIndex); in expandBufferStoreIntrinsic()
/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/Targets/
H A DAMDGPU.cpp622 ArgTys.push_back(InvokeFT->getParamType(I)); in createEnqueuedBlockKernel()
657 auto *Cast = Builder.CreatePointerCast(BlockPtr, InvokeFT->getParamType(0)); in createEnqueuedBlockKernel()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp223 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible()
317 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionTypeInternal()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp437 if (NumArgs >= 3 && FTy->getParamType(2) != PPInt8Ty) in runFunctionAsMain()
439 if (NumArgs >= 2 && FTy->getParamType(1) != PPInt8Ty) in runFunctionAsMain()
441 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()

1234