Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp850 if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy()) in inferPrototypeAttributes()
859 !FTy->getParamType(0)->isPointerTy() || in inferPrototypeAttributes()
860 !FTy->getParamType(1)->isIntegerTy()) in inferPrototypeAttributes()
873 !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes()
886 !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes()
894 !FTy->getParamType(0)->isPointerTy() || in inferPrototypeAttributes()
895 !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes()
910 !FTy->getParamType(0)->isPointerTy() || in inferPrototypeAttributes()
911 !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes()
920 if (FTy->getNumParams() != 2 || !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes()
[all …]
DMergeFunctions.cpp683 if (int Res = cmpTypes(FTyL->getParamType(i), FTyR->getParamType(i))) in cmpTypes()
1335 Args.push_back(createCast(Builder, (Value*)AI, FFTy->getParamType(i))); in writeThunk()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp132 if (FT->getReturnType() != FT->getParamType(0)) in checkStringCopyLibFuncSignature()
143 if (NumParams != 3 || FT->getParamType(0) != FT->getParamType(1) || in checkStringCopyLibFuncSignature()
144 FT->getParamType(0) != PCharTy || !FT->getParamType(2)->isIntegerTy()) in checkStringCopyLibFuncSignature()
153 if (NumParams != 2 || FT->getParamType(0) != FT->getParamType(1) || in checkStringCopyLibFuncSignature()
154 FT->getParamType(0) != PCharTy) in checkStringCopyLibFuncSignature()
163 if (NumParams != 3 || !FT->getParamType(0)->isPointerTy() || in checkStringCopyLibFuncSignature()
164 !FT->getParamType(1)->isPointerTy() || FT->getParamType(2) != SizeTTy) in checkStringCopyLibFuncSignature()
171 if (NumParams != 3 || !FT->getParamType(0)->isPointerTy() || in checkStringCopyLibFuncSignature()
172 !FT->getParamType(1)->isIntegerTy() || FT->getParamType(2) != SizeTTy) in checkStringCopyLibFuncSignature()
179 return FT->getParamType(FT->getNumParams() - 1) == SizeTTy; in checkStringCopyLibFuncSignature()
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp47 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
48 FTy->getParamType(1)->isPointerTy() && in runFunction()
49 FTy->getParamType(2)->isPointerTy()) { in runFunction()
62 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
63 FTy->getParamType(1)->isPointerTy()) { in runFunction()
74 if (FTy->getNumParams() == 1 && FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp320 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets()
356 if (!FPT->getParamType(0)->isIntegralOrUnscopedEnumerationType()) in checkCall_getpw()
360 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw()
400 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_mktemp()
572 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_strCommon()
601 const PointerType *PT = FTP->getParamType(0)->getAs<PointerType>(); in checkCall_rand()
723 if (!FTP->getParamType(i)->isIntegralOrUnscopedEnumerationType()) in checkUncheckedReturnValue()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp464 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
465 FTy->getParamType(1)->isPointerTy() && in runFunction()
466 FTy->getParamType(2)->isPointerTy()) { in runFunction()
479 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
480 FTy->getParamType(1)->isPointerTy()) { in runFunction()
492 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp120 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
131 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
132 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
168 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp133 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationData()
134 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationData()
136 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationData()
137 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationData()
336 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext())) in isFreeCall()
DBasicAliasAnalysis.cpp661 isa<PointerType>(MemsetType->getParamType(0)) && in isMemsetPattern16()
662 isa<PointerType>(MemsetType->getParamType(1)) && in isMemsetPattern16()
663 isa<IntegerType>(MemsetType->getParamType(2))) in isMemsetPattern16()
/external/clang/utils/TableGen/
DNeonEmitter.cpp379 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anon985e31310111::Intrinsic
399 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx()
1007 Type T = getParamType(I); in getBuiltinTypeStr()
1243 if (getParamType(I).isPointer()) in emitShadowedArgs()
1350 ThisTy = getParamType(0); in emitBodyAsBuiltinCall()
1352 ThisTy = getParamType(1); in emitBodyAsBuiltinCall()
1868 ErrMsg += I->getParamType(A).str(); in getIntrinsic()
1877 if (I->getParamType(Arg) != Types[Arg]) { in getIntrinsic()
2013 Ty = Def->getParamType(0); in genOverloadTypeCheckCode()
2015 Ty = Def->getParamType(1); in genOverloadTypeCheckCode()
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp201 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
213 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
/external/clang/include/clang/AST/
DCanonicalType.h487 CanQualType getParamType(unsigned i) const {
488 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/external/llvm/lib/IR/
DFunction.cpp282 assert(!FT->getParamType(i)->isVoidTy() && in BuildLazyArguments()
284 ArgumentList.push_back(new Argument(FT->getParamType(i))); in BuildLazyArguments()
489 Result += getMangledTypeStr(FT->getParamType(i)); in getMangledTypeStr()
DAutoUpgrade.cpp39 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradeSSE41Function()
54 Type *LastArgType = F->getFunctionType()->getParamType( in UpgradeX86IntrinsicsWith8BitMask()
70 Type *LastArgType = F->getFunctionType()->getParamType(2); in UpgradeAVX512CmpIntrinsic()
DVerifier.cpp1391 Ty = FT->getParamType(Idx-1); in VerifyFunctionAttrs()
1538 Type *ParamType = TargetFuncType->getParamType(i); in VerifyStatepoint()
1662 Assert(I->getType() == FT->getParamType(i), in visitFunction()
1664 FT->getParamType(i)); in visitFunction()
2135 Assert(CS.getArgument(i)->getType() == FTy->getParamType(i), in VerifyCallSite()
2137 CS.getArgument(i), FTy->getParamType(i), I); in VerifyCallSite()
2256 isTypeCongruent(CallerTy->getParamType(I), CalleeTy->getParamType(I)), in verifyMustTailCall()
3093 Assert(!VerifyIntrinsicType(IFTy->getParamType(i), TableRef, ArgTys), in visitIntrinsicFunctionCall()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp230 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible()
491 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertType()
DCGCall.cpp818 V->getType() != IRFuncTy->getParamType(IRCallArgPos)) in ExpandTypeToArgs()
819 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs()
3150 ? IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() in EmitCall()
3194 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall()
3195 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall()
3281 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1); in EmitCall()
3322 if (ActualFT->getParamType(i) != CurFT->getParamType(i)) { in EmitCall()
3342 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(i)); in EmitCall()
DCGExprCXX.cpp1387 SizeTy = DeleteFTy->getParamType(1); in EmitDeleteCall()
1393 QualType ArgTy = DeleteFTy->getParamType(0); in EmitDeleteCall()
1514 QualType VoidPtrTy = DeleteFTy->getParamType(0); in Emit()
1521 QualType size_t = DeleteFTy->getParamType(1); in Emit()
/external/llvm/include/llvm/IR/
DDerivedTypes.h131 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } in getParamType() function
/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp66 const Type *ParamTy = FTy->getParamType(i); in runOnFunction()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp419 if (NumArgs >= 3 && FTy->getParamType(2) != PPInt8Ty) in runFunctionAsMain()
421 if (NumArgs >= 2 && FTy->getParamType(1) != PPInt8Ty) in runFunctionAsMain()
423 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp765 Target->getParamType(i), TargetLoc, Source->getParamType(i), in CheckParamExceptionSpec()
DSemaOverload.cpp2293 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in isObjCPointerConversion()
2294 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in isObjCPointerConversion()
2455 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion()
2456 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion()
2551 << ToFunction->getParamType(ArgPos) in HandleFunctionTypeMismatch()
2552 << FromFunction->getParamType(ArgPos); in HandleFunctionTypeMismatch()
2905 QualType FirstArg = CtorType->getParamType(0); in isFirstArgumentCompatibleWithType()
5559 QualType ArgType = Proto->getParamType(0).getNonReferenceType(); in IsAcceptableNonMemberOperatorCandidate()
5568 QualType ArgType = Proto->getParamType(1).getNonReferenceType(); in IsAcceptableNonMemberOperatorCandidate()
5712 QualType ParamType = Proto->getParamType(ArgIdx); in AddOverloadCandidate()
[all …]
DSemaAccess.cpp386 if (!MightInstantiateTo(S, ContextTy->getParamType(I), in MightInstantiateTo()
387 FriendTy->getParamType(I))) in MightInstantiateTo()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1536 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall()
1629 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall()
1647 Args.push_back(Constant::getNullValue(FT->getParamType(i))); in transformConstExprCastCall()

123