Lines Matching +defs:insert +defs:buffer +defs:substring

433        {"substring", asAddr},
1682 mlir::Value buffer = charBox->getBuffer();
1683 auto buffTy = buffer.getType();
1686 loc, "A character's buffer type cannot be a function type.");
1688 return buffer;
1690 buffer, charBox->getLen());
4176 mlir::Value buffer = charBox->getBuffer();
4177 mlir::Type bufferTy = buffer.getType();
4181 charVal = buffer;
4193 mlir::Value cast = builder.createConvert(loc, toTy, buffer);
4425 auto insert = [&](std::int8_t which) {
4435 /* 0 0 0 0 0 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_ZERO);
4436 /* 0 0 0 0 1 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4437 /* 0 0 0 1 0 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4438 /* 0 0 0 1 1 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4439 /* 0 0 1 0 0 */ insert(impossible);
4440 /* 0 0 1 0 1 */ insert(impossible);
4441 /* 0 0 1 1 0 */ insert(impossible);
4442 /* 0 0 1 1 1 */ insert(impossible);
4443 /* 0 1 0 0 0 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_NORMAL);
4444 /* 0 1 0 0 1 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_NORMAL);
4445 /* 0 1 0 1 0 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_NORMAL);
4446 /* 0 1 0 1 1 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_NORMAL);
4447 /* 0 1 1 0 0 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_INF);
4448 /* 0 1 1 0 1 */ insert(_FORTRAN_RUNTIME_IEEE_QUIET_NAN);
4449 /* 0 1 1 1 0 */ insert(_FORTRAN_RUNTIME_IEEE_SIGNALING_NAN);
4450 /* 0 1 1 1 1 */ insert(_FORTRAN_RUNTIME_IEEE_QUIET_NAN);
4451 /* 1 0 0 0 0 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_ZERO);
4452 /* 1 0 0 0 1 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4453 /* 1 0 0 1 0 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4454 /* 1 0 0 1 1 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4455 /* 1 0 1 0 0 */ insert(impossible);
4456 /* 1 0 1 0 1 */ insert(impossible);
4457 /* 1 0 1 1 0 */ insert(impossible);
4458 /* 1 0 1 1 1 */ insert(impossible);
4459 /* 1 1 0 0 0 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_NORMAL);
4460 /* 1 1 0 0 1 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_NORMAL);
4461 /* 1 1 0 1 0 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_NORMAL);
4462 /* 1 1 0 1 1 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_NORMAL);
4463 /* 1 1 1 0 0 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_INF);
4464 /* 1 1 1 0 1 */ insert(_FORTRAN_RUNTIME_IEEE_QUIET_NAN);
4465 /* 1 1 1 1 0 */ insert(_FORTRAN_RUNTIME_IEEE_SIGNALING_NAN);
4466 /* 1 1 1 1 1 */ insert(_FORTRAN_RUNTIME_IEEE_QUIET_NAN);
4474 /* 0 0 0 0 00 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_ZERO);
4475 /* 0 0 0 0 01 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4476 /* 0 0 0 0 10 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4477 /* 0 0 0 0 11 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4478 /* 0 0 0 1 00 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4479 /* 0 0 0 1 01 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4480 /* 0 0 0 1 10 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4481 /* 0 0 0 1 11 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_SUBNORMAL);
4482 /* 0 0 1 0 00 */ insert(impossible);
4483 /* 0 0 1 0 01 */ insert(impossible);
4484 /* 0 0 1 0 10 */ insert(impossible);
4485 /* 0 0 1 0 11 */ insert(impossible);
4486 /* 0 0 1 1 00 */ insert(impossible);
4487 /* 0 0 1 1 01 */ insert(impossible);
4488 /* 0 0 1 1 10 */ insert(impossible);
4489 /* 0 0 1 1 11 */ insert(impossible);
4490 /* 0 1 0 0 00 */ insert(invalid);
4491 /* 0 1 0 0 01 */ insert(invalid);
4492 /* 0 1 0 0 10 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_NORMAL);
4493 /* 0 1 0 0 11 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_NORMAL);
4494 /* 0 1 0 1 00 */ insert(invalid);
4495 /* 0 1 0 1 01 */ insert(invalid);
4496 /* 0 1 0 1 10 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_NORMAL);
4497 /* 0 1 0 1 11 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_NORMAL);
4498 /* 0 1 1 0 00 */ insert(invalid);
4499 /* 0 1 1 0 01 */ insert(invalid);
4500 /* 0 1 1 0 10 */ insert(_FORTRAN_RUNTIME_IEEE_POSITIVE_INF);
4501 /* 0 1 1 0 11 */ insert(_FORTRAN_RUNTIME_IEEE_QUIET_NAN);
4502 /* 0 1 1 1 00 */ insert(invalid);
4503 /* 0 1 1 1 01 */ insert(invalid);
4504 /* 0 1 1 1 10 */ insert(_FORTRAN_RUNTIME_IEEE_SIGNALING_NAN);
4505 /* 0 1 1 1 11 */ insert(_FORTRAN_RUNTIME_IEEE_QUIET_NAN);
4506 /* 1 0 0 0 00 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_ZERO);
4507 /* 1 0 0 0 01 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4508 /* 1 0 0 0 10 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4509 /* 1 0 0 0 11 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4510 /* 1 0 0 1 00 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4511 /* 1 0 0 1 01 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4512 /* 1 0 0 1 10 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4513 /* 1 0 0 1 11 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_SUBNORMAL);
4514 /* 1 0 1 0 00 */ insert(impossible);
4515 /* 1 0 1 0 01 */ insert(impossible);
4516 /* 1 0 1 0 10 */ insert(impossible);
4517 /* 1 0 1 0 11 */ insert(impossible);
4518 /* 1 0 1 1 00 */ insert(impossible);
4519 /* 1 0 1 1 01 */ insert(impossible);
4520 /* 1 0 1 1 10 */ insert(impossible);
4521 /* 1 0 1 1 11 */ insert(impossible);
4522 /* 1 1 0 0 00 */ insert(invalid);
4523 /* 1 1 0 0 01 */ insert(invalid);
4524 /* 1 1 0 0 10 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_NORMAL);
4525 /* 1 1 0 0 11 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_NORMAL);
4526 /* 1 1 0 1 00 */ insert(invalid);
4527 /* 1 1 0 1 01 */ insert(invalid);
4528 /* 1 1 0 1 10 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_NORMAL);
4529 /* 1 1 0 1 11 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_NORMAL);
4530 /* 1 1 1 0 00 */ insert(invalid);
4531 /* 1 1 1 0 01 */ insert(invalid);
4532 /* 1 1 1 0 10 */ insert(_FORTRAN_RUNTIME_IEEE_NEGATIVE_INF);
4533 /* 1 1 1 0 11 */ insert(_FORTRAN_RUNTIME_IEEE_QUIET_NAN);
4534 /* 1 1 1 1 00 */ insert(invalid);
4535 /* 1 1 1 1 01 */ insert(invalid);
4536 /* 1 1 1 1 10 */ insert(_FORTRAN_RUNTIME_IEEE_SIGNALING_NAN);
4537 /* 1 1 1 1 11 */ insert(_FORTRAN_RUNTIME_IEEE_QUIET_NAN);
5566 auto insert = [&](std::int64_t v) {
5569 insert(0); // placeholder
5574 /* IEEE_SIGNALING_NAN */ insert(0x7d00);
5575 /* IEEE_QUIET_NAN */ insert(0x7e00);
5576 /* IEEE_NEGATIVE_INF */ insert(0xfc00);
5577 /* IEEE_NEGATIVE_NORMAL */ insert(0xbc00);
5578 /* IEEE_NEGATIVE_SUBNORMAL */ insert(0x8200);
5579 /* IEEE_NEGATIVE_ZERO */ insert(0x8000);
5580 /* IEEE_POSITIVE_ZERO */ insert(0x0000);
5581 /* IEEE_POSITIVE_SUBNORMAL */ insert(0x0200);
5582 /* IEEE_POSITIVE_NORMAL */ insert(0x3c00); // 1.0
5583 /* IEEE_POSITIVE_INF */ insert(0x7c00);
5588 /* IEEE_SIGNALING_NAN */ insert(0x7fa0);
5589 /* IEEE_QUIET_NAN */ insert(0x7fc0);
5590 /* IEEE_NEGATIVE_INF */ insert(0xff80);
5591 /* IEEE_NEGATIVE_NORMAL */ insert(0xbf80);
5592 /* IEEE_NEGATIVE_SUBNORMAL */ insert(0x8040);
5593 /* IEEE_NEGATIVE_ZERO */ insert(0x8000);
5594 /* IEEE_POSITIVE_ZERO */ insert(0x0000);
5595 /* IEEE_POSITIVE_SUBNORMAL */ insert(0x0040);
5596 /* IEEE_POSITIVE_NORMAL */ insert(0x3f80); // 1.0
5597 /* IEEE_POSITIVE_INF */ insert(0x7f80);
5601 /* IEEE_SIGNALING_NAN */ insert(0x7fa00000);
5602 /* IEEE_QUIET_NAN */ insert(0x7fc00000);
5603 /* IEEE_NEGATIVE_INF */ insert(0xff800000);
5604 /* IEEE_NEGATIVE_NORMAL */ insert(0xbf800000);
5605 /* IEEE_NEGATIVE_SUBNORMAL */ insert(0x80400000);
5606 /* IEEE_NEGATIVE_ZERO */ insert(0x80000000);
5607 /* IEEE_POSITIVE_ZERO */ insert(0x00000000);
5608 /* IEEE_POSITIVE_SUBNORMAL */ insert(0x00400000);
5609 /* IEEE_POSITIVE_NORMAL */ insert(0x3f800000); // 1.0
5610 /* IEEE_POSITIVE_INF */ insert(0x7f800000);
5614 /* IEEE_SIGNALING_NAN */ insert(0x7ff4000000000000);
5615 /* IEEE_QUIET_NAN */ insert(0x7ff8000000000000);
5616 /* IEEE_NEGATIVE_INF */ insert(0xfff0000000000000);
5617 /* IEEE_NEGATIVE_NORMAL */ insert(0xbff0000000000000);
5618 /* IEEE_NEGATIVE_SUBNORMAL */ insert(0x8008000000000000);
5619 /* IEEE_NEGATIVE_ZERO */ insert(0x8000000000000000);
5620 /* IEEE_POSITIVE_ZERO */ insert(0x0000000000000000);
5621 /* IEEE_POSITIVE_SUBNORMAL */ insert(0x0008000000000000);
5622 /* IEEE_POSITIVE_NORMAL */ insert(0x3ff0000000000000); // 1.0
5623 /* IEEE_POSITIVE_INF */ insert(0x7ff0000000000000);
5628 /* IEEE_SIGNALING_NAN */ insert(0x7fffa00000000000);
5629 /* IEEE_QUIET_NAN */ insert(0x7fffc00000000000);
5630 /* IEEE_NEGATIVE_INF */ insert(0xffff800000000000);
5631 /* IEEE_NEGATIVE_NORMAL */ insert(0xbfff800000000000);
5632 /* IEEE_NEGATIVE_SUBNORMAL */ insert(0x8000400000000000);
5633 /* IEEE_NEGATIVE_ZERO */ insert(0x8000000000000000);
5634 /* IEEE_POSITIVE_ZERO */ insert(0x0000000000000000);
5635 /* IEEE_POSITIVE_SUBNORMAL */ insert(0x0000400000000000);
5636 /* IEEE_POSITIVE_NORMAL */ insert(0x3fff800000000000); // 1.0
5637 /* IEEE_POSITIVE_INF */ insert(0x7fff800000000000);
5642 /* IEEE_SIGNALING_NAN */ insert(0x7fff400000000000);
5643 /* IEEE_QUIET_NAN */ insert(0x7fff800000000000);
5644 /* IEEE_NEGATIVE_INF */ insert(0xffff000000000000);
5645 /* IEEE_NEGATIVE_NORMAL */ insert(0xbfff000000000000);
5646 /* IEEE_NEGATIVE_SUBNORMAL */ insert(0x8000200000000000);
5647 /* IEEE_NEGATIVE_ZERO */ insert(0x8000000000000000);
5648 /* IEEE_POSITIVE_ZERO */ insert(0x0000000000000000);
5649 /* IEEE_POSITIVE_SUBNORMAL */ insert(0x0000200000000000);
5650 /* IEEE_POSITIVE_NORMAL */ insert(0x3fff000000000000); // 1.0
5651 /* IEEE_POSITIVE_INF */ insert(0x7fff000000000000);
5656 insert(0); // IEEE_OTHER_VALUE
5718 mlir::Value substring = builder.createBox(loc, args[1]);
5741 fir::runtime::genIndexDescriptor(builder, loc, resBox, string, substring,