Home
last modified time | relevance | path

Searched refs:getPointerTypeSizeInBits (Results 1 – 18 of 18) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h423 unsigned getPointerTypeSizeInBits(Type *) const;
430 return getPointerTypeSizeInBits(Ty) / 8; in getPointerTypeSize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp228 APInt AccessSize(DL.getPointerTypeSizeInBits(V->getType()), in isDereferenceableAndAlignedPointer()
662 APInt OneByte(DL.getPointerTypeSizeInBits(Ty), 1); in canReplacePointersIfEqual()
H A DConstantFolding.cpp1384 unsigned PtrWidth = DL.getPointerTypeSizeInBits(CE->getType()); in ConstantFoldCastOperand()
1404 unsigned SrcPtrSize = DL.getPointerTypeSizeInBits(SrcPtr->getType()); in ConstantFoldCastOperand()
H A DValueTracking.cpp93 return DL.getPointerTypeSizeInBits(Ty); in getBitWidth()
1168 Q.DL.getPointerTypeSizeInBits(ScalarTy) : in computeKnownBitsFromOperator()
1870 assert(BitWidth == Q.DL.getPointerTypeSizeInBits(ScalarTy) && in computeKnownBits()
2919 Q.DL.getPointerTypeSizeInBits(ScalarTy) : in ComputeNumSignBitsImpl()
H A DInlineCost.cpp1539 if (IntegerSize <= DL.getPointerTypeSizeInBits(I.getType())) { in visitIntToPtr()
H A DScalarEvolution.cpp6206 unsigned ptrSize = DL.getPointerTypeSizeInBits(U->getType()); in getRangeRef()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h487 SrcSize <= DL.getPointerTypeSizeInBits(Dst)) in getCastInstrCost()
494 DstSize >= DL.getPointerTypeSizeInBits(Src)) in getCastInstrCost()
870 auto PtrSizeBits = DL.getPointerTypeSizeInBits(Ptr->getType());
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp713 unsigned DataLayout::getPointerTypeSizeInBits(Type *Ty) const { in getPointerTypeSizeInBits() function in DataLayout
846 unsigned NumBits = getPointerTypeSizeInBits(Ty); in getIntPtrType()
H A DInstructions.cpp3231 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()
3235 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp460 DL.getPointerTypeSizeInBits(GEP->getType())) { in checkOverflow()
H A DMergeICmps.cpp172 APInt Offset = APInt(DL.getPointerTypeSizeInBits(GEP->getType()), 0); in visitICmpLoadOperand()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp332 unsigned PtrBitWidth = DL.getPointerTypeSizeInBits(PtrA->getType()); in areConsecutivePointers()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp353 if (IntToPtr && DL.getPointerTypeSizeInBits(IntToPtr->getDestTy()) == in simplifyIntToPtrRoundTripCast()
360 DL.getPointerTypeSizeInBits(PtrToInt->getSrcTy()) == in simplifyIntToPtrRoundTripCast()
H A DInstCombineCompares.cpp4601 return DL.getPointerTypeSizeInBits(SrcTy) == DestTy->getIntegerBitWidth(); in foldICmpWithCastOp()
5119 : DL.getPointerTypeSizeInBits(Ty->getScalarType()); in foldICmpUsingKnownBits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp2020 APInt OffsetAI(DL.getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstantForGV()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2785 unsigned BitWidth = DL.getPointerTypeSizeInBits(NewTy); in copyRangeMetadata()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2520 APInt OffsetAI(getDataLayout().getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1552 unsigned BitWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in getGlobalAddress()
10155 unsigned PtrWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in InferPtrAlign()