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

References

lib/Transforms/Vectorize/LoopVectorize.cpp
 1169     if (Op != Legal->getPrimaryInduction() && TTI.isTruncateFree(SrcTy, DestTy))
 1173     return Legal->isInductionPhi(Op);
 1195     return Legal->isConsecutivePtr(Ptr) &&
 1202     return Legal->isConsecutivePtr(Ptr) &&
 1245       return Legal->isMaskRequired(I);
 1286     return foldTailByMasking() || Legal->blockNeedsPredication(BB);
 4460   for (auto &Induction : *Legal->getInductionVars()) {
 4503   for (auto &Induction : *Legal->getInductionVars()) {
 4553     if (!Legal->isMaskRequired(I))
 4598       Legal->blockNeedsPredication(I->getParent()) && Legal->isMaskRequired(I);
 4598       Legal->blockNeedsPredication(I->getParent()) && Legal->isMaskRequired(I);
 4626   if (!Legal->isConsecutivePtr(Ptr))
 4756       if (OP && Legal->isFirstOrderRecurrence(OP))
 4785   for (auto &Induction : *Legal->getInductionVars()) {
 4824   if (Legal->getRuntimePointerChecking()->Need) {
 4843   if (!Legal->getLAI()->getSymbolicStrides().empty()) {
 4856   if (Legal->getRuntimePointerChecking()->Need && TTI.hasBranchDivergence()) {
 4919   if (Legal->prepareToFoldTailByMasking()) {
 4952   unsigned MaxSafeRegisterWidth = Legal->getMaxSafeRegisterWidth();
 5091         if (!Legal->isReductionVariable(PN))
 5093         RecurrenceDescriptor RdxDesc = (*Legal->getReductionVars())[PN];
 5144   if (Legal->getMaxSafeDepDistBytes() != -1U)
 5235   if (VF > 1 && !Legal->getReductionVars()->empty()) {
 5243       (VF == 1 && Legal->getRuntimePointerChecking()->Need);
 5257     unsigned NumStores = Legal->getNumStores();
 5258     unsigned NumLoads = Legal->getNumLoads();
 5266     if (!Legal->getReductionVars()->empty() && TheLoop->getLoopDepth() > 1) {
 5286   bool HasReductions = !Legal->getReductionVars()->empty();
 5372   if (Legal->getMaxSafeDepDistBytes() != -1U)
 5373     MaxSafeDepDist = Legal->getMaxSafeDepDistBytes() * 8;
 5740   const SCEV *PtrSCEV = getAddressAccessSCEV(Ptr, Legal, PSE, TheLoop);
 5776   int ConsecutiveStride = Legal->isConsecutivePtr(Ptr);
 5782   if (Legal->isMaskRequired(I))
 5807   bool isLoopInvariantStoreValue = Legal->isUniform(SI->getValueOperand());
 5825                                     Legal->isMaskRequired(I),
 5855       Group->getAlignment(), AS, Legal->isMaskRequired(I), UseMaskForGaps);
 5859     assert(!Legal->isMaskRequired(I) &&
 5956       if (Legal->isUniform(Ptr) &&
 5960           !Legal->blockNeedsPredication(I.getParent())) {
 5974                Legal->isConsecutivePtr(getLoadStorePointerOperand(&I));
 6141     if (VF > 1 && Legal->isFirstOrderRecurrence(Phi))
 6201     if (I->getOpcode() == Instruction::Mul && isStrideMul(I, Legal))
 6209     if (Op2VK == TargetTransformInfo::OK_AnyValue && Legal->isUniform(Op2))
 6355     return Legal->isConsecutivePtr(Ptr);
 6365   for (auto &Reduction : *Legal->getReductionVars()) {
 6372   for (auto &Induction : *Legal->getInductionVars()) {