reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
569 bool operator==(const InstRef &Other) const { return Data == Other.Data; } 569 bool operator==(const InstRef &Other) const { return Data == Other.Data; } 570 bool operator!=(const InstRef &Other) const { return Data != Other.Data; } 570 bool operator!=(const InstRef &Other) const { return Data != Other.Data; } 572 return Data.first < Other.Data.first; 572 return Data.first < Other.Data.first; 575 unsigned getSourceIndex() const { return Data.first; } 576 Instruction *getInstruction() { return Data.second; } 577 const Instruction *getInstruction() const { return Data.second; } 580 explicit operator bool() const { return Data.second != nullptr; } 583 void invalidate() { Data.second = nullptr; }