equal
deleted
inserted
replaced
280 init_req(0, NULL); |
280 init_req(0, NULL); |
281 init_req(1, value); |
281 init_req(1, value); |
282 } |
282 } |
283 virtual int Opcode() const; |
283 virtual int Opcode() const; |
284 virtual Node *Identity( PhaseTransform *phase ); |
284 virtual Node *Identity( PhaseTransform *phase ); |
|
285 virtual const Type *Value( PhaseTransform *phase ) const; |
285 virtual uint ideal_reg() const { return Op_RegN; } |
286 virtual uint ideal_reg() const { return Op_RegN; } |
286 |
287 |
287 static Node* encode(PhaseGVN* phase, Node* value); |
288 static Node* encode(PhaseGVN* phase, Node* value); |
288 }; |
289 }; |
289 |
290 |
298 init_req(0, NULL); |
299 init_req(0, NULL); |
299 init_req(1, value); |
300 init_req(1, value); |
300 } |
301 } |
301 virtual int Opcode() const; |
302 virtual int Opcode() const; |
302 virtual Node *Identity( PhaseTransform *phase ); |
303 virtual Node *Identity( PhaseTransform *phase ); |
|
304 virtual const Type *Value( PhaseTransform *phase ) const; |
303 virtual uint ideal_reg() const { return Op_RegP; } |
305 virtual uint ideal_reg() const { return Op_RegP; } |
|
306 |
|
307 static Node* decode(PhaseGVN* phase, Node* value); |
304 }; |
308 }; |
305 |
309 |
306 //------------------------------Conv2BNode------------------------------------- |
310 //------------------------------Conv2BNode------------------------------------- |
307 // Convert int/pointer to a Boolean. Map zero to zero, all else to 1. |
311 // Convert int/pointer to a Boolean. Map zero to zero, all else to 1. |
308 class Conv2BNode : public Node { |
312 class Conv2BNode : public Node { |