| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
More compiler driver cleanup: Stop only has Return inputs, never an expr. Drop extra lexical scope. Linker table moves to CodeGen.
Replace evaluator with a simpler design; I was unable to get the current design to work with the other changes.
Updates to old eval; proper idoms; forced type checks; extensions for Fun, Return, Call, CallEnd.
Accessor find next control to execute. Accessor for deciding when its ok to optimize a Function/Return, Call/CallEnd, Stop, ScopeMin (merge)
Add local scheduling pass.
IRPrinter uses SB instead of StringBuilder
Spelling SubF comment
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Folding loads before phis needs more work
Have to check load alias & offset/field match.
Could work for stores as well, will need to check more inputs
* Preserve SAR/SHL sharpness with variant shifts
* phi-node cloning honors unrelated argument types
* bool can never do phiCon
* dont fold shifts outside the range 0-63
* Now allowed to fold Loads in Phi
Because honors glb() of inputs
* Correct shr of mixed sign
* yank load merge again
needs an anti-dep check
* Stop phi-merge if it loses precision
* wrap bug
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Move x-x==0 to compute.
Add x/1 ==> x
All chapters
|
| |
|
|
|
| |
Stop CSE of stores.
Backports to ch11,12,13,14
|
| | |
|
| | |
|
| |
|
|
| |
Add Or,Xor for completeness.
|
| | |
|
| | |
|
| |
|
|
|
| |
AND on floats
Shift-extend idiom smartly makes sharper int types.
|
| |
|
|
| |
Allow Add to smartly add ranges.
|
| |
|
|
| |
Went through several iterations, one where a null _obj was allowed, but settled on using TypeStruct.BOT instead.
|
| |
|
|
| |
Needed to recognize narrowed expressions
|
| | |
|
| |
|
|
| |
Narrow f32, requires a Round node.
|
| |
|
|
|
| |
Split Ch13 tests from Chapter12Test.java
Handle forward refs never defined.
|
| | |
|
| |
|
|
| |
and-masking and typenames for all!
|
| | |
|
| | |
|
| |
|