Lines Matching defs:Options
125 const TargetTransformInfo::MemCmpExpansionOptions &Options,
214 const TargetTransformInfo::MemCmpExpansionOptions &Options,
217 NumLoadsPerBlockForZeroCmp(Options.NumLoadsPerBlock),
221 llvm::ArrayRef<unsigned> LoadSizes(Options.LoadSizes);
229 LoadSequence = computeGreedyLoadSequence(Size, LoadSizes, Options.MaxNumLoads,
232 assert(LoadSequence.size() <= Options.MaxNumLoads && "broken invariant");
235 if (Options.AllowOverlappingLoads &&
239 Size, MaxLoadSize, Options.MaxNumLoads, OverlappingNumLoadsNonOneByte);
247 assert(LoadSequence.size() <= Options.MaxNumLoads && "broken invariant");
733 auto Options = TTI->enableMemCmpExpansion(OptForSize,
735 if (!Options) return false;
738 Options.NumLoadsPerBlock = MemCmpEqZeroNumLoadsPerBlock;
742 Options.MaxNumLoads = MaxLoadsPerMemcmpOptSize;
745 Options.MaxNumLoads = MaxLoadsPerMemcmp;
747 MemCmpExpansion Expansion(CI, SizeVal, Options, IsUsedForZeroCmp, *DL);