| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 416 LLVM_ABI unsigned getPointerTypeSizeInBits(Type *) const; 432 return getPointerTypeSizeInBits(Ty) / 8; in getPointerTypeSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | RelLookupTableConverter.cpp | 66 if (!ElemType->isPointerTy() || DL.getPointerTypeSizeInBits(ElemType) != 64) in shouldConvertToRelLookupTable()
|
| H A D | Local.cpp | 3691 unsigned BitWidth = DL.getPointerTypeSizeInBits(NewTy); in copyRangeMetadata()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 742 unsigned DataLayout::getPointerTypeSizeInBits(Type *Ty) const { in getPointerTypeSizeInBits() function in DataLayout 858 unsigned NumBits = getPointerTypeSizeInBits(Ty); in getIntPtrType()
|
| H A D | Instructions.cpp | 3190 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 D | PGOCtxProfLowering.cpp | 147 APInt(M.getDataLayout().getPointerTypeSizeInBits(PointerTy), 1U)), in CtxInstrumentationLowerer()
|
| H A D | HWAddressSanitizer.cpp | 1141 llvm::KnownBits Known(DL.getPointerTypeSizeInBits(Addr->getType())); in instrumentMemAccess()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 730 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 D | Loads.cpp | 242 APInt AccessSize(DL.getPointerTypeSizeInBits(V->getType()), in isDereferenceableAndAlignedPointer()
|
| H A D | StackSafetyAnalysis.cpp | 157 unsigned PointerSize = DL.getPointerTypeSizeInBits(AI.getType()); in getStaticAllocaSizeRange()
|
| H A D | ConstantFolding.cpp | 955 APInt BasePtr(DL.getPointerTypeSizeInBits(Ptr->getType()), 0); in SymbolicallyEvaluateGEP() 1536 unsigned SrcPtrSize = DL.getPointerTypeSizeInBits(SrcPtr->getType()); in ConstantFoldCastOperand()
|
| H A D | ValueTracking.cpp | 100 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 D | InlineCost.cpp | 1926 if (IntegerSize <= DL.getPointerTypeSizeInBits(I.getType())) { in visitIntToPtr()
|
| H A D | ScalarEvolution.cpp | 6877 unsigned ptrSize = DL.getPointerTypeSizeInBits(U->getType()); in getRangeRef()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopFlatten.cpp | 676 DL.getPointerTypeSizeInBits(GEP->getType())) { in checkOverflow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1766 APInt OffsetAI(DL.getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstantForGV()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 69 return DL.getPointerTypeSizeInBits(Ty); in getBitWidth()
|
| H A D | InstCombineCompares.cpp | 6409 return DL.getPointerTypeSizeInBits(PtrTy) == IntTy->getIntegerBitWidth(); in foldICmpWithCastOp() 6847 : DL.getPointerTypeSizeInBits(Ty->getScalarType()); in foldICmpUsingKnownBits()
|
| H A D | InstCombineCalls.cpp | 2404 unsigned BitWidth = DL.getPointerTypeSizeInBits(II->getType()); in visitCallInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3516 APInt OffsetAI(getDataLayout().getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 1893 unsigned BitWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in getGlobalAddress() 13138 unsigned PtrWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in InferPtrAlign()
|