Lines Matching refs:UseInfo
106 // The {UseInfo} class is used to describe a use of an input of a node.
119 class UseInfo {
121 UseInfo(MachineRepresentation representation, Truncation truncation,
129 static UseInfo TruncatingWord32() {
130 return UseInfo(MachineRepresentation::kWord32, Truncation::Word32());
132 static UseInfo TruncatingWord64() {
133 return UseInfo(MachineRepresentation::kWord64, Truncation::Word64());
135 static UseInfo Bool() {
136 return UseInfo(MachineRepresentation::kBit, Truncation::Bool());
138 static UseInfo Float32() {
139 return UseInfo(MachineRepresentation::kFloat32, Truncation::Any());
141 static UseInfo TruncatingFloat64() {
142 return UseInfo(MachineRepresentation::kFloat64, Truncation::Float64());
144 static UseInfo PointerInt() {
147 static UseInfo AnyTagged() {
148 return UseInfo(MachineRepresentation::kTagged, Truncation::Any());
150 static UseInfo TaggedSigned() {
151 return UseInfo(MachineRepresentation::kTaggedSigned, Truncation::Any());
153 static UseInfo TaggedPointer() {
154 return UseInfo(MachineRepresentation::kTaggedPointer, Truncation::Any());
158 static UseInfo CheckedHeapObjectAsTaggedPointer() {
159 return UseInfo(MachineRepresentation::kTaggedPointer, Truncation::Any(),
162 static UseInfo CheckedSignedSmallAsTaggedSigned() {
163 return UseInfo(MachineRepresentation::kTaggedSigned, Truncation::Any(),
166 static UseInfo CheckedSignedSmallAsWord32(
169 return UseInfo(MachineRepresentation::kWord32, Truncation::Any(),
172 static UseInfo CheckedSigned32AsWord32(
175 return UseInfo(MachineRepresentation::kWord32, Truncation::Any(),
178 static UseInfo CheckedNumberAsFloat64() {
179 return UseInfo(MachineRepresentation::kFloat64, Truncation::Float64(),
182 static UseInfo CheckedNumberAsWord32() {
183 return UseInfo(MachineRepresentation::kWord32, Truncation::Word32(),
186 static UseInfo CheckedNumberOrOddballAsFloat64() {
187 return UseInfo(MachineRepresentation::kFloat64, Truncation::Any(),
190 static UseInfo CheckedNumberOrOddballAsWord32() {
191 return UseInfo(MachineRepresentation::kWord32, Truncation::Word32(),
196 static UseInfo Any() {
197 return UseInfo(MachineRepresentation::kNone, Truncation::Any());
199 static UseInfo AnyTruncatingToBool() {
200 return UseInfo(MachineRepresentation::kNone, Truncation::Bool());
204 static UseInfo None() {
205 return UseInfo(MachineRepresentation::kNone, Truncation::None());
238 UseInfo use_info);
268 UseInfo use_info);
272 UseInfo use_info);
281 UseInfo use_info);
284 UseInfo use_info);