|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Analysis/PtrUseVisitor.h 224 assert(I.getType()->isPointerTy());
include/llvm/Analysis/TargetTransformInfoImpl.h 58 if (Ty == OpTy || (Ty->isPointerTy() && OpTy->isPointerTy()))
58 if (Ty == OpTy || (Ty->isPointerTy() && OpTy->isPointerTy()))
include/llvm/FuzzMutate/OpDescriptor.h 131 return V->getType()->isPointerTy() && !V->isSwiftError();
include/llvm/IR/InstrTypes.h 1012 return Inputs[Idx]->getType()->isPointerTy();
include/llvm/IR/Type.h 212 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); }
227 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); }
252 isPointerTy() || isVectorTy();
lib/Analysis/AliasAnalysis.cpp 213 if (!Arg->getType()->isPointerTy())
295 if (!Arg->getType()->isPointerTy())
346 if (!Arg->getType()->isPointerTy())
671 if (!(*CI)->getType()->isPointerTy() ||
lib/Analysis/AliasAnalysisEvaluator.cpp 84 return V->getType()->isPointerTy()
104 if (I.getType()->isPointerTy()) // Add all pointer arguments.
108 if (I->getType()->isPointerTy()) // Add all pointer instructions.
lib/Analysis/AliasAnalysisSummary.cpp 59 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy())
79 if (V->getType()->isPointerTy())
lib/Analysis/AliasSetTracker.cpp 500 if (!Arg->getType()->isPointerTy())
lib/Analysis/BasicAliasAnalysis.cpp 911 if (!(*CI)->getType()->isPointerTy() ||
1760 if (!V1->getType()->isPointerTy() || !V2->getType()->isPointerTy())
1760 if (!V1->getType()->isPointerTy() || !V2->getType()->isPointerTy())
lib/Analysis/BranchProbabilityInfo.cpp 412 if (!LHS->getType()->isPointerTy())
415 assert(CI->getOperand(1)->getType()->isPointerTy());
lib/Analysis/CFLAndersAliasAnalysis.cpp 852 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy())
852 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy())
lib/Analysis/CFLGraph.h 205 assert(Val != nullptr && Val->getType()->isPointerTy());
221 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
221 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
238 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
238 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
265 if (RetVal->getType()->isPointerTy()) {
367 if (Inst.getType()->isPointerTy())
420 if (V->getType()->isPointerTy())
422 if (Call.getType()->isPointerTy())
446 if (V->getType()->isPointerTy()) {
456 if (Call.getType()->isPointerTy()) {
486 if (Inst.getType()->isPointerTy())
611 if (Arg.getType()->isPointerTy()) {
lib/Analysis/CFLSteensAliasAnalysis.cpp 165 assert(RetVal->getType()->isPointerTy());
174 if (Param.getType()->isPointerTy()) {
270 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy())
270 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy())
lib/Analysis/CaptureTracking.cpp 229 assert(V->getType()->isPointerTy() && "Capture is for pointers only!");
lib/Analysis/ConstantFolding.cpp 269 if (DstEltTy->isPointerTy()) {
337 if (SrcTy->isIntegerTy() && DestTy->isPointerTy())
339 else if (SrcTy->isPointerTy() && DestTy->isIntegerTy())
803 assert(Ptr->getType()->isPointerTy() && "Not a pointer type");
837 if (!Ptr->getType()->isPointerTy())
923 if (Ty->isPointerTy()) {
lib/Analysis/GlobalsModRef.cpp 328 if (GV.getValueType()->isPointerTy() &&
347 if (!V->getType()->isPointerTy())
lib/Analysis/IVDescriptors.cpp 785 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) &&
994 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() &&
1035 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy())
1077 assert(PhiTy->isPointerTy() && "The PHI must be a pointer");
lib/Analysis/InlineCost.cpp 476 bool CheckSROA = I.getType()->isPointerTy();
1354 bool CheckSROA = SI.getType()->isPointerTy();
1651 if (!V->getType()->isPointerTy())
1676 assert(V->getType()->isPointerTy() && "Unexpected operand type!");
lib/Analysis/InstructionSimplify.cpp 3416 if (LHS->getType()->isPointerTy())
lib/Analysis/LazyValueInfo.cpp 703 assert(Val->getType()->isPointerTy());
1857 if (V->getType()->isPointerTy() && C->isNullValue() &&
lib/Analysis/Lint.cpp 267 if (Formal->hasNoAliasAttr() && Actual->getType()->isPointerTy()) {
279 if (AI != BI && (*BI)->getType()->isPointerTy()) {
288 if (Formal->hasStructRetAttr() && Actual->getType()->isPointerTy()) {
lib/Analysis/LoopAccessAnalysis.cpp 994 assert(Ty->isPointerTy() && "Unexpected non-ptr");
1104 VL, [](const Value *V) { return V->getType()->isPointerTy(); }) &&
lib/Analysis/MemoryDependenceAnalysis.cpp 921 assert(Loc.Ptr->getType()->isPointerTy() &&
1527 if (!Ptr->getType()->isPointerTy())
1570 if (RemInst->getType()->isPointerTy()) {
lib/Analysis/ModuleSummaryAnalysis.cpp 490 if (I->getType()->isPointerTy()) {
lib/Analysis/ScalarEvolution.cpp 582 bool LIsPointer = LV->getType()->isPointerTy(),
583 RIsPointer = RV->getType()->isPointerTy();
3775 if (Ty->isPointerTy())
3790 assert(Ty->isPointerTy() && "Unexpected non-pointer non-integer type!");
4160 if (!V->getType()->isPointerTy())
4168 if (NAryOp->getType()->isPointerTy()) {
8088 if (!C->getType()->isPointerTy() && C2->getType()->isPointerTy()) {
8088 if (!C->getType()->isPointerTy() && C2->getType()->isPointerTy()) {
8099 if (C2->getType()->isPointerTy())
8118 if (C->getType()->isPointerTy()) return nullptr;
8121 if (!C2 || C2->getType()->isPointerTy()) return nullptr;
10312 if (DTy->isPointerTy() != FRHSTy->isPointerTy())
10312 if (DTy->isPointerTy() != FRHSTy->isPointerTy())
lib/Analysis/ScalarEvolutionAliasAnalysis.cpp 107 if (Last->getType()->isPointerTy())
lib/Analysis/ScalarEvolutionExpander.cpp 664 if (LHS.second->getType()->isPointerTy() !=
665 RHS.second->getType()->isPointerTy())
666 return LHS.second->getType()->isPointerTy();
1057 if (ExpandTy->isPointerTy()) {
1280 bool useSubtract = !ExpandTy->isPointerTy() && Step->isNonConstantNegative();
1423 !ExpandTy->isPointerTy() && Step->isNonConstantNegative();
2014 if (OrigPhiRef->getType()->isPointerTy() != Phi->getType()->isPointerTy())
2014 if (OrigPhiRef->getType()->isPointerTy() != Phi->getType()->isPointerTy())
lib/Analysis/TargetLibraryInfo.cpp 648 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() &&
649 FTy.getParamType(1)->isPointerTy() &&
653 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() &&
654 FTy.getParamType(1)->isPointerTy() &&
659 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() &&
660 FTy.getParamType(1)->isPointerTy() &&
661 FTy.getParamType(2)->isPointerTy() &&
664 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy() &&
669 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() &&
681 FTy.getParamType(0)->isPointerTy() &&
682 FTy.getParamType(1)->isPointerTy());
689 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() &&
699 return (NumParams == 3 && FTy.getReturnType()->isPointerTy() &&
725 FTy.getParamType(0)->isPointerTy() &&
726 FTy.getParamType(1)->isPointerTy() &&
743 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() &&
744 FTy.getParamType(1)->isPointerTy());
748 FTy.getParamType(0)->isPointerTy() &&
753 FTy.getParamType(0)->isPointerTy() &&
759 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() &&
766 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() &&
767 FTy.getParamType(1)->isPointerTy());
770 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() &&
771 FTy.getParamType(0)->isPointerTy() &&
772 FTy.getParamType(1)->isPointerTy());
775 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() &&
781 return (NumParams >= 2 && FTy.getParamType(1)->isPointerTy());
785 return (NumParams >= 1 && FTy.getParamType(0)->isPointerTy());
788 return (NumParams >= 1 && FTy.getReturnType()->isPointerTy() &&
789 FTy.getParamType(0)->isPointerTy());
796 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() &&
797 FTy.getParamType(1)->isPointerTy() &&
801 return NumParams == 4 && FTy.getParamType(0)->isPointerTy() &&
804 FTy.getParamType(3)->isPointerTy() &&
808 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() &&
809 FTy.getParamType(2)->isPointerTy() &&
813 return NumParams == 5 && FTy.getParamType(0)->isPointerTy() &&
817 FTy.getParamType(4)->isPointerTy() &&
821 return (NumParams == 3 && FTy.getParamType(1)->isPointerTy() &&
822 FTy.getParamType(2)->isPointerTy());
824 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy());
826 return (NumParams == 1 && FTy.getReturnType()->isPointerTy());
829 FTy.getParamType(0)->isPointerTy() &&
830 FTy.getParamType(1)->isPointerTy());
834 return (NumParams == 3 && FTy.getReturnType()->isPointerTy() &&
841 return (NumParams >= 2 && FTy.getParamType(1)->isPointerTy());
853 FTy.getParamType(0)->isPointerTy() &&
854 FTy.getParamType(1)->isPointerTy() &&
864 FTy.getParamType(0)->isPointerTy() &&
874 return (NumParams >= 2 && FTy.getParamType(1)->isPointerTy());
876 return (FTy.getReturnType()->isPointerTy());
883 return (NumParams == 3 && FTy.getParamType(1)->isPointerTy());
888 return (NumParams >= 1 && FTy.getParamType(0)->isPointerTy());
890 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() &&
891 FTy.getParamType(1)->isPointerTy());
893 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() &&
894 FTy.getParamType(1)->isPointerTy());
896 return (NumParams == 3 && FTy.getParamType(1)->isPointerTy());
899 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() &&
900 FTy.getParamType(1)->isPointerTy());
902 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy());
904 return (NumParams == 2 && FTy.getReturnType()->isPointerTy());
923 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy());
954 return (NumParams != 0 && FTy.getParamType(0)->isPointerTy());
957 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() &&
958 FTy.getParamType(0)->isPointerTy() &&
959 FTy.getParamType(1)->isPointerTy());
963 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() &&
964 FTy.getParamType(1)->isPointerTy());
972 return (NumParams == 2 && FTy.getParamType(1)->isPointerTy());
975 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() &&
976 FTy.getParamType(2)->isPointerTy());
979 return (NumParams == 4 && FTy.getParamType(0)->isPointerTy() &&
980 FTy.getParamType(3)->isPointerTy());
984 FTy.getParamType(0)->isPointerTy() &&
987 FTy.getParamType(3)->isPointerTy());
990 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() &&
991 FTy.getParamType(1)->isPointerTy());
997 FTy.getParamType(0)->isPointerTy() &&
998 FTy.getParamType(1)->isPointerTy());
1000 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() &&
1001 FTy.getParamType(1)->isPointerTy());
1008 return (NumParams == 2 && FTy.getParamType(1)->isPointerTy());
1010 return (NumParams == 2 && FTy.getParamType(1)->isPointerTy());
1013 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() &&
1014 FTy.getParamType(1)->isPointerTy());
1017 return (NumParams == 2 && FTy.getParamType(1)->isPointerTy());
1020 return (NumParams == 4 && FTy.getParamType(1)->isPointerTy());
1022 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() &&
1023 FTy.getParamType(0)->isPointerTy() &&
1024 FTy.getParamType(1)->isPointerTy());
1026 return (NumParams == 2 && FTy.getParamType(1)->isPointerTy());
1028 return (NumParams == 3 && FTy.getParamType(1)->isPointerTy() &&
1029 FTy.getParamType(2)->isPointerTy());
1031 return (NumParams == 3 && FTy.getParamType(1)->isPointerTy() &&
1032 FTy.getParamType(2)->isPointerTy());
1034 return (FTy.getReturnType()->isPointerTy());
1036 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy());
1039 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() &&
1040 FTy.getParamType(1)->isPointerTy());
1042 return NumParams == 5 && FTy.getParamType(0)->isPointerTy() &&
1044 IsSizeTTy(FTy.getParamType(2)) && FTy.getParamType(3)->isPointerTy();
1046 return (NumParams == 4 && FTy.getParamType(0)->isPointerTy() &&
1047 FTy.getParamType(2)->isPointerTy());
1049 return NumParams == 6 && FTy.getParamType(0)->isPointerTy() &&
1051 IsSizeTTy(FTy.getParamType(3)) && FTy.getParamType(4)->isPointerTy();
1053 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy());
1055 return (NumParams == 1 && FTy.getReturnType()->isPointerTy() &&
1056 FTy.getParamType(0)->isPointerTy());
1058 return (FTy.getReturnType()->isPointerTy());
1068 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() &&
1069 FTy.getParamType(1)->isPointerTy());
1071 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy());
1073 return (NumParams == 4 && FTy.getParamType(3)->isPointerTy());
1076 return (NumParams >= 1 && FTy.getReturnType()->isPointerTy() &&
1077 FTy.getParamType(0)->isPointerTy());
1079 return (NumParams == 3 && FTy.getParamType(1)->isPointerTy());
1081 return (NumParams == 2 && FTy.getParamType(1)->isPointerTy());
1083 return (NumParams >= 1 && FTy.getParamType(0)->isPointerTy());
1087 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() &&
1088 FTy.getParamType(1)->isPointerTy());
1090 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() &&
1091 FTy.getParamType(1)->isPointerTy());
1093 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() &&
1094 FTy.getParamType(0)->isPointerTy() &&
1095 FTy.getParamType(1)->isPointerTy());
1097 return (FTy.getReturnType()->isPointerTy());
1100 return (NumParams == 2 && FTy.getParamType(1)->isPointerTy());
1102 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy());
1104 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() &&
1105 FTy.getParamType(1)->isPointerTy());
1123 return (NumParams == 1 && FTy.getReturnType()->isPointerTy());
1149 return (NumParams == 2 && FTy.getReturnType()->isPointerTy());
1159 return (NumParams == 3 && FTy.getReturnType()->isPointerTy());
1173 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy());
1207 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy());
1213 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy());
1217 FTy.getParamType(0)->isPointerTy() &&
1218 FTy.getParamType(1)->isPointerTy() &&
1225 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy());
1423 FTy.getParamType(0)->isPointerTy() &&
1424 FTy.getParamType(1)->isPointerTy() &&
1425 FTy.getParamType(2)->isPointerTy());
1444 FTy.getParamType(0)->isPointerTy() &&
1448 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy() &&
lib/Analysis/TypeMetadataUtils.cpp 132 if (I->getType()->isPointerTy()) {
lib/Analysis/ValueTracking.cpp 1137 SrcBitWidth = ScalarTy->isPointerTy() ?
1645 unsigned ExpectedWidth = ScalarTy->isPointerTy() ?
1723 if (V->getType()->isPointerTy()) {
1852 assert(GEP->getType()->isPointerTy() && "We only support plain pointer GEP");
1905 assert(V->getType()->isPointerTy() && "V must be pointer type");
2058 if (V->getType()->isPointerTy()) {
2083 if (V->getType()->isPointerTy()) {
2382 unsigned TyBits = ScalarTy->isPointerTy() ?
3653 if (!V->getType()->isPointerTy())
3716 if (!V->getType()->isPointerTy())
3758 assert(V->getType()->isPointerTy() && "Unexpected operand type!");
3853 if (O->getType()->isPointerTy()) {
lib/AsmParser/LLParser.cpp 3153 !Elts[0]->getType()->isPointerTy())
5191 if (!Ty->isPointerTy())
6006 if (!Address->getType()->isPointerTy())
6961 if (!Val->getType()->isPointerTy() || !Ty->isFirstClassType())
7008 if (!Ptr->getType()->isPointerTy())
7061 if (!Ptr->getType()->isPointerTy())
7124 if (!Ptr->getType()->isPointerTy())
lib/Bitcode/Reader/BitcodeReader.cpp 3107 if (!Ty->isPointerTy())
5146 !FullTy->isPointerTy() && !isa<StructType>(FullTy) &&
lib/CodeGen/Analysis.cpp 257 return T1 == T2 || (T1->isPointerTy() && T2->isPointerTy()) ||
257 return T1 == T2 || (T1->isPointerTy() && T2->isPointerTy()) ||
lib/CodeGen/AtomicExpandPass.cpp 331 if (CASI->getCompareOperand()->getType()->isPointerTy() ) {
lib/CodeGen/CodeGenPrepare.cpp 1803 if (!Arg->getType()->isPointerTy())
1847 if (!Arg->getType()->isPointerTy())
4787 if (AddrMode.BaseReg && AddrMode.BaseReg->getType()->isPointerTy()) {
4792 if (AddrMode.Scale && AddrMode.ScaledReg->getType()->isPointerTy()) {
4941 if (V->getType()->isPointerTy())
4953 } else if (V->getType()->isPointerTy()) {
lib/CodeGen/HardwareLoops.cpp 323 if (!ExitCount->getType()->isPointerTy() &&
lib/CodeGen/MIRParser/MIParser.cpp 2780 if (!V->getType()->isPointerTy())
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 1826 assert((!V || V->getType()->isPointerTy()) &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 1867 if (I.getOperand(0)->getType()->isPointerTy()) {
8554 if (I.getType()->isPointerTy())
9078 if (CLI.RetTy->isPointerTy()) {
9133 if (Args[i].Ty->isPointerTy()) {
9213 (CLI.RetTy->isPointerTy() && Args[i].Ty->isPointerTy() &&
9213 (CLI.RetTy->isPointerTy() && Args[i].Ty->isPointerTy() &&
9634 if (Arg.getType()->isPointerTy()) {
lib/CodeGen/SelectionDAG/StatepointLowering.cpp 708 if (V->getType()->isPointerTy())
799 if (V->getType()->isPointerTy())
lib/ExecutionEngine/ExecutionEngine.cpp 773 assert(DestTy->isPointerTy() && "Invalid bitcast");
lib/ExecutionEngine/Interpreter/Execution.cpp 1049 assert(Ptr->getType()->isPointerTy() &&
1521 assert(SrcVal->getType()->isPointerTy() && "Invalid PtrToInt instruction");
1530 assert(DstTy->isPointerTy() && "Invalid PtrToInt instruction");
1674 if (DstTy->isPointerTy()) {
1675 assert(SrcTy->isPointerTy() && "Invalid BitCast");
lib/ExecutionEngine/MCJIT/MCJIT.cpp 528 FTy->getParamType(1)->isPointerTy() &&
529 FTy->getParamType(2)->isPointerTy()) {
543 FTy->getParamType(1)->isPointerTy()) {
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp 47 FTy->getParamType(1)->isPointerTy() &&
48 FTy->getParamType(2)->isPointerTy()) {
62 FTy->getParamType(1)->isPointerTy()) {
lib/IR/Attributes.cpp 1705 if (!Ty->isPointerTy())
lib/IR/Function.cpp 76 if (!getType()->isPointerTy()) return false;
87 if (!getType()->isPointerTy()) return false;
100 if (!getType()->isPointerTy()) return false;
105 if (!getType()->isPointerTy()) return false;
112 assert(getType()->isPointerTy() && "Only pointers have alignments");
117 assert(getType()->isPointerTy() && "Only pointers have byval types");
122 assert(getType()->isPointerTy() &&
128 assert(getType()->isPointerTy() &&
134 if (!getType()->isPointerTy()) return false;
139 if (!getType()->isPointerTy()) return false;
144 if (!getType()->isPointerTy()) return false;
149 if (!getType()->isPointerTy()) return false;
lib/IR/Instructions.cpp 658 assert(Source->getType()->isPointerTy() &&
1284 assert(getOperand(0)->getType()->isPointerTy() &&
1358 assert(getOperand(1)->getType()->isPointerTy() &&
1448 assert(getOperand(0)->getType()->isPointerTy() &&
1507 assert(getOperand(0)->getType()->isPointerTy() &&
1640 if (!CT || CT->isPointerTy()) return nullptr;
2476 if (SrcTy->isPointerTy())
2477 return DstTy->isPointerTy();
2903 if (S->getType()->isPointerTy() && Ty->isIntegerTy())
2905 if (S->getType()->isIntegerTy() && Ty->isPointerTy())
2995 return SrcTy->isPointerTy();
3009 if (DestTy->isPointerTy()) { // Casting to pointer
3010 if (SrcTy->isPointerTy()) // Casting from pointer
3132 assert(SrcTy->isPointerTy() &&
3160 } else if (DestTy->isPointerTy()) {
3161 if (SrcTy->isPointerTy()) {
4020 assert(Address && Address->getType()->isPointerTy() &&
lib/IR/Type.cpp 630 ElemTy->isPointerTy();
lib/IR/Value.cpp 467 if (!V->getType()->isPointerTy())
522 assert(V->getType()->isPointerTy() && "Unexpected operand type!");
610 assert(getType()->isPointerTy() && "must be pointer");
675 assert(getType()->isPointerTy() && "must be pointer");
lib/IR/Verifier.cpp 657 Assert(ETy->isPointerTy() &&
2483 Assert(BI.getAddress()->getType()->isPointerTy(),
2818 Assert(Call.getCalledValue()->getType()->isPointerTy(),
4007 Assert(I.getType()->isPointerTy(), "dereferenceable, dereferenceable_or_null "
4182 Assert(I.getType()->isPointerTy(), "nonnull applies only to pointer types",
4200 Assert(I.getType()->isPointerTy(), "align applies only to pointer types",
4410 if (!AI->getAllocatedType()->isPointerTy()) {
lib/Target/AArch64/AArch64FastISel.cpp 980 if (Subtarget->isTargetILP32() && Ty->isPointerTy())
lib/Target/AArch64/AArch64ISelLowering.cpp 8807 if (EltTy->isPointerTy())
8863 if (EltTy->isPointerTy())
8941 if (EltTy->isPointerTy()) {
lib/Target/AArch64/AArch64StackTagging.cpp 256 if (EltTy->isPointerTy()) {
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp 331 if (Arg.getType()->isPointerTy() && Arg.onlyReadsMemory() &&
748 if (Arg.getType()->isPointerTy() && Arg.onlyReadsMemory() &&
lib/Target/AMDGPU/AMDGPULibFunc.cpp 977 if (argTy->isPointerTy()) {
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 583 if (!User->getType()->isPointerTy())
lib/Target/ARM/ARMCodeGenPrepare.cpp 214 if (Ty->isVoidTy() || Ty->isPointerTy())
lib/Target/ARM/ARMISelLowering.cpp16762 if (EltTy->isPointerTy())
16823 if (EltTy->isPointerTy())
16902 if (EltTy->isPointerTy()) {
lib/Target/Hexagon/HexagonBitTracker.cpp 68 else if (ATy->isPointerTy())
lib/Target/Hexagon/HexagonCommonGEP.cpp 335 if (!GepI->getType()->isPointerTy())
1107 if (!NA[nax]->PTy->isPointerTy()) {
lib/Target/Mips/MipsCallLowering.cpp 364 if (T->isPointerTy())
374 if (T->isPointerTy())
548 if (Arg.Flags[0].isSRet() && !Arg.Ty->isPointerTy())
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 1142 if (ETy->isFloatingPointTy() || ETy->isPointerTy() ||
lib/Target/NVPTX/NVPTXISelLowering.cpp 1646 if (RetTy->isFloatingPointTy() || RetTy->isPointerTy() ||
lib/Target/NVPTX/NVPTXLowerArgs.cpp 214 if (LI->getType()->isPointerTy()) {
230 if (Arg.getType()->isPointerTy()) {
243 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr())
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp 75 !ETy->getTypeAtIndex(1U)->isPointerTy() ||
76 !ETy->getTypeAtIndex(2U)->isPointerTy())
lib/Target/X86/X86TargetTransformInfo.cpp 2401 if (Opcode == Instruction::ExtractElement && ScalarType->isPointerTy())
3271 if (ScalarTy->isPointerTy())
3377 if (ScalarTy->isPointerTy())
3732 EltTy->isIntegerTy(32) || EltTy->isPointerTy())
lib/Transforms/Coroutines/CoroElide.cpp 58 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy());
58 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy());
lib/Transforms/Coroutines/Coroutines.cpp 563 if (FT->getReturnType()->isPointerTy()) {
568 SRetTy->getElementType(0)->isPointerTy());
584 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy())
596 if (!FT->getReturnType()->isPointerTy())
615 !FT->getParamType(0)->isPointerTy())
lib/Transforms/IPO/ArgumentPromotion.cpp 897 if (I.getType()->isPointerTy())
lib/Transforms/IPO/Attributor.cpp 191 if (V->getType()->isPointerTy()) {
1529 if (!UseV->getType()->isPointerTy())
2003 if (!ArgOp->getType()->isPointerTy())
3035 if (V->getType()->isPointerTy()) {
4760 if (ReturnType->isPointerTy()) {
4783 if (Arg.getType()->isPointerTy()) {
4815 if (!CS.getArgument(i)->getType()->isPointerTy())
lib/Transforms/IPO/FunctionAttrs.cpp 706 if (A->getType()->isPointerTy() && !A->hasNoCaptureAttr()) {
717 if (!A->getType()->isPointerTy())
941 if (!F->getReturnType()->isPointerTy())
951 !F->getReturnType()->isPointerTy())
971 assert(F->getReturnType()->isPointerTy() &&
1058 if (!F->getReturnType()->isPointerTy())
1083 !F->getReturnType()->isPointerTy())
lib/Transforms/IPO/GlobalOpt.cpp 309 CE->getType()->isPointerTy()) ||
1578 if (GV->getInitializer()->getType()->isPointerTy() &&
1616 GVElType->isPointerTy() || GVElType->isVectorTy())
lib/Transforms/IPO/MergeFunctions.cpp 500 if (SrcTy->isIntegerTy() && DestTy->isPointerTy())
502 else if (SrcTy->isPointerTy() && DestTy->isIntegerTy())
lib/Transforms/InstCombine/InstCombineCalls.cpp 3956 LHS->getType()->isPointerTy() &&
4279 if (V->getType()->isPointerTy() &&
lib/Transforms/InstCombine/InstCombineCasts.cpp 2332 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() &&
2466 if (SrcTy->isPointerTy())
lib/Transforms/InstCombine/InstCombineCompares.cpp 740 if (!Base->getType()->isPointerTy())
748 if (!Val->getType()->isPointerTy()) {
899 if (GEPLHS->getType()->isVectorTy() && Base->getType()->isPointerTy()) {
2770 if (Bitcast->getType()->isPointerTy() &&
4797 if (Op0->getType()->isPointerTy())
5496 if (Op0->getType()->isPointerTy() && I.isEquality()) {
5497 assert(Op1->getType()->isPointerTy() && "Comparing pointer with non-pointer?");
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 530 assert(V->getType()->isPointerTy() && "Expected pointer type.");
1416 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
1474 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy()));
1522 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
lib/Transforms/InstCombine/InstCombinePHI.cpp 246 IncomingVal->getType()->isPointerTy() ||
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1438 return V->getType()->isPointerTy() || isa<PtrToIntInst>(V);
1485 if (i->getType()->isPointerTy())
lib/Transforms/Instrumentation/MemorySanitizer.cpp 2075 assert(!(Ty->isVectorTy() && Ty->getScalarType()->isPointerTy()) &&
2552 I.getArgOperand(0)->getType()->isPointerTy() &&
2561 I.getArgOperand(0)->getType()->isPointerTy() &&
3314 assert(A->getType()->isPointerTy() &&
3636 if (!OpType->isPointerTy() || !isOutput) {
3775 if (T->isPointerTy())
3805 assert(A->getType()->isPointerTy());
4152 || (T->isPointerTy()))
4419 assert(A->getType()->isPointerTy());
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 858 else if (Cand.V->getType()->isPointerTy())
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 655 Array->setAlignment(Align(Ty->isPointerTy()
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 2150 if (!F.getReturnType()->isPointerTy())
lib/Transforms/Scalar/CallSiteSplitting.cpp 172 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) {
lib/Transforms/Scalar/IndVarSimplify.cpp 215 if (!FromPtr->getType()->isPointerTy() || !ToPtr->getType()->isPointerTy())
215 if (!FromPtr->getType()->isPointerTy() || !ToPtr->getType()->isPointerTy())
2267 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy())
2267 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy())
2342 if (IndVar->getType()->isPointerTy() &&
2343 !ExitCount->getType()->isPointerTy()) {
2409 Type *LimitTy = ExitCount->getType()->isPointerTy() ?
2474 assert(ExitCnt->getType()->isPointerTy() ==
2475 IndVar->getType()->isPointerTy() &&
2501 assert(!CmpIndVar->getType()->isPointerTy() &&
2502 !ExitCnt->getType()->isPointerTy());
lib/Transforms/Scalar/InferAddressSpaces.cpp 227 assert(Op.getType()->isPointerTy());
234 return Op.getType()->isPointerTy();
310 assert(V->getType()->isPointerTy());
379 if (Cmp->getOperand(0)->getType()->isPointerTy()) {
462 if (!OperandUse.get()->getType()->isPointerTy())
473 assert(I->getType()->isPointerTy());
492 assert(I->getType()->isPointerTy());
lib/Transforms/Scalar/JumpThreading.cpp 516 if (isa<BitCastInst>(I) && I->getType()->isPointerTy())
lib/Transforms/Scalar/LICM.cpp 1156 if (Op->getType()->isPointerTy()) {
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 2631 if (Len->getType()->isPointerTy())
lib/Transforms/Scalar/LoopInterchange.cpp 305 !PhiTy->isPointerTy())
lib/Transforms/Scalar/LoopRerollPass.cpp 579 if (!I->getType()->isIntegerTy() && !I->getType()->isPointerTy())
lib/Transforms/Scalar/LoopStrengthReduce.cpp 1598 if (AccessTy.MemTy->isPointerTy())
2747 return (LType == RType) || (LType->isPointerTy() && RType->isPointerTy() &&
2747 return (LType == RType) || (LType->isPointerTy() && RType->isPointerTy() &&
3229 assert(PostIncTy->isPointerTy() && "mixing int/ptr IV types");
3877 if (Base.ScaledReg && Base.ScaledReg->getType()->isPointerTy())
3880 if (BaseReg->getType()->isPointerTy())
3893 if (!IntTy->isPointerTy() &&
3905 if (!IntTy->isPointerTy() &&
3944 if (!IntTy->isPointerTy() &&
lib/Transforms/Scalar/SROA.cpp 1435 if (ElementTy->isPointerTy())
1474 if (Ty->isPointerTy())
1653 assert(Ptr->getType()->isPointerTy() && "Unexpected operand type!");
1732 if (NewTy->isPointerTy() || OldTy->isPointerTy()) {
1732 if (NewTy->isPointerTy() || OldTy->isPointerTy()) {
1733 if (NewTy->isPointerTy() && OldTy->isPointerTy()) {
1733 if (NewTy->isPointerTy() && OldTy->isPointerTy()) {
2660 if (V->getType()->isPointerTy())
lib/Transforms/Utils/BuildLibCalls.cpp 108 assert(F.getReturnType()->isPointerTy() &&
1178 if (File->getType()->isPointerTy())
1199 if (File->getType()->isPointerTy())
1219 if (File->getType()->isPointerTy())
1238 if (File->getType()->isPointerTy())
1260 if (File->getType()->isPointerTy())
1326 if (File->getType()->isPointerTy())
1345 if (File->getType()->isPointerTy())
1388 if (File->getType()->isPointerTy())
lib/Transforms/Utils/InlineFunction.cpp 1016 if (IsArgMemOnlyCall && !Arg->getType()->isPointerTy())
1155 unsigned Align = Arg.getType()->isPointerTy() ? Arg.getParamAlignment() : 0;
lib/Transforms/Utils/Local.cpp 1186 assert(V->getType()->isPointerTy() &&
2416 if (NewType->isPointerTy())
2546 if (NewTy->isPointerTy()) {
2574 if (!NewTy->isPointerTy())
lib/Transforms/Utils/SimplifyCFG.cpp 412 if (CI || !isa<Constant>(V) || !V->getType()->isPointerTy())
1170 if (CV->getType()->isPointerTy()) {
3778 if (CompVal->getType()->isPointerTy()) {
lib/Transforms/Utils/SimplifyLibCalls.cpp 77 if (!FuncTy->getReturnType()->isPointerTy() &&
83 if (!Param->isPointerTy() && !Param->isIntegerTy())
2373 CI->getArgOperand(1)->getType()->isPointerTy())
2458 if (!CI->getArgOperand(2)->getType()->isPointerTy())
2640 if (!CI->getArgOperand(2)->getType()->isPointerTy())
lib/Transforms/Utils/VNCoercion.cpp 352 if (SrcVal->getType()->isPointerTy() && LoadTy->isPointerTy() &&
352 if (SrcVal->getType()->isPointerTy() && LoadTy->isPointerTy() &&
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 370 if (Ty->isPointerTy())
585 !PhiTy->isPointerTy()) {
lib/Transforms/Vectorize/LoopVectorize.cpp 2593 if (TripCount->getType()->isPointerTy())
2666 assert((DstElemTy->isPointerTy() != SrcElemTy->isPointerTy()) &&
2666 assert((DstElemTy->isPointerTy() != SrcElemTy->isPointerTy()) &&
4019 assert(P->getType()->isPointerTy() && "Unexpected type.");
4392 return ((isa<BitCastInst>(V) && V->getType()->isPointerTy()) ||
5110 if (T->isPointerTy() && !isConsecutiveLoadOrStore(&I) &&
tools/clang/lib/CodeGen/CGAtomic.cpp 1401 } else if (ValTy->isPointerTy())
tools/clang/lib/CodeGen/CGBuiltin.cpp 97 if (V->getType()->isPointerTy())
108 if (ResultType->isPointerTy())
604 assert(Ptr->getType()->isPointerTy() &&
5947 if (ValueType->isPointerTy())
5962 if (ValueType->isPointerTy()) {
6198 if (RealResTy->isPointerTy())
6240 if (StoreVal->getType()->isPointerTy())
7189 if (RealResTy->isPointerTy())
7229 if (StoreVal->getType()->isPointerTy())
tools/clang/lib/CodeGen/CGCall.h 115 assert(functionPtr->getType()->isPointerTy());
tools/clang/lib/CodeGen/CGExpr.cpp 1911 if (OrigTy->isPointerTy())
1918 if (OrigTy->isPointerTy())
2172 if (OrigTy->isPointerTy())
2178 if (OrigTy->isPointerTy())
2855 if (!V->getType()->isPointerTy()) {
tools/clang/lib/CodeGen/CGExprScalar.cpp 3170 if (!isSubtraction && !pointer->getType()->isPointerTy()) {
3341 if (op.LHS->getType()->isPointerTy() ||
3342 op.RHS->getType()->isPointerTy())
3489 if (!op.LHS->getType()->isPointerTy()) {
3526 if (!op.RHS->getType()->isPointerTy())
4314 if (ArgTy->isPointerTy() && !Val->getType()->isPointerTy())
4314 if (ArgTy->isPointerTy() && !Val->getType()->isPointerTy())
4364 if (!SrcTy->isPointerTy() && !DstTy->isPointerTy())
4364 if (!SrcTy->isPointerTy() && !DstTy->isPointerTy())
4368 if (SrcTy->isPointerTy() && DstTy->isPointerTy())
4368 if (SrcTy->isPointerTy() && DstTy->isPointerTy())
4372 if (SrcTy->isPointerTy() && !DstTy->isPointerTy()) {
4372 if (SrcTy->isPointerTy() && !DstTy->isPointerTy()) {
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp 150 assert(Block->getType()->isPointerTy() && "Invalid block literal type");
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp11000 else if (Allocator->getType()->isPointerTy())
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 4521 if (!TargetType->isPointerTy()) {
tools/clang/lib/CodeGen/CGStmt.cpp 2311 else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) {
2316 } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) {
tools/clang/lib/CodeGen/CGValue.h 373 assert(address.getPointer()->getType()->isPointerTy());
tools/clang/lib/CodeGen/CodeGenModule.cpp 324 if (!FTy->getReturnType()->isPointerTy())
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 36 if (second->isPointerTy()) return first;
37 } else if (first->isPointerTy()) {
39 if (second->isPointerTy()) return first;
tools/clang/lib/CodeGen/TargetInfo.cpp 117 if (type->isPointerTy()) {
3274 assert((Lo->isIntegerTy() || Lo->isPointerTy())
3986 if (LLTy->isPointerTy() || LLTy->isIntegerTy())
tools/lldb/source/Expression/IRInterpreter.cpp 1467 !returnType->isPointerTy()) {
1503 if (!prototype->isPointerTy()) {
1536 if (!arg_ty->isIntegerTy() && !arg_ty->isPointerTy()) {
1551 if (arg_ty->isPointerTy()) {
1621 if (returnType->isIntegerTy() || returnType->isPointerTy()) {
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp 533 else if (retType.isPointerTy()) {
tools/lldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.cpp 1328 else if (retType.isIntegerTy() || retType.isPointerTy()) {
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp 63 if (!type->isPointerTy())
tools/llvm-diff/DifferenceEngine.cpp 267 if (!L->getType()->isPointerTy() || !R->getType()->isPointerTy()) {
267 if (!L->getType()->isPointerTy() || !R->getType()->isPointerTy()) {
tools/llvm-stress/llvm-stress.cpp 260 if (V->getType()->isPointerTy())
380 if (Val0->getType()->isPointerTy() ||
381 Val1->getType()->isPointerTy())
555 if (VTy->isPointerTy()) {
556 if (!DestTy->isPointerTy())
648 if (Val0->getType()->isPointerTy()) return;
tools/polly/lib/Analysis/ScopBuilder.cpp 1616 if ((SrcTy->isPointerTy() && !SrcTy->getPointerElementType()->isSized()) ||
1617 (DstTy->isPointerTy() && !DstTy->getPointerElementType()->isSized())) {
1620 if (SrcTy->isPointerTy() && DstTy->isPointerTy() &&
1620 if (SrcTy->isPointerTy() && DstTy->isPointerTy() &&
1824 if (!Arg->getType()->isPointerTy())
tools/polly/lib/Analysis/ScopDetection.cpp 498 if (!V->getType()->isPointerTy())
708 if (!Arg->getType()->isPointerTy())
tools/polly/lib/CodeGen/IslExprBuilder.cpp 270 assert(Base->getType()->isPointerTy() && "Access base should be a pointer");
501 bool IsPtrType = LHSTy->isPointerTy() || RHSTy->isPointerTy();
501 bool IsPtrType = LHSTy->isPointerTy() || RHSTy->isPointerTy();
505 if (LHSTy->isPointerTy())
507 if (RHSTy->isPointerTy())
727 if (V->getType()->isPointerTy())
tools/polly/lib/Support/SCEVValidator.cpp 433 if (!Expr->getType()->isIntegerTy() && !Expr->getType()->isPointerTy()) {
unittests/Analysis/AliasAnalysisTest.cpp 49 if (A.getType()->isPointerTy())
52 if (I.getType()->isPointerTy())
unittests/AsmParser/AsmParserTest.cpp 252 ASSERT_TRUE(Ty->isPointerTy());
262 ASSERT_TRUE(Ty->isPointerTy());
266 ASSERT_TRUE(Ty->isPointerTy());
385 ASSERT_TRUE(Ty->isPointerTy());
396 ASSERT_TRUE(Ty->isPointerTy());
401 ASSERT_TRUE(Ty->isPointerTy());
unittests/FuzzMutate/OperationsTest.cpp 147 auto isPointer = [](Value *V) { return V->getType()->isPointerTy(); };