Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp1017 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 …]
DMergeFunctions.cpp878 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/
DSimplifyLibCalls.cpp139 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/
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/llvm/lib/Analysis/
DMemoryLocation.cpp101 isa<PointerType>(MemsetType->getParamType(0)) && in isMemsetPattern16()
102 isa<PointerType>(MemsetType->getParamType(1)) && in isMemsetPattern16()
103 isa<IntegerType>(MemsetType->getParamType(2))) in isMemsetPattern16()
DMemoryBuiltins.cpp136 (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()
DBasicAliasAnalysis.cpp541 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/
DCheckSecuritySyntaxOnly.cpp319 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/
DMCJIT.cpp498 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/
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()
159 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
/external/clang/utils/TableGen/
DNeonEmitter.cpp390 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/
DExternalFunctions.cpp199 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke()
211 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.cpp288 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()
DVerifier.cpp1381 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()
DAutoUpgrade.cpp40 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradeSSE41Function()
55 Type *LastArgType = F->getFunctionType()->getParamType( in UpgradeX86IntrinsicsWith8BitMask()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp231 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible()
314 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionType()
DCGCall.cpp115 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()
DCGExprCXX.cpp1493 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/
DDerivedTypes.h131 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } in getParamType() function
/external/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLImageTypeLoweringPass.cpp266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
DAMDGPUPromoteAlloca.cpp66 Type *ParamTy = FTy->getParamType(i); in runOnFunction()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp442 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/
DSemaExceptionSpec.cpp790 Target->getParamType(i), TargetLoc, Source->getParamType(i), in CheckParamExceptionSpec()
DSemaAccess.cpp391 if (!MightInstantiateTo(S, ContextTy->getParamType(I), in MightInstantiateTo()
392 FriendTy->getParamType(I))) in MightInstantiateTo()

123