Searched refs:TypeF (Results 1 - 14 of 14) sorted by relevance

/openjdk7/hotspot/src/share/vm/opto/
H A Dtype.hpp48 class TypeF;
231 const TypeF *isa_float() const; // Returns NULL if not a Float{Top,Con,Bot}
232 const TypeF *is_float_constant() const; // Asserts it is a FloatCon
233 const TypeF *isa_float_constant() const; // Returns NULL if not a FloatCon
353 //------------------------------TypeF------------------------------------------
355 class TypeF : public Type { class in inherits:Type
356 TypeF( float f ) : Type(FloatCon), _f(f) {}; function in class:TypeF
365 static const TypeF *make(float f);
373 static const TypeF *ZERO; // positive zero only
374 static const TypeF *ON
[all...]
H A Dmulnode.hpp120 const Type *mul_id() const { return TypeF::ONE; }
121 const Type *add_id() const { return TypeF::ZERO; }
H A Ddivnode.cpp675 return TypeF::ONE;
677 if( t2 == TypeF::ONE )
684 return TypeF::make( t1->getf()/t2->getf() );
688 // Test TypeF::ZERO is not sufficient as it could be negative zero
690 if( t1 == TypeF::ZERO && !g_isnan(t2->getf()) && t2->getf() != 0.0 )
691 return TypeF::ZERO;
701 return (phase->type( in(2) ) == TypeF::ONE) ? in(1) : this;
712 if( t2 == TypeF::ONE ) // Identity?
715 const TypeF *tf = t2->isa_float_constant();
738 return (new (phase->C) MulFNode(in(1), phase->makecon(TypeF
[all...]
H A Dconnode.cpp306 if( phase->type(cmpf->in(cmp_zero_idx)) == TypeF::ZERO ) {
308 } else if (phase->type(cmpf->in(3 - cmp_zero_idx)) == TypeF::ZERO) {
324 phase->type(sub->in(1)) != TypeF::ZERO ) return NULL;
657 return TypeF::make( (float)td->getd() );
725 const TypeF *tf = t->is_float_constant();
735 const TypeF *tf = t->is_float_constant();
762 const TypeF *tf = t->is_float_constant();
799 if( ti->is_con() ) return TypeF::make( (float)ti->get_con() );
992 if( tl->is_con() ) return TypeF::make( (float)tl->get_con() );
1245 return TypeF
[all...]
H A Dtype.cpp234 TypeF::ZERO = TypeF::make(0.0); // Float 0 (positive zero)
235 TypeF::ONE = TypeF::make(1.0); // Float 1
411 _zero_type[T_FLOAT] = TypeF::ZERO;
844 const TypeF *TypeF::ZERO; // Floating point zero
845 const TypeF *TypeF::ONE; // Floating point one
849 const TypeF *Type
[all...]
H A Daddnode.hpp110 virtual const Type *add_id() const { return TypeF::ZERO; }
H A Dconnode.hpp110 ConFNode( const TypeF *t ) : ConNode(t) {}
115 return new (C) ConFNode( TypeF::make(con) );
H A Dsubnode.cpp402 // return new (phase->C, 3) AddFNode(in(1), phase->makecon( TypeF::make(-t2->getf()) ) );
410 return new (phase->C) SubFNode( phase->makecon(TypeF::ZERO),in(2)->in(2));
415 //if( phase->type(in(1)) == TypeF::ZERO )
426 return TypeF::make( t1->getf() - t2->getf() );
955 const TypeF *tf1 = t1->isa_float_constant();
956 const TypeF *tf2 = t2->isa_float_constant();
1024 Node *new_in2 = phase->makecon( TypeF::make(t2_value_as_float) );
H A Dparse3.cpp318 case T_FLOAT: push( makecon(TypeF::make(constant.as_float())) ); break;
H A Dsubnode.hpp112 const Type *add_id() const { return TypeF::ZERO; }
H A Dparse2.cpp1329 const TypeF* tf = tcon->isa_float_constant();
1410 push(makecon(TypeF::ONE));
1414 push(makecon(TypeF::make(2.0f)));
H A Daddnode.cpp509 return TypeF::make( t0->getf() + t1->getf() );
H A Dcfgnode.cpp1354 case Op_CmpF: tzero = TypeF::ZERO; break; // Float ABS
1380 if( tzero == TypeF::ZERO ) {
H A Dmulnode.cpp369 return TypeF::make( t0->getf() * t1->getf() );

Completed in 92 milliseconds