Lines Matching defs:unboxedR

285     Type *const unboxedR = ETSBuiltinTypeAsPrimitiveType(right);
287 if (unboxedL == nullptr || unboxedR == nullptr) {
291 if (!unboxedL->HasTypeFlag(test) || !unboxedR->HasTypeFlag(test)) {
295 bool const bothConst = unboxedL->HasTypeFlag(TypeFlag::CONSTANT) && unboxedR->HasTypeFlag(TypeFlag::CONSTANT);
298 auto const numericPromotion = [this, unboxedL, unboxedR, bothConst]() -> std::tuple<checker::Type *, bool> {
299 if (unboxedL->IsDoubleType() || unboxedR->IsDoubleType()) {
303 if (unboxedL->IsFloatType() || unboxedR->IsFloatType()) {
307 if (unboxedL->IsLongType() || unboxedR->IsLongType()) {
311 if (unboxedL->IsCharType() && unboxedR->IsCharType()) {
320 unboxedR->HasTypeFlag(TypeFlag::ETS_CONVERTIBLE_TO_NUMERIC)) {
324 if (IsTypeIdenticalTo(unboxedL, unboxedR)) {
329 return {unboxedR, bothConst};
333 checker::Type *unboxedR)
335 if (unboxedL->IsDoubleType() || unboxedR->IsDoubleType()) {
338 if (unboxedL->IsFloatType() || unboxedR->IsFloatType()) {
341 if (unboxedL->IsLongType() || unboxedR->IsLongType()) {
344 if (unboxedL->IsIntType() || unboxedR->IsIntType() || unboxedL->IsCharType() || unboxedR->IsCharType()) {
347 if (unboxedL->IsShortType() || unboxedR->IsShortType()) {
350 if (unboxedL->IsByteType() || unboxedR->IsByteType()) {
356 checker::Type *unboxedR)
359 (unboxedR->HasTypeFlag(checker::TypeFlag::CONSTANT) && unboxedR->IsIntType())) {
360 int value = unboxedL->IsIntType() ? unboxedL->AsIntType()->GetValue() : unboxedR->AsIntType()->GetValue();
361 checker::Type *otherType = !unboxedL->IsIntType() ? unboxedL : unboxedR;
385 auto checkLeftRight = CheckLeftRightType(checker, unboxedL, unboxedR);