5#ifndef V8_COMPILER_DIAMOND_H_
6#define V8_COMPILER_DIAMOND_H_
31 graph->NewNode(
common->
Branch(hint, semantics), cond, graph->start());
47 that.merge->ReplaceInput(0,
merge);
50 that.merge->ReplaceInput(1,
merge);
const Operator * Phi(MachineRepresentation representation, int value_input_count)
const Operator * IfFalse()
const Operator * EffectPhi(int effect_input_count)
const Operator * IfTrue()
const Operator * Merge(int control_input_count)
const Operator * Branch(BranchHint=BranchHint::kNone, BranchSemantics semantics=BranchSemantics::kUnspecified)
void ReplaceInput(int index, Node *new_to)
void Nest(Diamond const &that, bool cond)
CommonOperatorBuilder * common
Diamond(TFGraph *g, CommonOperatorBuilder *b, Node *cond, BranchHint hint=BranchHint::kNone, BranchSemantics semantics=BranchSemantics::kUnspecified)
Node * EffectPhi(Node *tv, Node *fv)
Node * Phi(MachineRepresentation rep, Node *tv, Node *fv)
void Chain(Diamond const &that)