Home
last modified time | relevance | path

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

123456789

/external/llvm-project/llvm/lib/Analysis/
DTargetLibraryInfo.cpp651 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
652 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc()
656 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
657 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc()
662 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
663 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc()
664 FTy.getParamType(2)->isPointerTy() && in isValidProtoForLibFunc()
668 if (!IsSizeTTy(FTy.getParamType(NumParams))) in isValidProtoForLibFunc()
672 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
678 FTy.getParamType(0) == FTy.getReturnType() && in isValidProtoForLibFunc()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetLibraryInfo.cpp650 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
651 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc()
655 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
656 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc()
661 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
662 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc()
663 FTy.getParamType(2)->isPointerTy() && in isValidProtoForLibFunc()
666 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
672 FTy.getParamType(0) == FTy.getReturnType() && in isValidProtoForLibFunc()
673 FTy.getParamType(1)->isIntegerTy()); in isValidProtoForLibFunc()
[all …]
/external/llvm/lib/Analysis/
DTargetLibraryInfo.cpp503 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
509 FTy.getParamType(0) == FTy.getReturnType() && in isValidProtoForLibFunc()
510 FTy.getParamType(1)->isIntegerTy()); in isValidProtoForLibFunc()
520 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
521 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
524 FTy.getParamType(0) == FTy.getReturnType() && in isValidProtoForLibFunc()
525 FTy.getParamType(1) == FTy.getReturnType()); in isValidProtoForLibFunc()
529 FTy.getParamType(0) == FTy.getReturnType() && in isValidProtoForLibFunc()
530 FTy.getParamType(1) == FTy.getReturnType() && in isValidProtoForLibFunc()
531 FTy.getParamType(2)->isIntegerTy()); in isValidProtoForLibFunc()
[all …]
DMemoryBuiltins.cpp158 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationData()
159 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationData()
161 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationData()
162 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationData()
358 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext())) in isFreeCall()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp46 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
47 FTy->getParamType(1)->isPointerTy() && in runFunction()
48 FTy->getParamType(2)->isPointerTy()) { in runFunction()
61 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
62 FTy->getParamType(1)->isPointerTy()) { in runFunction()
73 if (FTy->getNumParams() == 1 && FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp363 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcmp()
372 if (!FPT->getParamType(2)->isIntegralOrUnscopedEnumerationType()) in checkCall_bcmp()
405 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcopy()
414 if (!FPT->getParamType(2)->isIntegralOrUnscopedEnumerationType()) in checkCall_bcopy()
447 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_bzero()
455 if (!FPT->getParamType(1)->isIntegralOrUnscopedEnumerationType()) in checkCall_bzero()
489 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets()
525 if (!FPT->getParamType(0)->isIntegralOrUnscopedEnumerationType()) in checkCall_getpw()
529 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw()
569 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_mktemp()
[all …]
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp536 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
559 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc()
616 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype()
632 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc()
647 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc()
704 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy() || in checkAsyncContextProjectFunction()
705 !FunTy->getParamType(0)->getPointerElementType()->isIntegerTy(8)) in checkAsyncContextProjectFunction()
/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/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DMethodsResolutionWithJavassistTest.java50 …"com.github.javaparser.ast.visitor.GenericVisitor<R, A>", methodUsage1.getParamType(0).describe()); in testOverloadedMethods()
54 …assertEquals("com.github.javaparser.ast.visitor.VoidVisitor<A>", methodUsage2.getParamType(0).desc… in testOverloadedMethods()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp513 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
514 FTy->getParamType(1)->isPointerTy() && in runFunction()
515 FTy->getParamType(2)->isPointerTy()) { in runFunction()
528 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
529 FTy->getParamType(1)->isPointerTy()) { in runFunction()
541 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_LambdaExprContext.txt26 …Line 91) inferenceContext.resolve(inferenceContext.addSingle(functionalMethod.getParamType(lambdaP…
27 …Line 91) inferenceContext.addSingle(functionalMethod.getParamType(lambdaParamIndex)) ==> com.githu…
28 … 91) functionalMethod.getParamType(lambdaParamIndex) ==> com.github.javaparser.symbolsolver.model.…
42 …109) functionalMethod.get().getParamType(index) ==> com.github.javaparser.symbolsolver.model.metho…
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionEnumDeclaration.txt32 …Line 170) methodUsage.getParamType(i) ==> com.github.javaparser.symbolsolver.model.methods.MethodU…
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp527 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
528 FTy->getParamType(1)->isPointerTy() && in runFunction()
529 FTy->getParamType(2)->isPointerTy()) { in runFunction()
542 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
543 FTy->getParamType(1)->isPointerTy()) { in runFunction()
555 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/external/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp533 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
534 FTy->getParamType(1)->isPointerTy() && in runFunction()
535 FTy->getParamType(2)->isPointerTy()) { in runFunction()
548 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
549 FTy->getParamType(1)->isPointerTy()) { in runFunction()
561 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/external/llvm-project/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()
158 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
/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/swiftshader/third_party/llvm-10.0/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()
158 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp509 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
530 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc()
585 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype()
601 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc()
616 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue228Test.java29 assertEquals("long", solvedCall.getParamType(0).describe()); in testSolvingMethodWitPrimitiveParameterTypeAsUsage()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DLambdaExprContext.java91 … inferenceContext.resolve(inferenceContext.addSingle(functionalMethod.getParamType(lambdaParamInde… in solveSymbolAsValue()
109 ResolvedType lambdaType = functionalMethod.get().getParamType(index); in solveSymbolAsValue()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DLambdaExprContext.java91 … inferenceContext.resolve(inferenceContext.addSingle(functionalMethod.getParamType(lambdaParamInde… in solveSymbolAsValue()
109 Type lambdaType = functionalMethod.get().getParamType(index); in solveSymbolAsValue()
/external/clang/utils/TableGen/
DNeonEmitter.cpp392 Type getParamType(unsigned I) const { return Types[I + 1]; } in getParamType() function in __anonde9241780111::Intrinsic
412 Idx += std::max(1U, getParamType(I).getNumVectors()); in getGeneratedParamIdx()
1028 Type T = getParamType(I); in getBuiltinTypeStr()
1263 if (getParamType(I).isPointer()) in emitShadowedArgs()
1370 ThisTy = getParamType(0); in emitBodyAsBuiltinCall()
1372 ThisTy = getParamType(1); in emitBodyAsBuiltinCall()
1885 ErrMsg += I.getParamType(A).str(); in getIntrinsic()
1894 if (I.getParamType(Arg) != Types[Arg]) { in getIntrinsic()
2029 Ty = Def->getParamType(0); in genOverloadTypeCheckCode()
2031 Ty = Def->getParamType(1); in genOverloadTypeCheckCode()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h133 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } in getParamType() function
152 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
/external/llvm/include/llvm/IR/
DDerivedTypes.h129 Type *getParamType(unsigned i) const { return ContainedTys[i+1]; } in getParamType() function
148 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()

123456789