Lines Matching defs:t2

89   const Type* t2 = (in2 == this) ? Type::TOP : phase->type(in2);
90 if( t2 == Type::TOP ) return Type::TOP;
97 if( t1 == Type::BOTTOM || t2 == Type::BOTTOM )
100 return sub(t1,t2); // Local flavor of type subtraction
146 const Type *t2 = phase->type( in2 );
147 if( t2 == Type::TOP ) return NULL;
149 if( t2->base() == Type::Int ){ // Might be bottom or top...
150 const TypeInt *i = t2->is_int();
242 const Type *SubINode::sub( const Type *t1, const Type *t2 ) const {
244 const TypeInt *r1 = t2->is_int();
351 const Type *SubLNode::sub( const Type *t1, const Type *t2 ) const {
353 const TypeLong *r1 = t2->is_long();
377 const Type* t2 = (in2 == this) ? Type::TOP : phase->type(in2);
378 if( t2 == Type::TOP ) return Type::TOP;
382 if( (t1->is_finite() && t2->is_finite()) ) {
388 if( (t1 == bot) || (t2 == bot) ||
389 (t1 == Type::BOTTOM) || (t2 == Type::BOTTOM) )
392 return sub(t1,t2); // Local flavor of type subtraction
399 const Type *t2 = phase->type( in(2) );
401 if( t2->base() == Type::FloatCon ) { // Might be bottom or top...
402 // return new (phase->C, 3) AddFNode(in(1), phase->makecon( TypeF::make(-t2->getf()) ) );
423 const Type *SubFNode::sub( const Type *t1, const Type *t2 ) const {
425 if( g_isfinite(t1->getf()) && g_isfinite(t2->getf()) ) {
426 return TypeF::make( t1->getf() - t2->getf() );
431 else if( g_isnan(t2->getf()) ) {
432 return t2;
442 const Type *t2 = phase->type( in(2) );
444 if( t2->base() == Type::DoubleCon ) { // Might be bottom or top...
445 // return new (phase->C, 3) AddDNode(in(1), phase->makecon( TypeD::make(-t2->getd()) ) );
466 const Type *SubDNode::sub( const Type *t1, const Type *t2 ) const {
468 if( g_isfinite(t1->getd()) && g_isfinite(t2->getd()) ) {
469 return TypeD::make( t1->getd() - t2->getd() );
474 else if( g_isnan(t2->getd()) ) {
475 return t2;
495 const Type *CmpINode::sub( const Type *t1, const Type *t2 ) const {
497 const TypeInt *r1 = t2->is_int();
516 const Type *CmpUNode::sub( const Type *t1, const Type *t2 ) const {
521 const TypeInt *r1 = t2->is_int();
602 const Type *CmpLNode::sub( const Type *t1, const Type *t2 ) const {
604 const TypeLong *r1 = t2->is_long();
625 const Type *CmpPNode::sub( const Type *t1, const Type *t2 ) const {
627 const TypePtr *r1 = t2->is_ptr();
786 const TypeKlassPtr* t2 = phase->type(in(2))->isa_klassptr();
787 if (t2 == NULL || !t2->klass_is_exact())
790 ciKlass* superklass = t2->klass();
863 const Type *CmpNNode::sub( const Type *t1, const Type *t2 ) const {
865 const TypePtr *r1 = t2->make_ptr();
950 const Type* t2 = (in2 == this) ? Type::TOP : phase->type(in2);
951 if( t2 == Type::TOP ) return Type::TOP;
956 const TypeF *tf2 = t2->isa_float_constant();
980 const Type* t2 = (in2 == this) ? Type::TOP : phase->type(in2);
981 if( t2 == Type::TOP ) return Type::TOP;
986 const TypeD *td2 = t2->isa_double_constant();
1017 const TypeD *t2 = in(idx_con)->bottom_type()->is_double_constant();
1018 double t2_value_as_double = t2->_d;
1387 const Type *t2 = phase->type( in(2) );
1388 if( t2 == Type::TOP ) return Type::TOP;
1389 if( t2->base() != Type::DoubleCon ) return Type::DOUBLE;
1391 double d2 = t2->getd();