Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:AA

45 static cl::opt<bool> EnableAASchedMI("enable-aa-sched-mi", cl::Hidden,
47 cl::desc("Enable use of AA during MI DAG construction"));
519 static inline bool isGlobalMemoryObject(AliasAnalysis *AA, MachineInstr *MI) {
522 (!MI->mayLoad() || !MI->isInvariantLoad(AA)));
567 static bool MIsNeedChainEdge(AliasAnalysis *AA, const MachineFrameInfo *MFI,
580 if (TII->areMemAccessesTriviallyDisjoint(MIa, MIb, AA))
595 // To this point analysis is generic. From here on we do need AA.
596 if (!AA)
605 // The following interface to AA is fashioned after DAGCombiner::isAlias
617 // FIXME: Even before we go to AA we can reason locally about some
629 AA->alias(MemoryLocation(MMOa->getValue(), Overlapa,
639 static unsigned iterateChainSucc(AliasAnalysis *AA, const MachineFrameInfo *MFI,
660 isGlobalMemoryObject(AA, SUb->getInstr()))
667 MIsNeedChainEdge(AA, MFI, DL, SUa->getInstr(), SUb->getInstr())) {
677 iterateChainSucc(AA, MFI, DL, SUa, I->getSUnit(), ExitSU, Depth, Visited);
685 static void adjustChainDeps(AliasAnalysis *AA, const MachineFrameInfo *MFI,
699 if (MIsNeedChainEdge(AA, MFI, DL, SU->getInstr(), (*I)->getInstr())) {
710 iterateChainSucc(AA, MFI, DL, SU, J->getSUnit(), ExitSU, &Depth,
717 static inline void addChainDependency(AliasAnalysis *AA,
725 if (MIsNeedChainEdge(AA, MFI, DL, SUa->getInstr(), SUb->getInstr())) {
825 void ScheduleDAGInstrs::buildSchedGraph(AliasAnalysis *AA,
832 AliasAnalysis *AAForDep = UseAA ? AA : nullptr;
952 if (isGlobalMemoryObject(AA, MI)) {
975 adjustChainDeps(AA, MFI, MF.getDataLayout(), SU, &ExitSU, RejectMemNodes,
1008 adjustChainDeps(AA, MFI, MF.getDataLayout(), SU, &ExitSU, RejectMemNodes,
1049 // If we're not using AA, then we only need one store per object.
1089 adjustChainDeps(AA, MFI, MF.getDataLayout(), SU, &ExitSU, RejectMemNodes,
1093 if (MI->isInvariantLoad(AA)) {
1137 adjustChainDeps(AA, MFI, MF.getDataLayout(), SU, &ExitSU,