Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp673 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
712 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
735 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
740 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
757 FTy.getParamType(0)->isPointerTy()); in isValidProtoForLibFunc()
772 FTy.getParamType(2)->isPointerTy()); in isValidProtoForLibFunc()
780 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
821 return (FTy.getReturnType()->isPointerTy()); in isValidProtoForLibFunc()
836 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
839 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
[all …]
H A DCFLGraph.h208 assert(Val != nullptr && Val->getType()->isPointerTy());
224 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
241 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy()) in addDerefEdge()
268 if (RetVal->getType()->isPointerTy()) { in visitReturnInst()
365 if (Inst.getType()->isPointerTy()) in visitVAArgInst()
420 if (V->getType()->isPointerTy()) in visitCallSite()
422 if (Inst->getType()->isPointerTy()) in visitCallSite()
446 if (V->getType()->isPointerTy()) { in visitCallSite()
456 if (Inst->getType()->isPointerTy()) { in visitCallSite()
486 if (Inst.getType()->isPointerTy()) in visitLandingPadInst()
[all …]
H A DCFLSteensAliasAnalysis.cpp165 assert(RetVal->getType()->isPointerTy()); in FunctionInfo()
174 if (Param.getType()->isPointerTy()) { in FunctionInfo()
270 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy()) in query()
H A DAliasAnalysisSummary.cpp59 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue()
79 if (Value->getType()->isPointerTy()) in instantiateInterfaceValue()
H A DAliasAnalysis.cpp185 if (!Arg->getType()->isPointerTy()) in getModRefInfo()
261 if (!Arg->getType()->isPointerTy()) in getModRefInfo()
312 if (!Arg->getType()->isPointerTy()) in getModRefInfo()
583 if (!(*CI)->getType()->isPointerTy() || in callCapturesBefore()
H A DAliasAnalysisEvaluator.cpp85 return V->getType()->isPointerTy() in isInterestingPointer()
105 if (I.getType()->isPointerTy()) // Add all pointer arguments. in runInternal()
109 if (I->getType()->isPointerTy()) // Add all pointer instructions. in runInternal()
H A DIVDescriptors.cpp780 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor()
989 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
1030 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
1065 assert(PhiTy->isPointerTy() && "The PHI must be a pointer"); in isInductionPHI()
H A DScalarEvolutionAliasAnalysis.cpp107 if (Last->getType()->isPointerTy()) in GetBaseValue()
H A DLint.cpp268 if (Formal->hasNoAliasAttr() && Actual->getType()->isPointerTy()) { in visitCallSite()
276 if (AI != BI && (*BI)->getType()->isPointerTy()) { in visitCallSite()
285 if (Formal->hasStructRetAttr() && Actual->getType()->isPointerTy()) { in visitCallSite()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.cpp48 FTy->getParamType(1)->isPointerTy() && in runFunction()
49 FTy->getParamType(2)->isPointerTy()) { in runFunction()
63 FTy->getParamType(1)->isPointerTy()) { in runFunction()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp213 if (LI->getType()->isPointerTy()) { in runOnKernelFunction()
229 if (Arg.getType()->isPointerTy()) { in runOnKernelFunction()
242 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DType.h212 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
224 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function
227 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy()
252 isPointerTy() || isVectorTy(); in isSingleValueType()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DFunction.cpp77 if (!getType()->isPointerTy()) return false; in hasNonNullAttr()
88 if (!getType()->isPointerTy()) return false; in hasByValAttr()
101 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr()
106 if (!getType()->isPointerTy()) return false; in hasByValOrInAllocaAttr()
113 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlignment()
118 assert(getType()->isPointerTy() && in getDereferenceableBytes()
124 assert(getType()->isPointerTy() && in getDereferenceableOrNullBytes()
130 if (!getType()->isPointerTy()) return false; in hasNestAttr()
135 if (!getType()->isPointerTy()) return false; in hasNoAliasAttr()
140 if (!getType()->isPointerTy()) return false; in hasNoCaptureAttr()
[all …]
H A DValue.cpp470 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets()
522 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripPointerCastsAndOffsets()
549 if (!getType()->isPointerTy()) in stripAndAccumulateInBoundsConstantOffsets()
583 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripAndAccumulateInBoundsConstantOffsets()
595 assert(getType()->isPointerTy() && "must be pointer"); in getPointerDereferenceableBytes()
647 assert(getType()->isPointerTy() && "must be pointer"); in getPointerAlignment()
H A DInstructions.cpp594 assert(Source->getType()->isPointerTy() && in createFree()
1135 assert(getOperand(0)->getType()->isPointerTy() && in AssertOK()
1206 assert(getOperand(1)->getType()->isPointerTy() && in AssertOK()
1297 assert(getOperand(0)->getType()->isPointerTy() && in Init()
1485 if (!CT || CT->isPointerTy()) return nullptr; in getIndexedTypeInternal()
2302 if (SrcTy->isPointerTy()) in isLosslessCast()
2303 return DstTy->isPointerTy(); in isLosslessCast()
2821 return SrcTy->isPointerTy(); in isCastable()
2958 assert(SrcTy->isPointerTy() && in getCastOpcode()
2986 } else if (DestTy->isPointerTy()) { in getCastOpcode()
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp261 if (V->getType()->isPointerTy()) in getRandomPointerValue()
381 if (Val0->getType()->isPointerTy() || in Act()
382 Val1->getType()->isPointerTy()) in Act()
556 if (VTy->isPointerTy()) { in Act()
557 if (!DestTy->isPointerTy()) in Act()
649 if (Val0->getType()->isPointerTy()) return; in Act()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp76 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runOnModule()
77 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runOnModule()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp682 if (A->getType()->isPointerTy() && !A->hasNoCaptureAttr()) { in addArgumentAttrs()
693 if (!A->getType()->isPointerTy()) in addArgumentAttrs()
925 if (!F->getReturnType()->isPointerTy()) in addNoAliasAttrs()
935 !F->getReturnType()->isPointerTy()) in addNoAliasAttrs()
955 assert(F->getReturnType()->isPointerTy() && in isReturnNonNull()
1042 if (!F->getReturnType()->isPointerTy()) in addNonNullAttrs()
1067 !F->getReturnType()->isPointerTy()) in addNonNullAttrs()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp100 assert(F.getReturnType()->isPointerTy() && in setRetNonNull()
1068 if (File->getType()->isPointerTy()) in emitFPutC()
1088 if (File->getType()->isPointerTy()) in emitFPutCUnlocked()
1107 if (File->getType()->isPointerTy()) in emitFPutS()
1125 if (File->getType()->isPointerTy()) in emitFPutSUnlocked()
1146 if (File->getType()->isPointerTy()) in emitFWrite()
1209 if (File->getType()->isPointerTy()) in emitFWriteUnlocked()
1227 if (File->getType()->isPointerTy()) in emitFGetCUnlocked()
1268 if (File->getType()->isPointerTy()) in emitFReadUnlocked()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp312 assert(V->getType()->isPointerTy()); in appendsFlatAddressExpressionToPostorderStack()
381 if (Cmp->getOperand(0)->getType()->isPointerTy()) { in collectFlatAddressExpressions()
464 if (!OperandUse.get()->getType()->isPointerTy()) in cloneInstructionWithNewAddressSpace()
475 assert(I->getType()->isPointerTy()); in cloneInstructionWithNewAddressSpace()
494 assert(I->getType()->isPointerTy()); in cloneInstructionWithNewAddressSpace()
H A DIndVarSimplify.cpp205 if (!FromPtr->getType()->isPointerTy() || !ToPtr->getType()->isPointerTy()) in isValidRewrite()
2215 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy()) in FindLoopCounter()
2293 if (IndVar->getType()->isPointerTy() && in genLoopLimit()
2294 !ExitCount->getType()->isPointerTy()) { in genLoopLimit()
2358 Type *LimitTy = ExitCount->getType()->isPointerTy() ? in genLoopLimit()
2428 assert(ExitCnt->getType()->isPointerTy() == in linearFunctionTestReplace()
2429 IndVar->getType()->isPointerTy() && in linearFunctionTestReplace()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp59 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp529 FTy->getParamType(1)->isPointerTy() && in runFunction()
530 FTy->getParamType(2)->isPointerTy()) { in runFunction()
544 FTy->getParamType(1)->isPointerTy()) { in runFunction()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h225 assert(I.getType()->isPointerTy()); in visitPtr()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp505 if (NewTy->isPointerTy()) in combineLoadToNewType()
574 assert(V->getType()->isPointerTy() && "Expected pointer type."); in isMinMaxWithLoads()
1449 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in visitStoreInst()
1507 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())); in visitStoreInst()
1555 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in mergeStoreIntoSuccessor()

12345