File:Loop invariant code motion.jpg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

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

Summary

Description
English: Loop-invariant code motion is a common optimization performed by almost all optimizing compilers. This optimization moves code which is not reliant on the loop itself outside (or "above") the loop. This is to avoid accidentally performing the same operation redundantly. Many operations do not qualify for loop invariant code motion, such as operations which may write to memory (such as a function call), but this varies greatly from compiler to compiler.
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 loop-invariant code motion over an execution graph.

Items portrayed in this file

depicts

26 February 2022

image/jpeg

File history

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

Date/TimeThumbnailDimensionsUserComment
current21:43, 26 February 2022Thumbnail for version as of 21:43, 26 February 2022960 × 720 (35 KB)MooshberryUploaded own work with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):