Skip to content

Commit

Permalink
Merge pull request #6642 from kevindean12/perform-liveness
Browse files Browse the repository at this point in the history
Add API for performing analysis in Liveness
  • Loading branch information
0xdaryl committed Aug 7, 2022
2 parents 9a26997 + dd90a43 commit addc9c5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion compiler/optimizer/DataFlowAnalysis.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2019 IBM Corp. and others
* Copyright (c) 2000, 2022 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -853,6 +853,15 @@ class TR_Liveness : public TR_BackwardUnionBitVectorAnalysis
virtual Kind getKind();
virtual TR_Liveness *asLiveness();

/**
* @brief Perform a liveness analysis on the given \c TR_Structure
*
* @param[in] rootStructure : \c TR_Structure to perform a liveness analysis over
*
* @return none
*/
virtual void perform(TR_Structure *rootStructure) {}

bool traceLiveness() { return _traceLiveness; }


Expand Down

0 comments on commit addc9c5

Please sign in to comment.