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

References

include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
  331       for (const auto &MMO : State.MIs[InsnID]->memoperands())
  349       for (const auto &MMO : State.MIs[InsnID]->memoperands())
  367       for (const auto &MMO : State.MIs[InsnID]->memoperands())
  990         for (const auto &MMO : State.MIs[MergeInsnID]->memoperands())
include/llvm/CodeGen/MachineInstr.h
  567   mmo_iterator memoperands_begin() const { return memoperands().begin(); }
  574   mmo_iterator memoperands_end() const { return memoperands().end(); }
  579   bool memoperands_empty() const { return memoperands().empty(); }
  582   bool hasOneMemOperand() const { return memoperands().size() == 1; }
  585   unsigned getNumMemOperands() const { return memoperands().size(); }
lib/CodeGen/DFAPacketizer.cpp
  353   for (const MachineMemOperand *Op1 : MI1.memoperands())
  354     for (const MachineMemOperand *Op2 : MI2.memoperands())
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  499   for (const auto &MMO : MI.memoperands())
lib/CodeGen/ImplicitNullChecks.cpp
  242   return llvm::all_of(MI->memoperands(), IsUnordered);
  339   for (MachineMemOperand *MMO1 : MI.memoperands()) {
  343     for (MachineMemOperand *MMO2 : PrevMI->memoperands()) {
  657   MIB.setMemRefs(MI->memoperands());
lib/CodeGen/MIRPrinter.cpp
  800     for (const auto *Op : MI.memoperands()) {
lib/CodeGen/MachineInstr.cpp
  400   setMemRefs(MF, MI.memoperands());
  449     if (hasIdenticalMMOs(MIs[0]->memoperands(), MI.memoperands()))
  449     if (hasIdenticalMMOs(MIs[0]->memoperands(), MI.memoperands()))
  478   setExtraInfo(MF, memoperands(), Symbol, getPostInstrSymbol(),
  493   setExtraInfo(MF, memoperands(), getPreInstrSymbol(), Symbol,
  502   setExtraInfo(MF, memoperands(), getPreInstrSymbol(), getPostInstrSymbol(),
 1301   return llvm::any_of(memoperands(), [](const MachineMemOperand *MMO) {
 1321   for (MachineMemOperand *MMO : memoperands()) {
 1736     for (const MachineMemOperand *Op : memoperands()) {
lib/CodeGen/MachineLICM.cpp
  383   for (const MachineMemOperand *MemOp : MI->memoperands()) {
  897   for (MachineMemOperand *MemOp : MI.memoperands())
lib/CodeGen/MachineVerifier.cpp
 1840         for (auto *MMO : MI->memoperands()) {
lib/CodeGen/ModuloSchedule.cpp
  954   for (MachineMemOperand *MMO : NewMI.memoperands()) {
lib/CodeGen/ScheduleDAGInstrs.cpp
  132     for (const MachineMemOperand *MMO : MI->memoperands()) {
lib/CodeGen/StackColoring.cpp
  970       for (MachineMemOperand *MMO : I.memoperands()) {
 1026       for (MachineMemOperand *MMO : I.memoperands()) {
lib/CodeGen/TargetInstrInfo.cpp
  584     NewMI->setMemRefs(MF, MI.memoperands());
  654     NewMI->setMemRefs(MF, LoadMI.memoperands());
  657     NewMI->setMemRefs(MF, MI.memoperands());
lib/Target/AArch64/AArch64FrameLowering.cpp
  711   MIB.setMemRefs(MBBI->memoperands());
lib/Target/AArch64/AArch64InstrInfo.cpp
 1698   return llvm::any_of(MI.memoperands(), [](MachineMemOperand *MMO) {
 1712   return llvm::any_of(MI.memoperands(), [](MachineMemOperand *MMO) {
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
 1404               .setMemRefs(I->memoperands())
 1414               .setMemRefs(I->memoperands())
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
 1758     .setMemRefs(MI.memoperands());
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  977       for (const MachineMemOperand *Memop : MI.memoperands()) {
 1012         for (const MachineMemOperand *Memop : MI.memoperands()) {
 1188   for (const MachineMemOperand *Memop : MI.memoperands()) {
lib/Target/AMDGPU/SIInstrInfo.cpp
 6054   for (const MachineMemOperand *MMO : MI.memoperands()) {
lib/Target/AMDGPU/SIMemoryLegalizer.cpp
  528   for (const auto &MMO : MI->memoperands()) {
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
 1327   MIB.setMemRefs(MI->memoperands());
lib/Target/ARM/Thumb2SizeReduction.cpp
  488     MIB.setMemRefs(MI->memoperands());
  608   MIB.setMemRefs(MI->memoperands());
lib/Target/AVR/AVRExpandPseudoInsts.cpp
  570   MIBLO.setMemRefs(MI.memoperands());
  571   MIBHI.setMemRefs(MI.memoperands());
  619   MIBLO.setMemRefs(MI.memoperands());
  620   MIBHI.setMemRefs(MI.memoperands());
  650   MIBLO.setMemRefs(MI.memoperands());
  651   MIBHI.setMemRefs(MI.memoperands());
  681   MIBLO.setMemRefs(MI.memoperands());
  682   MIBHI.setMemRefs(MI.memoperands());
  736   MIBLO.setMemRefs(MI.memoperands());
  737   MIBHI.setMemRefs(MI.memoperands());
  784   MIBLO.setMemRefs(MI.memoperands());
  785   MIBHI.setMemRefs(MI.memoperands());
 1005   MIBLO.setMemRefs(MI.memoperands());
 1006   MIBHI.setMemRefs(MI.memoperands());
 1033   MIBLO.setMemRefs(MI.memoperands());
 1034   MIBHI.setMemRefs(MI.memoperands());
 1067   MIBLO.setMemRefs(MI.memoperands());
 1068   MIBHI.setMemRefs(MI.memoperands());
 1101   MIBLO.setMemRefs(MI.memoperands());
 1102   MIBHI.setMemRefs(MI.memoperands());
 1135   MIBLO.setMemRefs(MI.memoperands());
 1136   MIBHI.setMemRefs(MI.memoperands());
 1165   MIBLO.setMemRefs(MI.memoperands());
 1166   MIBHI.setMemRefs(MI.memoperands());
 1196   MIBLO.setMemRefs(MI.memoperands());
 1197   MIBHI.setMemRefs(MI.memoperands());
lib/Target/Hexagon/HexagonExpandCondsets.cpp
  735   for (auto &Mo : MI->memoperands())
lib/Target/Hexagon/HexagonFrameLowering.cpp
 2103           for (auto *Mo : In.memoperands()) {
lib/Target/Hexagon/HexagonSplitDouble.cpp
  155   for (auto &MO : MI->memoperands())
  688   for (auto &MO : MI->memoperands()) {
lib/Target/Hexagon/HexagonStoreWidening.cpp
  193   for (auto &I : MI->memoperands())
lib/Target/Lanai/LanaiMemAluCombiner.cpp
  280   InstrBuilder.setMemRefs(MemInstr->memoperands());
lib/Target/SystemZ/SystemZElimCompare.cpp
  302   MIB.setMemRefs(MI.memoperands());
lib/Target/SystemZ/SystemZISelLowering.cpp
 6741     for (auto *I : MI.memoperands())
 7374         .setMemRefs(MI.memoperands());
lib/Target/X86/X86FixupBWInsts.cpp
  294   MIB.setMemRefs(MI->memoperands());
  357   MIB.setMemRefs(MI->memoperands());
lib/Target/X86/X86FlagsCopyLowering.cpp
 1043   MIB.setMemRefs(SetCCI.memoperands());
lib/Target/X86/X86ISelLowering.cpp
29284   MachineMemOperand *OldMMO = MI.memoperands().front();
lib/Target/X86/X86InstrInfo.cpp
 5498     auto MMOs = extractLoadMMOs(MI.memoperands(), MF);
 5580     auto MMOs = extractStoreMMOs(MI.memoperands(), MF);
unittests/CodeGen/MachineInstrTest.cpp
  397   ASSERT_TRUE(MI->memoperands().size() == 1);
  403   ASSERT_TRUE(MI->memoperands().size() == 1);
  409   ASSERT_TRUE(MI->memoperands().size() == 1);
  415   ASSERT_TRUE(MI->memoperands().size() == 1);
  445   ASSERT_TRUE(MI->memoperands().size() == 2);
  451   ASSERT_TRUE(MI->memoperands().size() == 2);
  480   ASSERT_TRUE(MI->memoperands().size() == 2);
  486   ASSERT_TRUE(MI->memoperands().size() == 2);
  492   ASSERT_TRUE(MI->memoperands().size() == 2);