Home | History | Annotate | Download | only in src

Lines Matching refs:instr

63         HChange* instr = HChange::cast(value);
66 Representation from = instr->value()->representation();
67 ASSERT(from.Equals(instr->from()));
69 ASSERT(instr->to().IsTagged() ||
70 instr->to().IsDouble() ||
71 instr->to().IsSmiOrInteger32());
72 PropagateMinusZeroChecks(instr->value());
75 HCompareMinusZeroAndBranch* instr =
77 if (instr->value()->representation().IsSmiOrInteger32()) {
78 PropagateMinusZeroChecks(instr->value());
114 HInstruction* instr = it.Current();
115 if (instr->HasRange()) instr->PoisonRange();
230 HUnaryMathOperation* instr = HUnaryMathOperation::cast(value);
231 if (instr->representation().IsSmiOrInteger32() &&
232 !instr->value()->representation().Equals(instr->representation())) {
233 if (instr->value()->range() == NULL ||
234 instr->value()->range()->CanBeMinusZero()) {
235 instr->SetFlag(HValue::kBailoutOnMinusZero);
238 if (instr->RequiredInputRepresentation(0).IsSmiOrInteger32() &&
239 instr->representation().Equals(
240 instr->RequiredInputRepresentation(0))) {
241 AddToWorklist(instr->value());
244 HChange* instr = HChange::cast(value);
245 if (!instr->from().IsSmiOrInteger32() &&
246 !instr->CanTruncateToInt32() &&
247 (instr->value()->range() == NULL ||
248 instr->value()->range()->CanBeMinusZero())) {
249 instr->SetFlag(HValue::kBailoutOnMinusZero);
252 HForceRepresentation* instr = HForceRepresentation::cast(value);
253 AddToWorklist(instr->value());
255 HMod* instr = HMod::cast(value);
256 if (instr->range() == NULL || instr->range()->CanBeMinusZero()) {
257 instr->SetFlag(HValue::kBailoutOnMinusZero);
258 AddToWorklist(instr->left());
261 HBinaryOperation* instr = HBinaryOperation::cast(value);
262 if (instr->range() == NULL || instr->range()->CanBeMinusZero()) {
263 instr->SetFlag(HValue::kBailoutOnMinusZero);
265 AddToWorklist(instr->right());
266 AddToWorklist(instr->left());
268 HMathFloorOfDiv* instr = HMathFloorOfDiv::cast(value);
269 instr->SetFlag(HValue::kBailoutOnMinusZero);
271 HBinaryOperation* instr = HBinaryOperation::cast(value);
272 if (instr->range() == NULL || instr->range()->CanBeMinusZero()) {
275 AddToWorklist(instr->left());
278 HMathMinMax* instr = HMathMinMax::cast(value);
279 AddToWorklist(instr->right());
280 AddToWorklist(instr->left());