Home
last modified time | relevance | path

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

123456

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp86 if (!FuncTy->getReturnType()->isPointerTy() && in isCallingConvCCompatible()
770 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
802 FTy.getParamType(0)->isPointerTy()); in isValidProtoForLibFunc()
813 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
814 FTy.getParamType(1)->isPointerTy() && in isValidProtoForLibFunc()
832 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
855 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
860 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
877 FTy.getParamType(0)->isPointerTy()); in isValidProtoForLibFunc()
892 FTy.getParamType(3)->isPointerTy() && in isValidProtoForLibFunc()
[all …]
H A DCFLGraph.h205 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 DCFLSteensAliasAnalysis.cpp166 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 DAliasAnalysisSummary.cpp60 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue()
80 if (V->getType()->isPointerTy()) in instantiateInterfaceValue()
H A DAliasAnalysisEvaluator.cpp88 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 DLoads.cpp49 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 DAliasAnalysis.cpp255 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 DScalarEvolutionAliasAnalysis.cpp113 if (Last->getType()->isPointerTy()) in GetBaseValue()
H A DScalarEvolution.cpp1059 if (!Op->getType()->isPointerTy()) in getLosslessPtrToIntExpr()
1135 if (!STy->isPointerTy()) in getLosslessPtrToIntExpr()
2980 assert(!ETy->isPointerTy()); in getMulExpr()
3923 if (Ty->isPointerTy()) in getTypeSizeInBits()
4151 assert(P->getType()->isPointerTy()); in removePointerBase()
4194 if (RHS->getType()->isPointerTy()) { in getMinusSCEV()
4352 if (!V->getType()->isPointerTy()) in getPointerBase()
6203 if (U->getType()->isPointerTy()) { in getRangeRef()
8781 if (!C->getType()->isPointerTy() && C2->getType()->isPointerTy()) { in BuildConstantFromSCEV()
10671 if (LHS->getType()->isPointerTy() || FoundLHS->getType()->isPointerTy()) in isImpliedCondBalancedTypes()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp98 if (!getType()->isPointerTy()) return false; in hasNonNullAttr()
111 if (!getType()->isPointerTy()) return false; in hasByValAttr()
116 if (!getType()->isPointerTy()) in hasByRefAttr()
130 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr()
135 if (!getType()->isPointerTy()) in hasPreallocatedAttr()
141 if (!getType()->isPointerTy()) return false; in hasPassPointeeByValueCopyAttr()
149 if (!getType()->isPointerTy()) in hasPointeeInMemoryValueAttr()
227 assert(getType()->isPointerTy() && in getDereferenceableBytes()
233 assert(getType()->isPointerTy() && in getDereferenceableOrNullBytes()
239 if (!getType()->isPointerTy()) return false; in hasNestAttr()
[all …]
H A DValue.cpp607 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets()
638 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets()
668 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripPointerCastsAndOffsets()
769 assert(getType()->isPointerTy()); in canBeFreed()
833 assert(getType()->isPointerTy() && "must be pointer"); in getPointerDereferenceableBytes()
907 assert(getType()->isPointerTy() && "must be pointer"); in getPointerAlignment()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp598 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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h216 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
228 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function
234 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy()
261 isPointerTy() || isVectorTy() || isX86_AMXTy(); in isSingleValueType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp339 if (LI->getType()->isPointerTy()) { in runOnKernelFunction()
355 if (Arg.getType()->isPointerTy()) { in runOnKernelFunction()
369 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp283 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()
585 if (!OperandUse.get()->getType()->isPointerTy()) in cloneInstructionWithNewAddressSpace()
596 assert(I->getType()->isPointerTy()); in cloneInstructionWithNewAddressSpace()
615 assert(I->getType()->isPointerTy()); in cloneInstructionWithNewAddressSpace()
638 Type *TargetType = CE->getType()->isPointerTy() in cloneConstantExprWithNewAddressSpace()
H A DIndVarSimplify.cpp909 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()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp263 if (V->getType()->isPointerTy()) in getRandomPointerValue()
384 if (Val0->getType()->isPointerTy() || in Act()
385 Val1->getType()->isPointerTy()) in Act()
565 if (VTy->isPointerTy()) { in Act()
566 if (!DestTy->isPointerTy()) in Act()
659 if (Val0->getType()->isPointerTy()) return; in Act()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp75 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runOnModule()
76 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runOnModule()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp718 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kCallingConv.h62 bool IsPtr = I != CCInfo.F.arg_end() && I->getType()->isPointerTy(); in CC_M68k_Any_AssignToReg()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp246 return T1 == T2 || (T1->isPointerTy() && T2->isPointerTy()) || in isNoopBitcast()
618 if (!A->getType()->isPointerTy() || !B->getType()->isPointerTy()) in isPointerBitcastEqualTo()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp718 if (LHS.second->getType()->isPointerTy() != in operator ()()
719 RHS.second->getType()->isPointerTy()) in operator ()()
720 return LHS.second->getType()->isPointerTy(); in operator ()()
1110 if (ExpandTy->isPointerTy()) { in expandIVInc()
1151 if (Phi->getType()->isPointerTy()) in canBeCheaplyTransformed()
1345 bool useSubtract = !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in getAddRecExprPHILiterally()
1500 !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in expandAddRecExprLiterally()
1585 !S->getType()->isPointerTy()) { in visitAddRecExpr()
1879 assert(Inst->getType()->isPointerTy()); in expandCodeForImpl()
2128 if (OrigPhiRef->getType()->isPointerTy() != Phi->getType()->isPointerTy()) in replaceCongruentIVs()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h223 assert(I.getType()->isPointerTy()); in visitPtr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp282 if (T->isPointerTy()) in isSupportedArgumentType()
292 if (T->isPointerTy()) in isSupportedReturnType()
442 if (Arg.Flags[0].isSRet() && !Arg.Ty->isPointerTy()) in lowerCall()

123456