/external/llvm-project/llvm/lib/Analysis/ |
D | TargetLibraryInfo.cpp | 651 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 …]
|
D | CFLGraph.h | 205 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 …]
|
D | CFLSteensAliasAnalysis.cpp | 166 assert(RetVal->getType()->isPointerTy()); in FunctionInfo() 175 if (Param.getType()->isPointerTy()) { in FunctionInfo() 271 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy()) in query()
|
D | AliasAnalysisSummary.cpp | 60 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/ |
D | TargetLibraryInfo.cpp | 650 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 …]
|
D | CFLGraph.h | 205 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 …]
|
D | CFLSteensAliasAnalysis.cpp | 166 assert(RetVal->getType()->isPointerTy()); in FunctionInfo() 175 if (Param.getType()->isPointerTy()) { in FunctionInfo() 271 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy()) in query()
|
D | AliasAnalysisSummary.cpp | 59 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue() 79 if (V->getType()->isPointerTy()) in instantiateInterfaceValue()
|
/external/llvm/lib/Analysis/ |
D | TargetLibraryInfo.cpp | 503 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 …]
|
D | CFLGraph.h | 180 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()
|
D | AliasAnalysisSummary.cpp | 61 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue() 81 if (Value->getType()->isPointerTy()) in instantiateInterfaceValue()
|
D | CFLSteensAliasAnalysis.cpp | 178 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/ |
D | OrcMCJITReplacement.cpp | 48 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/ |
D | OrcMCJITReplacement.cpp | 47 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/ |
D | NVPTXLowerArgs.cpp | 220 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/ |
D | NVPTXLowerArgs.cpp | 214 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/ |
D | AsmParserTest.cpp | 253 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/ |
D | AsmParserTest.cpp | 252 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/ |
D | Type.h | 212 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/ |
D | Function.cpp | 91 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/ |
D | Coroutines.cpp | 595 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/ |
D | Type.h | 213 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/ |
D | Function.cpp | 77 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/ |
D | NVPTXLowerKernelArgs.cpp | 205 if (LI->getType()->isPointerTy()) { in runOnFunction() 221 if (Arg.getType()->isPointerTy()) { in runOnFunction()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 211 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function 214 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy() 239 isPointerTy() || isVectorTy(); in isSingleValueType()
|