Searched refs:getParamType (Results 1 - 25 of 64) sorted by relevance

123

/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp1017 if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy())
1025 if (FTy->getNumParams() != 2 || !FTy->getParamType(0)->isPointerTy() ||
1026 !FTy->getParamType(1)->isIntegerTy())
1038 if (FTy->getNumParams() < 2 || !FTy->getParamType(1)->isPointerTy())
1050 if (FTy->getNumParams() < 2 || !FTy->getParamType(1)->isPointerTy())
1057 if (FTy->getNumParams() != 3 || !FTy->getParamType(0)->isPointerTy() ||
1058 !FTy->getParamType(1)->isPointerTy())
1072 if (FTy->getNumParams() < 2 || !FTy->getParamType(0)->isPointerTy() ||
1073 !FTy->getParamType(1)->isPointerTy())
1082 if (FTy->getNumParams() != 2 || !FTy->getParamType(
[all...]
H A DMergeFunctions.cpp878 if (int Res = cmpTypes(FTyL->getParamType(i), FTyR->getParamType(i)))
1697 Args.push_back(createCast(Builder, &AI, FFTy->getParamType(i)));
/external/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.cpp47 if (FTy->getParamType(0)->isIntegerTy(32) &&
48 FTy->getParamType(1)->isPointerTy() &&
49 FTy->getParamType(2)->isPointerTy()) {
62 if (FTy->getParamType(0)->isIntegerTy(32) &&
63 FTy->getParamType(1)->isPointerTy()) {
74 if (FTy->getNumParams() == 1 && FTy->getParamType(0)->isIntegerTy(32)) {
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp139 if (FT->getReturnType() != FT->getParamType(0))
150 if (NumParams != 3 || FT->getParamType(0) != FT->getParamType(1) ||
151 FT->getParamType(0) != PCharTy || !FT->getParamType(2)->isIntegerTy())
160 if (NumParams != 2 || FT->getParamType(0) != FT->getParamType(1) ||
161 FT->getParamType(0) != PCharTy)
170 if (NumParams != 3 || !FT->getParamType(0)->isPointerTy() ||
171 !FT->getParamType(
[all...]
/external/llvm/lib/Analysis/
H A DMemoryLocation.cpp101 isa<PointerType>(MemsetType->getParamType(0)) &&
102 isa<PointerType>(MemsetType->getParamType(1)) &&
103 isa<IntegerType>(MemsetType->getParamType(2)))
H A DMemoryBuiltins.cpp136 (FTy->getParamType(FstParam)->isIntegerTy(32) ||
137 FTy->getParamType(FstParam)->isIntegerTy(64))) &&
139 FTy->getParamType(SndParam)->isIntegerTy(32) ||
140 FTy->getParamType(SndParam)->isIntegerTy(64)))
351 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext()))
H A DBasicAliasAnalysis.cpp541 isa<PointerType>(MemsetType->getParamType(0)) &&
542 isa<PointerType>(MemsetType->getParamType(1)) &&
543 isa<IntegerType>(MemsetType->getParamType(2)))
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp319 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>();
355 if (!FPT->getParamType(0)->isIntegralOrUnscopedEnumerationType())
359 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>();
399 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>();
571 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>();
600 const PointerType *PT = FTP->getParamType(0)->getAs<PointerType>();
722 if (!FTP->getParamType(i)->isIntegralOrUnscopedEnumerationType())
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp498 if (FTy->getParamType(0)->isIntegerTy(32) &&
499 FTy->getParamType(1)->isPointerTy() &&
500 FTy->getParamType(2)->isPointerTy()) {
513 if (FTy->getParamType(0)->isIntegerTy(32) &&
514 FTy->getParamType(1)->isPointerTy()) {
526 FTy->getParamType(0)->isIntegerTy(32)) {
/external/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp111 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID();
122 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID();
123 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID();
159 Type *ArgType = F.getFunctionType()->getParamType(0);
/external/clang/utils/TableGen/
H A DNeonEmitter.cpp390 Type getParamType(unsigned I) const { return Types[I + 1]; } function in class:__anon3268::Intrinsic
410 Idx += std::max(1U, getParamType(I).getNumVectors());
1026 Type T = getParamType(I);
1261 if (getParamType(I).isPointer())
1368 ThisTy = getParamType(0);
1370 ThisTy = getParamType(1);
1883 ErrMsg += I.getParamType(A).str();
1892 if (I.getParamType(Arg) != Types[Arg]) {
2027 Ty = Def->getParamType(0);
2029 Ty = Def->getParamType(
[all...]
/external/clang/include/clang/AST/
H A DCanonicalType.h487 CanQualType getParamType(unsigned i) const { function in struct:clang::CanProxyAdaptor
488 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/external/clang/lib/CodeGen/
H A DCodeGenTypes.cpp231 if (!isFuncParamTypeConvertible(FPT->getParamType(i)))
314 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>())
H A DCGCall.cpp115 prefix.push_back(FPT->getParamType(I));
857 V->getType() != IRFuncTy->getParamType(IRCallArgPos))
858 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos));
3302 ? IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace()
3346 V->getType() != IRFuncTy->getParamType(FirstIRArg))
3347 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg));
3427 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1);
3468 if (ActualFT->getParamType(i) != CurFT->getParamType(i)) {
3488 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(
[all...]
H A DCGExprCXX.cpp1493 SizeTy = DeleteFTy->getParamType(1);
1499 QualType ArgTy = DeleteFTy->getParamType(0);
1615 QualType VoidPtrTy = DeleteFTy->getParamType(0);
1622 QualType size_t = DeleteFTy->getParamType(1);
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp199 Type *ArgTy = FTy->getParamType(ArgNo);
211 Type *ArgTy = FTy->getParamType(ArgNo);
/external/llvm/include/llvm/IR/
H A DDerivedTypes.h131 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } function in class:llvm::FunctionType
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUOpenCLImageTypeLoweringPass.cpp266 ArgTypes.push_back(FT->getParamType(i));
H A DAMDGPUPromoteAlloca.cpp66 Type *ParamTy = FTy->getParamType(i);
/external/llvm/lib/IR/
H A DFunction.cpp288 assert(!FT->getParamType(i)->isVoidTy() &&
290 ArgumentList.push_back(new Argument(FT->getParamType(i)));
484 Result += getMangledTypeStr(FT->getParamType(i));
H A DVerifier.cpp1381 Ty = FT->getParamType(Idx-1);
1617 Type *ParamType = TargetFuncType->getParamType(i);
1756 Assert(I->getType() == FT->getParamType(i),
1758 FT->getParamType(i));
2320 Assert(CS.getArgument(i)->getType() == FTy->getParamType(i),
2322 CS.getArgument(i), FTy->getParamType(i), I);
2469 isTypeCongruent(CallerTy->getParamType(I), CalleeTy->getParamType(I)),
3472 Assert(!VerifyIntrinsicType(IFTy->getParamType(i), TableRef, ArgTys),
H A DAutoUpgrade.cpp40 Type *Arg0Type = F->getFunctionType()->getParamType(0);
55 Type *LastArgType = F->getFunctionType()->getParamType(
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp790 Target->getParamType(i), TargetLoc, Source->getParamType(i),
H A DSemaOverload.cpp2335 QualType FromArgType = FromFunctionType->getParamType(ArgIdx);
2336 QualType ToArgType = ToFunctionType->getParamType(ArgIdx);
2497 QualType FromArgType = FromFunctionType->getParamType(ArgIdx);
2498 QualType ToArgType = ToFunctionType->getParamType(ArgIdx);
2605 << ToFunction->getParamType(ArgPos)
2606 << FromFunction->getParamType(ArgPos);
2967 QualType FirstArg = CtorType->getParamType(0);
5621 QualType ArgType = Proto->getParamType(0).getNonReferenceType();
5630 QualType ArgType = Proto->getParamType(1).getNonReferenceType();
5774 QualType ParamType = Proto->getParamType(ArgId
[all...]
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp442 if (NumArgs >= 3 && FTy->getParamType(2) != PPInt8Ty)
444 if (NumArgs >= 2 && FTy->getParamType(1) != PPInt8Ty)
446 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32))

Completed in 477 milliseconds

123