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

References

lib/Target/Hexagon/HexagonOptAddrMode.cpp
  128   if ((!MID.mayStore() && !MID.mayLoad()) || HII->isPredicated(MI))
  137   if (HII->getAddrMode(MI) == HexagonII::BaseRegOffset)
  139     return (HII->changeAddrMode_rr_ur(MI) >= 0);
  140   else if (HII->getAddrMode(MI) == HexagonII::BaseImmOffset)
  142     return (HII->changeAddrMode_io_abs(MI) >= 0);
  195         HII->getAddrMode(UseMI) != HexagonII::BaseImmOffset ||
  325   switch (HII->getMemAccessSize(*MI)) {
  344   return HII->isValidOffset(MI->getOpcode(), Offset, HRI, false);
  358         HII->getAddrMode(*MI) != HexagonII::BaseImmOffset ||
  359         HII->isHVXVec(*MI))
  494     if (HII->getAddrMode(*OldMI) == HexagonII::BaseRegOffset) {
  495       short NewOpCode = HII->changeAddrMode_rr_ur(*OldMI);
  497       MIB = BuildMI(*BB, InsertPt, OldMI->getDebugLoc(), HII->get(NewOpCode));
  504     } else if (HII->getAddrMode(*OldMI) == HexagonII::BaseImmOffset &&
  506       short NewOpCode = HII->changeAddrMode_io_abs(*OldMI);
  508       MIB = BuildMI(*BB, InsertPt, OldMI->getDebugLoc(), HII->get(NewOpCode))
  523       short NewOpCode = HII->changeAddrMode_rr_io(*OldMI);
  525       MIB = BuildMI(*BB, InsertPt, OldMI->getDebugLoc(), HII->get(NewOpCode));
  554     if (HII->getAddrMode(*OldMI) == HexagonII::BaseRegOffset) {
  555       short NewOpCode = HII->changeAddrMode_rr_ur(*OldMI);
  557       MIB = BuildMI(*BB, InsertPt, OldMI->getDebugLoc(), HII->get(NewOpCode));
  563     } else if (HII->getAddrMode(*OldMI) == HexagonII::BaseImmOffset) {
  564       short NewOpCode = HII->changeAddrMode_io_abs(*OldMI);
  566       MIB = BuildMI(*BB, InsertPt, OldMI->getDebugLoc(), HII->get(NewOpCode));
  577     short NewOpCode = HII->changeAddrMode_rr_io(*OldMI);
  579     MIB = BuildMI(*BB, InsertPt, OldMI->getDebugLoc(), HII->get(NewOpCode));
  595   if (HII->getAddrMode(MI) == HexagonII::BaseImmOffset) {
  596     short TempOpCode = HII->changeAddrMode_io_rr(MI);
  597     return HII->changeAddrMode_rr_ur(TempOpCode);
  599   return HII->changeAddrMode_rr_ur(MI);
  625     assert(HII->getAddrMode(*UseMI) == HexagonII::BaseImmOffset);
  637         BuildMI(*BB, InsertPt, UseMI->getDebugLoc(), HII->get(NewOpCode));
  698          !MI->getOperand(2).isImm() || HII->isConstExtended(*MI)))
  701     LLVM_DEBUG(dbgs() << "[Analyzing " << HII->getName(MI->getOpcode())
  784   HII = HST.getInstrInfo();
  788   const TargetOperandInfo TOI(*HII);
  790   DataFlowGraph G(MF, *HII, *HRI, *MDT, MDF, TOI);