Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/
H A DFuncToLLVM.cpp91 auto arrayAttrs = it->getValue().cast<ArrayAttr>(); in prependResAttrsToArgAttrs() local
92 assert(arrayAttrs.size() == numArguments && in prependResAttrsToArgAttrs()
94 std::copy(arrayAttrs.begin(), arrayAttrs.end(), allAttrs.begin() + 1); in prependResAttrsToArgAttrs()
97 auto arrayAttrs = it->getValue().cast<ArrayAttr>(); in prependResAttrsToArgAttrs() local
98 assert(!arrayAttrs.empty() && "expected array to be non-empty"); in prependResAttrsToArgAttrs()
99 allAttrs[0] = (arrayAttrs.size() == 1) in prependResAttrsToArgAttrs()
100 ? arrayAttrs[0] in prependResAttrsToArgAttrs()
101 : wrapAsStructAttrs(builder, arrayAttrs); in prependResAttrsToArgAttrs()