reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  482   if (DL->isNonIntegralPointerType(SI->getValueOperand()->getType()))
  493   uint64_t SizeInBits = DL->getTypeSizeInBits(StoredVal->getType());
  515   Value *SplatValue = isBytewiseValue(StoredVal, *DL);
  532              (PatternValue = getMemSetPatternValue(StoredVal, DL))) {
  542     unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType());
  593       Value *Ptr = GetUnderlyingObject(SI->getPointerOperand(), *DL);
  598       Value *Ptr = GetUnderlyingObject(SI->getPointerOperand(), *DL);
  680     unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType());
  692       FirstSplatValue = isBytewiseValue(FirstStoredVal, *DL);
  694       FirstPatternValue = getMemSetPatternValue(FirstStoredVal, DL);
  725         SecondSplatValue = isBytewiseValue(SecondStoredVal, *DL);
  727         SecondPatternValue = getMemSetPatternValue(SecondStoredVal, DL);
  732       if (isConsecutiveAccess(SL[i], SL[k], *DL, *SE, false)) {
  777       StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType());
  945   Value *SplatValue = isBytewiseValue(StoredVal, *DL);
  949     PatternValue = getMemSetPatternValue(StoredVal, DL);
  960   SCEVExpander Expander(*SE, *DL, "loop-idiom");
  963   Type *IntPtr = Builder.getIntPtrTy(*DL, DestAS);
  996       getNumBytes(BECount, IntPtr, StoreSize, CurLoop, DL, SE);
 1062   unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType());
 1080   SCEVExpander Expander(*SE, *DL, "loop-idiom");
 1084   Type *IntPtrTy = Builder.getIntPtrTy(*DL, StrAS);
 1136       getNumBytes(BECount, IntPtrTy, StoreSize, CurLoop, DL, SE);
 1508   if (!detectShiftUntilZeroIdiom(CurLoop, *DL, IntrinID, InitX,
 2086   Type *CmpFuncSizeTy = DL->getIntPtrType(SE->getContext());
 2157   uint64_t BCmpTyBits = DL->getTypeSizeInBits(BCmpValTy);
 2182   Type *CmpFuncSizeTy = DL->getIntPtrType(Context);
 2607     SCEVExpander SExp(*SE, *DL, "LoopToBCmp");
 2625     Type *CmpFuncSizeTy = DL->getIntPtrType(Builder.getContext());
 2627                DL->getTypeSizeInBits(CmpFuncSizeTy) &&
 2649       cast<CallInst>(HasBCmp ? emitBCmp(PtrA, PtrB, Len, Builder, *DL, TLI)
 2650                              : emitMemCmp(PtrA, PtrB, Len, Builder, *DL, TLI));