/external/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 850 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 …]
|
D | MergeFunctions.cpp | 683 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/ |
D | SimplifyLibCalls.cpp | 132 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/ |
D | OrcMCJITReplacement.cpp | 47 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/ |
D | CheckSecuritySyntaxOnly.cpp | 320 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/ |
D | MCJIT.cpp | 464 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/ |
D | Mips16HardFloat.cpp | 120 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/ |
D | MemoryBuiltins.cpp | 133 (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()
|
D | BasicAliasAnalysis.cpp | 661 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/ |
D | NeonEmitter.cpp | 379 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/ |
D | ExternalFunctions.cpp | 201 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() 213 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
|
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 487 CanQualType getParamType(unsigned i) const { 488 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
|
/external/llvm/lib/IR/ |
D | Function.cpp | 282 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()
|
D | AutoUpgrade.cpp | 39 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()
|
D | Verifier.cpp | 1391 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/ |
D | CodeGenTypes.cpp | 230 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible() 491 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertType()
|
D | CGCall.cpp | 818 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()
|
D | CGExprCXX.cpp | 1387 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/ |
D | DerivedTypes.h | 131 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } in getParamType() function
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUPromoteAlloca.cpp | 66 const Type *ParamTy = FTy->getParamType(i); in runOnFunction()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 419 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/ |
D | SemaExceptionSpec.cpp | 765 Target->getParamType(i), TargetLoc, Source->getParamType(i), in CheckParamExceptionSpec()
|
D | SemaOverload.cpp | 2293 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 …]
|
D | SemaAccess.cpp | 386 if (!MightInstantiateTo(S, ContextTy->getParamType(I), in MightInstantiateTo() 387 FriendTy->getParamType(I))) in MightInstantiateTo()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1536 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()
|