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

References

unittests/CodeGen/MachineInstrTest.cpp
  391   ASSERT_TRUE(MI->memoperands_empty());
  392   ASSERT_FALSE(MI->getPreInstrSymbol());
  393   ASSERT_FALSE(MI->getPostInstrSymbol());
  394   ASSERT_FALSE(MI->getHeapAllocMarker());
  396   MI->setMemRefs(*MF, MMOs);
  397   ASSERT_TRUE(MI->memoperands().size() == 1);
  398   ASSERT_FALSE(MI->getPreInstrSymbol());
  399   ASSERT_FALSE(MI->getPostInstrSymbol());
  400   ASSERT_FALSE(MI->getHeapAllocMarker());
  402   MI->setPreInstrSymbol(*MF, Sym1);
  403   ASSERT_TRUE(MI->memoperands().size() == 1);
  404   ASSERT_TRUE(MI->getPreInstrSymbol() == Sym1);
  405   ASSERT_FALSE(MI->getPostInstrSymbol());
  406   ASSERT_FALSE(MI->getHeapAllocMarker());
  408   MI->setPostInstrSymbol(*MF, Sym2);
  409   ASSERT_TRUE(MI->memoperands().size() == 1);
  410   ASSERT_TRUE(MI->getPreInstrSymbol() == Sym1);
  411   ASSERT_TRUE(MI->getPostInstrSymbol() == Sym2);
  412   ASSERT_FALSE(MI->getHeapAllocMarker());
  414   MI->setHeapAllocMarker(*MF, MDN);
  415   ASSERT_TRUE(MI->memoperands().size() == 1);
  416   ASSERT_TRUE(MI->getPreInstrSymbol() == Sym1);
  417   ASSERT_TRUE(MI->getPostInstrSymbol() == Sym2);
  418   ASSERT_TRUE(MI->getHeapAllocMarker() == MDN);