/third_party/node/deps/v8/src/compiler/ |
D | common-operator.h | 43 enum class BranchHint : uint8_t { kNone, kTrue, kFalse }; enum 45 inline BranchHint NegateBranchHint(BranchHint hint) { in NegateBranchHint() 47 case BranchHint::kNone: in NegateBranchHint() 49 case BranchHint::kTrue: in NegateBranchHint() 50 return BranchHint::kFalse; in NegateBranchHint() 51 case BranchHint::kFalse: in NegateBranchHint() 52 return BranchHint::kTrue; in NegateBranchHint() 57 inline size_t hash_value(BranchHint hint) { return static_cast<size_t>(hint); } in hash_value() 59 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, BranchHint); 74 V8_EXPORT_PRIVATE BranchHint BranchHintOf(const Operator* const) [all …]
|
D | graph-assembler.h | 362 BranchHint hint, Vars...); 370 BranchHint hint, Vars...); 379 BranchHint hint, Vars...); 524 BranchHint hint, Vars...); 698 BranchHint hint = BranchHint::kNone; in Branch() 700 hint = if_false->IsDeferred() ? BranchHint::kTrue : BranchHint::kFalse; in Branch() 709 GraphAssemblerLabel<sizeof...(Vars)>* if_false, BranchHint hint, in BranchWithHint() 718 BranchHint hint, Vars... vars) { in BranchImpl() 747 BranchHint hint, Vars... vars) { in GotoIf() 759 BranchHint hint, Vars... vars) { in GotoIfNot() [all …]
|
D | raw-machine-assembler.cc | 446 BranchHint new_branch_hint; in MarkControlDeferred() 458 if (parameters.hint() != BranchHint::kFalse) { in MarkControlDeferred() 462 BranchHint::kFalse)); in MarkControlDeferred() 467 if (BranchHintOf(control_node->op()) != BranchHint::kFalse) { in MarkControlDeferred() 469 common()->IfDefault(BranchHint::kFalse)); in MarkControlDeferred() 474 BranchHint hint = BranchHintOf(branch->op()); in MarkControlDeferred() 475 if (hint == BranchHint::kTrue) { in MarkControlDeferred() 481 new_branch_hint = BranchHint::kFalse; in MarkControlDeferred() 487 BranchHint hint = BranchHintOf(branch->op()); in MarkControlDeferred() 488 if (hint == BranchHint::kFalse) { in MarkControlDeferred() [all …]
|
D | common-operator.cc | 19 std::ostream& operator<<(std::ostream& os, BranchHint hint) { in operator <<() 21 case BranchHint::kNone: in operator <<() 23 case BranchHint::kTrue: in operator <<() 25 case BranchHint::kFalse: in operator <<() 50 BranchHint BranchHintOf(const Operator* const op) { in BranchHintOf() 56 return OpParameter<BranchHint>(op); in BranchHintOf() 635 template <BranchHint hint> 636 struct BranchOperator final : public Operator1<BranchHint> { 638 : Operator1<BranchHint>( // -- in BranchOperator() 645 BranchOperator<BranchHint::k##Hint> kBranch##Hint##Operator; [all …]
|
D | diamond.h | 26 BranchHint hint = BranchHint::kNone) {
|
D | control-flow-optimizer.cc | 77 if (BranchHintOf(branch->op()) != BranchHint::kNone) return false; in TryBuildSwitch() 101 if (BranchHintOf(branch1->op()) != BranchHint::kNone) break; in TryBuildSwitch()
|
D | scheduler.cc | 469 BranchHint hint_from_profile = BranchHint::kNone; in ConnectBranch() 481 hint_from_profile = BranchHint::kTrue; in ConnectBranch() 484 hint_from_profile = BranchHint::kFalse; in ConnectBranch() 490 case BranchHint::kNone: in ConnectBranch() 492 case BranchHint::kNone: in ConnectBranch() 494 case BranchHint::kTrue: in ConnectBranch() 497 case BranchHint::kFalse: in ConnectBranch() 502 case BranchHint::kTrue: in ConnectBranch() 505 case BranchHint::kFalse: in ConnectBranch() 510 if (hint_from_profile != BranchHint::kNone && in ConnectBranch() [all …]
|
D | wasm-compiler.cc | 226 BranchHint hint) { in Branch() 1428 return gasm_->Branch(cond, true_node, false_node, BranchHint::kNone); in BranchNoHint() 1433 return gasm_->Branch(cond, true_node, false_node, BranchHint::kFalse); in BranchExpectFalse() 1438 return gasm_->Branch(cond, true_node, false_node, BranchHint::kTrue); in BranchExpectTrue() 2186 Diamond tl_d(graph(), mcgraph()->common(), test, BranchHint::kFalse); in BuildIntConvertFloat() 2189 Diamond nan_d(graph(), mcgraph()->common(), nan_test, BranchHint::kFalse); in BuildIntConvertFloat() 2192 Diamond sat_d(graph(), mcgraph()->common(), neg_test, BranchHint::kNone); in BuildIntConvertFloat() 2441 Diamond tl_d(graph(), mcgraph()->common(), test, BranchHint::kFalse); in BuildCcallConvertFloat() 2444 Diamond nan_d(graph(), mcgraph()->common(), nan_test, BranchHint::kFalse); in BuildCcallConvertFloat() 2447 Diamond sat_d(graph(), mcgraph()->common(), neg_test, BranchHint::kNone); in BuildCcallConvertFloat() [all …]
|
D | js-call-reducer.cc | 126 DCHECK_EQ(hint_, BranchHint::kNone); in ExpectTrue() 127 hint_ = BranchHint::kTrue; in ExpectTrue() 131 DCHECK_EQ(hint_, BranchHint::kNone); in ExpectFalse() 132 hint_ = BranchHint::kFalse; in ExpectFalse() 157 auto if_true = (hint_ == BranchHint::kFalse) ? gasm_->MakeDeferredLabel() in ~IfBuilder0() 159 auto if_false = (hint_ == BranchHint::kTrue) ? gasm_->MakeDeferredLabel() in ~IfBuilder0() 184 BranchHint hint_ = BranchHint::kNone; 201 DCHECK_EQ(hint_, BranchHint::kNone); in ExpectTrue() 202 hint_ = BranchHint::kTrue; in ExpectTrue() 207 DCHECK_EQ(hint_, BranchHint::kNone); in ExpectFalse() [all …]
|
D | graph-assembler.cc | 560 BranchHint hint = BranchHint::kNone; in BranchWithCriticalSafetyCheck() 562 hint = if_false->IsDeferred() ? BranchHint::kTrue : BranchHint::kFalse; in BranchWithCriticalSafetyCheck()
|
D | js-typed-lowering.cc | 617 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceJSAdd() 1124 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceJSToObject() 1207 graph()->NewNode(common()->Branch(BranchHint::kFalse), check0, control); in ReduceJSHasInPrototypeChain() 1239 graph()->NewNode(common()->Branch(BranchHint::kFalse), check1, control); in ReduceJSHasInPrototypeChain() 1252 graph()->NewNode(common()->Branch(BranchHint::kTrue), check10, if_true1); in ReduceJSHasInPrototypeChain() 1893 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceJSForInNext() 1998 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceJSForInPrepare() 2243 graph()->NewNode(common()->Branch(BranchHint::kFalse), check, control); in ReduceObjectIsArray() 2277 graph()->NewNode(common()->Branch(BranchHint::kFalse), check, control); in ReduceObjectIsArray()
|
D | bytecode-graph-builder.cc | 132 Node* NewBranch(Node* condition, BranchHint hint = BranchHint::kNone) { in NewBranch() 2787 NewBranch(condition, BranchHint::kFalse); in BuildHoleCheckAndThrow() 2843 NewBranch(check_is_constructor, BranchHint::kTrue); in VisitThrowIfNotSuperConstructor() 3946 NewBranch(condition, BranchHint::kNone); in BuildJumpIf() 3956 NewBranch(condition, BranchHint::kNone); in BuildJumpIfNot() 3980 NewBranch(environment()->LookupAccumulator(), BranchHint::kNone); in BuildJumpIfFalse() 3992 NewBranch(environment()->LookupAccumulator(), BranchHint::kNone); in BuildJumpIfTrue()
|
D | wasm-compiler.h | 47 enum class BranchHint : uint8_t; 714 using BranchBuilder = std::function<void(Node*, BranchHint)>;
|
D | simplified-lowering.cc | 4399 graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, control); in DoJSToNumberOrNumericTruncatesToFloat64() 4501 graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, control); in DoJSToNumberOrNumericTruncatesToWord32() 4664 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, in Int32Div() 4741 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, in Int32Mod() 4759 Node* branch2 = graph()->NewNode(common()->Branch(BranchHint::kFalse), in Int32Mod() 4784 Node* branch1 = graph()->NewNode(common()->Branch(BranchHint::kTrue), in Int32Mod() 4830 Diamond d(graph(), common(), check, BranchHint::kFalse); in Uint32Div() 4867 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kFalse), check0, in Uint32Mod()
|
D | js-native-context-specialization.cc | 2764 Node* branch = graph()->NewNode(common()->Branch(BranchHint::kTrue), in BuildElementAccess() 2836 Node* branch = graph()->NewNode(common()->Branch(BranchHint::kTrue), in BuildElementAccess() 2976 Node* branch = graph()->NewNode(common()->Branch(BranchHint::kTrue), in BuildElementAccess() 3261 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, *control); in BuildIndexedStringLoad()
|
D | machine-operator-reducer.cc | 201 BranchHint::kFalse); in Float64PowHalf() 1213 BranchHint::kFalse); in ReduceInt32Mod()
|
D | js-generic-lowering.cc | 1204 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in LowerJSStackCheck()
|
D | effect-control-linearizer.cc | 544 BranchHint const hint = BranchHintOf(branch->op()); in TryCloneBranch() 3995 &return_result, BranchHint::kFalse, first_code_unit); in LowerStringCodePointAt()
|
/third_party/vixl/src/aarch32/ |
D | constants-aarch32.h | 101 enum BranchHint { kNear, kFar, kBranchWithoutHint }; enum
|
D | macro-assembler-aarch32.h | 1464 void B(Condition cond, Label* label, BranchHint hint = kBranchWithoutHint) { in Assembler() 1483 void B(Label* label, BranchHint hint = kBranchWithoutHint) { in Assembler()
|