Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 65beadf

Browse files
mahgeOpenModelica-Hudson
authored andcommitted
[NF] Initial support for function vectorization.
- Implemented function vectorization. - Improved mapping function implementations. - Lots of changes to function handling in general. See diffs. - Other minor fixes. Belonging to [master]: - #2278 - OpenModelica/OpenModelica-testsuite#877
1 parent e974099 commit 65beadf

File tree

14 files changed

+777
-362
lines changed

14 files changed

+777
-362
lines changed

Compiler/NFFrontEnd/NFBuiltinFuncs.mo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,9 @@ constant Function CAT = Function.FUNCTION(Path.IDENT("cat"),
169169
InstNode.EMPTY_NODE(), {}, {}, {}, {},
170170
Type.UNKNOWN(), DAE.FUNCTION_ATTRIBUTES_BUILTIN, Pointer.createImmutable(true));
171171

172+
constant Function ARRAY_FUNC = Function.FUNCTION(Path.IDENT("array"),
173+
InstNode.EMPTY_NODE(), {}, {}, {}, {},
174+
Type.UNKNOWN(), DAE.FUNCTION_ATTRIBUTES_BUILTIN, Pointer.createImmutable(true));
175+
172176
annotation(__OpenModelica_Interface="frontend");
173177
end NFBuiltinFuncs;

0 commit comments

Comments
 (0)