/external/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 1017 if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy()) in inferPrototypeAttributes() 1025 if (FTy->getNumParams() != 2 || !FTy->getParamType(0)->isPointerTy() || in inferPrototypeAttributes() 1026 !FTy->getParamType(1)->isIntegerTy()) in inferPrototypeAttributes() 1038 if (FTy->getNumParams() < 2 || !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes() 1050 if (FTy->getNumParams() < 2 || !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes() 1057 if (FTy->getNumParams() != 3 || !FTy->getParamType(0)->isPointerTy() || in inferPrototypeAttributes() 1058 !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes() 1072 if (FTy->getNumParams() < 2 || !FTy->getParamType(0)->isPointerTy() || in inferPrototypeAttributes() 1073 !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes() 1082 if (FTy->getNumParams() != 2 || !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes() [all …]
|
D | MergeFunctions.cpp | 878 if (int Res = cmpTypes(FTyL->getParamType(i), FTyR->getParamType(i))) in cmpTypes() 1697 Args.push_back(createCast(Builder, &AI, FFTy->getParamType(i))); in writeThunk()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 139 if (FT->getReturnType() != FT->getParamType(0)) in checkStringCopyLibFuncSignature() 150 if (NumParams != 3 || FT->getParamType(0) != FT->getParamType(1) || in checkStringCopyLibFuncSignature() 151 FT->getParamType(0) != PCharTy || !FT->getParamType(2)->isIntegerTy()) in checkStringCopyLibFuncSignature() 160 if (NumParams != 2 || FT->getParamType(0) != FT->getParamType(1) || in checkStringCopyLibFuncSignature() 161 FT->getParamType(0) != PCharTy) in checkStringCopyLibFuncSignature() 170 if (NumParams != 3 || !FT->getParamType(0)->isPointerTy() || in checkStringCopyLibFuncSignature() 171 !FT->getParamType(1)->isPointerTy() || FT->getParamType(2) != SizeTTy) in checkStringCopyLibFuncSignature() 178 if (NumParams != 3 || !FT->getParamType(0)->isPointerTy() || in checkStringCopyLibFuncSignature() 179 !FT->getParamType(1)->isIntegerTy() || FT->getParamType(2) != SizeTTy) in checkStringCopyLibFuncSignature() 186 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/llvm/lib/Analysis/ |
D | MemoryLocation.cpp | 101 isa<PointerType>(MemsetType->getParamType(0)) && in isMemsetPattern16() 102 isa<PointerType>(MemsetType->getParamType(1)) && in isMemsetPattern16() 103 isa<IntegerType>(MemsetType->getParamType(2))) in isMemsetPattern16()
|
D | MemoryBuiltins.cpp | 136 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationData() 137 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationData() 139 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationData() 140 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationData() 351 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext())) in isFreeCall()
|
D | BasicAliasAnalysis.cpp | 541 isa<PointerType>(MemsetType->getParamType(0)) && in isMemsetPattern16() 542 isa<PointerType>(MemsetType->getParamType(1)) && in isMemsetPattern16() 543 isa<IntegerType>(MemsetType->getParamType(2))) in isMemsetPattern16()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSecuritySyntaxOnly.cpp | 319 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets() 355 if (!FPT->getParamType(0)->isIntegralOrUnscopedEnumerationType()) in checkCall_getpw() 359 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw() 399 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_mktemp() 571 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_strCommon() 600 const PointerType *PT = FTP->getParamType(0)->getAs<PointerType>(); in checkCall_rand() 722 if (!FTP->getParamType(i)->isIntegralOrUnscopedEnumerationType()) in checkUncheckedReturnValue()
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 498 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 499 FTy->getParamType(1)->isPointerTy() && in runFunction() 500 FTy->getParamType(2)->isPointerTy()) { in runFunction() 513 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 514 FTy->getParamType(1)->isPointerTy()) { in runFunction() 526 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/lib/Target/Mips/ |
D | Mips16HardFloat.cpp | 111 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() 159 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 390 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anonb7c1857d0111::Intrinsic 410 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx() 1026 Type T = getParamType(I); in getBuiltinTypeStr() 1261 if (getParamType(I).isPointer()) in emitShadowedArgs() 1368 ThisTy = getParamType(0); in emitBodyAsBuiltinCall() 1370 ThisTy = getParamType(1); in emitBodyAsBuiltinCall() 1883 ErrMsg += I.getParamType(A).str(); in getIntrinsic() 1892 if (I.getParamType(Arg) != Types[Arg]) { in getIntrinsic() 2027 Ty = Def->getParamType(0); in genOverloadTypeCheckCode() 2029 Ty = Def->getParamType(1); in genOverloadTypeCheckCode() [all …]
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 199 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() 211 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 | 288 assert(!FT->getParamType(i)->isVoidTy() && in BuildLazyArguments() 290 ArgumentList.push_back(new Argument(FT->getParamType(i))); in BuildLazyArguments() 484 Result += getMangledTypeStr(FT->getParamType(i)); in getMangledTypeStr()
|
D | Verifier.cpp | 1381 Ty = FT->getParamType(Idx-1); in VerifyFunctionAttrs() 1617 Type *ParamType = TargetFuncType->getParamType(i); in VerifyStatepoint() 1756 Assert(I->getType() == FT->getParamType(i), in visitFunction() 1758 FT->getParamType(i)); in visitFunction() 2320 Assert(CS.getArgument(i)->getType() == FTy->getParamType(i), in VerifyCallSite() 2322 CS.getArgument(i), FTy->getParamType(i), I); in VerifyCallSite() 2469 isTypeCongruent(CallerTy->getParamType(I), CalleeTy->getParamType(I)), in verifyMustTailCall() 3472 Assert(!VerifyIntrinsicType(IFTy->getParamType(i), TableRef, ArgTys), in visitIntrinsicCallSite()
|
D | AutoUpgrade.cpp | 40 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradeSSE41Function() 55 Type *LastArgType = F->getFunctionType()->getParamType( in UpgradeX86IntrinsicsWith8BitMask()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 231 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible() 314 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionType()
|
D | CGCall.cpp | 115 prefix.push_back(FPT->getParamType(I)); in appendParameterTypes() 857 V->getType() != IRFuncTy->getParamType(IRCallArgPos)) in ExpandTypeToArgs() 858 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs() 3302 ? IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() in EmitCall() 3346 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall() 3347 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall() 3427 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1); in EmitCall() 3468 if (ActualFT->getParamType(i) != CurFT->getParamType(i)) { in EmitCall() 3488 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(i)); in EmitCall()
|
D | CGExprCXX.cpp | 1493 SizeTy = DeleteFTy->getParamType(1); in EmitDeleteCall() 1499 QualType ArgTy = DeleteFTy->getParamType(0); in EmitDeleteCall() 1615 QualType VoidPtrTy = DeleteFTy->getParamType(0); in Emit() 1622 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/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
|
D | AMDGPUPromoteAlloca.cpp | 66 Type *ParamTy = FTy->getParamType(i); in runOnFunction()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 442 if (NumArgs >= 3 && FTy->getParamType(2) != PPInt8Ty) in runFunctionAsMain() 444 if (NumArgs >= 2 && FTy->getParamType(1) != PPInt8Ty) in runFunctionAsMain() 446 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
|
/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 790 Target->getParamType(i), TargetLoc, Source->getParamType(i), in CheckParamExceptionSpec()
|
D | SemaAccess.cpp | 391 if (!MightInstantiateTo(S, ContextTy->getParamType(I), in MightInstantiateTo() 392 FriendTy->getParamType(I))) in MightInstantiateTo()
|