| /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/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/include/llvm/IR/ |
| H A D | Type.h | 243 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } 255 bool isPointerTy() const { return getTypeID() == PointerTyID; } 258 LLVM_DEPRECATED("Use isPointerTy() instead", "isPointerTy") 259 bool isOpaquePointerTy() const { return isPointerTy(); }; 262 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } 289 isPointerTy() || isVectorTy() || isX86_AMXTy() || isTargetExtTy(); in isSingleValueType() 256 bool isPointerTy() const { return getTypeID() == PointerTyID; } isPointerTy() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | Coroutines.cpp | 525 if (FT->getReturnType()->isPointerTy()) { in checkWFRetconPrototype() 530 SRetTy->getElementType(0)->isPointerTy()); in checkWFRetconPrototype() 546 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype() 558 if (!FT->getReturnType()->isPointerTy()) in checkWFAlloc() 577 !FT->getParamType(0)->isPointerTy()) in checkWFDealloc() 617 if (!FunTy->getReturnType()->isPointerTy()) in checkAsyncContextProjectFunction() 622 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy()) in checkAsyncContextProjectFunction()
|
| H A D | CoroElide.cpp | 95 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 249 isPointerTy(SI->getValueOperand()->getType()) && in IsKernelArgInt8() 350 if (!Op || !isPointerTy(Op->getType())) in deduceElementTypeByUsersDeep() 436 isPointerTy(Src) && isPointerTy(Dest)) in deduceElementTypeHelper() 441 if (isPointerTy(Op->getType())) in deduceElementTypeHelper() 445 if (isPointerTy(Op->getType())) in deduceElementTypeHelper() 621 if (!isPointerTy(I->getType()) || in deduceOperandElementType() 626 if (isPointerTy(Op->getType())) in deduceOperandElementType() 675 if (!isPointerTy(I->getType()) || in deduceOperandElementType() 680 if (isPointerTy(Op->getType())) in deduceOperandElementType() 685 if (!isPointerTy(RetTy)) in deduceOperandElementType() [all …]
|
| H A D | SPIRVCallLowering.cpp | 103 if (Arg.getType()->isPointerTy()) { in fixFunctionTypeIfPtrArgs() 111 if (!RetTy->isPointerTy()) in fixFunctionTypeIfPtrArgs() 201 if (!isPointerTy(OriginalArgType)) in getArgSPIRVType() 305 if (isPointerTy(Arg.getType())) { in lowerFormalArguments()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 129 if (!getType()->isPointerTy()) return false; in hasNonNullAttr() 142 if (!getType()->isPointerTy()) return false; in hasByValAttr() 147 if (!getType()->isPointerTy()) in hasByRefAttr() 161 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr() 166 if (!getType()->isPointerTy()) in hasPreallocatedAttr() 172 if (!getType()->isPointerTy()) return false; in hasPassPointeeByValueCopyAttr() 180 if (!getType()->isPointerTy()) in hasPointeeInMemoryValueAttr() 224 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlign() 233 assert(getType()->isPointerTy() && "Only pointers have byval types"); in getParamByValType() 238 assert(getType()->isPointerTy() && "Only pointers have sret types"); in getParamStructRetType() [all …]
|
| H A D | Value.cpp | 625 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets() 656 if (!NewV->getType()->isPointerTy()) in stripPointerCastsAndOffsets() 687 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripPointerCastsAndOffsets() 791 assert(getType()->isPointerTy()); in canBeFreed() 855 assert(getType()->isPointerTy() && "must be pointer"); in getPointerDereferenceableBytes() 928 assert(getType()->isPointerTy() && "must be pointer"); in getPointerAlignment()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerArgs.cpp | 573 if (LI->getType()->isPointerTy() || LI->getType()->isIntegerTy()) { in runOnKernelFunction() 578 if (LI->getType()->isPointerTy()) in runOnKernelFunction() 592 if (Arg.getType()->isPointerTy()) { in runOnKernelFunction() 610 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 266 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/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | FunctionPropertiesAnalysis.cpp | 153 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 D | AliasAnalysis.cpp | 245 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 311 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 349 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 677 if (!(*CI)->getType()->isPointerTy() || in callCapturesBefore()
|
| H A D | Loads.cpp | 42 assert(V->getType()->isPointerTy() && "Base must be pointer"); in isDereferenceableAndAlignedPointer() 80 if (BC->getSrcTy()->isPointerTy()) in isDereferenceableAndAlignedPointer() 761 if (!To->getType()->isPointerTy()) in canReplacePointersInUseIfEqual() 773 if (!From->getType()->isPointerTy()) in canReplacePointersIfEqual()
|
| H A D | ScalarEvolution.cpp | 526 assert(getOperand()->getType()->isPointerTy() && Ty->isIntegerTy() && in SCEVPtrToIntExpr() 609 bool LIsPointer = LV->getType()->isPointerTy(), in CompareValueComplexity() 610 RIsPointer = RV->getType()->isPointerTy(); in CompareValueComplexity() 1008 if (!Op->getType()->isPointerTy()) in getLosslessPtrToIntExpr() 1084 if (!STy->isPointerTy()) in getLosslessPtrToIntExpr() 1111 assert(Expr->getType()->isPointerTy() && in getLosslessPtrToIntExpr() 1141 assert(!Op->getType()->isPointerTy() && "Can't truncate pointer!"); in getTruncateExpr() 1556 assert(!Op->getType()->isPointerTy() && "Can't extend pointer!"); in getZeroExtendExpr() 1575 assert(!Op->getType()->isPointerTy() && "Can't extend pointer!"); in getZeroExtendExprImpl() 1891 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 | 469 if (LHS.second->getType()->isPointerTy() != in operator ()() 470 RHS.second->getType()->isPointerTy()) in operator ()() 471 return LHS.second->getType()->isPointerTy(); in operator ()() 529 assert(!Op->getType()->isPointerTy() && "Only first op can be pointer"); in visitAddExpr() 856 if (PN->getType()->isPointerTy()) { in expandIVInc() 876 if (PhiTy->isPointerTy() || RequestedTy->isPointerTy()) in canBeCheaplyTransformed() 1058 bool useSubtract = !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in getAddRecExprPHILiterally() 1174 !S->getType()->isPointerTy() && Step->isNonConstantNegative(); in expandAddRecExprLiterally() 1229 !S->getType()->isPointerTy()) { in visitAddRecExpr() 1750 if (OrigPhiRef->getType()->isPointerTy() != Phi->getType()->isPointerTy()) in replaceCongruentIVs()
|
| /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()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
| H A D | OpDescriptor.h | 152 return V->getType()->isPointerTy() && !V->isSwiftError(); in anyPtrType() 169 return V->getType()->isPointerTy(); in sizedPtrType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 891 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()
|
| /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/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 348 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/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 216 assert(I.getType()->isPointerTy()); in visitPtr()
|