File:Removing useless calls in compiled code with code sinking.jpg

Original file (960 × 720 pixels, file size: 37 KB, MIME type: image/jpeg)

Summary

Description
English: Many optimizing compilers will "sink" operations if they are performed redundantly for certain branches. EG, in this image, "B" is called redundantly when the branch for (D,E) is taken instead of (C[B], D). Note that D is not sunken into block (F) because this operation is considered code factoring more than code sinking.
Date
Source Own work
Author Mooshua1857

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

A diagram depicting an optimizing compiler removing a useless call to assembly instruction "b" by sinking it to it's point of use.

Items portrayed in this file

depicts

27 February 2022

image/jpeg

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current21:17, 27 February 2022Thumbnail for version as of 21:17, 27 February 2022960 × 720 (37 KB)MooshberryUploaded own work with UploadWizard

The following page uses this file: