Searched refs:TypeD (Results 1 - 15 of 15) sorted by relevance

/openjdk7/hotspot/src/share/vm/opto/
H A Dtype.hpp47 class TypeD;
228 const TypeD *isa_double() const; // Returns NULL if not a Double{Top,Con,Bot}
229 const TypeD *is_double_constant() const; // Asserts it is a DoubleCon
230 const TypeD *isa_double_constant() const; // Returns NULL if not a DoubleCon
380 //------------------------------TypeD------------------------------------------
382 class TypeD : public Type { class in inherits:Type
383 TypeD( double d ) : Type(DoubleCon), _d(d) {}; function in class:TypeD
392 static const TypeD *make(double d);
400 static const TypeD *ZERO; // positive zero only
401 static const TypeD *ON
[all...]
H A Dmulnode.hpp135 const Type *mul_id() const { return TypeD::ONE; }
136 const Type *add_id() const { return TypeD::ZERO; }
H A Ddivnode.cpp763 return TypeD::ONE;
765 if( t2 == TypeD::ONE )
778 return TypeD::make( t1->getd()/t2->getd() );
784 if( t1 == TypeD::ZERO && !g_isnan(t2->getd()) && t2->getd() != 0.0 )
785 return TypeD::ZERO;
796 return (phase->type( in(2) ) == TypeD::ONE) ? in(1) : this;
806 if( t2 == TypeD::ONE ) // Identity?
809 const TypeD *td = t2->isa_double_constant();
832 return (new (phase->C) MulDNode(in(1), phase->makecon(TypeD::make(reciprocal))));
1263 return TypeD
[all...]
H A Dsubnode.cpp445 // return new (phase->C, 3) AddDNode(in(1), phase->makecon( TypeD::make(-t2->getd()) ) );
453 return new (phase->C) SubDNode( phase->makecon(TypeD::ZERO),in(2)->in(2));
458 //if( phase->type(in(1)) == TypeD::ZERO )
469 return TypeD::make( t1->getd() - t2->getd() );
985 const TypeD *td1 = t1->isa_double_constant();
986 const TypeD *td2 = t2->isa_double_constant();
1017 const TypeD *t2 = in(idx_con)->bottom_type()->is_double_constant();
1310 return TypeD::make( sqrt( d ) );
1321 return TypeD::make( StubRoutines::intrinsic_cos( d ) );
1332 return TypeD
[all...]
H A Dconnode.cpp362 if( phase->type(cmpd->in(cmp_zero_idx)) == TypeD::ZERO ) {
364 } else if (phase->type(cmpd->in(3 - cmp_zero_idx)) == TypeD::ZERO) {
380 phase->type(sub->in(1)) != TypeD::ZERO ) return NULL;
656 const TypeD *td = t->is_double_constant();
673 const TypeD *td = t->is_double_constant();
698 const TypeD *td = t->is_double_constant();
726 return TypeD::make( (double)tf->getf() );
789 if( ti->is_con() ) return TypeD::make( (double)ti->get_con() );
982 if( tl->is_con() ) return TypeD::make( (double)tl->get_con() );
1234 return TypeD
[all...]
H A Dtype.cpp237 TypeD::ZERO = TypeD::make(0.0); // Double 0 (positive zero)
238 TypeD::ONE = TypeD::make(1.0); // Double 1
412 _zero_type[T_DOUBLE] = TypeD::ZERO;
961 const TypeD *TypeD::ZERO; // Floating point zero
962 const TypeD *TypeD::ONE; // Floating point one
965 const TypeD *Type
[all...]
H A Daddnode.hpp125 virtual const Type *add_id() const { return TypeD::ZERO; }
H A Dconnode.hpp124 ConDNode( const TypeD *t ) : ConNode(t) {}
129 return new (C) ConDNode( TypeD::make(con) );
H A Dparse3.cpp319 case T_DOUBLE: push_pair( makecon(TypeD::make(constant.as_double())) ); break;
H A Dsubnode.hpp126 const Type *add_id() const { return TypeD::ZERO; }
H A Dmulnode.cpp165 return TypeD::DOUBLE;
378 return TypeD::make( t0->getd() * t1->getd() );
H A Daddnode.cpp546 return TypeD::make( t0->getd() + t1->getd() );
H A Dparse2.cpp1330 const TypeD* td = tcon->isa_double_constant();
1422 push_pair(makecon(TypeD::ONE));
H A Dlibrary_call.cpp1536 Node *pi4 = makecon(TypeD::make(pi_4));
1688 Node *zeronode = makecon(TypeD::ZERO);
1735 Node* yplus1 = _gvn.transform( new (C) AddDNode(y, makecon(TypeD::make(1))));
1787 Node *slow_result = makecon(TypeD::make(*(double*)&nan_bits)); // return NaN
H A Dcfgnode.cpp1355 case Op_CmpD: tzero = TypeD::ZERO; break; // Double ABS

Completed in 148 milliseconds