Lines Matching defs:DL
99 bool isProfitableToUseMemset(const DataLayout &DL) const;
104 bool MemsetRange::isProfitableToUseMemset(const DataLayout &DL) const {
132 unsigned MaxIntSize = DL.getLargestLegalIntTypeSizeInBits() / 8;
154 const DataLayout &DL;
157 MemsetRanges(const DataLayout &DL) : DL(DL) {}
173 int64_t StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType());
307 const DataLayout &DL = StartInst->getModule()->getDataLayout();
313 MemsetRanges Ranges(DL);
331 Value *StoredByte = isBytewiseValue(NextStore->getOperand(0), DL);
339 isPointerOffset(StartPtr, NextStore->getPointerOperand(), DL);
352 Optional<int64_t> Offset = isPointerOffset(StartPtr, MSI->getDest(), DL);
382 if (!Range.isProfitableToUseMemset(DL))
516 const DataLayout &DL = SI->getModule()->getDataLayout();
559 uint64_t Size = DL.getTypeStoreSize(T);
621 DL.getTypeStoreSize(SI->getOperand(0)->getType()),
642 if (Value *ByteVal = isBytewiseValue(V, DL)) {
654 uint64_t Size = DL.getTypeStoreSize(T);
720 const DataLayout &DL = cpy->getModule()->getDataLayout();
721 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) *
736 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) *
760 uint64_t destSize = DL.getTypeAllocSize(StructTy);
1222 const DataLayout &DL = CB.getCaller()->getParent()->getDataLayout();
1226 uint64_t ByValSize = DL.getTypeAllocSize(ByValTy);
1257 getOrEnforceKnownAlignment(MDep->getSource(), ByValAlign, DL, &CB, &AC,