Home
last modified time | relevance | path

Searched refs:isPointerTy (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/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()
672 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
677 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
689 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
[all …]
DCFLGraph.h205 assert(Val != nullptr && Val->getType()->isPointerTy());
221 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
238 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy()) in addDerefEdge()
265 if (RetVal->getType()->isPointerTy()) { in visitReturnInst()
367 if (Inst.getType()->isPointerTy()) in visitVAArgInst()
420 if (V->getType()->isPointerTy()) in visitCallBase()
422 if (Call.getType()->isPointerTy()) in visitCallBase()
446 if (V->getType()->isPointerTy()) { in visitCallBase()
456 if (Call.getType()->isPointerTy()) { in visitCallBase()
486 if (Inst.getType()->isPointerTy()) in visitLandingPadInst()
[all …]
DCFLSteensAliasAnalysis.cpp166 assert(RetVal->getType()->isPointerTy()); in FunctionInfo()
175 if (Param.getType()->isPointerTy()) { in FunctionInfo()
271 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy()) in query()
DAliasAnalysisSummary.cpp60 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue()
80 if (V->getType()->isPointerTy()) in instantiateInterfaceValue()
/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()
671 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
683 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
[all …]
DCFLGraph.h205 assert(Val != nullptr && Val->getType()->isPointerTy());
221 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
238 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy()) in addDerefEdge()
265 if (RetVal->getType()->isPointerTy()) { in visitReturnInst()
367 if (Inst.getType()->isPointerTy()) in visitVAArgInst()
420 if (V->getType()->isPointerTy()) in visitCallBase()
422 if (Call.getType()->isPointerTy()) in visitCallBase()
446 if (V->getType()->isPointerTy()) { in visitCallBase()
456 if (Call.getType()->isPointerTy()) { in visitCallBase()
486 if (Inst.getType()->isPointerTy()) in visitLandingPadInst()
[all …]
DCFLSteensAliasAnalysis.cpp166 assert(RetVal->getType()->isPointerTy()); in FunctionInfo()
175 if (Param.getType()->isPointerTy()) { in FunctionInfo()
271 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy()) in query()
DAliasAnalysisSummary.cpp59 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue()
79 if (V->getType()->isPointerTy()) in instantiateInterfaceValue()
/external/llvm/lib/Analysis/
DTargetLibraryInfo.cpp503 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
508 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
520 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
521 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
523 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
528 return (NumParams == 3 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
559 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
560 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
564 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
569 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
[all …]
DCFLGraph.h180 assert(Val != nullptr && Val->getType()->isPointerTy());
196 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
208 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy()) in addDerefEdge()
227 if (RetVal->getType()->isPointerTy()) { in visitReturnInst()
367 if (V->getType()->isPointerTy()) in visitCallSite()
369 if (Inst->getType()->isPointerTy()) in visitCallSite()
396 if (V->getType()->isPointerTy()) { in visitCallSite()
406 if (Inst->getType()->isPointerTy()) { in visitCallSite()
485 if (Arg.getType()->isPointerTy()) { in addArgumentToGraph()
DAliasAnalysisSummary.cpp61 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue()
81 if (Value->getType()->isPointerTy()) in instantiateInterfaceValue()
DCFLSteensAliasAnalysis.cpp178 assert(RetVal->getType()->isPointerTy()); in FunctionInfo()
187 if (Param.getType()->isPointerTy()) { in FunctionInfo()
283 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy()) in query()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp48 FTy->getParamType(1)->isPointerTy() && in runFunction()
49 FTy->getParamType(2)->isPointerTy()) { in runFunction()
63 FTy->getParamType(1)->isPointerTy()) { in runFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp47 FTy->getParamType(1)->isPointerTy() && in runFunction()
48 FTy->getParamType(2)->isPointerTy()) { in runFunction()
62 FTy->getParamType(1)->isPointerTy()) { in runFunction()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp220 if (LI->getType()->isPointerTy()) { in runOnKernelFunction()
235 if (Arg.getType()->isPointerTy()) { in runOnKernelFunction()
248 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp214 if (LI->getType()->isPointerTy()) { in runOnKernelFunction()
230 if (Arg.getType()->isPointerTy()) { in runOnKernelFunction()
243 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp253 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
263 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
267 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
386 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
397 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
402 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
/external/llvm-project/llvm/unittests/AsmParser/
DAsmParserTest.cpp252 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
262 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
266 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
385 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
396 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
401 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DType.h212 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
224 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function
227 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy()
252 isPointerTy() || isVectorTy(); in isSingleValueType()
/external/llvm-project/llvm/lib/IR/
DFunction.cpp91 if (!getType()->isPointerTy()) return false; in hasNonNullAttr()
102 if (!getType()->isPointerTy()) return false; in hasByValAttr()
107 if (!getType()->isPointerTy()) in hasByRefAttr()
121 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr()
126 if (!getType()->isPointerTy()) in hasPreallocatedAttr()
132 if (!getType()->isPointerTy()) return false; in hasPassPointeeByValueCopyAttr()
140 if (!getType()->isPointerTy()) in hasPointeeInMemoryValueAttr()
188 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlignment()
193 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlign()
198 assert(getType()->isPointerTy() && "Only pointers have byval types"); in getParamByValType()
[all …]
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp595 if (FT->getReturnType()->isPointerTy()) { in checkWFRetconPrototype()
600 SRetTy->getElementType(0)->isPointerTy()); in checkWFRetconPrototype()
616 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype()
628 if (!FT->getReturnType()->isPointerTy()) in checkWFAlloc()
647 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc()
698 if (!FunTy->getReturnType()->isPointerTy() || in checkAsyncContextProjectFunction()
704 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy() || in checkAsyncContextProjectFunction()
/external/llvm-project/llvm/include/llvm/IR/
DType.h213 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
225 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function
228 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy()
255 isPointerTy() || isVectorTy(); in isSingleValueType()
/external/llvm/lib/IR/
DFunction.cpp77 if (!getType()->isPointerTy()) return false; in hasNonNullAttr()
90 if (!getType()->isPointerTy()) return false; in hasByValAttr()
107 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr()
112 if (!getType()->isPointerTy()) return false; in hasByValOrInAllocaAttr()
119 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlignment()
125 assert(getType()->isPointerTy() && in getDereferenceableBytes()
131 assert(getType()->isPointerTy() && in getDereferenceableOrNullBytes()
139 if (!getType()->isPointerTy()) return false; in hasNestAttr()
146 if (!getType()->isPointerTy()) return false; in hasNoAliasAttr()
153 if (!getType()->isPointerTy()) return false; in hasNoCaptureAttr()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerKernelArgs.cpp205 if (LI->getType()->isPointerTy()) { in runOnFunction()
221 if (Arg.getType()->isPointerTy()) { in runOnFunction()
/external/llvm/include/llvm/IR/
DType.h211 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function
214 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy()
239 isPointerTy() || isVectorTy(); in isSingleValueType()

12345678910>>...15