Searched refs:getPointerTypeSizeInBits (Results 1 – 19 of 19) sorted by relevance
432 unsigned getPointerTypeSizeInBits(Type *) const;439 return getPointerTypeSizeInBits(Ty) / 8; in getPointerTypeSize()
66 if (!ElemType->isPointerTy() || DL.getPointerTypeSizeInBits(ElemType) != 64) in shouldConvertToRelLookupTable()
2932 unsigned BitWidth = DL.getPointerTypeSizeInBits(NewTy); in copyRangeMetadata()
215 APInt AccessSize(DL.getPointerTypeSizeInBits(V->getType()), in isDereferenceableAndAlignedPointer()699 APInt OneByte(DL.getPointerTypeSizeInBits(Ty), 1); in canReplacePointersIfEqual()
157 unsigned PointerSize = DL.getPointerTypeSizeInBits(AI.getType()); in getStaticAllocaSizeRange()
93 return DL.getPointerTypeSizeInBits(Ty); in getBitWidth()1183 Q.DL.getPointerTypeSizeInBits(ScalarTy) : in computeKnownBitsFromOperator()1953 assert(BitWidth == Q.DL.getPointerTypeSizeInBits(ScalarTy) && in computeKnownBits()3107 Q.DL.getPointerTypeSizeInBits(ScalarTy) : in ComputeNumSignBitsImpl()
1680 if (IntegerSize <= DL.getPointerTypeSizeInBits(I.getType())) { in visitIntToPtr()
1466 unsigned SrcPtrSize = DL.getPointerTypeSizeInBits(SrcPtr->getType()); in ConstantFoldCastOperand()
6838 unsigned ptrSize = DL.getPointerTypeSizeInBits(U->getType()); in getRangeRef()
541 SrcSize <= DL.getPointerTypeSizeInBits(Dst)) in getCastInstrCost()548 DstSize >= DL.getPointerTypeSizeInBits(Src)) in getCastInstrCost()970 auto PtrSizeBits = DL.getPointerTypeSizeInBits(Ptr->getType()); in getGEPCost()
724 unsigned DataLayout::getPointerTypeSizeInBits(Type *Ty) const { in getPointerTypeSizeInBits() function in DataLayout857 unsigned NumBits = getPointerTypeSizeInBits(Ty); in getIntPtrType()
3619 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()3623 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()
160 APInt Offset = APInt(DL.getPointerTypeSizeInBits(Addr->getType()), 0); in visitICmpLoadOperand()
669 DL.getPointerTypeSizeInBits(GEP->getType())) { in checkOverflow()
334 unsigned PtrBitWidth = DL.getPointerTypeSizeInBits(PtrA->getType()); in areConsecutivePointers()
1997 APInt OffsetAI(DL.getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstantForGV()
2922 APInt OffsetAI(getDataLayout().getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstant()
4964 return DL.getPointerTypeSizeInBits(SrcTy) == DestTy->getIntegerBitWidth(); in foldICmpWithCastOp()5486 : DL.getPointerTypeSizeInBits(Ty->getScalarType()); in foldICmpUsingKnownBits()
1714 unsigned BitWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in getGlobalAddress()11547 unsigned PtrWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in InferPtrAlign()