Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h429 unsigned getPointerTypeSizeInBits(Type *) const;
436 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.cpp3593 unsigned BitWidth = DL.getPointerTypeSizeInBits(NewTy); in copyRangeMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h615 SrcSize <= DL.getPointerTypeSizeInBits(Dst)) in getCastInstrCost()
622 DstSize >= DL.getPointerTypeSizeInBits(Src)) in getCastInstrCost()
1074 auto PtrSizeBits = DL.getPointerTypeSizeInBits(Ptr->getType()); in getGEPCost()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp763 unsigned DataLayout::getPointerTypeSizeInBits(Type *Ty) const { in getPointerTypeSizeInBits() function in DataLayout
886 unsigned NumBits = getPointerTypeSizeInBits(Ty); in getIntPtrType()
H A DInstructions.cpp3130 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()
3134 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp215 APInt AccessSize(DL.getPointerTypeSizeInBits(V->getType()), in isDereferenceableAndAlignedPointer()
H A DStackSafetyAnalysis.cpp157 unsigned PointerSize = DL.getPointerTypeSizeInBits(AI.getType()); in getStaticAllocaSizeRange()
H A DValueTracking.cpp98 return DL.getPointerTypeSizeInBits(Ty); in getBitWidth()
1146 Q.DL.getPointerTypeSizeInBits(ScalarTy) : in computeKnownBitsFromOperator()
2049 assert(BitWidth == Q.DL.getPointerTypeSizeInBits(ScalarTy) && in computeKnownBits()
3784 Q.DL.getPointerTypeSizeInBits(ScalarTy) : in ComputeNumSignBitsImpl()
H A DInlineCost.cpp1764 if (IntegerSize <= DL.getPointerTypeSizeInBits(I.getType())) { in visitIntToPtr()
H A DConstantFolding.cpp1442 unsigned SrcPtrSize = DL.getPointerTypeSizeInBits(SrcPtr->getType()); in ConstantFoldCastOperand()
H A DScalarEvolution.cpp6863 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.cpp2021 APInt OffsetAI(DL.getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstantForGV()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp63 return DL.getPointerTypeSizeInBits(Ty); in getBitWidth()
H A DInstCombineCompares.cpp6021 return DL.getPointerTypeSizeInBits(SrcTy) == DestTy->getIntegerBitWidth(); in foldICmpWithCastOp()
6442 : DL.getPointerTypeSizeInBits(Ty->getScalarType()); in foldICmpUsingKnownBits()
H A DInstCombineCalls.cpp2113 unsigned BitWidth = DL.getPointerTypeSizeInBits(II->getType()); in visitCallInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3177 APInt OffsetAI(getDataLayout().getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1836 unsigned BitWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in getGlobalAddress()
12560 unsigned PtrWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in InferPtrAlign()