Home
last modified time | relevance | path

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

1234567

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp25 assert(V->getType()->isPointerTy() && in classifyPointerType()
33 if (!Inst->getResultElementType()->isPointerTy()) in classifyPointerType()
48 if (NewPointeeTy->isPointerTy()) in classifyPointerType()
57 if (NewPointeeTy->isPointerTy()) { in classifyPointerType()
88 if (RetTy->isPointerTy()) { in classifyFunctionType()
109 if (ArgTy->isPointerTy()) in classifyFunctionType()
192 if (G.getType()->isPointerTy()) in run()
203 if (I.getType()->isPointerTy()) in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.h31 return Ty->isPointerTy() && in isWebAssemblyExternrefType()
38 return Ty->isPointerTy() && in isWebAssemblyFuncrefType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h243 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
255 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function
259 bool isOpaquePointerTy() const { return isPointerTy(); }; in isOpaquePointerTy()
262 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy()
289 isPointerTy() || isVectorTy() || isX86_AMXTy() || isTargetExtTy(); in isSingleValueType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp518 if (FT->getReturnType()->isPointerTy()) { in checkWFRetconPrototype()
523 SRetTy->getElementType(0)->isPointerTy()); in checkWFRetconPrototype()
539 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype()
551 if (!FT->getReturnType()->isPointerTy()) in checkWFAlloc()
570 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc()
610 if (!FunTy->getReturnType()->isPointerTy()) in checkAsyncContextProjectFunction()
615 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy()) in checkAsyncContextProjectFunction()
H A DCoroElide.cpp72 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp119 if (!getType()->isPointerTy()) return false; in hasNonNullAttr()
132 if (!getType()->isPointerTy()) return false; in hasByValAttr()
137 if (!getType()->isPointerTy()) in hasByRefAttr()
151 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr()
156 if (!getType()->isPointerTy()) in hasPreallocatedAttr()
162 if (!getType()->isPointerTy()) return false; in hasPassPointeeByValueCopyAttr()
170 if (!getType()->isPointerTy()) in hasPointeeInMemoryValueAttr()
243 assert(getType()->isPointerTy() && in getDereferenceableBytes()
249 assert(getType()->isPointerTy() && in getDereferenceableOrNullBytes()
259 if (!getType()->isPointerTy()) return false; in hasNestAttr()
[all …]
H A DValue.cpp625 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets()
656 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets()
686 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripPointerCastsAndOffsets()
790 assert(getType()->isPointerTy()); in canBeFreed()
854 assert(getType()->isPointerTy() && "must be pointer"); in getPointerDereferenceableBytes()
927 assert(getType()->isPointerTy() && "must be pointer"); in getPointerAlignment()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp439 if (LI->getType()->isPointerTy() || LI->getType()->isIntegerTy()) { in runOnKernelFunction()
444 if (LI->getType()->isPointerTy()) in runOnKernelFunction()
458 if (Arg.getType()->isPointerTy()) { in runOnKernelFunction()
476 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp266 if (V->getType()->isPointerTy()) in getRandomPointerValue()
378 if (Val0->getType()->isPointerTy() || in Act()
379 Val1->getType()->isPointerTy()) in Act()
555 if (VTy->isPointerTy()) { in Act()
556 if (!DestTy->isPointerTy()) in Act()
647 if (Val0->getType()->isPointerTy()) return; in Act()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DFunctionPropertiesAnalysis.cpp153 else if (Call->getType()->isPointerTy()) in updateForBB()
160 else if (Call->getType()->getScalarType()->isPointerTy()) in updateForBB()
168 if (Arg->getType()->isPointerTy()) { in updateForBB()
H A DAliasAnalysis.cpp243 if (!Arg->getType()->isPointerTy()) in getModRefInfo()
309 if (!Arg->getType()->isPointerTy()) in getModRefInfo()
347 if (!Arg->getType()->isPointerTy()) in getModRefInfo()
675 if (!(*CI)->getType()->isPointerTy() || in callCapturesBefore()
H A DLoads.cpp42 assert(V->getType()->isPointerTy() && "Base must be pointer"); in isDereferenceableAndAlignedPointer()
80 if (BC->getSrcTy()->isPointerTy()) in isDereferenceableAndAlignedPointer()
714 assert(Ty == B->getType() && Ty->isPointerTy() && in canReplacePointersIfEqual()
H A DScalarEvolution.cpp1006 if (!Op->getType()->isPointerTy()) in getLosslessPtrToIntExpr()
1082 if (!STy->isPointerTy()) in getLosslessPtrToIntExpr()
3114 assert(!ETy->isPointerTy()); in getMulExpr()
4467 if (Ty->isPointerTy()) in getTypeSizeInBits()
4643 assert(P->getType()->isPointerTy()); in removePointerBase()
4682 if (RHS->getType()->isPointerTy()) { in getMinusSCEV()
4842 if (!V->getType()->isPointerTy()) in getPointerBase()
11624 if (LHS->getType()->isPointerTy() || RHS->getType()->isPointerTy()) in isImpliedCond()
11635 if (FoundLHS->getType()->isPointerTy() || FoundRHS->getType()->isPointerTy()) in isImpliedCond()
11701 if (!LHS->getType()->isPointerTy() && !RHS->getType()->isPointerTy() && in isImpliedCondBalancedTypes()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerGlobalDtors.cpp89 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runImpl()
90 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runImpl()
H A DScalarEvolutionExpander.cpp430 if (LHS.second->getType()->isPointerTy() != in operator ()()
431 RHS.second->getType()->isPointerTy()) in operator ()()
432 return LHS.second->getType()->isPointerTy(); in operator ()()
480 assert(!Op->getType()->isPointerTy() && "Only first op can be pointer"); in visitAddExpr()
797 if (PN->getType()->isPointerTy()) { in expandIVInc()
816 if (PhiTy->isPointerTy() || RequestedTy->isPointerTy()) in canBeCheaplyTransformed()
998 bool useSubtract = !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in getAddRecExprPHILiterally()
1117 !S->getType()->isPointerTy() && Step->isNonConstantNegative(); in expandAddRecExprLiterally()
1172 !S->getType()->isPointerTy()) { in visitAddRecExpr()
1599 if (OrigPhiRef->getType()->isPointerTy() != Phi->getType()->isPointerTy()) in replaceCongruentIVs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kCallingConv.h62 bool IsPtr = I != End && (*I)->isPointerTy(); in CC_M68k_Any_AssignToReg()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h152 return V->getType()->isPointerTy() && !V->isSwiftError(); in anyPtrType()
169 return V->getType()->isPointerTy(); in sizedPtrType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp891 if (A.getType()->isPointerTy() && !A.hasNoCaptureAttr()) { in addArgumentAttrs()
901 if (!A.getType()->isPointerTy()) in addArgumentAttrs()
1136 if (!F->getReturnType()->isPointerTy()) in addNoAliasAttrs()
1145 !F->getReturnType()->isPointerTy()) in addNoAliasAttrs()
1163 assert(F->getReturnType()->isPointerTy() && in isReturnNonNull()
1253 if (!F->getReturnType()->isPointerTy()) in addNonNullAttrs()
1277 !F->getReturnType()->isPointerTy()) in addNonNullAttrs()
H A DArgumentPromotion.cpp333 assert(Arg.getType()->isPointerTy() && in doPromotion()
502 if (IsRecursive && Ty->isPointerTy()) in findArgParts()
727 if (I.getType()->isPointerTy()) in promoteArguments()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/
H A DVETargetTransformInfo.h41 if (ElemTy.isPointerTy()) { in isVectorLaneType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp316 return T1 == T2 || (T1->isPointerTy() && T2->isPointerTy()) || in isNoopBitcast()
687 if (!A->getType()->isPointerTy() || !B->getType()->isPointerTy()) in isPointerBitcastEqualTo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp348 IsPointer = V->getType()->isPointerTy(); in Scatterer()
548 if (NumElems == 1 || ElemTy->isPointerTy() || in getVectorSplit()
887 const bool isPointerTy = DstVS->VecTy->getElementType()->isPointerTy(); in visitBitCastInst() local
890 assert(!isPointerTy || (DstVS->NumPacked == 1 && SrcVS->NumPacked == 1)); in visitBitCastInst()
900 if (isPointerTy || DstSplitBits == SrcSplitBits) { in visitBitCastInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp534 FTy->getParamType(1)->isPointerTy() && in runFunction()
535 FTy->getParamType(2)->isPointerTy()) { in runFunction()
549 FTy->getParamType(1)->isPointerTy()) { in runFunction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h216 assert(I.getType()->isPointerTy()); in visitPtr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp296 if (T->isPointerTy()) in isSupportedArgumentType()
306 if (T->isPointerTy()) in isSupportedReturnType()
456 if (Arg.Flags[0].isSRet() && !Arg.Ty->isPointerTy()) in lowerCall()

1234567