11561778

Instrumentation for Nested Conditional Checks

PublishedJanuary 24, 2023
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
17 claims

Legal claims defining the scope of protection, as filed with the USPTO.

2

2. The method of claim 1, wherein the injecting further comprises adding a counter that is associated with the newly added basic block to count a number of times that the newly added basic block is executed.

3

3. The method of claim 1, wherein the inner conditional check is identified based at least in part on contents of a dominator tree describing the program code.

4

4. The method of claim 3, wherein the inner conditional check is selected from a set of candidate conditional branches, each of the candidate conditional branches in the set corresponding to a node in the dominator tree that has more than one child and that does not have potential side effects.

5

5. The method of claim 4, further comprising removing nodes from the set that do not have an ancestor node in the set.

6

6. The method of claim 4, wherein the inner conditional check has a different control flow than any of the other nodes in the set.

7

7. The method of claim 1, wherein the injecting comprises determining a position in the program code for the duplicate of the duplicate inner conditional check based at least in part on one or both of traversing a dominator tree describing the program code and traversing a post dominator tree describing the program code, wherein the placing is at the determined position.

8

8. The method of claim 1, wherein the executing the first phase and second phase is performed by a compiler.

9

9. The method of claim 1, further comprising optimizing the program code based at least in part on the new metadata.

10

10. The method of claim 9, wherein the optimizing comprises switching an order of the conditional checks in the program code.

11

11. The method of claim 1, wherein a plurality of duplicate inner conditional checks, including the duplicate inner conditional check are placed in the program code.

13

13. The system of claim 12, wherein the injecting further comprises adding a counter that is associated with the newly added basic block to count a number of times that the newly added basic block is executed.

14

14. The system of claim 12, wherein the inner conditional check is identified based at least in part on contents of a dominator tree describing the program code.

15

15. The system of claim 12, wherein the injecting comprises determining a position in the program code for the duplicate of the duplicate inner conditional check based at least in part on one or both of traversing a dominator tree describing the program code and traversing a post dominator tree describing the program code, wherein the placing is at the determined position.

16

16. The system of claim 12, wherein the executing the first phase and second phase is performed by a compiler.

17

17. The system of claim 12, wherein the operations further comprise optimizing the program code based at least in part on the new metadata.

18

18. The system of claim 12, wherein a plurality of duplicate inner conditional checks, including the duplicate inner conditional check are placed in the program code.

20

20. The computer program product of claim 19, wherein a plurality of duplicate inner conditional checks, including the duplicate inner conditional check are placed in the program code.

Patent Metadata

Filing Date

Unknown

Publication Date

January 24, 2023

Inventors

Wai Hung Tsang
Ettore Tiotto
Shimin Cui

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “INSTRUMENTATION FOR NESTED CONDITIONAL CHECKS” (11561778). https://patentable.app/patents/11561778

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.