/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | TargetLibraryInfo.cpp | 86 if (!FuncTy->getReturnType()->isPointerTy() && in isCallingConvCCompatible() 92 if (!Param->isPointerTy() && !Param->isIntegerTy()) in isCallingConvCCompatible() 718 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc() 719 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc() 723 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc() 724 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc() 729 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc() 730 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc() 731 FTy.getParamType(2)->isPointerTy() && in isValidProtoForLibFunc() 739 return (NumParams == 1 && FTy.getParamType(0)->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() 453 if (V->getType()->isPointerTy()) { in visitCallBase() 463 if (Call.getType()->isPointerTy()) { in visitCallBase() 493 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 | AliasAnalysisEvaluator.cpp | 88 return V->getType()->isPointerTy() in isInterestingPointer() 108 if (I.getType()->isPointerTy()) // Add all pointer arguments. in runInternal() 112 if (Inst.getType()->isPointerTy()) // Add all pointer instructions. in runInternal()
|
H A D | Loads.cpp | 49 assert(V->getType()->isPointerTy() && "Base must be pointer"); in isDereferenceableAndAlignedPointer() 74 if (BC->getSrcTy()->isPointerTy()) in isDereferenceableAndAlignedPointer() 653 assert(Ty == B->getType() && Ty->isPointerTy() && in canReplacePointersIfEqual()
|
H A D | AliasAnalysis.cpp | 255 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 337 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 388 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 748 if (!(*CI)->getType()->isPointerTy() || in callCapturesBefore()
|
H A D | IVDescriptors.cpp | 947 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor() 1149 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI() 1190 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI() 1232 assert(PhiTy->isPointerTy() && "The PHI must be a pointer"); in isInductionPHI()
|
H A D | ScalarEvolutionAliasAnalysis.cpp | 111 if (Last->getType()->isPointerTy()) in GetBaseValue()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Function.cpp | 93 if (!getType()->isPointerTy()) return false; in hasNonNullAttr() 106 if (!getType()->isPointerTy()) return false; in hasByValAttr() 111 if (!getType()->isPointerTy()) in hasByRefAttr() 125 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr() 130 if (!getType()->isPointerTy()) in hasPreallocatedAttr() 136 if (!getType()->isPointerTy()) return false; in hasPassPointeeByValueCopyAttr() 144 if (!getType()->isPointerTy()) in hasPointeeInMemoryValueAttr() 194 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlignment() 199 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlign() 208 assert(getType()->isPointerTy() && "Only pointers have byval types"); in getParamByValType() [all …]
|
H A D | Value.cpp | 581 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets() 612 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets() 642 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripPointerCastsAndOffsets() 743 assert(getType()->isPointerTy()); in canBeFreed() 807 assert(getType()->isPointerTy() && "must be pointer"); in getPointerDereferenceableBytes() 880 assert(getType()->isPointerTy() && "must be pointer"); in getPointerAlignment()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
H A D | Coroutines.cpp | 598 if (FT->getReturnType()->isPointerTy()) { in checkWFRetconPrototype() 603 SRetTy->getElementType(0)->isPointerTy()); in checkWFRetconPrototype() 619 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype() 631 if (!FT->getReturnType()->isPointerTy()) in checkWFAlloc() 650 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc() 701 if (!FunTy->getReturnType()->isPointerTy() || in checkAsyncContextProjectFunction() 707 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy() || in checkAsyncContextProjectFunction()
|
H A D | CoroElide.cpp | 62 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | Type.h | 217 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy() 229 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function 232 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy() 259 isPointerTy() || isVectorTy() || isX86_AMXTy(); in isSingleValueType()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerArgs.cpp | 337 if (LI->getType()->isPointerTy()) { in runOnKernelFunction() 353 if (Arg.getType()->isPointerTy()) { in runOnKernelFunction() 367 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 259 if (V->getType()->isPointerTy()) in getRandomPointerValue() 380 if (Val0->getType()->isPointerTy() || in Act() 381 Val1->getType()->isPointerTy()) in Act() 561 if (VTy->isPointerTy()) { in Act() 562 if (!DestTy->isPointerTy()) in Act() 655 if (Val0->getType()->isPointerTy()) return; in Act()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | InferAddressSpaces.cpp | 283 assert(Op->getType()->isPointerTy()); in isAddressExpression() 290 return Op->getType()->isPointerTy(); in isAddressExpression() 395 assert(V->getType()->isPointerTy()); in appendsFlatAddressExpressionToPostorderStack() 464 if (Cmp->getOperand(0)->getType()->isPointerTy()) { in collectFlatAddressExpressions() 584 if (!OperandUse.get()->getType()->isPointerTy()) in cloneInstructionWithNewAddressSpace() 595 assert(I->getType()->isPointerTy()); in cloneInstructionWithNewAddressSpace() 614 assert(I->getType()->isPointerTy()); in cloneInstructionWithNewAddressSpace()
|
H A D | IndVarSimplify.cpp | 909 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy()) in FindLoopCounter() 984 if (IndVar->getType()->isPointerTy() && in genLoopLimit() 985 !ExitCount->getType()->isPointerTy()) { in genLoopLimit() 1051 Type *LimitTy = ExitCount->getType()->isPointerTy() ? in genLoopLimit() 1116 assert(ExitCnt->getType()->isPointerTy() == in linearFunctionTestReplace() 1117 IndVar->getType()->isPointerTy() && in linearFunctionTestReplace() 1143 assert(!CmpIndVar->getType()->isPointerTy() && in linearFunctionTestReplace() 1144 !ExitCnt->getType()->isPointerTy()); in linearFunctionTestReplace()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 718 if (A->getType()->isPointerTy() && !A->hasNoCaptureAttr()) { in addArgumentAttrs() 729 if (!A->getType()->isPointerTy()) in addArgumentAttrs() 953 if (!F->getReturnType()->isPointerTy()) in addNoAliasAttrs() 963 !F->getReturnType()->isPointerTy()) in addNoAliasAttrs() 983 assert(F->getReturnType()->isPointerTy() && in isReturnNonNull() 1070 if (!F->getReturnType()->isPointerTy()) in addNonNullAttrs() 1095 !F->getReturnType()->isPointerTy()) in addNonNullAttrs()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLowerGlobalDtors.cpp | 75 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runOnModule() 76 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runOnModule()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 246 return T1 == T2 || (T1->isPointerTy() && T2->isPointerTy()) || in isNoopBitcast() 618 if (!A->getType()->isPointerTy() || !B->getType()->isPointerTy()) in isPointerBitcastEqualTo()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/ |
H A D | M68kCallingConv.h | 62 bool IsPtr = I != CCInfo.F.arg_end() && I->getType()->isPointerTy(); in CC_M68k_Any_AssignToReg()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.h | 82 if (ScalarTy->isPointerTy()) in isLegalElementTypeForRVV()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | PtrUseVisitor.h | 223 assert(I.getType()->isPointerTy()); in visitPtr()
|