| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 93 if (StoredValTy->isPtrOrPtrVectorTy() && LoadedTy->isPtrOrPtrVectorTy()) { in coerceAvailableValueToLoadType() 97 if (StoredValTy->isPtrOrPtrVectorTy()) { in coerceAvailableValueToLoadType() 103 if (TypeToCastTo->isPtrOrPtrVectorTy()) in coerceAvailableValueToLoadType() 110 if (LoadedTy->isPtrOrPtrVectorTy()) in coerceAvailableValueToLoadType() 126 if (StoredValTy->isPtrOrPtrVectorTy()) { in coerceAvailableValueToLoadType() 152 if (LoadedTy->isPtrOrPtrVectorTy()) in coerceAvailableValueToLoadType() 312 if (SrcVal->getType()->isPtrOrPtrVectorTy()) in getStoreValueForLoadHelper()
|
| H A D | InlineFunction.cpp | 1877 assert(Arg->getType()->isPtrOrPtrVectorTy()); in collectEscapedLocals()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 264 assert(Ty->isPtrOrPtrVectorTy()); in INITIALIZE_PASS_DEPENDENCY() 314 assert(Op->getType()->isPtrOrPtrVectorTy()); in isAddressExpression() 321 return Op->getType()->isPtrOrPtrVectorTy(); in isAddressExpression() 451 assert(V->getType()->isPtrOrPtrVectorTy()); in appendsFlatAddressExpressionToPostorderStack() 517 if (Cmp->getOperand(0)->getType()->isPtrOrPtrVectorTy()) { in collectFlatAddressExpressions() 528 RV && RV->getType()->isPtrOrPtrVectorTy()) in collectFlatAddressExpressions() 652 if (!OperandUse.get()->getType()->isPtrOrPtrVectorTy()) in cloneInstructionWithNewAddressSpace() 664 assert(I->getType()->isPtrOrPtrVectorTy()); in cloneInstructionWithNewAddressSpace() 683 assert(I->getType()->isPtrOrPtrVectorTy()); in cloneInstructionWithNewAddressSpace() 710 CE->getType()->isPtrOrPtrVectorTy() in cloneConstantExprWithNewAddressSpace()
|
| H A D | GVN.cpp | 1549 if (V->getType()->isPtrOrPtrVectorTy()) in eliminatePartiallyRedundantLoad() 1971 if (V->getType()->isPtrOrPtrVectorTy()) in processNonLocalLoad() 2245 if (MD && AvailableValue->getType()->isPtrOrPtrVectorTy()) in processLoad() 2639 if (MD && V->getType()->isPtrOrPtrVectorTy()) in processInstruction() 2751 if (MD && Repl->getType()->isPtrOrPtrVectorTy()) in processInstruction() 3088 if (MD && Phi->getType()->isPtrOrPtrVectorTy()) in performScalarPRE()
|
| H A D | SROA.cpp | 1980 if (OldTy->isIntOrIntVectorTy() && NewTy->isPtrOrPtrVectorTy()) { in convertValue() 1990 if (OldTy->isPtrOrPtrVectorTy() && NewTy->isIntOrIntVectorTy()) { in convertValue() 1999 if (OldTy->isPtrOrPtrVectorTy() && NewTy->isPtrOrPtrVectorTy()) { in convertValue()
|
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 506 if (AccessTy->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector() 508 else if (CurVal->getType()->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector() 531 if (AccessTy->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector() 533 else if (SubVecTy->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector() 563 if (AccessTy->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector() 565 else if (VectorTy->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector() 580 if (SubVecTy->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector() 582 else if (AccessTy->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | PatternInit.cpp | 44 if (Ty->isPtrOrPtrVectorTy()) { in initializationPatternFor()
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 764 assert(Ty->isPtrOrPtrVectorTy() && in getPointerTypeSizeInBits() 775 assert(Ty->isPtrOrPtrVectorTy() && in getIndexTypeSizeInBits() 884 assert(Ty->isPtrOrPtrVectorTy() && in getIntPtrType() 911 assert(Ty->isPtrOrPtrVectorTy() && in getIndexType()
|
| H A D | Instructions.cpp | 2925 SrcTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2926 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2927 DstTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2942 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2943 DstTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2953 SrcTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2954 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 3021 assert(S->getType()->isPtrOrPtrVectorTy() && "Invalid cast"); in CreatePointerCast() 3022 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in CreatePointerCast() 3038 assert(S->getType()->isPtrOrPtrVectorTy() && "Invalid cast"); in CreatePointerBitCastOrAddrSpaceCast() [all …]
|
| H A D | Constants.cpp | 2216 assert(S->getType()->isPtrOrPtrVectorTy() && "Invalid cast"); in getPointerCast() 2217 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in getPointerCast() 2224 if (Ty->isPtrOrPtrVectorTy() && SrcAS != Ty->getPointerAddressSpace()) in getPointerCast() 2232 assert(S->getType()->isPtrOrPtrVectorTy() && "Invalid cast"); in getPointerBitCastOrAddrSpaceCast() 2233 assert(Ty->isPtrOrPtrVectorTy() && "Invalid cast"); in getPointerBitCastOrAddrSpaceCast() 2257 assert(C->getType()->isPtrOrPtrVectorTy() && in getPtrToInt() 2273 assert(DstTy->isPtrOrPtrVectorTy() && in getIntToPtr()
|
| H A D | Value.cpp | 718 if (!getType()->isPtrOrPtrVectorTy()) in stripAndAccumulateConstantOffsets() 779 assert(V->getType()->isPtrOrPtrVectorTy() && "Unexpected operand type!"); in stripAndAccumulateConstantOffsets()
|
| H A D | Verifier.cpp | 3394 Check(SrcTy->isPtrOrPtrVectorTy(), "PtrToInt source must be pointer", &I); in visitPtrToIntInst() 3416 Check(DestTy->isPtrOrPtrVectorTy(), "IntToPtr result must be a pointer", &I); in visitIntToPtrInst() 3440 Check(SrcTy->isPtrOrPtrVectorTy(), "AddrSpaceCast source must be a pointer", in visitAddrSpaceCastInst() 3442 Check(DestTy->isPtrOrPtrVectorTy(), "AddrSpaceCast result must be a pointer", in visitAddrSpaceCastInst() 4027 Check(Op0Ty->isIntOrIntVectorTy() || Op0Ty->isPtrOrPtrVectorTy(), in visitICmpInst() 4093 Check(GEP.getType()->isPtrOrPtrVectorTy() && in visitGetElementPtrInst() 5148 if (CE->getType()->isPtrOrPtrVectorTy()) { in visitInstruction() 5743 Check(BaseType->isPtrOrPtrVectorTy(), in visitIntrinsicCall() 5745 Check(DerivedType->isPtrOrPtrVectorTy(), in visitIntrinsicCall() 6307 Check(Ty0->isPtrOrPtrVectorTy(), in visitIntrinsicCall() [all …]
|
| H A D | AutoUpgrade.cpp | 4848 if (SrcTy->isPtrOrPtrVectorTy() && DestTy->isPtrOrPtrVectorTy() && in UpgradeBitCastInst() 4868 if (SrcTy->isPtrOrPtrVectorTy() && DestTy->isPtrOrPtrVectorTy() && in UpgradeBitCastExpr()
|
| H A D | Attributes.cpp | 2143 if (!Ty->isPtrOrPtrVectorTy()) { in typeIncompatible()
|
| /src/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 3535 !IRP.getAssociatedType()->isPtrOrPtrVectorTy()) 3638 if (!IRP.getAssociatedType()->isPtrOrPtrVectorTy()) 3847 if (!IRP.getAssociatedType()->isPtrOrPtrVectorTy()) 3905 !IRP.getAssociatedType()->isPtrOrPtrVectorTy()) 4214 if (!IRP.getAssociatedType()->isPtrOrPtrVectorTy()) 4268 if (!IRP.getAssociatedType()->isPtrOrPtrVectorTy()) 4358 if (!IRP.getAssociatedType()->isPtrOrPtrVectorTy()) 4576 if (!IRP.getAssociatedType()->isPtrOrPtrVectorTy()) 4630 !IRP.getAssociatedType()->isPtrOrPtrVectorTy()) 4710 !IRP.getAssociatedType()->isPtrOrPtrVectorTy()) [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Type.h | 262 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy() function
|
| H A D | IRBuilder.h | 2214 if (V->getType()->isPtrOrPtrVectorTy() && DestTy->isIntOrIntVectorTy()) 2216 if (V->getType()->isIntOrIntVectorTy() && DestTy->isPtrOrPtrVectorTy())
|
| /src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 678 LoadTy->isPtrOrPtrVectorTy() == DestTy->isPtrOrPtrVectorTy() && in combineLoadToOperationType()
|
| H A D | InstCombineCasts.cpp | 135 SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr; in isEliminableCastPair() 137 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair() 139 DstTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(DstTy) : nullptr; in isEliminableCastPair()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | StatepointLowering.cpp | 505 if (!Ty->isPtrOrPtrVectorTy()) in isGCValue()
|
| /src/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 410 (Ty->isPtrOrPtrVectorTy() ? 64U : Ty->getScalarSizeInBits()); in getScalarSizeInBits()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1350 if (Ty->isVectorTy() && Ty->isPtrOrPtrVectorTy()) in collectEquivalenceClasses()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 138 if (!Arg->getType()->isPtrOrPtrVectorTy()) in addArgLocs()
|
| /src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 571 Type *CastTy = LoadTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(LoadTy) : LoadTy; in FoldReinterpretLoadFromConst() 573 if (LoadTy->isPtrOrPtrVectorTy()) { in FoldReinterpretLoadFromConst()
|
| H A D | InstructionSimplify.cpp | 718 assert(V->getType()->isPtrOrPtrVectorTy()); in stripAndComputeConstantOffsets() 5335 SrcTy->isPtrOrPtrVectorTy() ? Q.DL.getIntPtrType(SrcTy) : nullptr; in simplifyCastInst() 5337 MidTy->isPtrOrPtrVectorTy() ? Q.DL.getIntPtrType(MidTy) : nullptr; in simplifyCastInst() 5339 DstTy->isPtrOrPtrVectorTy() ? Q.DL.getIntPtrType(DstTy) : nullptr; in simplifyCastInst()
|