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

123

/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp842 if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy())
851 !FTy->getParamType(0)->isPointerTy() ||
852 !FTy->getParamType(1)->isIntegerTy())
865 !FTy->getParamType(1)->isPointerTy())
878 !FTy->getParamType(1)->isPointerTy())
886 !FTy->getParamType(0)->isPointerTy() ||
887 !FTy->getParamType(1)->isPointerTy())
902 !FTy->getParamType(0)->isPointerTy() ||
903 !FTy->getParamType(1)->isPointerTy())
912 if (FTy->getNumParams() != 2 || !FTy->getParamType(
[all...]
H A DMergeFunctions.cpp688 if (int Res = cmpType(FTyL->getParamType(i), FTyR->getParamType(i)))
1336 Args.push_back(createCast(Builder, (Value*)AI, FFTy->getParamType(i)));
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp185 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) ||
186 !FT->getParamType(0)->isPointerTy() ||
187 !FT->getParamType(1)->isPointerTy() ||
188 FT->getParamType(2) != DL->getIntPtrType(Context) ||
189 FT->getParamType(3) != DL->getIntPtrType(Context))
209 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) ||
210 !FT->getParamType(0)->isPointerTy() ||
211 !FT->getParamType(1)->isPointerTy() ||
212 FT->getParamType(2) != DL->getIntPtrType(Context) ||
213 FT->getParamType(
[all...]
H A DBuildLibCalls.cpp512 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) ||
513 !FT->getParamType(0)->isPointerTy() ||
514 !FT->getParamType(1)->isPointerTy() ||
515 FT->getParamType(2) != TD->getIntPtrType(Context) ||
516 FT->getParamType(3) != TD->getIntPtrType(Context))
535 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) ||
536 !FT->getParamType(0)->isPointerTy() ||
537 !FT->getParamType(1)->isPointerTy() ||
538 FT->getParamType(2) != TD->getIntPtrType(Context) ||
539 FT->getParamType(
[all...]
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp257 if (FTy->getParamType(0)->isIntegerTy(32) &&
258 FTy->getParamType(1)->isPointerTy() &&
259 FTy->getParamType(2)->isPointerTy()) {
272 if (FTy->getParamType(0)->isIntegerTy(32) &&
273 FTy->getParamType(1)->isPointerTy()) {
284 if (FTy->getParamType(0)->isIntegerTy(32)) {
290 if (FTy->getParamType(0)->isPointerTy()) {
357 Type *ArgTy = FTy->getParamType(i);
/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.cpp452 if (FTy->getParamType(0)->isIntegerTy(32) &&
453 FTy->getParamType(1)->isPointerTy() &&
454 FTy->getParamType(2)->isPointerTy()) {
467 if (FTy->getParamType(0)->isIntegerTy(32) &&
468 FTy->getParamType(1)->isPointerTy()) {
480 FTy->getParamType(0)->isIntegerTy(32)) {
/external/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp107 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID();
118 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID();
119 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID();
155 Type *ArgType = F.getFunctionType()->getParamType(0);
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp133 (FTy->getParamType(FstParam)->isIntegerTy(32) ||
134 FTy->getParamType(FstParam)->isIntegerTy(64))) &&
136 FTy->getParamType(SndParam)->isIntegerTy(32) ||
137 FTy->getParamType(SndParam)->isIntegerTy(64)))
349 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext()))
H A DBasicAliasAnalysis.cpp666 isa<PointerType>(MemsetType->getParamType(0)) &&
667 isa<PointerType>(MemsetType->getParamType(1)) &&
668 isa<IntegerType>(MemsetType->getParamType(2)))
/external/clang/utils/TableGen/
H A DNeonEmitter.cpp379 Type getParamType(unsigned I) const { return Types[I + 1]; } function in class:__anon18761::Intrinsic
399 Idx += std::max(1U, getParamType(I).getNumVectors());
1007 Type T = getParamType(I);
1243 if (getParamType(I).isPointer())
1350 ThisTy = getParamType(0);
1352 ThisTy = getParamType(1);
1876 ErrMsg += I->getParamType(A).str();
1885 if (I->getParamType(Arg) != Types[Arg]) {
2020 Ty = Def->getParamType(0);
2022 Ty = Def->getParamType(
[all...]
/external/clang/include/clang/AST/
H A DCanonicalType.h560 CanQualType getParamType(unsigned i) const { function in struct:clang::CanProxyAdaptor
561 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
/external/clang/lib/CodeGen/
H A DCodeGenTypes.cpp224 if (!isFuncParamTypeConvertible(FPT->getParamType(i)))
484 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>())
H A DCGCall.cpp98 prefix.push_back(FTP->getParamType(i));
235 argTypes.push_back(FTP->getParamType(i));
2517 assert(Elt->getType() == FTy->getParamType(ArgNo));
2574 V->getType() != IRFuncTy->getParamType(Args.size()))
2575 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(Args.size()));
2733 IRFuncTy->getParamType(IRArgNo)->getPointerAddressSpace() : 0);
2775 V->getType() != IRFuncTy->getParamType(IRArgNo))
2776 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRArgNo));
2873 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1);
2913 if (ActualFT->getParamType(
[all...]
H A DCGExprCXX.cpp1354 SizeTy = DeleteFTy->getParamType(1);
1360 QualType ArgTy = DeleteFTy->getParamType(0);
1494 QualType VoidPtrTy = DeleteFTy->getParamType(0);
1501 QualType size_t = DeleteFTy->getParamType(1);
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp201 Type *ArgTy = FTy->getParamType(ArgNo);
213 Type *ArgTy = FTy->getParamType(ArgNo);
/external/llvm/include/llvm/IR/
H A DDerivedTypes.h128 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } function in class:llvm::FunctionType
/external/llvm/lib/Target/R600/
H A DAMDGPUPromoteAlloca.cpp67 const Type *ParamTy = FTy->getParamType(i);
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp743 Target->getParamType(i), TargetLoc, Source->getParamType(i),
H A DSemaOverload.cpp2322 QualType FromArgType = FromFunctionType->getParamType(ArgIdx);
2323 QualType ToArgType = ToFunctionType->getParamType(ArgIdx);
2484 QualType FromArgType = FromFunctionType->getParamType(ArgIdx);
2485 QualType ToArgType = ToFunctionType->getParamType(ArgIdx);
2580 << ToFunction->getParamType(ArgPos)
2581 << FromFunction->getParamType(ArgPos);
2934 QualType FirstArg = CtorType->getParamType(0);
5505 QualType ArgType = Proto->getParamType(0).getNonReferenceType();
5514 QualType ArgType = Proto->getParamType(1).getNonReferenceType();
5650 QualType ParamType = Proto->getParamType(ArgId
[all...]
/external/llvm/lib/IR/
H A DFunction.cpp261 assert(!FT->getParamType(i)->isVoidTy() &&
263 ArgumentList.push_back(new Argument(FT->getParamType(i)));
H A DVerifier.cpp885 Ty = FT->getParamType(Idx-1);
1081 Assert2(I->getType() == FT->getParamType(i),
1083 I, FT->getParamType(i));
1545 Assert3(CS.getArgument(i)->getType() == FTy->getParamType(i),
1547 CS.getArgument(i), FTy->getParamType(i), I);
1666 isTypeCongruent(CallerTy->getParamType(I), CalleeTy->getParamType(I)),
2429 Assert1(!VerifyIntrinsicType(IFTy->getParamType(i), TableRef, ArgTys),
H A DAutoUpgrade.cpp36 Type *Arg0Type = F->getFunctionType()->getParamType(0);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp377 if (NumArgs >= 3 && FTy->getParamType(2) != PPInt8Ty)
379 if (NumArgs >= 2 && FTy->getParamType(1) != PPInt8Ty)
381 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32))
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1286 Type *ParamTy = FT->getParamType(i);
1379 Type *ParamTy = FT->getParamType(i);
1397 Args.push_back(Constant::getNullValue(FT->getParamType(i)));

Completed in 1017 milliseconds

123