X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FPasses.html;h=3492a2797092ea4338e62da4d8563941a341cfc8;hb=d051f7a13d8345ced6e409b3fe0313b9f865f1e0;hp=c144e2ba63d3368a05b7f453e0bd19f8a0b835a5;hpb=c86b67742a3298c0a5a715b57a64f11107b8a3f2;p=oota-llvm.git diff --git a/docs/Passes.html b/docs/Passes.html index c144e2ba63d..3492a279709 100644 --- a/docs/Passes.html +++ b/docs/Passes.html @@ -179,7 +179,7 @@ perl -e '$/ = undef; for (split(/\n/, <>)) { s:^ *///? ?::; print "

\n" if ! OptionName -deadarghaX0rDead Argument Hacking (BUGPOINT USE ONLY; DO NOT USE) -extract-blocksExtract Basic Blocks From Module (for bugpoint use) --emitbitcodeBitcode Writer +-preverifyPreliminary module verification -verifyModule Verifier -view-cfgView CFG of function -view-cfg-onlyView CFG of function (with no function bodies) @@ -989,7 +989,7 @@ if (i == j) the dependence on the exit value of the induction variable. If the only purpose of the loop is to compute the exit value of some derived expression, this transformation will make the loop dead. -

+

This transformation should be followed by strength reduction after all of the @@ -1808,7 +1808,10 @@ if (i == j) Dead Argument Hacking (BUGPOINT USE ONLY; DO NOT USE)

-

Yet to be written.

+

+ Same as dead argument elimination, but deletes arguments to functions which + are external. This is only for use by bugpoint.

@@ -1816,15 +1819,25 @@ if (i == j) Extract Basic Blocks From Module (for bugpoint use)
-

Yet to be written.

+

+ This pass is used by bugpoint to extract all blocks from the module into their + own functions.

- Bitcode Writer + Preliminary module verification
-

Yet to be written.

+

+ Ensures that the module is in the form required by the Module Verifier pass. +

+ +

+ Running the verifier runs this pass automatically, so there should be no need + to use it directly. +

@@ -1832,7 +1845,50 @@ if (i == j) Module Verifier
-

Yet to be written.

+

+ Verifies an LLVM IR code. This is useful to run after an optimization which is + undergoing testing. Note that llvm-as verifies its input before + emitting bitcode, and also that malformed bitcode is likely to make LLVM + crash. All language front-ends are therefore encouraged to verify their output + before performing optimizing transformations. +

+ + + +

+ Note that this does not provide full security verification (like Java), but + instead just tries to ensure that code is well-formed. +

@@ -1840,7 +1896,9 @@ if (i == j) View CFG of function
-

Yet to be written.

+

+ Displays the control flow graph using the GraphViz tool. +

@@ -1848,7 +1906,10 @@ if (i == j) View CFG of function (with no function bodies)
-

Yet to be written.

+

+ Displays the control flow graph using the GraphViz tool, but omitting function + bodies. +