| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 27 assert(V->getType()->isPointerTy() && in classifyPointerType() 35 if (!Inst->getResultElementType()->isPointerTy()) in classifyPointerType() 50 if (NewPointeeTy->isPointerTy()) in classifyPointerType() 59 if (NewPointeeTy->isPointerTy()) { in classifyPointerType() 90 if (RetTy->isPointerTy()) { in classifyFunctionType() 111 if (ArgTy->isPointerTy()) in classifyFunctionType() 194 if (G.getType()->isPointerTy()) in run() 205 if (I.getType()->isPointerTy()) in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 116 if (!getType()->isPointerTy()) return false; in hasNonNullAttr() 129 if (!getType()->isPointerTy()) return false; in hasByValAttr() 134 if (!getType()->isPointerTy()) in hasDeadOnReturnAttr() 140 if (!getType()->isPointerTy()) in hasByRefAttr() 154 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr() 159 if (!getType()->isPointerTy()) in hasPreallocatedAttr() 165 if (!getType()->isPointerTy()) return false; in hasPassPointeeByValueCopyAttr() 173 if (!getType()->isPointerTy()) in hasPointeeInMemoryValueAttr() 217 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlign() 226 assert(getType()->isPointerTy() && "Only pointers have byval types"); in getParamByValType() [all …]
|
| H A D | Value.cpp | 637 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets() 668 if (!NewV->getType()->isPointerTy()) in stripPointerCastsAndOffsets() 699 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripPointerCastsAndOffsets() 822 assert(getType()->isPointerTy()); in canBeFreed() 886 assert(getType()->isPointerTy() && "must be pointer"); in getPointerDereferenceableBytes() 959 assert(getType()->isPointerTy() && "must be pointer"); in getPointerAlignment()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/ |
| H A D | WebAssemblyTypeUtilities.h | 31 return Ty->isPointerTy() && in isWebAssemblyExternrefType() 38 return Ty->isPointerTy() && in isWebAssemblyFuncrefType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 345 isPointerTy(SI->getValueOperand()->getType()) && in IsKernelArgInt8() 507 if (!Op || !isPointerTy(Op->getType()) || isa<ConstantPointerNull>(Op) || in deduceElementTypeByUsersDeep() 613 isPointerTy(Src) && isPointerTy(Dest)) in deduceElementTypeHelper() 618 if (isPointerTy(Op->getType())) in deduceElementTypeHelper() 622 if (isPointerTy(Op->getType())) in deduceElementTypeHelper() 845 if (!isPointerTy(Op->getType())) in deduceOperandElementTypeCalledFunction() 856 if (!isPointerTy(Op->getType())) in deduceOperandElementTypeCalledFunction() 875 KnownElemTy = isPointerTy(CI->getType()) ? getAtomicElemTy(GR, CI, Op) in deduceOperandElementTypeCalledFunction() 886 KnownElemTy = isPointerTy(ValOp->getType()) in deduceOperandElementTypeCalledFunction() 905 if (!Op || !isPointerTy(Op->getType())) in deduceOperandElementTypeFunctionPointer() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Type.h | 252 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy() 264 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function 267 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy() 294 return isFloatingPointTy() || isIntegerTy() || isPointerTy() || in isSingleValueType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | Coroutines.cpp | 574 if (FT->getReturnType()->isPointerTy()) { in checkWFRetconPrototype() 579 SRetTy->getElementType(0)->isPointerTy()); in checkWFRetconPrototype() 595 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype() 607 if (!FT->getReturnType()->isPointerTy()) in checkWFAlloc() 626 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc() 666 if (!FunTy->getReturnType()->isPointerTy()) in checkAsyncContextProjectFunction() 671 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy()) in checkAsyncContextProjectFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerArgs.cpp | 427 assert(A.getType()->isPointerTy()); in visitArgPtr() 651 if (LI->getType()->isPointerTy() || LI->getType()->isIntegerTy()) { in runOnKernelFunction() 656 if (LI->getType()->isPointerTy()) in runOnKernelFunction() 670 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) { in runOnKernelFunction() 688 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction() 713 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr() && in copyFunctionByValArgs()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 264 if (V->getType()->isPointerTy()) in getRandomPointerValue() 366 if (Val0->getType()->isPointerTy() || in Act() 367 Val1->getType()->isPointerTy()) in Act() 542 if (VTy->isPointerTy()) { in Act() 543 if (!DestTy->isPointerTy()) in Act() 638 if (Val0->getType()->isPointerTy()) return; in Act()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 113 assert(LocA.Ptr->getType()->isPointerTy() && in alias() 114 LocB.Ptr->getType()->isPointerTy() && in alias() 279 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 317 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 629 if (!(*CI)->getType()->isPointerTy()) in callCapturesBefore()
|
| H A D | FunctionPropertiesAnalysis.cpp | 154 else if (Call->getType()->isPointerTy()) in updateForBB() 161 else if (Call->getType()->getScalarType()->isPointerTy()) in updateForBB() 169 if (Arg->getType()->isPointerTy()) { in updateForBB()
|
| H A D | Loads.cpp | 75 assert(V->getType()->isPointerTy() && "Base must be pointer"); in isDereferenceableAndAlignedPointer() 113 if (BC->getSrcTy()->isPointerTy()) in isDereferenceableAndAlignedPointer() 836 if (!To->getType()->isPointerTy()) in canReplacePointersInUseIfEqual() 848 if (!From->getType()->isPointerTy()) in canReplacePointersIfEqual()
|
| H A D | ScalarEvolution.cpp | 518 assert(getOperand()->getType()->isPointerTy() && Ty->isIntegerTy() && in SCEVPtrToIntExpr() 584 bool LIsPointer = LV->getType()->isPointerTy(), in CompareValueComplexity() 585 RIsPointer = RV->getType()->isPointerTy(); in CompareValueComplexity() 1014 if (!Op->getType()->isPointerTy()) in getLosslessPtrToIntExpr() 1090 if (!STy->isPointerTy()) in getLosslessPtrToIntExpr() 1117 assert(Expr->getType()->isPointerTy() && in getLosslessPtrToIntExpr() 1147 assert(!Op->getType()->isPointerTy() && "Can't truncate pointer!"); in getTruncateExpr() 1561 assert(!Op->getType()->isPointerTy() && "Can't extend pointer!"); in getZeroExtendExpr() 1579 assert(!Op->getType()->isPointerTy() && "Can't extend pointer!"); in getZeroExtendExprImpl() 1895 assert(!Op->getType()->isPointerTy() && "Can't extend pointer!"); in getSignExtendExpr() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerGlobalDtors.cpp | 90 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runImpl() 91 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runImpl()
|
| H A D | ScalarEvolutionExpander.cpp | 479 if (LHS.second->getType()->isPointerTy() != in operator ()() 480 RHS.second->getType()->isPointerTy()) in operator ()() 481 return LHS.second->getType()->isPointerTy(); in operator ()() 539 assert(!Op->getType()->isPointerTy() && "Only first op can be pointer"); in visitAddExpr() 880 if (PN->getType()->isPointerTy()) { in expandIVInc() 900 if (PhiTy->isPointerTy() || RequestedTy->isPointerTy()) in canBeCheaplyTransformed() 1082 bool useSubtract = !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in getAddRecExprPHILiterally() 1198 !S->getType()->isPointerTy() && Step->isNonConstantNegative(); in expandAddRecExprLiterally() 1253 !S->getType()->isPointerTy()) { in visitAddRecExpr() 1777 if (OrigPhiRef->getType()->isPointerTy() != Phi->getType()->isPointerTy()) in replaceCongruentIVs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ProvenanceAnalysisEvaluator.cpp | 30 if (!V->getType()->isPointerTy()) in insertIfNamed()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kCallingConv.h | 62 bool IsPtr = I != End && (*I)->isPointerTy(); in CC_M68k_Any_AssignToReg()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGPointerAuthInfo.h | 44 Discriminator->getType()->isPointerTy()); in CGPointerAuthInfo()
|
| H A D | CGDeclCXX.cpp | 166 assert(Addr->getType()->isPointerTy() && "Address must be a pointer"); in EmitInvariantStart() 349 assert(dtorStub->getType()->isPointerTy() && in registerGlobalDtorWithAtExit() 373 assert(dtorStub->getType()->isPointerTy() && in unregisterGlobalDtorWithUnAtExit() 1168 assert(Arg->getType()->isPointerTy()); in GenerateCXXGlobalCleanUpFunc() 1169 assert(CalleeTy->getParamType(0)->isPointerTy()); in GenerateCXXGlobalCleanUpFunc()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
| H A D | OpDescriptor.h | 153 return V->getType()->isPointerTy() && !V->isSwiftError(); in anyPtrType() 171 return V->getType()->isPointerTy(); in sizedPtrType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VETargetTransformInfo.h | 41 if (ElemTy.isPointerTy()) { in isVectorLaneType()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/ |
| H A D | MCJIT.cpp | 531 FTy->getParamType(1)->isPointerTy() && in runFunction() 532 FTy->getParamType(2)->isPointerTy()) { in runFunction() 546 FTy->getParamType(1)->isPointerTy()) { in runFunction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Type.h | 195 bool isPointerTy() const { return LLVMTy->isPointerTy(); } in isPointerTy() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 364 IsPointer = V->getType()->isPointerTy(); in INITIALIZE_PASS_DEPENDENCY() 579 if (NumElems == 1 || ElemTy->isPointerTy() || in getVectorSplit() 938 const bool isPointerTy = DstVS->VecTy->getElementType()->isPointerTy(); in visitBitCastInst() local 941 assert(!isPointerTy || (DstVS->NumPacked == 1 && SrcVS->NumPacked == 1)); in visitBitCastInst() 951 if (isPointerTy || DstSplitBits == SrcSplitBits) { in visitBitCastInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsCallLowering.cpp | 296 if (T->isPointerTy()) in isSupportedArgumentType() 306 if (T->isPointerTy()) in isSupportedReturnType() 454 if (Arg.Flags[0].isSRet() && !Arg.Ty->isPointerTy()) in lowerCall()
|