Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h416 LLVM_ABI unsigned getPointerTypeSizeInBits(Type *) const;
432 return getPointerTypeSizeInBits(Ty) / 8; in getPointerTypeSize()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp66 if (!ElemType->isPointerTy() || DL.getPointerTypeSizeInBits(ElemType) != 64) in shouldConvertToRelLookupTable()
H A DLocal.cpp3691 unsigned BitWidth = DL.getPointerTypeSizeInBits(NewTy); in copyRangeMetadata()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp742 unsigned DataLayout::getPointerTypeSizeInBits(Type *Ty) const { in getPointerTypeSizeInBits() function in DataLayout
858 unsigned NumBits = getPointerTypeSizeInBits(Ty); in getIntPtrType()
H A DInstructions.cpp3190 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()
3194 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfLowering.cpp147 APInt(M.getDataLayout().getPointerTypeSizeInBits(PointerTy), 1U)), in CtxInstrumentationLowerer()
H A DHWAddressSanitizer.cpp1141 llvm::KnownBits Known(DL.getPointerTypeSizeInBits(Addr->getType())); in instrumentMemAccess()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h730 SrcSize <= DL.getPointerTypeSizeInBits(Dst)) in getCastInstrCost()
737 DstSize >= DL.getPointerTypeSizeInBits(Src)) in getCastInstrCost()
1246 auto PtrSizeBits = DL.getPointerTypeSizeInBits(Ptr->getType()); in getGEPCost()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp242 APInt AccessSize(DL.getPointerTypeSizeInBits(V->getType()), in isDereferenceableAndAlignedPointer()
H A DStackSafetyAnalysis.cpp157 unsigned PointerSize = DL.getPointerTypeSizeInBits(AI.getType()); in getStaticAllocaSizeRange()
H A DConstantFolding.cpp955 APInt BasePtr(DL.getPointerTypeSizeInBits(Ptr->getType()), 0); in SymbolicallyEvaluateGEP()
1536 unsigned SrcPtrSize = DL.getPointerTypeSizeInBits(SrcPtr->getType()); in ConstantFoldCastOperand()
H A DValueTracking.cpp100 return DL.getPointerTypeSizeInBits(Ty); in getBitWidth()
1286 Q.DL.getPointerTypeSizeInBits(ScalarTy) : in computeKnownBitsFromOperator()
2222 assert(BitWidth == Q.DL.getPointerTypeSizeInBits(ScalarTy) && in computeKnownBits()
4025 Q.DL.getPointerTypeSizeInBits(ScalarTy) : in ComputeNumSignBitsImpl()
H A DInlineCost.cpp1926 if (IntegerSize <= DL.getPointerTypeSizeInBits(I.getType())) { in visitIntToPtr()
H A DScalarEvolution.cpp6877 unsigned ptrSize = DL.getPointerTypeSizeInBits(U->getType()); in getRangeRef()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp676 DL.getPointerTypeSizeInBits(GEP->getType())) { in checkOverflow()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1766 APInt OffsetAI(DL.getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstantForGV()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp69 return DL.getPointerTypeSizeInBits(Ty); in getBitWidth()
H A DInstCombineCompares.cpp6409 return DL.getPointerTypeSizeInBits(PtrTy) == IntTy->getIntegerBitWidth(); in foldICmpWithCastOp()
6847 : DL.getPointerTypeSizeInBits(Ty->getScalarType()); in foldICmpUsingKnownBits()
H A DInstCombineCalls.cpp2404 unsigned BitWidth = DL.getPointerTypeSizeInBits(II->getType()); in visitCallInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3516 APInt OffsetAI(getDataLayout().getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1893 unsigned BitWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in getGlobalAddress()
13138 unsigned PtrWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in InferPtrAlign()