-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
59 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.. _`sec-dev:liveness.h`: | ||
|
||
liveness.h | ||
########## | ||
|
||
.. cpp:namespace:: dev | ||
|
||
|
||
.. cpp:class:: LivenessAnalyzer | ||
|
||
.. cpp:member:: private std::map<ParseAPI::Block*, livenessData> blockLiveInfo | ||
.. cpp:member:: private std::map<ParseAPI::Function*, bool> liveFuncCalculated | ||
.. cpp:member:: private std::map<ParseAPI::Function*, bitArray> funcRegsDefined | ||
.. cpp:member:: private InstructionCache cachedLivenessInfo | ||
.. cpp:function:: private const bitArray& getLivenessIn(ParseAPI::Block *block) | ||
.. cpp:function:: private const bitArray& getLivenessOut(ParseAPI::Block *block, bitArray &allRegsDefined) | ||
.. cpp:function:: private void processEdgeLiveness(ParseAPI::Edge* e, livenessData& data, ParseAPI::Block* block, const bitArray& allRegsDefined) | ||
.. cpp:function:: private void summarizeBlockLivenessInfo(ParseAPI::Function* func, ParseAPI::Block *block, bitArray &allRegsDefined) | ||
.. cpp:function:: private bool updateBlockLivenessInfo(ParseAPI::Block *block, bitArray &allRegsDefined) | ||
|
||
This is used to do fixed point iteration until the in and out don't change anymore. | ||
|
||
.. cpp:function:: private ReadWriteInfo calcRWSets(Instruction curInsn, ParseAPI::Block *blk, Address a) | ||
.. cpp:function:: private void* getPtrToInstruction(ParseAPI::Block *block, Address addr) const | ||
.. cpp:function:: private bool isExitBlock(ParseAPI::Block *block) | ||
.. cpp:function:: private bool isMMX(MachRegister machReg) | ||
.. cpp:function:: private MachRegister changeIfMMX(MachRegister machReg) | ||
.. cpp:member:: private int width | ||
.. cpp:member:: private ABI* abi | ||
|
||
.. cpp:member:: private ErrorType errorno | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters