llvm/flang/runtime
Peter Klausler c7f4c333af [flang] Make NEWUNIT= use a range suitable for INTEGER(KIND=1) and recycle unit numbers
Use a bit-set to manage runtime-generated I/O unit numbers, recycle
them after they're closed, and use a range of values that fits in
a minimal-sized integer.

Differential Revision: https://reviews.llvm.org/D118651
2022-01-31 15:20:21 -08:00
..
allocatable.cpp
assign.cpp [flang] Make subscript list argument a nullable pointer 2021-11-08 11:53:13 -08:00
buffer.cpp
buffer.h [flang] runtime perf: larger I/O buffer growth increments 2022-01-31 14:53:15 -08:00
character.cpp
CMakeLists.txt [flang] Add CALL FLUSH(n) legacy extension 2021-12-08 08:56:54 -08:00
command.cpp [flang] Implement GET_ENVIRONMENT_VARIABLE(VALUE) 2021-11-01 09:19:20 +00:00
complex-reduction.c [flang] Change complex type define in runtime for clang-cl 2021-09-22 06:54:33 +00:00
complex-reduction.h [flang] Change complex type define in runtime for clang-cl 2021-09-22 06:54:33 +00:00
config.h.cmake
connection.cpp [flang] Signal runtime error on WRITE after ENDFILE 2022-01-14 14:46:00 -08:00
connection.h [flang] Signal runtime error on WRITE after ENDFILE 2022-01-14 14:46:00 -08:00
copy.cpp
copy.h
derived-api.cpp
derived.cpp [flang][NFC] Document behavior for nonspecified/ambiguous cases 2021-10-11 11:06:07 -07:00
derived.h
descriptor-io.cpp [flang] Fix repeated "DT" editing 2022-01-21 17:22:51 -08:00
descriptor-io.h [flang] Support DECIMAL='COMMA' mode in namelist I/O 2022-01-22 09:01:36 -08:00
descriptor.cpp [flang] Runtime performance improvements to real formatted input 2021-11-12 11:40:02 -08:00
dot-product.cpp [flang] Fix DOT_PRODUCT for logical 2021-10-22 15:56:20 -07:00
edit-input.cpp [flang] Support DECIMAL='COMMA' mode in namelist I/O 2022-01-22 09:01:36 -08:00
edit-input.h
edit-output.cpp [flang] Fix rounding edge case in F output editing 2021-11-12 11:16:25 -08:00
edit-output.h [flang] Fix rounding edge case in F output editing 2021-11-12 11:16:25 -08:00
environment.cpp [flang] Respect NO_STOP_MESSAGE=1 in runtime 2021-11-12 10:50:36 -08:00
environment.h [flang] Respect NO_STOP_MESSAGE=1 in runtime 2021-11-12 10:50:36 -08:00
extensions.cpp [flang] Add CALL FLUSH(n) legacy extension 2021-12-08 08:56:54 -08:00
extrema.cpp
file.cpp [flang] Remove runtime check from OpenFile::Close() 2021-12-07 09:43:24 -08:00
file.h [flang] Don't close stderr in runtime (fixes STOP output) 2021-12-01 13:25:18 -08:00
findloc.cpp
format-implementation.h [flang] Don't drop format string for external child I/O 2022-01-22 09:01:02 -08:00
format.cpp
format.h [flang] Fix repeated "DT" editing 2022-01-21 17:22:51 -08:00
internal-unit.cpp [flang] Don't blank-fill remaining lines in internal output 2022-01-14 15:14:48 -08:00
internal-unit.h [flang] Don't blank-fill remaining lines in internal output 2022-01-14 15:14:48 -08:00
io-api.cpp [flang] Make NEWUNIT= use a range suitable for INTEGER(KIND=1) and recycle unit numbers 2022-01-31 15:20:21 -08:00
io-error.cpp [flang] Don't drop format string for external child I/O 2022-01-22 09:01:02 -08:00
io-error.h
io-stmt.cpp [flang] Support DECIMAL='COMMA' mode in namelist I/O 2022-01-22 09:01:36 -08:00
io-stmt.h [flang] Support DECIMAL='COMMA' mode in namelist I/O 2022-01-22 09:01:36 -08:00
iostat.cpp [flang] Signal runtime error on WRITE after ENDFILE 2022-01-14 14:46:00 -08:00
ISO_Fortran_binding.cpp [flang] "CFI" types for Fortran REAL and COMPLEX kinds 2, 3, 10, 16 2022-01-14 11:06:18 -08:00
lock.h
main.cpp
matmul.cpp [flang] Speed common runtime cases of DOT_PRODUCT & MATMUL 2021-10-22 14:36:13 -07:00
memory.cpp
misc-intrinsic.cpp [flang] Return arrays in Transfer runtime with SIZE argument 2021-12-03 08:23:30 +01:00
namelist.cpp [flang] Support DECIMAL='COMMA' mode in namelist I/O 2022-01-22 09:01:36 -08:00
namelist.h [flang] Support NAMELIST input of short arrays 2021-10-22 13:38:11 -07:00
numeric.cpp
pointer.cpp
product.cpp
ragged.cpp [flang] Simplify RaggedArrayHeader and make it plain C struct 2021-12-09 22:28:06 +01:00
random.cpp
reduction-templates.h
reduction.cpp [flang] Define & implement a lowering support API IsContiguous() in runtime 2021-11-30 14:15:56 -08:00
stat.cpp [flang] Implement GET_ENVIRONMENT_VARIABLE(VALUE) 2021-11-01 09:19:20 +00:00
stat.h [flang] Implement GET_ENVIRONMENT_VARIABLE(VALUE) 2021-11-01 09:19:20 +00:00
stop.cpp [flang] Implement a runtime routine to report fatal errors with source position 2022-01-28 15:46:00 -08:00
sum.cpp
support.cpp [flang] Define & implement a lowering support API IsContiguous() in runtime 2021-11-30 14:15:56 -08:00
terminator.cpp
terminator.h [flang] Define & implement a lowering support API IsContiguous() in runtime 2021-11-30 14:15:56 -08:00
time-intrinsic.cpp [flang] More work on SYSTEM_CLOCK runtime API and implementation 2021-10-12 09:24:24 -07:00
tools.cpp [flang] runtime: Read environment variables directly 2021-10-28 07:49:30 +00:00
tools.h [flang] Speed common runtime cases of DOT_PRODUCT & MATMUL 2021-10-22 14:36:13 -07:00
transformational.cpp [flang] Define & implement a lowering support API IsContiguous() in runtime 2021-11-30 14:15:56 -08:00
type-code.cpp [flang] "CFI" types for Fortran REAL and COMPLEX kinds 2, 3, 10, 16 2022-01-14 11:06:18 -08:00
type-info.cpp [flang] Make subscript list argument a nullable pointer 2021-11-08 11:53:13 -08:00
type-info.h [flang] Make subscript list argument a nullable pointer 2021-11-08 11:53:13 -08:00
unit-map.cpp [flang] Make NEWUNIT= use a range suitable for INTEGER(KIND=1) and recycle unit numbers 2022-01-31 15:20:21 -08:00
unit-map.h [flang] Make NEWUNIT= use a range suitable for INTEGER(KIND=1) and recycle unit numbers 2022-01-31 15:20:21 -08:00
unit.cpp [flang] Correct interpretation of RECL= 2022-01-31 12:48:17 -08:00
unit.h [flang] Make NEWUNIT= use a range suitable for INTEGER(KIND=1) and recycle unit numbers 2022-01-31 15:20:21 -08:00