Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DDataLayout.h432 unsigned getPointerTypeSizeInBits(Type *) const;
439 return getPointerTypeSizeInBits(Ty) / 8; in getPointerTypeSize()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DRelLookupTableConverter.cpp66 if (!ElemType->isPointerTy() || DL.getPointerTypeSizeInBits(ElemType) != 64) in shouldConvertToRelLookupTable()
DLocal.cpp2932 unsigned BitWidth = DL.getPointerTypeSizeInBits(NewTy); in copyRangeMetadata()
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DLoads.cpp215 APInt AccessSize(DL.getPointerTypeSizeInBits(V->getType()), in isDereferenceableAndAlignedPointer()
699 APInt OneByte(DL.getPointerTypeSizeInBits(Ty), 1); in canReplacePointersIfEqual()
DStackSafetyAnalysis.cpp157 unsigned PointerSize = DL.getPointerTypeSizeInBits(AI.getType()); in getStaticAllocaSizeRange()
DValueTracking.cpp93 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()
DInlineCost.cpp1680 if (IntegerSize <= DL.getPointerTypeSizeInBits(I.getType())) { in visitIntToPtr()
DConstantFolding.cpp1466 unsigned SrcPtrSize = DL.getPointerTypeSizeInBits(SrcPtr->getType()); in ConstantFoldCastOperand()
DScalarEvolution.cpp6838 unsigned ptrSize = DL.getPointerTypeSizeInBits(U->getType()); in getRangeRef()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h541 SrcSize <= DL.getPointerTypeSizeInBits(Dst)) in getCastInstrCost()
548 DstSize >= DL.getPointerTypeSizeInBits(Src)) in getCastInstrCost()
970 auto PtrSizeBits = DL.getPointerTypeSizeInBits(Ptr->getType()); in getGEPCost()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DDataLayout.cpp724 unsigned DataLayout::getPointerTypeSizeInBits(Type *Ty) const { in getPointerTypeSizeInBits() function in DataLayout
857 unsigned NumBits = getPointerTypeSizeInBits(Ty); in getIntPtrType()
DInstructions.cpp3619 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()
3623 return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) && in isBitOrNoopPointerCastable()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp160 APInt Offset = APInt(DL.getPointerTypeSizeInBits(Addr->getType()), 0); in visitICmpLoadOperand()
DLoopFlatten.cpp669 DL.getPointerTypeSizeInBits(GEP->getType())) { in checkOverflow()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp334 unsigned PtrBitWidth = DL.getPointerTypeSizeInBits(PtrA->getType()); in areConsecutivePointers()
/openbsd/src/gnu/llvm/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1997 APInt OffsetAI(DL.getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstantForGV()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2922 APInt OffsetAI(getDataLayout().getPointerTypeSizeInBits(CE->getType()), 0); in lowerConstant()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4964 return DL.getPointerTypeSizeInBits(SrcTy) == DestTy->getIntegerBitWidth(); in foldICmpWithCastOp()
5486 : DL.getPointerTypeSizeInBits(Ty->getScalarType()); in foldICmpUsingKnownBits()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1714 unsigned BitWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in getGlobalAddress()
11547 unsigned PtrWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in InferPtrAlign()