Home
last modified time | relevance | path

Searched refs:length_ (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/flang/runtime/
H A Dbuffer.h83 auto next{start_ + length_}; in ReadFrame()
89 length_ += got; in ReadFrame()
103 Flush(handler, length_ - newFrame); in WriteFrame()
110 length_ = std::max<std::int64_t>(length_, frame_ + bytes); in WriteFrame()
115 while (length_ > keep) {
125 if (length_ == 0) {
136 length_ = at - fileOffset_; in TruncateFrame()
159 start_ = length_ = frame_ = 0; in Reset()
166 length_ -= n; in DiscardLeadingBytes()
167 if (length_ == 0) { in DiscardLeadingBytes()
[all …]
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dconstant.cpp202 : ConstantBounds(std::move(sh)), length_{len} { in Constant()
204 values_.assign(strings.size() * length_,
209 if (strLen > length_) {
210 values_.replace(at, length_, str.substr(0, length_));
214 at += length_;
229 if (length_ == 0) { in size()
240 return values_.substr(offset * length_, length_); in At()
254 } else if (lo < 1 || hi > length_) { in Substring()
275 at += length_; in Reshape()
288 CHECK(length_ == source.length_); in CopyFrom()
[all …]
H A Dexpression.cpp148 return length_ == that.length_ && in operator ==()
H A Dformatting.cpp85 o << '[' << GetType().AsFortran(std::to_string(length_)) << "::"; in AsFortran()
89 Scalar<Result> value{values_.substr(j * length_, length_)}; in AsFortran()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dprefetch-load.ll9 ; CHECK: store i32 %dec, i32* %length_
19 %length_ = getelementptr inbounds %struct.C, %struct.C* %c, i32 0, i32 1
20 %2 = load i32, i32* %length_, align 8
22 store i32 %dec, i32* %length_, align 8
25 %4 = load i32, i32* %length_, align 8
/llvm-project-15.0.7/flang/lib/Parser/
H A Ddebug-parser.h28 : str_{str}, length_{n} {} in DebugParser()
33 const std::size_t length_; variable
H A Ddebug-parser.cpp18 std::string note{str_, length_}; in Parse()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtype.h163 length_{std::move(length)} {} in CharacterTypeSpec()
164 const ParamValue &length() const { return length_; } in length()
166 return kind() == that.kind() && length_ == that.length_;
171 ParamValue length_;
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dconstant.h174 ConstantSubscript LEN() const { return length_; } in LEN()
192 DynamicType GetType() const { return {KIND, length_}; } in GetType()
198 ConstantSubscript length_; variable
H A Dexpression.h478 : Base{std::move(v)}, length_{std::move(len)} {}
481 : length_{prototype.LEN().value()} {}
486 const Expr<SubscriptInteger> &LEN() const { return length_.value(); }
489 common::CopyableIndirection<Expr<SubscriptInteger>> length_;
/llvm-project-15.0.7/flang/include/flang/Common/
H A Dformat.h79 length_ = length; in ENUM_CLASS()
85 int length() const { return length_; } in ENUM_CLASS()
92 int length_{1}; in ENUM_CLASS()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc1150 (long long res, void *path_, long long length_) {
1153 PRE_SYSCALL(compat_43_oftruncate)(long long fd_, long long length_) {
1157 (long long res, long long fd_, long long length_) {
1561 PRE_SYSCALL(truncate)(void *path_, long long PAD_, long long length_) {
1568 (long long res, void *path_, long long PAD_, long long length_) {
1576 PRE_SYSCALL(ftruncate)(long long fd_, long long PAD_, long long length_) {
1580 (long long res, long long fd_, long long PAD_, long long length_) {
2179 PRE_SYSCALL(__getcwd)(void *bufp_, long long length_) { /* Nothing to do */ }
2180 POST_SYSCALL(__getcwd)(long long res, void *bufp_, long long length_) {
2470 (long long fd_, long long flags_, long long start_, long long length_) {
[all …]
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dtype.cpp713 return "CHARACTER(" + length_.AsFortran() + ',' + KindAsFortran(kind()) + ')'; in AsFortran()