reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
474 MI->setMemRefs(*MF, MMOs); 475 MI->setPreInstrSymbol(*MF, Sym1); 476 MI->setPostInstrSymbol(*MF, Sym2); 477 MI->setHeapAllocMarker(*MF, MDN); 479 MI->setPostInstrSymbol(*MF, nullptr); 480 ASSERT_TRUE(MI->memoperands().size() == 2); 481 ASSERT_TRUE(MI->getPreInstrSymbol() == Sym1); 482 ASSERT_FALSE(MI->getPostInstrSymbol()); 483 ASSERT_TRUE(MI->getHeapAllocMarker() == MDN); 485 MI->setHeapAllocMarker(*MF, nullptr); 486 ASSERT_TRUE(MI->memoperands().size() == 2); 487 ASSERT_TRUE(MI->getPreInstrSymbol() == Sym1); 488 ASSERT_FALSE(MI->getPostInstrSymbol()); 489 ASSERT_FALSE(MI->getHeapAllocMarker()); 491 MI->setPreInstrSymbol(*MF, nullptr); 492 ASSERT_TRUE(MI->memoperands().size() == 2); 493 ASSERT_FALSE(MI->getPreInstrSymbol()); 494 ASSERT_FALSE(MI->getPostInstrSymbol()); 495 ASSERT_FALSE(MI->getHeapAllocMarker()); 497 MI->setMemRefs(*MF, {}); 498 ASSERT_TRUE(MI->memoperands_empty()); 499 ASSERT_FALSE(MI->getPreInstrSymbol()); 500 ASSERT_FALSE(MI->getPostInstrSymbol()); 501 ASSERT_FALSE(MI->getHeapAllocMarker());