Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
| 6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define VM_INTERMEDIATE_LANGUAGE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 81 V(_Double, ceilToDouble, DoubleCeil, 277859570) \ | 81 V(_Double, ceilToDouble, DoubleCeil, 277859570) \ |
| 82 V(_Double, _modulo, DoubleMod, 1443289156) \ | 82 V(_Double, _modulo, DoubleMod, 1443289156) \ |
| 83 V(::, sqrt, MathSqrt, 465520247) \ | 83 V(::, sqrt, MathSqrt, 465520247) \ |
| 84 V(::, sin, MathSin, 730107143) \ | 84 V(::, sin, MathSin, 730107143) \ |
| 85 V(::, cos, MathCos, 1282146521) \ | 85 V(::, cos, MathCos, 1282146521) \ |
| 86 V(::, min, MathMin, 1602283410) \ | 86 V(::, min, MathMin, 1602283410) \ |
| 87 V(::, max, MathMax, 997766696) \ | 87 V(::, max, MathMax, 997766696) \ |
| 88 V(::, _doublePow, MathDoublePow, 1728171041) \ | 88 V(::, _doublePow, MathDoublePow, 1728171041) \ |
| 89 V(Float32x4, Float32x4., Float32x4Constructor, 786169160) \ | 89 V(Float32x4, Float32x4., Float32x4Constructor, 786169160) \ |
| 90 V(Float32x4, Float32x4.zero, Float32x4Zero, 1589383280) \ | 90 V(Float32x4, Float32x4.zero, Float32x4Zero, 1589383280) \ |
| 91 V(Float32x4, Float32x4.splat, Float32x4Splat, 62513275) \ | 91 V(Float32x4, Float32x4.splat, Float32x4Splat, 62513275) \ |
| 92 V(Float32x4, Float32x4.fromUint32x4Bits, Float32x4Uint32x4Bits, 770033146) \ | |
|
zra
2013/09/24 00:29:09
Float32x4FromUint32x4Bits
Cutch
2013/09/24 16:00:05
Done.
| |
| 92 V(_Float32x4, shuffle, Float32x4Shuffle, 1178727105) \ | 93 V(_Float32x4, shuffle, Float32x4Shuffle, 1178727105) \ |
| 93 V(_Float32x4, get:x, Float32x4ShuffleX, 1351717838) \ | 94 V(_Float32x4, get:x, Float32x4ShuffleX, 1351717838) \ |
| 94 V(_Float32x4, get:y, Float32x4ShuffleY, 217386410) \ | 95 V(_Float32x4, get:y, Float32x4ShuffleY, 217386410) \ |
| 95 V(_Float32x4, get:z, Float32x4ShuffleZ, 2144923721) \ | 96 V(_Float32x4, get:z, Float32x4ShuffleZ, 2144923721) \ |
| 96 V(_Float32x4, get:w, Float32x4ShuffleW, 1447699119) \ | 97 V(_Float32x4, get:w, Float32x4ShuffleW, 1447699119) \ |
| 97 V(_Float32x4, get:signMask, Float32x4GetSignMask, 1198849347) \ | 98 V(_Float32x4, get:signMask, Float32x4GetSignMask, 1198849347) \ |
| 98 V(_Float32x4, _cmpequal, Float32x4Equal, 2141256163) \ | 99 V(_Float32x4, _cmpequal, Float32x4Equal, 2141256163) \ |
| 99 V(_Float32x4, _cmpgt, Float32x4GreaterThan, 696292270) \ | 100 V(_Float32x4, _cmpgt, Float32x4GreaterThan, 696292270) \ |
| 100 V(_Float32x4, _cmpgte, Float32x4GreaterThanOrEqual, 1199333164) \ | 101 V(_Float32x4, _cmpgte, Float32x4GreaterThanOrEqual, 1199333164) \ |
| 101 V(_Float32x4, _cmplt, Float32x4LessThan, 943396590) \ | 102 V(_Float32x4, _cmplt, Float32x4LessThan, 943396590) \ |
| 102 V(_Float32x4, _cmplte, Float32x4LessThanOrEqual, 57211241) \ | 103 V(_Float32x4, _cmplte, Float32x4LessThanOrEqual, 57211241) \ |
| 103 V(_Float32x4, _cmpnequal, Float32x4NotEqual, 1234888884) \ | 104 V(_Float32x4, _cmpnequal, Float32x4NotEqual, 1234888884) \ |
| 104 V(_Float32x4, _min, Float32x4Min, 1166664658) \ | 105 V(_Float32x4, _min, Float32x4Min, 1166664658) \ |
| 105 V(_Float32x4, _max, Float32x4Max, 343968921) \ | 106 V(_Float32x4, _max, Float32x4Max, 343968921) \ |
| 106 V(_Float32x4, _scale, Float32x4Scale, 803505531) \ | 107 V(_Float32x4, _scale, Float32x4Scale, 803505531) \ |
| 107 V(_Float32x4, _sqrt, Float32x4Sqrt, 2092250151) \ | 108 V(_Float32x4, _sqrt, Float32x4Sqrt, 2092250151) \ |
| 108 V(_Float32x4, _reciprocalSqrt, Float32x4ReciprocalSqrt, 965252704) \ | 109 V(_Float32x4, _reciprocalSqrt, Float32x4ReciprocalSqrt, 965252704) \ |
| 109 V(_Float32x4, _reciprocal, Float32x4Reciprocal, 1262202915) \ | 110 V(_Float32x4, _reciprocal, Float32x4Reciprocal, 1262202915) \ |
| 110 V(_Float32x4, _negate, Float32x4Negate, 1203192635) \ | 111 V(_Float32x4, _negate, Float32x4Negate, 1203192635) \ |
| 111 V(_Float32x4, _abs, Float32x4Absolute, 386324188) \ | 112 V(_Float32x4, _abs, Float32x4Absolute, 386324188) \ |
| 112 V(_Float32x4, _clamp, Float32x4Clamp, 1454612345) \ | 113 V(_Float32x4, _clamp, Float32x4Clamp, 1454612345) \ |
| 113 V(_Float32x4, withX, Float32x4WithX, 795284225) \ | 114 V(_Float32x4, withX, Float32x4WithX, 795284225) \ |
| 114 V(_Float32x4, withY, Float32x4WithY, 1806065938) \ | 115 V(_Float32x4, withY, Float32x4WithY, 1806065938) \ |
| 115 V(_Float32x4, withZ, Float32x4WithZ, 320659034) \ | 116 V(_Float32x4, withZ, Float32x4WithZ, 320659034) \ |
| 116 V(_Float32x4, withW, Float32x4WithW, 1108437255) \ | 117 V(_Float32x4, withW, Float32x4WithW, 1108437255) \ |
| 117 V(_Float32x4, _toUint32x4, Float32x4ToUint32x4, 754564339) \ | |
| 118 V(_Float32x4, withZWInXY, Float32x4WithZWInXY, 1198101679) \ | 118 V(_Float32x4, withZWInXY, Float32x4WithZWInXY, 1198101679) \ |
| 119 V(_Float32x4, interleaveXY, Float32x4InterleaveXY, 2001324072) \ | 119 V(_Float32x4, interleaveXY, Float32x4InterleaveXY, 2001324072) \ |
| 120 V(_Float32x4, interleaveZW, Float32x4InterleaveZW, 928280031) \ | 120 V(_Float32x4, interleaveZW, Float32x4InterleaveZW, 928280031) \ |
| 121 V(_Float32x4, interleaveXYPairs, Float32x4InterleaveXYPairs, 1046078993) \ | 121 V(_Float32x4, interleaveXYPairs, Float32x4InterleaveXYPairs, 1046078993) \ |
| 122 V(_Float32x4, interleaveZWPairs, Float32x4InterleaveZWPairs, 1001751955) \ | 122 V(_Float32x4, interleaveZWPairs, Float32x4InterleaveZWPairs, 1001751955) \ |
| 123 V(Uint32x4, Uint32x4.bool, Uint32x4BoolConstructor, 517444095) \ | 123 V(Uint32x4, Uint32x4.bool, Uint32x4BoolConstructor, 517444095) \ |
| 124 V(Uint32x4, Uint32x4.fromFloat32x4Bits, Uint32x4Float32x4Bits, 1080034855) \ | |
|
zra
2013/09/24 00:29:09
Similar here.
Cutch
2013/09/24 16:00:05
Done.
| |
| 124 V(_Uint32x4, get:flagX, Uint32x4GetFlagX, 1674696792) \ | 125 V(_Uint32x4, get:flagX, Uint32x4GetFlagX, 1674696792) \ |
| 125 V(_Uint32x4, get:flagY, Uint32x4GetFlagY, 2013200152) \ | 126 V(_Uint32x4, get:flagY, Uint32x4GetFlagY, 2013200152) \ |
| 126 V(_Uint32x4, get:flagZ, Uint32x4GetFlagZ, 944733935) \ | 127 V(_Uint32x4, get:flagZ, Uint32x4GetFlagZ, 944733935) \ |
| 127 V(_Uint32x4, get:flagW, Uint32x4GetFlagW, 22746169) \ | 128 V(_Uint32x4, get:flagW, Uint32x4GetFlagW, 22746169) \ |
| 128 V(_Uint32x4, get:signMask, Uint32x4GetSignMask, 1858144083) \ | 129 V(_Uint32x4, get:signMask, Uint32x4GetSignMask, 1858144083) \ |
| 129 V(_Uint32x4, select, Uint32x4Select, 72244182) \ | 130 V(_Uint32x4, select, Uint32x4Select, 72244182) \ |
| 130 V(_Uint32x4, withFlagX, Uint32x4WithFlagX, 1475542073) \ | 131 V(_Uint32x4, withFlagX, Uint32x4WithFlagX, 1475542073) \ |
| 131 V(_Uint32x4, withFlagY, Uint32x4WithFlagY, 830610988) \ | 132 V(_Uint32x4, withFlagY, Uint32x4WithFlagY, 830610988) \ |
| 132 V(_Uint32x4, withFlagZ, Uint32x4WithFlagZ, 1714792414) \ | 133 V(_Uint32x4, withFlagZ, Uint32x4WithFlagZ, 1714792414) \ |
| 133 V(_Uint32x4, withFlagW, Uint32x4WithFlagW, 1516924162) \ | 134 V(_Uint32x4, withFlagW, Uint32x4WithFlagW, 1516924162) \ |
| 134 V(_Uint32x4, _toFloat32x4, Uint32x4ToUint32x4, 2054503505) \ | |
| 135 V(_ObjectArray, [], ObjectArrayGetIndexed, 544020319) \ | 135 V(_ObjectArray, [], ObjectArrayGetIndexed, 544020319) \ |
| 136 V(_ImmutableArray, [], ImmutableArrayGetIndexed, 1345387065) \ | 136 V(_ImmutableArray, [], ImmutableArrayGetIndexed, 1345387065) \ |
| 137 V(_GrowableObjectArray, [], GrowableArrayGetIndexed, 951312767) \ | 137 V(_GrowableObjectArray, [], GrowableArrayGetIndexed, 951312767) \ |
| 138 V(_Float32Array, [], Float32ArrayGetIndexed, 1225286513) \ | 138 V(_Float32Array, [], Float32ArrayGetIndexed, 1225286513) \ |
| 139 V(_Float64Array, [], Float64ArrayGetIndexed, 871118335) \ | 139 V(_Float64Array, [], Float64ArrayGetIndexed, 871118335) \ |
| 140 V(_Int8Array, [], Int8ArrayGetIndexed, 199925538) \ | 140 V(_Int8Array, [], Int8ArrayGetIndexed, 199925538) \ |
| 141 V(_Uint8Array, [], Uint8ArrayGetIndexed, 502448555) \ | 141 V(_Uint8Array, [], Uint8ArrayGetIndexed, 502448555) \ |
| 142 V(_Uint8ClampedArray, [], Uint8ClampedArrayGetIndexed, 1292893603) \ | 142 V(_Uint8ClampedArray, [], Uint8ClampedArrayGetIndexed, 1292893603) \ |
| 143 V(_ExternalUint8Array, [], ExternalUint8ArrayGetIndexed, 1831383216) \ | 143 V(_ExternalUint8Array, [], ExternalUint8ArrayGetIndexed, 1831383216) \ |
| 144 V(_ExternalUint8ClampedArray, [], ExternalUint8ClampedArrayGetIndexed, \ | 144 V(_ExternalUint8ClampedArray, [], ExternalUint8ClampedArrayGetIndexed, \ |
| (...skipping 6655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6800 ForwardInstructionIterator* current_iterator_; | 6800 ForwardInstructionIterator* current_iterator_; |
| 6801 | 6801 |
| 6802 private: | 6802 private: |
| 6803 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 6803 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 6804 }; | 6804 }; |
| 6805 | 6805 |
| 6806 | 6806 |
| 6807 } // namespace dart | 6807 } // namespace dart |
| 6808 | 6808 |
| 6809 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 6809 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |