/external/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 206 if (Arg->getType()->isPointerTy()) { in AddReadAttrs() 557 if (A->getType()->isPointerTy() && !A->hasNoCaptureAttr()) { in AddArgumentAttrs() 568 if (!A->getType()->isPointerTy()) continue; in AddArgumentAttrs() 810 if (!F->getReturnType()->isPointerTy()) in AddNoAliasAttrs() 820 if (F->doesNotAlias(0) || !F->getReturnType()->isPointerTy()) in AddNoAliasAttrs() 842 if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy()) in inferPrototypeAttributes() 851 !FTy->getParamType(0)->isPointerTy() || in inferPrototypeAttributes() 865 !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes() 878 !FTy->getParamType(1)->isPointerTy()) in inferPrototypeAttributes() 886 !FTy->getParamType(0)->isPointerTy() || in inferPrototypeAttributes() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 310 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() || in InstCombineLoadCast() 329 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() || in InstCombineLoadCast() 482 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy()) in InstCombineStoreToCast() 516 if (!SrcPTy->isIntegerTy() && !SrcPTy->isPointerTy()) in InstCombineStoreToCast() 536 if (SrcPTy->isPointerTy() && DestPTy->isPointerTy() && in InstCombineStoreToCast() 547 if (CastDstTy->isPointerTy()) { in InstCombineStoreToCast() 551 if (CastSrcTy->isPointerTy()) in InstCombineStoreToCast() 643 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in visitStoreInst() 710 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())); in visitStoreInst() 774 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in SimplifyStoreAtEndOfBlock()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 186 !FT->getParamType(0)->isPointerTy() || in callOptimizer() 187 !FT->getParamType(1)->isPointerTy() || in callOptimizer() 210 !FT->getParamType(0)->isPointerTy() || in callOptimizer() 211 !FT->getParamType(1)->isPointerTy() || in callOptimizer() 234 !FT->getParamType(0)->isPointerTy() || in callOptimizer() 852 !FT->getParamType(0)->isPointerTy() || in callOptimizer() 853 !FT->getParamType(1)->isPointerTy()) in callOptimizer() 935 !FT->getParamType(0)->isPointerTy() || in callOptimizer() 936 !FT->getParamType(1)->isPointerTy() || in callOptimizer() 937 !FT->getReturnType()->isPointerTy()) in callOptimizer() [all …]
|
D | BuildLibCalls.cpp | 405 if (File->getType()->isPointerTy()) in EmitFPutC() 440 if (File->getType()->isPointerTy()) in EmitFPutS() 474 if (File->getType()->isPointerTy()) in EmitFWrite() 513 !FT->getParamType(0)->isPointerTy() || in fold() 514 !FT->getParamType(1)->isPointerTy() || in fold() 536 !FT->getParamType(0)->isPointerTy() || in fold() 537 !FT->getParamType(1)->isPointerTy() || in fold() 554 !FT->getParamType(0)->isPointerTy() || in fold()
|
D | PromoteMemoryToRegister.cpp | 402 if (AST && LI->getType()->isPointerTy()) in rewriteSingleStoreAlloca() 487 if (AST && LI->getType()->isPointerTy()) in promoteSingleBlockAlloca() 689 if (AST && PN->getType()->isPointerTy()) in run() 949 if (AST && PN->getType()->isPointerTy()) in QueuePhiNode() 1025 if (AST && LI->getType()->isPointerTy()) in RenamePass()
|
/external/llvm/lib/IR/ |
D | Function.cpp | 82 if (!getType()->isPointerTy()) return false; in hasNonNullAttr() 90 if (!getType()->isPointerTy()) return false; in hasByValAttr() 98 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr() 104 if (!getType()->isPointerTy()) return false; in hasByValOrInAllocaAttr() 111 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlignment() 119 if (!getType()->isPointerTy()) return false; in hasNestAttr() 127 if (!getType()->isPointerTy()) return false; in hasNoAliasAttr() 135 if (!getType()->isPointerTy()) return false; in hasNoCaptureAttr() 143 if (!getType()->isPointerTy()) return false; in hasStructRetAttr()
|
D | Value.cpp | 379 if (!V->getType()->isPointerTy()) in stripPointerCastsAndOffsets() 415 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripPointerCastsAndOffsets() 436 if (!getType()->isPointerTy()) in stripAndAccumulateInBoundsConstantOffsets() 464 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in stripAndAccumulateInBoundsConstantOffsets()
|
D | Instructions.cpp | 485 assert(Source->getType()->isPointerTy() && in createFree() 928 assert(getOperand(0)->getType()->isPointerTy() && in AssertOK() 1081 assert(getOperand(1)->getType()->isPointerTy() && in AssertOK() 1231 assert(getOperand(0)->getType()->isPointerTy() && in Init() 1290 assert(getOperand(0)->getType()->isPointerTy() && in Init() 1389 if (!CT || CT->isPointerTy()) return nullptr; in getIndexedTypeInternal() 2082 if (SrcTy->isPointerTy()) in isLosslessCast() 2083 return DstTy->isPointerTy(); in isLosslessCast() 2594 return SrcTy->isPointerTy(); in isCastable() 2608 } else if (DestTy->isPointerTy()) { // Casting to pointer in isCastable() [all …]
|
D | Verifier.cpp | 431 Assert1(ETy->isPointerTy() && in visitGlobalVariable() 968 Assert1(SrcTy->isPointerTy() == DestTy->isPointerTy(), in VerifyBitcastType() 1228 Assert1(BI.getAddress()->getType()->isPointerTy(), in visitIndirectBrInst() 1440 Assert1(SrcTy->getScalarType()->isPointerTy(), in visitPtrToIntInst() 1464 Assert1(DestTy->getScalarType()->isPointerTy(), in visitIntToPtrInst() 1527 Assert1(CS.getCalledValue()->getType()->isPointerTy(), in VerifyCallSite() 1800 Assert1(Op0Ty->isIntOrIntVectorTy() || Op0Ty->getScalarType()->isPointerTy(), in visitICmpInst() 1865 Assert2(GEP.getType()->getScalarType()->isPointerTy() && in visitGetElementPtrInst() 1900 if (!ElTy->isPointerTy()) { in visitLoadInst() 1975 if (!ElTy->isPointerTy()) { in visitStoreInst() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 217 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function 222 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy() 252 isPointerTy() || isVectorTy(); in isSingleValueType()
|
/external/llvm/lib/Analysis/ |
D | AliasAnalysis.cpp | 106 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 167 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 196 if (!Arg->getType()->isPointerTy()) in getModRefInfo() 464 if (!(*CI)->getType()->isPointerTy() || in callCapturesBefore()
|
D | AliasAnalysisEvaluator.cpp | 137 return V->getType()->isPointerTy() in isInterestingPointer() 150 if (I->getType()->isPointerTy()) // Add all pointer arguments. in runOnFunction() 154 if (I->getType()->isPointerTy()) // Add all pointer instructions. in runOnFunction()
|
D | CaptureTracking.cpp | 83 assert(V->getType()->isPointerTy() && "Capture is for pointers only!"); in PointerMayBeCaptured()
|
D | ScalarEvolutionAliasAnalysis.cpp | 98 if (Last->getType()->isPointerTy()) in GetBaseValue()
|
D | ScalarEvolutionExpander.cpp | 678 if (LHS.second->getType()->isPointerTy() != in operator ()() 679 RHS.second->getType()->isPointerTy()) in operator ()() 680 return LHS.second->getType()->isPointerTy(); in operator ()() 996 if (ExpandTy->isPointerTy()) { in expandIVInc() 1185 bool useSubtract = !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in getAddRecExprPHILiterally() 1311 !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in expandAddRecExprLiterally() 1738 if (OrigPhiRef->getType()->isPointerTy() != Phi->getType()->isPointerTy()) in replaceCongruentIVs()
|
D | ScalarEvolution.cpp | 340 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) && in SCEVTruncateExpr() 341 (Ty->isIntegerTy() || Ty->isPointerTy()) && in SCEVTruncateExpr() 348 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) && in SCEVZeroExtendExpr() 349 (Ty->isIntegerTy() || Ty->isPointerTy()) && in SCEVZeroExtendExpr() 356 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) && in SCEVSignExtendExpr() 357 (Ty->isIntegerTy() || Ty->isPointerTy()) && in SCEVSignExtendExpr() 494 bool LIsPointer = LV->getType()->isPointerTy(), in compare() 495 RIsPointer = RV->getType()->isPointerTy(); in compare() 2762 return Ty->isIntegerTy() || Ty->isPointerTy(); in isSCEVable() 2780 assert(Ty->isPointerTy() && "isSCEVable permitted a non-SCEVable type!"); in getTypeSizeInBits() [all …]
|
D | ValueTracking.cpp | 234 V->getType()->getScalarType()->isPointerTy()) && in computeKnownBits() 448 if ((SrcTy->isIntegerTy() || SrcTy->isPointerTy()) && in computeKnownBits() 921 assert(GEP->getType()->isPointerTy() && "We only support plain pointer GEP"); in isGEPKnownNonNull() 995 if (V->getType()->isPointerTy()) { in isKnownNonZero() 1887 if (!V->getType()->isPointerTy()) return 0; in GetStringLength() 1898 if (!V->getType()->isPointerTy()) in GetUnderlyingObject() 1920 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); in GetUnderlyingObject()
|
D | Lint.cpp | 237 if (Formal->hasNoAliasAttr() && Actual->getType()->isPointerTy()) in visitCallSite() 239 if (AI != BI && (*BI)->getType()->isPointerTy()) { in visitCallSite() 247 if (Formal->hasStructRetAttr() && Actual->getType()->isPointerTy()) { in visitCallSite()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 871 if (StoredValTy->getScalarType()->isPointerTy() && in CoerceAvailableValueToLoadType() 872 LoadedTy->getScalarType()->isPointerTy()) in CoerceAvailableValueToLoadType() 876 if (StoredValTy->getScalarType()->isPointerTy()) { in CoerceAvailableValueToLoadType() 882 if (TypeToCastTo->getScalarType()->isPointerTy()) in CoerceAvailableValueToLoadType() 889 if (LoadedTy->getScalarType()->isPointerTy()) in CoerceAvailableValueToLoadType() 901 if (StoredValTy->getScalarType()->isPointerTy()) { in CoerceAvailableValueToLoadType() 927 if (LoadedTy->getScalarType()->isPointerTy()) in CoerceAvailableValueToLoadType() 1123 if (SrcVal->getType()->getScalarType()->isPointerTy()) in GetStoreValueForLoad() 1301 if (V->getType()->getScalarType()->isPointerTy()) { in ConstructSSAForLoadSet() 1691 if (V->getType()->getScalarType()->isPointerTy()) in PerformLoadPRE() [all …]
|
D | IndVarSimplify.cpp | 174 if (!FromPtr->getType()->isPointerTy() || !ToPtr->getType()->isPointerTy()) in isValidRewrite() 523 if (!PN->getType()->isIntegerTy() && !PN->getType()->isPointerTy()) in RewriteLoopExitValues() 1462 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy()) in FindLoopCounter() 1535 if (IndVar->getType()->isPointerTy() in genLoopLimit() 1536 && !IVCount->getType()->isPointerTy()) { in genLoopLimit() 1600 Type *LimitTy = IVCount->getType()->isPointerTy() ? in genLoopLimit() 1638 assert(ExitCnt->getType()->isPointerTy() == IndVar->getType()->isPointerTy() in LinearFunctionTestReplace()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 201 if (V->getType()->isPointerTy()) in getRandomPointerValue() 326 if (Val0->getType()->isPointerTy() || in Act() 327 Val1->getType()->isPointerTy()) in Act() 493 if (VTy->isPointerTy()) { in Act() 494 if (!DestTy->isPointerTy()) in Act() 592 if (Val0->getType()->isPointerTy()) return; in Act()
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | JIT.cpp | 258 FTy->getParamType(1)->isPointerTy() && in runFunction() 259 FTy->getParamType(2)->isPointerTy()) { in runFunction() 273 FTy->getParamType(1)->isPointerTy()) { in runFunction() 290 if (FTy->getParamType(0)->isPointerTy()) { in runFunction()
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 453 FTy->getParamType(1)->isPointerTy() && in runFunction() 454 FTy->getParamType(2)->isPointerTy()) { in runFunction() 468 FTy->getParamType(1)->isPointerTy()) { in runFunction()
|
/external/llvm/include/llvm/Analysis/ |
D | PtrUseVisitor.h | 207 assert(I.getType()->isPointerTy()); in visitPtr()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUPromoteAlloca.cpp | 68 if (ParamTy->isPointerTy() && in runOnFunction() 245 if (!User->getType()->isPointerTy()) in collectUsesWithPtrTypes()
|