Home
last modified time | relevance | path

Searched refs:BranchHint (Results 1 – 20 of 20) sorted by relevance

/external/v8/src/compiler/
Dcommon-operator.h30 enum class BranchHint : uint8_t { kNone, kTrue, kFalse }; enum
32 inline BranchHint NegateBranchHint(BranchHint hint) { in NegateBranchHint()
34 case BranchHint::kNone: in NegateBranchHint()
36 case BranchHint::kTrue: in NegateBranchHint()
37 return BranchHint::kFalse; in NegateBranchHint()
38 case BranchHint::kFalse: in NegateBranchHint()
39 return BranchHint::kTrue; in NegateBranchHint()
44 inline size_t hash_value(BranchHint hint) { return static_cast<size_t>(hint); } in hash_value()
46 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, BranchHint);
76 BranchHint hint;
[all …]
Ddiamond.h26 BranchHint hint = BranchHint::kNone) {
Dgraph-assembler.h399 BranchHint hint = in GotoIf()
400 label->IsDeferred() ? BranchHint::kFalse : BranchHint::kNone; in GotoIf()
414 BranchHint hint = label->IsDeferred() ? BranchHint::kTrue : BranchHint::kNone; in GotoIfNot()
Dgraph-assembler.cc231 BranchHint hint = BranchHint::kNone; in Branch()
233 hint = if_false->IsDeferred() ? BranchHint::kTrue : BranchHint::kFalse; in Branch()
Dcontrol-flow-optimizer.cc74 if (BranchHintOf(branch->op()) != BranchHint::kNone) return false; in TryBuildSwitch()
98 if (BranchHintOf(branch1->op()) != BranchHint::kNone) break; in TryBuildSwitch()
Dcommon-operator.cc20 std::ostream& operator<<(std::ostream& os, BranchHint hint) { in operator <<()
22 case BranchHint::kNone: in operator <<()
24 case BranchHint::kTrue: in operator <<()
26 case BranchHint::kFalse: in operator <<()
72 BranchHint BranchHintOf(const Operator* const op) { in BranchHintOf()
639 template <BranchHint hint, IsSafetyCheck is_safety_check>
649 BranchOperator<BranchHint::k##Hint, IsSafetyCheck::k##IsCheck> \
918 const Operator* CommonOperatorBuilder::Branch(BranchHint hint, in Branch()
921 if (hint == BranchHint::k##Hint && \ in Branch()
1224 BranchHint hint) { in Select()
Djs-call-reducer.cc315 control = graph()->NewNode(common()->Branch(BranchHint::kFalse), in ReduceFunctionPrototypeApply()
324 control = graph()->NewNode(common()->Branch(BranchHint::kFalse), in ReduceFunctionPrototypeApply()
846 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceReflectGet()
922 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceReflectHas()
1094 Node* continue_branch = graph()->NewNode(common()->Branch(BranchHint::kTrue), in ReduceArrayForEach()
1137 graph()->NewNode(common()->Branch(BranchHint::kFalse), check, control); in ReduceArrayForEach()
1322 Node* hole_branch = graph()->NewNode(common()->Branch(BranchHint::kTrue), in ReduceArrayReduce()
1355 Node* continue_branch = graph()->NewNode(common()->Branch(BranchHint::kTrue), in ReduceArrayReduce()
1394 Node* branch = graph()->NewNode(common()->Branch(BranchHint::kFalse), in ReduceArrayReduce()
1569 Node* continue_branch = graph()->NewNode(common()->Branch(BranchHint::kTrue), in ReduceArrayMap()
[all …]
Dwasm-compiler.cc267 Diamond stack_check(graph(), mcgraph()->common(), check, BranchHint::kTrue); in StackCheck()
881 Node** false_node, Node* control, BranchHint hint) { in Branch()
895 BranchHint::kNone); in BranchNoHint()
901 BranchHint::kTrue); in BranchExpectTrue()
907 BranchHint::kFalse); in BranchExpectFalse()
1697 Diamond tl_d(graph(), mcgraph()->common(), test, BranchHint::kFalse); in BuildIntConvertFloat()
1700 Diamond nan_d(graph(), mcgraph()->common(), nan_test, BranchHint::kFalse); in BuildIntConvertFloat()
1703 Diamond sat_d(graph(), mcgraph()->common(), neg_test, BranchHint::kNone); in BuildIntConvertFloat()
1985 Diamond tl_d(graph(), mcgraph()->common(), test, BranchHint::kFalse); in BuildCcallConvertFloat()
1988 Diamond nan_d(graph(), mcgraph()->common(), nan_test, BranchHint::kFalse); in BuildCcallConvertFloat()
[all …]
Dbytecode-graph-builder.h109 Node* NewBranch(Node* condition, BranchHint hint = BranchHint::kNone,
Djs-typed-lowering.cc707 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceCreateConsString()
1116 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceJSToObject()
1198 graph()->NewNode(common()->Branch(BranchHint::kFalse), check0, control); in ReduceJSHasInPrototypeChain()
1230 graph()->NewNode(common()->Branch(BranchHint::kFalse), check1, control); in ReduceJSHasInPrototypeChain()
1243 graph()->NewNode(common()->Branch(BranchHint::kTrue), check10, if_true1); in ReduceJSHasInPrototypeChain()
1831 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceJSForInNext()
1933 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ReduceJSForInPrepare()
2180 graph()->NewNode(common()->Branch(BranchHint::kFalse), check, control); in ReduceObjectIsArray()
2214 graph()->NewNode(common()->Branch(BranchHint::kFalse), check, control); in ReduceObjectIsArray()
Dsimplified-lowering.cc3311 graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, control); in DoJSToNumberOrNumericTruncatesToFloat64()
3413 graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, control); in DoJSToNumberOrNumericTruncatesToWord32()
3576 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, in Int32Div()
3653 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, in Int32Mod()
3671 Node* branch2 = graph()->NewNode(common()->Branch(BranchHint::kFalse), in Int32Mod()
3696 Node* branch1 = graph()->NewNode(common()->Branch(BranchHint::kTrue), in Int32Mod()
3742 Diamond d(graph(), common(), check, BranchHint::kFalse); in Uint32Div()
3779 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kFalse), check0, in Uint32Mod()
Dscheduler.cc475 case BranchHint::kNone: in ConnectBranch()
477 case BranchHint::kTrue: in ConnectBranch()
480 case BranchHint::kFalse: in ConnectBranch()
Djs-native-context-specialization.cc2305 common()->Select(MachineRepresentation::kTagged, BranchHint::kFalse), in BuildElementAccess()
2338 common()->Branch(BranchHint::kTrue, in BuildElementAccess()
2397 Node* branch = graph()->NewNode(common()->Branch(BranchHint::kTrue), in BuildElementAccess()
2513 common()->Branch(BranchHint::kTrue, in BuildElementAccess()
2715 graph()->NewNode(common()->Branch(BranchHint::kTrue, in BuildIndexedStringLoad()
Dbytecode-graph-builder.cc2086 NewBranch(condition, BranchHint::kFalse); in BuildHoleCheckAndThrow()
3105 NewBranch(condition, BranchHint::kNone, IsSafetyCheck::kNoSafetyCheck); in BuildJumpIf()
3115 NewBranch(condition, BranchHint::kNone, IsSafetyCheck::kNoSafetyCheck); in BuildJumpIfNot()
3139 NewBranch(environment()->LookupAccumulator(), BranchHint::kNone, in BuildJumpIfFalse()
3152 NewBranch(environment()->LookupAccumulator(), BranchHint::kNone, in BuildJumpIfTrue()
Draw-machine-assembler.cc102 common()->Branch(BranchHint::kNone, IsSafetyCheck::kNoSafetyCheck), 1, in Branch()
Dmachine-operator-reducer.cc57 BranchHint::kFalse); in Float64PowHalf()
872 BranchHint::kFalse); in ReduceInt32Mod()
Djs-generic-lowering.cc789 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in LowerJSStackCheck()
Deffect-control-linearizer.cc260 BranchHint const hint = BranchHintOf(branch->op()); in TryCloneBranch()
/external/vixl/src/aarch32/
Dconstants-aarch32.h101 enum BranchHint { kNear, kFar, kBranchWithoutHint }; enum
Dmacro-assembler-aarch32.h1296 void B(Condition cond, Label* label, BranchHint hint = kBranchWithoutHint) {
1315 void B(Label* label, BranchHint hint = kBranchWithoutHint) {