| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 86 if (!FuncTy->getReturnType()->isPointerTy() && in isCallingConvCCompatible() 968 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc() 1000 FTy.getParamType(0)->isPointerTy()); in isValidProtoForLibFunc() 1011 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc() 1012 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc() 1030 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc() 1053 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc() 1058 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc() 1075 FTy.getParamType(0)->isPointerTy()); in isValidProtoForLibFunc() 1090 FTy.getParamType(3)->isPointerTy() && in isValidProtoForLibFunc() [all …]
|
| H A 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() 374 if (Inst.getType()->isPointerTy()) in visitVAArgInst() 427 if (V->getType()->isPointerTy()) in visitCallBase() 429 if (Call.getType()->isPointerTy()) in visitCallBase() 454 if (V->getType()->isPointerTy()) { in visitCallBase() 464 if (Call.getType()->isPointerTy()) { in visitCallBase() 494 if (Inst.getType()->isPointerTy()) in visitLandingPadInst() [all …]
|
| H A 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()
|
| H A D | AliasAnalysisSummary.cpp | 60 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue() 80 if (V->getType()->isPointerTy()) in instantiateInterfaceValue()
|
| H A D | Loads.cpp | 44 assert(V->getType()->isPointerTy() && "Base must be pointer"); in isDereferenceableAndAlignedPointer() 69 if (BC->getSrcTy()->isPointerTy()) in isDereferenceableAndAlignedPointer() 652 assert(Ty == B->getType() && Ty->isPointerTy() && in canReplacePointersIfEqual()
|
| H A D | AliasAnalysis.cpp | 253 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 335 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 386 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 748 if (!(*CI)->getType()->isPointerTy() || in callCapturesBefore()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Type.h | 211 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy() 223 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function 229 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy() 256 isPointerTy() || isVectorTy() || isX86_AMXTy(); in isSingleValueType()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Function.cpp | 97 if (!getType()->isPointerTy()) return false; in hasNonNullAttr() 110 if (!getType()->isPointerTy()) return false; in hasByValAttr() 115 if (!getType()->isPointerTy()) in hasByRefAttr() 129 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr() 134 if (!getType()->isPointerTy()) in hasPreallocatedAttr() 140 if (!getType()->isPointerTy()) return false; in hasPassPointeeByValueCopyAttr() 148 if (!getType()->isPointerTy()) in hasPointeeInMemoryValueAttr() 226 assert(getType()->isPointerTy() && in getDereferenceableBytes() 232 assert(getType()->isPointerTy() && in getDereferenceableOrNullBytes() 238 if (!getType()->isPointerTy()) return false; in hasNestAttr() [all …]
|
| H A D | Value.cpp | 614 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets() 645 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets() 675 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripPointerCastsAndOffsets() 779 assert(getType()->isPointerTy()); in canBeFreed() 843 assert(getType()->isPointerTy() && "must be pointer"); in getPointerDereferenceableBytes() 916 assert(getType()->isPointerTy() && "must be pointer"); in getPointerAlignment()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | Coroutines.cpp | 516 if (FT->getReturnType()->isPointerTy()) { in checkWFRetconPrototype() 521 SRetTy->getElementType(0)->isPointerTy()); in checkWFRetconPrototype() 537 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype() 549 if (!FT->getReturnType()->isPointerTy()) in checkWFAlloc() 568 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc() 629 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy() || in checkAsyncContextProjectFunction()
|
| H A D | CoroElide.cpp | 69 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
|
| /llvm-project-15.0.7/llvm/unittests/AsmParser/ |
| H A D | AsmParserTest.cpp | 252 ASSERT_TRUE(Ty->isPointerTy()); in TEST() 260 ASSERT_TRUE(Ty->isPointerTy()); in TEST() 378 ASSERT_TRUE(Ty->isPointerTy()); in TEST() 387 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
|
| /llvm-project-15.0.7/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 265 if (V->getType()->isPointerTy()) in getRandomPointerValue() 376 if (Val0->getType()->isPointerTy() || in Act() 377 Val1->getType()->isPointerTy()) in Act() 557 if (VTy->isPointerTy()) { in Act() 558 if (!DestTy->isPointerTy()) in Act() 651 if (Val0->getType()->isPointerTy()) return; in Act()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | IslExprBuilder.cpp | 271 assert(Base->getType()->isPointerTy() && "Access base should be a pointer"); in createAccessAddress() 506 bool IsPtrType = LHSTy->isPointerTy() || RHSTy->isPointerTy(); in createOpICmp() 510 if (LHSTy->isPointerTy()) in createOpICmp() 512 if (RHSTy->isPointerTy()) in createOpICmp() 732 if (V->getType()->isPointerTy()) in createId()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerArgs.cpp | 428 if (LI->getType()->isPointerTy()) { in runOnKernelFunction() 444 if (Arg.getType()->isPointerTy()) { in runOnKernelFunction() 458 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 304 assert(Op->getType()->isPointerTy()); in isAddressExpression() 311 return Op->getType()->isPointerTy(); in isAddressExpression() 415 assert(V->getType()->isPointerTy()); in appendsFlatAddressExpressionToPostorderStack() 484 if (Cmp->getOperand(0)->getType()->isPointerTy()) { in collectFlatAddressExpressions() 619 if (!OperandUse.get()->getType()->isPointerTy()) in cloneInstructionWithNewAddressSpace() 631 assert(I->getType()->isPointerTy()); in cloneInstructionWithNewAddressSpace() 650 assert(I->getType()->isPointerTy()); in cloneInstructionWithNewAddressSpace() 676 Type *TargetType = CE->getType()->isPointerTy() in cloneConstantExprWithNewAddressSpace()
|
| H A D | IndVarSimplify.cpp | 913 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy()) in FindLoopCounter() 989 if (IndVar->getType()->isPointerTy() && in genLoopLimit() 990 !ExitCount->getType()->isPointerTy()) { in genLoopLimit() 1048 Type *LimitTy = ExitCount->getType()->isPointerTy() ? in genLoopLimit() 1113 assert(ExitCnt->getType()->isPointerTy() == in linearFunctionTestReplace() 1114 IndVar->getType()->isPointerTy() && in linearFunctionTestReplace() 1140 assert(!CmpIndVar->getType()->isPointerTy() && in linearFunctionTestReplace() 1141 !ExitCnt->getType()->isPointerTy()); in linearFunctionTestReplace()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerGlobalDtors.cpp | 89 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runImpl() 90 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runImpl()
|
| H A D | ScalarEvolutionExpander.cpp | 721 if (LHS.second->getType()->isPointerTy() != in operator ()() 722 RHS.second->getType()->isPointerTy()) in operator ()() 723 return LHS.second->getType()->isPointerTy(); in operator ()() 773 assert(!Op->getType()->isPointerTy() && "Only first op can be pointer"); in visitAddExpr() 1083 if (ExpandTy->isPointerTy()) { in expandIVInc() 1108 if (Phi->getType()->isPointerTy()) in canBeCheaplyTransformed() 1295 bool useSubtract = !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in getAddRecExprPHILiterally() 1450 !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in expandAddRecExprLiterally() 1535 !S->getType()->isPointerTy()) { in visitAddRecExpr() 1745 assert(Inst->getType()->isPointerTy()); in expandCodeForImpl() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kCallingConv.h | 62 bool IsPtr = I != End && (*I)->isPointerTy(); in CC_M68k_Any_AssignToReg()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 267 return T1 == T2 || (T1->isPointerTy() && T2->isPointerTy()) || in isNoopBitcast() 637 if (!A->getType()->isPointerTy() || !B->getType()->isPointerTy()) in isPointerBitcastEqualTo()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 935 if (A.getType()->isPointerTy() && !A.hasNoCaptureAttr()) { in addArgumentAttrs() 945 if (!A.getType()->isPointerTy()) in addArgumentAttrs() 1180 if (!F->getReturnType()->isPointerTy()) in addNoAliasAttrs() 1189 !F->getReturnType()->isPointerTy()) in addNoAliasAttrs() 1207 assert(F->getReturnType()->isPointerTy() && in isReturnNonNull() 1292 if (!F->getReturnType()->isPointerTy()) in addNonNullAttrs() 1316 !F->getReturnType()->isPointerTy()) in addNonNullAttrs()
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/ |
| H A D | VETargetTransformInfo.h | 41 if (ElemTy.isPointerTy()) { in isVectorLaneType()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/MCJIT/ |
| H A D | MCJIT.cpp | 534 FTy->getParamType(1)->isPointerTy() && in runFunction() 535 FTy->getParamType(2)->isPointerTy()) { in runFunction() 549 FTy->getParamType(1)->isPointerTy()) { in runFunction()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 216 assert(I.getType()->isPointerTy()); in visitPtr()
|