Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp463 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
486 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc()
543 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype()
559 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc()
574 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc()
635 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy() || in checkAsyncContextProjectFunction()
636 !cast<PointerType>(FunTy->getParamType(0)) in checkAsyncContextProjectFunction()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DNeonEmitter.cpp436 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anoncfaa73c60111::Intrinsic
454 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx()
1024 Type T = getParamType(I); in getBuiltinTypeStr()
1267 if (getParamType(I).isImmediate()) in emitShadowedArgs()
1271 if (getParamType(I).isPointer()) in emitShadowedArgs()
1923 ErrMsg += I.getParamType(A).str(); in getIntrinsic()
1935 return Type == I.getParamType(ArgNum++); in getIntrinsic()
2076 const auto &Type = Def->getParamType(I); in genOverloadTypeCheckCode()
2184 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 __anon5066fa640111::Intrinsic
848 S += getParamType(I).builtin_str(); in getBuiltinTypeStr()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp197 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationDataForFunction()
198 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationDataForFunction()
200 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationDataForFunction()
201 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationDataForFunction()
540 if (!FTy->getParamType(0)->isPointerTy()) in isLibFreeFunction()
H A DTargetLibraryInfo.cpp1010 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc()
1018 return ParamTy == RetTy && FTy.getParamType(1) == RetTy; in isValidProtoForLibFunc()
1030 Type *ParamTy = FTy.getParamType(0); in isValidProtoForLibFunc()
1092 Ty = FTy.getParamType(Idx++); in isValidProtoForLibFunc()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp98 QualType arg_qual_type(func_proto_type->getParamType(ArgIndex)); in AddFunDecl()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp222 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
234 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DCanonicalType.h508 CanQualType getParamType(unsigned i) const {
509 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.cpp386 FP->getParamType(IParm), nullptr, SC_None, nullptr); in CreateRVVIntrinsicDecl()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp306 OverloadType = FT->getParamType(Prop->OverloadParamIndex - SkipedParam); in getOverloadTy()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600OpenCLImageTypeLoweringPass.cpp266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.cpp171 prefix.push_back(FPT->getParamType(I)); in appendParameterTypes()
1141 V->getType() != IRFuncTy->getParamType(IRCallArgPos)) in ExpandTypeToArgs()
1142 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs()
4959 IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() == in EmitCall()
4988 getParamType(FirstIRArg)->getPointerAddressSpace())) { in EmitCall()
5076 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall()
5077 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall()
5228 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1); in EmitCall()
5284 if (OrigFT->getParamType(i) != CalleeFT->getParamType(i)) in EmitCall()
5314 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(i)); in EmitCall()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp508 Type *FormalTy = CalleeType->getParamType(ArgNo); in promoteCall()
H A DFunctionComparator.cpp497 if (int Res = cmpTypes(FTyL->getParamType(i), FTyR->getParamType(i))) in cmpTypes()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DVerifier.cpp1985 Type *Ty = FT->getParamType(i); in verifyFunctionAttrs()
2099 if (!FT->getParamType(ParamNo)->isIntegerTy()) { in verifyFunctionAttrs()
2344 Type *ParamType = TargetFuncType->getParamType(i); in verifyStatepoint()
2584 Check(Arg.getType() == FT->getParamType(i), in visitFunction()
2586 FT->getParamType(i)); in visitFunction()
2725 Check(FT->getParamType(0) == F.getReturnType(), in visitFunction()
2732 Check(isa<PointerType>(FT->getParamType(0)), in visitFunction()
3224 Check(Call.getArgOperand(i)->getType() == FTy->getParamType(i), in visitCallBase()
3226 Call.getArgOperand(i), FTy->getParamType(i), Call); in visitCallBase()
3252 Type *Ty = FTy->getParamType(i); in visitCallBase()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp198 Type *OriginalArgType = getOriginalFunctionType(F)->getParamType(ArgIdx); in getArgType()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h1136 QualType getParamType(unsigned N) const;

1234