Home
last modified time | relevance | path

Searched refs:CheckFlag (Results 1 – 25 of 34) sorted by relevance

12

/external/v8/src/crankshaft/
Dhydrogen-uint32-analysis.cc82 if (!use->CheckFlag(HInstruction::kUint32)) { in Uint32UsesAreSafe()
103 if (use->IsPhi() && !use->CheckFlag(HInstruction::kUint32)) { in Uint32UsesAreSafe()
116 if (!phi->CheckFlag(HInstruction::kUint32)) { in CheckPhiOperands()
123 if (!operand->CheckFlag(HInstruction::kUint32)) { in CheckPhiOperands()
147 if (operand->CheckFlag(HInstruction::kUint32)) { in UnmarkPhi()
Dhydrogen-infer-representation.cc12 if (!current->CheckFlag(HValue::kFlexibleRepresentation)) return; in AddToWorklist()
69 phi_list->at(index)->CheckFlag(HInstruction::kTruncatingToInt32); in Run()
71 phi_list->at(index)->CheckFlag(HInstruction::kTruncatingToSmi); in Run()
150 current->CheckFlag(HInstruction::kFlexibleRepresentation)) { in Run()
151 if (current->CheckFlag(HInstruction::kCannotBeTagged)) { in Run()
Dhydrogen-dce.cc12 if (instr->CheckFlag(HValue::kIsLive)) return; // Already live. in MarkLive()
23 if (!input->CheckFlag(HValue::kIsLive)) { in MarkLive()
74 if (!instr->CheckFlag(HValue::kIsLive)) { in RemoveDeadInstructions()
85 if (!phi->CheckFlag(HValue::kIsLive)) { in RemoveDeadInstructions()
Dhydrogen-mark-deoptimize.cc14 if (phi->CheckFlag(HValue::kAllowUndefinedAsNaN) && in Run()
23 DCHECK(phi->CheckFlag(HValue::kAllowUndefinedAsNaN)); in ProcessPhi()
35 if (input->IsPhi() && input->CheckFlag(HValue::kAllowUndefinedAsNaN)) { in ProcessPhi()
Dhydrogen-representation-changes.cc25 bool is_truncating_to_smi = use_value->CheckFlag(HValue::kTruncatingToSmi); in InsertRepresentationChangeForUse()
26 bool is_truncating_to_int = use_value->CheckFlag(HValue::kTruncatingToInt32); in InsertRepresentationChangeForUse()
58 DCHECK(!change->CheckFlag(HValue::kUint32)); in IsNonDeoptingIntToSmiChange()
167 input->CheckFlag(HValue::kTruncatingToInt32)) { in Run()
184 input->CheckFlag(HValue::kTruncatingToSmi)) { in Run()
Dhydrogen-instructions.cc52 if (CheckFlag(kFlexibleRepresentation)) { in AssumeRepresentation()
62 DCHECK(CheckFlag(kFlexibleRepresentation)); in InferRepresentation()
86 (use->CheckFlag(kTruncatingToInt32) ? "-trunc" : "")); in RepresentationFromUses()
104 if (CheckFlag(kCannotBeTagged) && new_rep.IsTagged()) return; in UpdateRepresentation()
317 while (tail_ != NULL && tail_->value()->CheckFlag(HValue::kIsDead)) { in tail()
327 if (!it.value()->CheckFlag(f)) return false; in CheckUsesForFlag()
336 if (!it.value()->CheckFlag(f)) { in CheckUsesForFlag()
349 if (!it.value()->CheckFlag(f)) return false; in HasAtLeastOneUseWithFlagAndNoneWithout()
509 if (first != NULL && first->value()->CheckFlag(kIsDead)) { in Kill()
620 if (CheckFlag(HValue::kHasNoObservableSideEffects)) os << " [noOSE]"; in PrintTo()
[all …]
Dhydrogen-redundant-phi.cc47 if (phi->CheckFlag(HValue::kIsDead)) continue; // Already replaced. in ProcessPhis()
56 updated |= value->IsPhi() && !value->CheckFlag(HValue::kIsDead); in ProcessPhis()
Dhydrogen-store-elimination.cc37 if (instr->CheckFlag(HValue::kIsDead)) continue; in Run()
/external/v8/src/crankshaft/ppc/
Dlithium-ppc.cc712 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
1274 DCHECK(instr->CheckFlag(HValue::kTruncatingToInt32)); in DoBitwise()
1293 if ((instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByPowerOf2I()
1294 (instr->CheckFlag(HValue::kCanOverflow) && divisor == -1) || in DoDivByPowerOf2I()
1295 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1312 (instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByConstI()
1313 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1328 if (instr->CheckFlag(HValue::kCanBeDivByZero) || in DoDivI()
1329 instr->CheckFlag(HValue::kBailoutOnMinusZero) || in DoDivI()
1330 (instr->CheckFlag(HValue::kCanOverflow) && in DoDivI()
[all …]
Dlithium-codegen-ppc.cc939 if (hmod->CheckFlag(HValue::kLeftCanBeNegative)) { in DoModByPowerOf2I()
947 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByPowerOf2I()
950 } else if (!hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByPowerOf2I()
986 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByConstI()
1002 bool can_overflow = hmod->CheckFlag(HValue::kCanOverflow); in DoModI()
1013 if (hmod->CheckFlag(HValue::kCanBeDivByZero)) { in DoModI()
1021 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1041 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1060 if (hdiv->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) { in DoDivByPowerOf2I()
1065 if (hdiv->CheckFlag(HValue::kCanOverflow) && divisor == -1) { in DoDivByPowerOf2I()
[all …]
/external/lzma/C/
DCpuArch.c19 static UInt32 CheckFlag(UInt32 flag) in CheckFlag() function
52 #define CHECK_CPUID_IS_SUPPORTED if (CheckFlag(1 << 18) == 0 || CheckFlag(1 << 21) == 0) return Fal…
/external/v8/src/crankshaft/mips64/
Dlithium-mips64.cc708 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
1273 DCHECK(instr->CheckFlag(HValue::kTruncatingToInt32)); in DoBitwise()
1292 if ((instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByPowerOf2I()
1293 (instr->CheckFlag(HValue::kCanOverflow) && divisor == -1) || in DoDivByPowerOf2I()
1294 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1311 (instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByConstI()
1312 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1325 LOperand* temp = instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) in DoDivI()
1329 if (instr->CheckFlag(HValue::kCanBeDivByZero) || in DoDivI()
1330 instr->CheckFlag(HValue::kBailoutOnMinusZero) || in DoDivI()
[all …]
Dlithium-codegen-mips64.cc978 if (hmod->CheckFlag(HValue::kLeftCanBeNegative)) { in DoModByPowerOf2I()
983 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByPowerOf2I()
1014 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByConstI()
1036 if (hmod->CheckFlag(HValue::kCanBeDivByZero)) { in DoModI()
1043 if (hmod->CheckFlag(HValue::kCanOverflow)) { in DoModI()
1046 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1059 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1076 if (hdiv->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) { in DoDivByPowerOf2I()
1081 if (hdiv->CheckFlag(HValue::kCanOverflow) && divisor == -1) { in DoDivByPowerOf2I()
1085 if (!hdiv->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
[all …]
/external/v8/src/crankshaft/mips/
Dlithium-mips.cc708 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
1273 DCHECK(instr->CheckFlag(HValue::kTruncatingToInt32)); in DoBitwise()
1292 if ((instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByPowerOf2I()
1293 (instr->CheckFlag(HValue::kCanOverflow) && divisor == -1) || in DoDivByPowerOf2I()
1294 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1311 (instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByConstI()
1312 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1328 if (instr->CheckFlag(HValue::kCanBeDivByZero) || in DoDivI()
1329 instr->CheckFlag(HValue::kBailoutOnMinusZero) || in DoDivI()
1330 (instr->CheckFlag(HValue::kCanOverflow) && in DoDivI()
[all …]
Dlithium-codegen-mips.cc989 if (hmod->CheckFlag(HValue::kLeftCanBeNegative)) { in DoModByPowerOf2I()
994 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByPowerOf2I()
1025 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByConstI()
1047 if (hmod->CheckFlag(HValue::kCanBeDivByZero)) { in DoModI()
1054 if (hmod->CheckFlag(HValue::kCanOverflow)) { in DoModI()
1057 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1069 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1086 if (hdiv->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) { in DoDivByPowerOf2I()
1091 if (hdiv->CheckFlag(HValue::kCanOverflow) && divisor == -1) { in DoDivByPowerOf2I()
1095 if (!hdiv->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-arm.cc701 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
1265 DCHECK(instr->CheckFlag(HValue::kTruncatingToInt32)); in DoBitwise()
1284 if ((instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByPowerOf2I()
1285 (instr->CheckFlag(HValue::kCanOverflow) && divisor == -1) || in DoDivByPowerOf2I()
1286 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1303 (instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByConstI()
1304 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1321 if (instr->CheckFlag(HValue::kCanBeDivByZero) || in DoDivI()
1322 instr->CheckFlag(HValue::kBailoutOnMinusZero) || in DoDivI()
1323 (instr->CheckFlag(HValue::kCanOverflow) && in DoDivI()
[all …]
Dlithium-codegen-arm.cc1021 if (hmod->CheckFlag(HValue::kLeftCanBeNegative)) { in DoModByPowerOf2I()
1028 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByPowerOf2I()
1058 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByConstI()
1080 if (hmod->CheckFlag(HValue::kCanBeDivByZero)) { in DoModI()
1087 if (hmod->CheckFlag(HValue::kCanOverflow)) { in DoModI()
1092 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1110 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1137 if (hmod->CheckFlag(HValue::kCanBeDivByZero)) { in DoModI()
1166 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1185 if (hdiv->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) { in DoDivByPowerOf2I()
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-x87.cc738 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
1312 DCHECK(instr->CheckFlag(HValue::kTruncatingToInt32)); in DoBitwise()
1331 if ((instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByPowerOf2I()
1332 (instr->CheckFlag(HValue::kCanOverflow) && divisor == -1) || in DoDivByPowerOf2I()
1333 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1352 (instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByConstI()
1353 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1369 if (instr->CheckFlag(HValue::kCanBeDivByZero) || in DoDivI()
1370 instr->CheckFlag(HValue::kBailoutOnMinusZero) || in DoDivI()
1371 instr->CheckFlag(HValue::kCanOverflow) || in DoDivI()
[all …]
Dlithium-codegen-x87.cc1326 if (hmod->CheckFlag(HValue::kLeftCanBeNegative)) { in DoModByPowerOf2I()
1333 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByPowerOf2I()
1362 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByConstI()
1386 if (hmod->CheckFlag(HValue::kCanBeDivByZero)) { in DoModI()
1393 if (hmod->CheckFlag(HValue::kCanOverflow)) { in DoModI()
1398 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1412 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1436 if (hdiv->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) { in DoDivByPowerOf2I()
1441 if (hdiv->CheckFlag(HValue::kCanOverflow) && divisor == -1) { in DoDivByPowerOf2I()
1446 if (!hdiv->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
[all …]
/external/v8/src/crankshaft/ia32/
Dlithium-ia32.cc739 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
1302 DCHECK(instr->CheckFlag(HValue::kTruncatingToInt32)); in DoBitwise()
1321 if ((instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByPowerOf2I()
1322 (instr->CheckFlag(HValue::kCanOverflow) && divisor == -1) || in DoDivByPowerOf2I()
1323 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1342 (instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByConstI()
1343 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1359 if (instr->CheckFlag(HValue::kCanBeDivByZero) || in DoDivI()
1360 instr->CheckFlag(HValue::kBailoutOnMinusZero) || in DoDivI()
1361 instr->CheckFlag(HValue::kCanOverflow) || in DoDivI()
[all …]
Dlithium-codegen-ia32.cc1025 if (hmod->CheckFlag(HValue::kLeftCanBeNegative)) { in DoModByPowerOf2I()
1032 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByPowerOf2I()
1061 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByConstI()
1085 if (hmod->CheckFlag(HValue::kCanBeDivByZero)) { in DoModI()
1092 if (hmod->CheckFlag(HValue::kCanOverflow)) { in DoModI()
1097 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1111 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1135 if (hdiv->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) { in DoDivByPowerOf2I()
1140 if (hdiv->CheckFlag(HValue::kCanOverflow) && divisor == -1) { in DoDivByPowerOf2I()
1145 if (!hdiv->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
[all …]
/external/v8/src/crankshaft/x64/
Dlithium-x64.cc724 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
1283 DCHECK(instr->CheckFlag(HValue::kTruncatingToInt32)); in DoBitwise()
1308 if ((instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByPowerOf2I()
1309 (instr->CheckFlag(HValue::kCanOverflow) && divisor == -1) || in DoDivByPowerOf2I()
1310 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1329 (instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByConstI()
1330 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1346 if (instr->CheckFlag(HValue::kCanBeDivByZero) || in DoDivI()
1347 instr->CheckFlag(HValue::kBailoutOnMinusZero) || in DoDivI()
1348 instr->CheckFlag(HValue::kCanOverflow) || in DoDivI()
[all …]
Dlithium-codegen-x64.cc955 if (hmod->CheckFlag(HValue::kLeftCanBeNegative)) { in DoModByPowerOf2I()
962 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByPowerOf2I()
991 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModByConstI()
1015 if (hmod->CheckFlag(HValue::kCanBeDivByZero)) { in DoModI()
1022 if (hmod->CheckFlag(HValue::kCanOverflow)) { in DoModI()
1027 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1042 if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
1073 if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoFlooringDivByPowerOf2I()
1079 if (instr->hydrogen()->CheckFlag(HValue::kLeftCanBeMinInt)) { in DoFlooringDivByPowerOf2I()
1086 if (!instr->hydrogen()->CheckFlag(HValue::kLeftCanBeMinInt)) { in DoFlooringDivByPowerOf2I()
[all …]
/external/v8/src/crankshaft/arm64/
Dlithium-arm64.cc867 if (instr->CheckFlag(HValue::kCanOverflow)) { in DoAdd()
873 DCHECK(!instr->CheckFlag(HValue::kCanOverflow)); in DoAdd()
938 DCHECK(instr->CheckFlag(HValue::kTruncatingToInt32)); in DoBitwise()
1164 if (val->CheckFlag(HInstruction::kUint32)) { in DoChange()
1178 if (instr->CheckFlag(HValue::kCanOverflow)) { in DoChange()
1184 if (val->CheckFlag(HInstruction::kUint32)) { in DoChange()
1395 if ((instr->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) || in DoDivByPowerOf2I()
1396 (instr->CheckFlag(HValue::kCanOverflow) && divisor == -1) || in DoDivByPowerOf2I()
1397 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1411 LOperand* temp = instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) in DoDivByConstI()
[all …]
Dlithium-codegen-arm64.cc1410 DCHECK(!instr->hydrogen()->CheckFlag(HValue::kCanOverflow)); in DoAddE()
1416 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); in DoAddI()
1431 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); in DoAddS()
2355 instr->hydrogen()->left()->CheckFlag(HInstruction::kUint32) || in DoCompareNumericAndBranch()
2356 instr->hydrogen()->right()->CheckFlag(HInstruction::kUint32); in DoCompareNumericAndBranch()
2542 if (hdiv->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) { in DoDivByPowerOf2I()
2546 if (hdiv->CheckFlag(HValue::kCanOverflow) && divisor == -1) { in DoDivByPowerOf2I()
2553 if (!hdiv->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
2591 if (hdiv->CheckFlag(HValue::kBailoutOnMinusZero) && divisor < 0) { in DoDivByConstI()
2598 if (!hdiv->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
[all …]

12