hexsha
stringlengths
40
40
size
int64
3
1.05M
ext
stringclasses
163 values
lang
stringclasses
53 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
112
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
sequencelengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
113
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
sequencelengths
1
10
max_issues_count
float64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
113
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
sequencelengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
3
1.05M
avg_line_length
float64
1
966k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
2f83ee6d0149deb09996c1ec50b0d73a603f5b5a
699
adb
Ada
src/ada-core/tests/main.adb
mstewartgallus/linted
4d4cf9390353ea045b95671474ab278456793a35
[ "Apache-2.0" ]
null
null
null
src/ada-core/tests/main.adb
mstewartgallus/linted
4d4cf9390353ea045b95671474ab278456793a35
[ "Apache-2.0" ]
null
null
null
src/ada-core/tests/main.adb
mstewartgallus/linted
4d4cf9390353ea045b95671474ab278456793a35
[ "Apache-2.0" ]
null
null
null
-- Copyright 2016 Steven Stewart-Gallus -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -- implied. See the License for the specific language governing -- permissions and limitations under the License. with Linted.Tests; with Linted.Last_Chance; procedure Main is begin Linted.Tests.Run; end Main;
33.285714
70
0.751073
2f82a056d52455fc01da7477ae0c9e5999d6c0cd
4,157
ads
Ada
ordinary/predictor_2.ads
jscparker/math_packages
b112a90338014d5c2dfae3f7265ee30841fb6cfd
[ "ISC", "MIT" ]
30
2018-12-09T01:15:04.000Z
2022-03-20T16:14:54.000Z
ordinary/predictor_2.ads
jscparker/math_packages
b112a90338014d5c2dfae3f7265ee30841fb6cfd
[ "ISC", "MIT" ]
null
null
null
ordinary/predictor_2.ads
jscparker/math_packages
b112a90338014d5c2dfae3f7265ee30841fb6cfd
[ "ISC", "MIT" ]
null
null
null
-- ----------------------------------------------------------------------- -- package Predictor_2, 20th order Predictor-Corrector -- Copyright (C) 2008-2009 Jonathan S. Parker. -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ----------------------------------------------------------------------- -- PACKAGE Predictor_2 -- -- 20th order Predictor-Corrector for conservative differential equations. -- -- The program integrates (d/dt)**2 Y = F (t, Y) where t is the -- independent variable (e.g. time), vector Y is the -- dependent variable, and F is some function. Certain higher order -- equations can be reduced to this form. -- -- Notice that F in independent of dY/dt. -- -- NOTES ON USE -- -- The following version assumes that the Dynamical Variable is -- a 1 dimensional array of Real numbers. -- -- The user plugs in the function F(t,Y) as a generic formal function. -- Even if F is t or Y independent, it must be in the form F(t,Y). -- The user must do all of the work to convert higher order -- equations to 2nd order equations. -- generic type Real is digits <>; -- The independent variable. It's called Time -- throughout the package as though the differential -- equation dY/dt = F (t, Y) were time dependent. type Dyn_Index is range <>; type Dynamical_Variable is array(Dyn_Index) of Real; -- The dependent variable. -- We require its exact form here so that some inner loop -- optimizations can be performed below. with function F (Time : Real; Y : Dynamical_Variable) return Dynamical_Variable is <>; -- Defines the equation to be integrated as -- dY/dt = F (t, Y). Even if the equation is t or Y -- independent, it must be entered in this form. with function "*" (Left : Real; Right : Dynamical_Variable) return Dynamical_Variable is <>; -- Defines multiplication of the independent by the -- dependent variable. An operation of this sort must exist by -- definition of the derivative, dY/dt = (Y(t+dt) - Y(t)) / dt, -- which requires multiplication of the (inverse) independent -- variable t, by the Dynamical variable Y (the dependent variable). with function "+" (Left : Dynamical_Variable; Right : Dynamical_Variable) return Dynamical_Variable is <>; -- Defines summation of the dependent variable. Again, this -- operation must exist by the definition of the derivative, -- dY/dt = (Y(t+dt) - Y(t)) / dt = (Y(t+dt) + (-1)*Y(t)) / dt. with function "-" (Left : Dynamical_Variable; Right : Dynamical_Variable) return Dynamical_Variable is <>; -- Operation must exist by the definition of the derivative, -- dY/dt = (Y(t+dt) - Y(t)) / dt package Predictor_2 is -- You must init. all elements of array Initial_Y, Initial_deriv_Of_Y. procedure Integrate (Final_Y : out Dynamical_Variable; Final_deriv_Of_Y : out Dynamical_Variable; Final_Time : in Real; Initial_Y : in Dynamical_Variable; Initial_deriv_Of_Y : in Dynamical_Variable; Initial_Time : in Real; No_Of_Steps : in Real); No_Of_Corrector_Evaluate_Iterations : constant Integer := 1; -- 1 is good here. Final_Corrector_Desired : constant Boolean := True; -- True is good here. Extrapolation_Desired : constant Boolean := True; end Predictor_2;
37.790909
75
0.656242
0612038d652e0c8f5e1620b2fefa66dbb46e7686
3,961
adb
Ada
source/nodes/program-nodes-terminate_alternative_statements.adb
optikos/oasis
9f64d46d26d964790d69f9db681c874cfb3bf96d
[ "MIT" ]
null
null
null
source/nodes/program-nodes-terminate_alternative_statements.adb
optikos/oasis
9f64d46d26d964790d69f9db681c874cfb3bf96d
[ "MIT" ]
null
null
null
source/nodes/program-nodes-terminate_alternative_statements.adb
optikos/oasis
9f64d46d26d964790d69f9db681c874cfb3bf96d
[ "MIT" ]
2
2019-09-14T23:18:50.000Z
2019-10-02T10:11:40.000Z
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Terminate_Alternative_Statements is function Create (Terminate_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Terminate_Alternative_Statement is begin return Result : Terminate_Alternative_Statement := (Terminate_Token => Terminate_Token, Semicolon_Token => Semicolon_Token, Enclosing_Element => null) do Initialize (Result); end return; end Create; function Create (Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Terminate_Alternative_Statement is begin return Result : Implicit_Terminate_Alternative_Statement := (Is_Part_Of_Implicit => Is_Part_Of_Implicit, Is_Part_Of_Inherited => Is_Part_Of_Inherited, Is_Part_Of_Instance => Is_Part_Of_Instance, Enclosing_Element => null) do Initialize (Result); end return; end Create; overriding function Terminate_Token (Self : Terminate_Alternative_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Terminate_Token; end Terminate_Token; overriding function Semicolon_Token (Self : Terminate_Alternative_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Semicolon_Token; end Semicolon_Token; overriding function Is_Part_Of_Implicit (Self : Implicit_Terminate_Alternative_Statement) return Boolean is begin return Self.Is_Part_Of_Implicit; end Is_Part_Of_Implicit; overriding function Is_Part_Of_Inherited (Self : Implicit_Terminate_Alternative_Statement) return Boolean is begin return Self.Is_Part_Of_Inherited; end Is_Part_Of_Inherited; overriding function Is_Part_Of_Instance (Self : Implicit_Terminate_Alternative_Statement) return Boolean is begin return Self.Is_Part_Of_Instance; end Is_Part_Of_Instance; procedure Initialize (Self : aliased in out Base_Terminate_Alternative_Statement'Class) is begin null; end Initialize; overriding function Is_Terminate_Alternative_Statement_Element (Self : Base_Terminate_Alternative_Statement) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Terminate_Alternative_Statement_Element; overriding function Is_Statement_Element (Self : Base_Terminate_Alternative_Statement) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Statement_Element; overriding procedure Visit (Self : not null access Base_Terminate_Alternative_Statement; Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is begin Visitor.Terminate_Alternative_Statement (Self); end Visit; overriding function To_Terminate_Alternative_Statement_Text (Self : aliased in out Terminate_Alternative_Statement) return Program.Elements.Terminate_Alternative_Statements .Terminate_Alternative_Statement_Text_Access is begin return Self'Unchecked_Access; end To_Terminate_Alternative_Statement_Text; overriding function To_Terminate_Alternative_Statement_Text (Self : aliased in out Implicit_Terminate_Alternative_Statement) return Program.Elements.Terminate_Alternative_Statements .Terminate_Alternative_Statement_Text_Access is pragma Unreferenced (Self); begin return null; end To_Terminate_Alternative_Statement_Text; end Program.Nodes.Terminate_Alternative_Statements;
32.735537
79
0.743247
2f4db03428fb1abe89d61bff35a6f51879cfd43f
6,805
adb
Ada
source/sql/sql-queries-holders.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/sql/sql-queries-holders.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/sql/sql-queries-holders.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- SQL Database Access -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2016, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package body SQL.Queries.Holders is function First_Column (Self : aliased SQL_Query) return League.Holders.Iterable_Holder_Cursors.Cursor'Class; package Column_Holders is new League.Holders.Generic_Iterable_Holders (Element_Type => SQL_Query, First => First_Column); ----------------------------------- -- Query_Iterable_Holder_Cursors -- ----------------------------------- package Query_Iterable_Holder_Cursors is type Cursor is new League.Holders.Iterable_Holder_Cursors.Cursor with record Data : SQL_Query; end record; overriding function Next (Self : in out Cursor) return Boolean; overriding function Element (Self : Cursor) return League.Holders.Holder; end Query_Iterable_Holder_Cursors; package body Query_Iterable_Holder_Cursors is ------------- -- Element -- ------------- overriding function Element (Self : Cursor) return League.Holders.Holder is begin return Column_Holders.To_Holder (Self.Data); end Element; ---------- -- Next -- ---------- overriding function Next (Self : in out Cursor) return Boolean is begin return Self.Data.Next; end Next; end Query_Iterable_Holder_Cursors; ------------------------------------ -- Column_Iterable_Holder_Cursors -- ------------------------------------ package Column_Iterable_Holder_Cursors is type Cursor is new League.Holders.Iterable_Holder_Cursors.Cursor with record Data : SQL_Query; Index : Natural := 0; end record; overriding function Next (Self : in out Cursor) return Boolean; overriding function Element (Self : Cursor) return League.Holders.Holder; end Column_Iterable_Holder_Cursors; package body Column_Iterable_Holder_Cursors is ------------- -- Element -- ------------- overriding function Element (Self : Cursor) return League.Holders.Holder is begin return Self.Data.Value (Self.Index); end Element; ---------- -- Next -- ---------- overriding function Next (Self : in out Cursor) return Boolean is begin Self.Index := Self.Index + 1; return Self.Index < 3; -- FIXME end Next; end Column_Iterable_Holder_Cursors; ----------- -- First -- ----------- function First (Self : aliased SQL_Query) return League.Holders.Iterable_Holder_Cursors.Cursor'Class is begin return Query_Iterable_Holder_Cursors.Cursor'(Data => Self); end First; ------------------ -- First_Column -- ------------------ function First_Column (Self : aliased SQL_Query) return League.Holders.Iterable_Holder_Cursors.Cursor'Class is begin return Column_Iterable_Holder_Cursors.Cursor'(Self, 0); end First_Column; ------------- -- Element -- ------------- function Element (Self : League.Holders.Holder) return SQL_Query renames Holders.Element; --------------------- -- Replace_Element -- --------------------- procedure Replace_Element (Self : in out League.Holders.Holder; To : SQL_Query) renames Holders.Replace_Element; --------------- -- To_Holder -- --------------- function To_Holder (Item : SQL_Query) return League.Holders.Holder renames Holders.To_Holder; end SQL.Queries.Holders;
37.39011
79
0.489199
507f29d837201ff803bbae950d8b014dceaff71c
3,725
adb
Ada
source/cvsweb2git.adb
reznikmm/cvsweb2git
ca55075bd5edce7cb10485f46fa397ee86f5e176
[ "BSD-3-Clause" ]
null
null
null
source/cvsweb2git.adb
reznikmm/cvsweb2git
ca55075bd5edce7cb10485f46fa397ee86f5e176
[ "BSD-3-Clause" ]
null
null
null
source/cvsweb2git.adb
reznikmm/cvsweb2git
ca55075bd5edce7cb10485f46fa397ee86f5e176
[ "BSD-3-Clause" ]
null
null
null
-- BSD 3-Clause License -- -- Copyright (c) 2017, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- -- * Redistributions in binary form must reproduce the above copyright notice, -- this list of conditions and the following disclaimer in the documentation -- and/or other materials provided with the distribution. -- -- * Neither the name of the copyright holder nor the names of its -- contributors may be used to endorse or promote products derived from -- this software without specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -- THE POSSIBILITY OF SUCH DAMAGE. with League.Application; with League.Calendars.ISO_8601; with League.String_Vectors; with League.Strings; with CvsWeb.Loaders; with CvsWeb.Pushers; procedure CvsWeb2git is function To_Date return League.Calendars.Date_Time; Args : constant League.String_Vectors.Universal_String_Vector := League.Application.Arguments; function To_Date return League.Calendars.Date_Time is Result : League.Calendars.Date_Time := League.Calendars.ISO_8601.Create (Year => 1999, Month => 1, Day => 1, Hour => 0, Minute => 0, Second => 0, Nanosecond_100 => 0); begin if Args.Length > 2 then declare use League.Calendars.ISO_8601; List : constant League.String_Vectors.Universal_String_Vector := Args.Element (3).Split ('.'); begin Result := League.Calendars.ISO_8601.Create (Year => Year_Number'Wide_Wide_Value (List (1).To_Wide_Wide_String), Month => Month_Number'Wide_Wide_Value (List (2).To_Wide_Wide_String), Day => Day_Number'Wide_Wide_Value (List (3).To_Wide_Wide_String), Hour => Hour_Number'Wide_Wide_Value (List (4).To_Wide_Wide_String), Minute => Minute_Number'Wide_Wide_Value (List (5).To_Wide_Wide_String), Second => Second_Number'Wide_Wide_Value (List (6).To_Wide_Wide_String), Nanosecond_100 => 0); end; end if; return Result; end To_Date; URL : League.Strings.Universal_String; Root : League.Strings.Universal_String; Loader : CvsWeb.Loaders.Loader; Pusher : CvsWeb.Pushers.Pusher; begin URL := Args.Element (1); Root := Args.Element (2); Loader.Initialize (URL); Pusher.Initialize (Root); Pusher.Push (Loader, Skip => To_Date); end CvsWeb2git;
39.210526
79
0.651812
2f1d902bc5f3d12c25b5b75b30aae8e2ba0a1387
134,311
adb
Ada
apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b/conv2d_b2b/hls_target/.autopilot/db/Loop_1_proc.bind.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
1
2020-06-18T16:51:39.000Z
2020-06-18T16:51:39.000Z
apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b/conv2d_b2b/hls_target/.autopilot/db/Loop_1_proc.bind.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
null
null
null
apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b/conv2d_b2b/hls_target/.autopilot/db/Loop_1_proc.bind.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
1
2020-03-18T00:43:22.000Z
2020-03-18T00:43:22.000Z
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>Loop_1_proc</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>p_hw_input_stencil_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>_hw_input_stencil_stream_to_mul.V.value.V</originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>72</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>p_mul_stencil_update_stream_V_value_V</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="8" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second class_id="9" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first class_id="11" tracking_level="0" version="0"> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName>_mul_stencil_update_stream.V.value.V</originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="12" tracking_level="0" version="0"> <count>47</count> <item_version>0</item_version> <item class_id="13" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>7</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>64</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>64</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>62</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_4"> <Value> <Obj> <type>0</type> <id>9</id> <name>indvar_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>175</item> <item>176</item> <item>177</item> <item>178</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_5"> <Value> <Obj> <type>0</type> <id>10</id> <name>exitcond_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>179</item> <item>181</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_6"> <Value> <Obj> <type>0</type> <id>11</id> <name>indvar_flatten_next</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>182</item> <item>184</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_7"> <Value> <Obj> <type>0</type> <id>12</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>185</item> <item>186</item> <item>187</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_8"> <Value> <Obj> <type>0</type> <id>17</id> <name>tmp_value_V</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>72</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>72</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>64</item> <item>65</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_9"> <Value> <Obj> <type>0</type> <id>18</id> <name>p_238</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>122</lineNumber> <contextFuncName>operator Stencil</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator Stencil</second> </first> <second>122</second> </item> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName>_238</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>66</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_10"> <Value> <Obj> <type>0</type> <id>19</id> <name>p_243_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>84</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>84</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>67</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_11"> <Value> <Obj> <type>0</type> <id>20</id> <name>p_254</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>122</lineNumber> <contextFuncName>operator Stencil</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator Stencil</second> </first> <second>122</second> </item> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName>_254</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>69</item> <item>70</item> <item>72</item> <item>74</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_12"> <Value> <Obj> <type>0</type> <id>21</id> <name>p_259_cast_cast</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>122</lineNumber> <contextFuncName>operator Stencil</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator Stencil</second> </first> <second>122</second> </item> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>75</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_13"> <Value> <Obj> <type>0</type> <id>22</id> <name>p_286</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>122</lineNumber> <contextFuncName>operator Stencil</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator Stencil</second> </first> <second>122</second> </item> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName>_286</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>76</item> <item>77</item> <item>79</item> <item>81</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_14"> <Value> <Obj> <type>0</type> <id>23</id> <name>p_291_cast_cast</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>122</lineNumber> <contextFuncName>operator Stencil</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator Stencil</second> </first> <second>122</second> </item> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>82</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_15"> <Value> <Obj> <type>0</type> <id>24</id> <name>p_302</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>122</lineNumber> <contextFuncName>operator Stencil</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator Stencil</second> </first> <second>122</second> </item> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName>_302</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>83</item> <item>84</item> <item>86</item> <item>88</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_16"> <Value> <Obj> <type>0</type> <id>25</id> <name>p_307_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>156</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>156</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>89</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_17"> <Value> <Obj> <type>0</type> <id>26</id> <name>tmp_1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>72</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>91</item> <item>92</item> <item>94</item> <item>96</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_18"> <Value> <Obj> <type>0</type> <id>27</id> <name>p_250</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>92</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>92</second> </item> </second> </item> </inlineStackInfo> <originalName>_250</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>98</item> <item>99</item> <item>101</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_19"> <Value> <Obj> <type>0</type> <id>28</id> <name>p_251_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>93</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>93</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>102</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_20"> <Value> <Obj> <type>0</type> <id>29</id> <name>p_252</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>94</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>94</second> </item> </second> </item> </inlineStackInfo> <originalName>_252</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>103</item> <item>104</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_21"> <Value> <Obj> <type>0</type> <id>30</id> <name>p_252_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>94</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>94</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>105</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_22"> <Value> <Obj> <type>0</type> <id>31</id> <name>tmp_2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>72</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>106</item> <item>107</item> <item>109</item> <item>111</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_23"> <Value> <Obj> <type>0</type> <id>32</id> <name>p_266</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>110</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>110</second> </item> </second> </item> </inlineStackInfo> <originalName>_266</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>112</item> <item>113</item> <item>114</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_24"> <Value> <Obj> <type>0</type> <id>33</id> <name>p_267_cast_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>112</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>112</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>115</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_25"> <Value> <Obj> <type>0</type> <id>34</id> <name>tmp1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>112</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>112</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>116</item> <item>117</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_26"> <Value> <Obj> <type>0</type> <id>35</id> <name>tmp1_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>112</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>112</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>118</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_27"> <Value> <Obj> <type>0</type> <id>36</id> <name>p_268</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>112</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>112</second> </item> </second> </item> </inlineStackInfo> <originalName>_268</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>119</item> <item>120</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_28"> <Value> <Obj> <type>0</type> <id>37</id> <name>p_268_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>112</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>112</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>121</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_29"> <Value> <Obj> <type>0</type> <id>38</id> <name>tmp_3</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>72</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>123</item> <item>124</item> <item>126</item> <item>128</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_30"> <Value> <Obj> <type>0</type> <id>39</id> <name>p_274</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>119</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>119</second> </item> </second> </item> </inlineStackInfo> <originalName>_274</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>130</item> <item>131</item> <item>133</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_31"> <Value> <Obj> <type>0</type> <id>40</id> <name>p_275_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>120</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>120</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>134</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_32"> <Value> <Obj> <type>0</type> <id>41</id> <name>tmp_4</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>72</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>135</item> <item>136</item> <item>138</item> <item>140</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_33"> <Value> <Obj> <type>0</type> <id>42</id> <name>p_282</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>128</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>128</second> </item> </second> </item> </inlineStackInfo> <originalName>_282</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>141</item> <item>142</item> <item>143</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_34"> <Value> <Obj> <type>0</type> <id>43</id> <name>p_283_cast_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>128</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>128</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>144</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_35"> <Value> <Obj> <type>0</type> <id>44</id> <name>tmp_5</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>72</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>145</item> <item>146</item> <item>148</item> <item>150</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_36"> <Value> <Obj> <type>0</type> <id>45</id> <name>p_298</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>146</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>146</second> </item> </second> </item> </inlineStackInfo> <originalName>_298</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>151</item> <item>152</item> <item>153</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_37"> <Value> <Obj> <type>0</type> <id>46</id> <name>p_299_cast_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>154</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_38"> <Value> <Obj> <type>0</type> <id>47</id> <name>tmp2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>155</item> <item>156</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_39"> <Value> <Obj> <type>0</type> <id>48</id> <name>tmp4</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>157</item> <item>158</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_40"> <Value> <Obj> <type>0</type> <id>49</id> <name>tmp4_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>159</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_41"> <Value> <Obj> <type>0</type> <id>50</id> <name>tmp3</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>160</item> <item>161</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_42"> <Value> <Obj> <type>0</type> <id>51</id> <name>tmp3_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>162</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_43"> <Value> <Obj> <type>0</type> <id>52</id> <name>p_300</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName>_300</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>163</item> <item>164</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_44"> <Value> <Obj> <type>0</type> <id>53</id> <name>p_300_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>165</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_45"> <Value> <Obj> <type>0</type> <id>54</id> <name>p_308</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>157</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>157</second> </item> </second> </item> </inlineStackInfo> <originalName>_308</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>166</item> <item>167</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_46"> <Value> <Obj> <type>0</type> <id>55</id> <name>tmp_value_V_5</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>157</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>157</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>168</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_47"> <Value> <Obj> <type>0</type> <id>56</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>159</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>170</item> <item>171</item> <item>172</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_48"> <Value> <Obj> <type>0</type> <id>58</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>66</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>173</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="13" object_id="_49"> <Value> <Obj> <type>0</type> <id>60</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>21</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_50"> <Value> <Obj> <type>2</type> <id>71</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>16</content> </item> <item class_id_reference="16" object_id="_51"> <Value> <Obj> <type>2</type> <id>73</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>23</content> </item> <item class_id_reference="16" object_id="_52"> <Value> <Obj> <type>2</type> <id>78</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>48</content> </item> <item class_id_reference="16" object_id="_53"> <Value> <Obj> <type>2</type> <id>80</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>55</content> </item> <item class_id_reference="16" object_id="_54"> <Value> <Obj> <type>2</type> <id>85</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>64</content> </item> <item class_id_reference="16" object_id="_55"> <Value> <Obj> <type>2</type> <id>87</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>71</content> </item> <item class_id_reference="16" object_id="_56"> <Value> <Obj> <type>2</type> <id>93</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>8</content> </item> <item class_id_reference="16" object_id="_57"> <Value> <Obj> <type>2</type> <id>95</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>14</content> </item> <item class_id_reference="16" object_id="_58"> <Value> <Obj> <type>2</type> <id>100</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_59"> <Value> <Obj> <type>2</type> <id>108</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>24</content> </item> <item class_id_reference="16" object_id="_60"> <Value> <Obj> <type>2</type> <id>110</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>30</content> </item> <item class_id_reference="16" object_id="_61"> <Value> <Obj> <type>2</type> <id>125</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>32</content> </item> <item class_id_reference="16" object_id="_62"> <Value> <Obj> <type>2</type> <id>127</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>37</content> </item> <item class_id_reference="16" object_id="_63"> <Value> <Obj> <type>2</type> <id>132</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_64"> <Value> <Obj> <type>2</type> <id>137</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>40</content> </item> <item class_id_reference="16" object_id="_65"> <Value> <Obj> <type>2</type> <id>139</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>46</content> </item> <item class_id_reference="16" object_id="_66"> <Value> <Obj> <type>2</type> <id>147</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>56</content> </item> <item class_id_reference="16" object_id="_67"> <Value> <Obj> <type>2</type> <id>149</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>62</content> </item> <item class_id_reference="16" object_id="_68"> <Value> <Obj> <type>2</type> <id>174</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_69"> <Value> <Obj> <type>2</type> <id>180</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>4</content> </item> <item class_id_reference="16" object_id="_70"> <Value> <Obj> <type>2</type> <id>183</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_71"> <Obj> <type>3</type> <id>8</id> <name>newFuncRoot</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>7</item> </node_objs> </item> <item class_id_reference="18" object_id="_72"> <Obj> <type>3</type> <id>13</id> <name>.preheader40</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>9</item> <item>10</item> <item>11</item> <item>12</item> </node_objs> </item> <item class_id_reference="18" object_id="_73"> <Obj> <type>3</type> <id>59</id> <name>.preheader40.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>41</count> <item_version>0</item_version> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>58</item> </node_objs> </item> <item class_id_reference="18" object_id="_74"> <Obj> <type>3</type> <id>61</id> <name>.preheader39.preheader.0.exitStub</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>60</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>87</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_75"> <id>62</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>7</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>65</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>66</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>67</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>70</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>72</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>74</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>75</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>77</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>79</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>81</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>82</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>84</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>86</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>88</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>89</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>92</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_92"> <id>94</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_93"> <id>96</id> <edge_type>1</edge_type> <source_obj>95</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_94"> <id>99</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>101</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>102</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>103</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_98"> <id>104</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_99"> <id>105</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_100"> <id>107</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_101"> <id>109</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_102"> <id>111</id> <edge_type>1</edge_type> <source_obj>110</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_103"> <id>113</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_104"> <id>114</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_105"> <id>115</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_106"> <id>116</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_107"> <id>117</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_108"> <id>118</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_109"> <id>119</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_110"> <id>120</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_111"> <id>121</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_112"> <id>124</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_113"> <id>126</id> <edge_type>1</edge_type> <source_obj>125</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_114"> <id>128</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_115"> <id>131</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_116"> <id>133</id> <edge_type>1</edge_type> <source_obj>132</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_117"> <id>134</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_118"> <id>136</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_119"> <id>138</id> <edge_type>1</edge_type> <source_obj>137</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_120"> <id>140</id> <edge_type>1</edge_type> <source_obj>139</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_121"> <id>142</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_122"> <id>143</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_123"> <id>144</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_124"> <id>146</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_125"> <id>148</id> <edge_type>1</edge_type> <source_obj>147</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_126"> <id>150</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_127"> <id>152</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_128"> <id>153</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_129"> <id>154</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_130"> <id>155</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_131"> <id>156</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_132"> <id>157</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_133"> <id>158</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_134"> <id>159</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_135"> <id>160</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_136"> <id>161</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_137"> <id>162</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_138"> <id>163</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_139"> <id>164</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_140"> <id>165</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_141"> <id>166</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_142"> <id>167</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_143"> <id>168</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_144"> <id>171</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_145"> <id>172</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_146"> <id>173</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_147"> <id>175</id> <edge_type>1</edge_type> <source_obj>174</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_148"> <id>176</id> <edge_type>2</edge_type> <source_obj>8</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_149"> <id>177</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_150"> <id>178</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_151"> <id>179</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_152"> <id>181</id> <edge_type>1</edge_type> <source_obj>180</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_153"> <id>182</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_154"> <id>184</id> <edge_type>1</edge_type> <source_obj>183</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_155"> <id>185</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_156"> <id>186</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_157"> <id>187</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_158"> <id>274</id> <edge_type>2</edge_type> <source_obj>8</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_159"> <id>275</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_160"> <id>276</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_161"> <id>277</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>13</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_162"> <mId>1</mId> <mTag>Loop_1_proc</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>9</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_163"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>8</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_164"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>13</item> <item>59</item> </basic_blocks> <mII>1</mII> <mDepth>5</mDepth> <mMinTripCount>4</mMinTripCount> <mMaxTripCount>4</mMaxTripCount> <mMinLatency>7</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_165"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>61</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_166"> <states class_id="25" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_167"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_168"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_169"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_170"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_171"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_172"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_173"> <id>2</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_174"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_175"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_176"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_177"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_178"> <id>3</id> <operations> <count>22</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_179"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_180"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_181"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_182"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_183"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_184"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_185"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_186"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_187"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_188"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_189"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_190"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_191"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_192"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_193"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_194"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_195"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_196"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_197"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_198"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_199"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_200"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_201"> <id>4</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_202"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_203"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_204"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_205"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_206"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_207"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_208"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_209"> <id>5</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_210"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_211"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_212"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_213"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_214"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_215"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_216"> <id>6</id> <operations> <count>10</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_217"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_218"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_219"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_220"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_221"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_222"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_223"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_224"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_225"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_226"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_227"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_228"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_229"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>12</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_230"> <inState>3</inState> <outState>4</outState> <condition> <id>22</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_231"> <inState>4</inState> <outState>5</outState> <condition> <id>23</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_232"> <inState>5</inState> <outState>6</outState> <condition> <id>24</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_233"> <inState>6</inState> <outState>2</outState> <condition> <id>25</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_234"> <inState>2</inState> <outState>7</outState> <condition> <id>21</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>10</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_235"> <inState>2</inState> <outState>3</outState> <condition> <id>26</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>10</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>47</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>7</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>2</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>8</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>59</first> <second> <first>2</first> <second>5</second> </second> </item> <item> <first>61</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="44" tracking_level="1" version="0" object_id="_236"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>13</item> <item>59</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>5</pipe_depth> </item> </regions> <dp_fu_nodes class_id="45" tracking_level="0" version="0"> <count>43</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>90</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>96</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>107</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>114</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>120</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>126</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>130</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>134</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>144</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>148</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>158</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>162</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>172</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>182</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>190</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>194</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>200</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>210</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>218</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>222</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>228</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>238</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>248</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>258</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>266</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>270</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>276</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>279</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>282</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>288</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>295</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>299</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>302</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>308</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>311</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>318</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>322</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>328</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>331</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>337</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>340</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>343</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>349</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="48" tracking_level="0" version="0"> <count>41</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>exitcond_flatten_fu_114</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>indvar_flatten_next_fu_120</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>indvar_flatten_phi_fu_107</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>p_238_fu_126</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>p_243_cast_fu_130</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>p_250_fu_182</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>p_251_cast_fu_190</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>p_252_cast_fu_276</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>p_252_fu_194</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>p_254_fu_134</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>p_259_cast_cast_fu_144</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>p_266_fu_210</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>p_267_cast_cast_fu_218</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>p_268_cast_fu_308</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>p_268_fu_282</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>p_274_fu_311</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>p_275_cast_fu_318</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>p_282_fu_288</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>p_283_cast_cast_fu_295</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>p_286_fu_148</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>p_291_cast_cast_fu_158</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>p_298_fu_258</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>p_299_cast_cast_fu_266</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>p_300_cast_fu_340</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>p_300_fu_331</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>p_302_fu_162</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>p_307_cast_fu_337</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>p_308_fu_343</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>tmp1_cast_fu_279</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>tmp1_fu_222</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp2_fu_322</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>tmp3_cast_fu_328</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>tmp3_fu_302</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>tmp4_cast_fu_299</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>tmp4_fu_270</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>tmp_1_fu_172</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_2_fu_200</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>tmp_3_fu_228</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_4_fu_238</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>tmp_5_fu_248</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>tmp_value_V_5_fu_349</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>2</count> <item_version>0</item_version> <item> <first>StgValue_59_write_fu_96</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>tmp_value_V_read_fu_90</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="50" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>12</count> <item_version>0</item_version> <item> <first>103</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>354</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>358</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>363</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>368</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>373</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>378</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>383</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>388</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>393</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>398</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>403</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>12</count> <item_version>0</item_version> <item> <first>exitcond_flatten_reg_354</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>indvar_flatten_next_reg_358</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>indvar_flatten_reg_103</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>p_252_reg_368</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>p_268_reg_393</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>p_300_reg_403</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>p_302_reg_363</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>tmp1_reg_373</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp3_reg_398</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>tmp4_reg_388</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>tmp_3_reg_378</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_4_reg_383</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>1</count> <item_version>0</item_version> <item> <first>103</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>1</count> <item_version>0</item_version> <item> <first>indvar_flatten_reg_103</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="51" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>p_hw_input_stencil_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </second> </item> <item> <first>p_mul_stencil_update_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="53" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>1</first> <second>FIFO_SRL</second> </item> <item> <first>2</first> <second>FIFO_SRL</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
26.019179
141
0.594843
fbe6703f3a654c4b6aa66a99d4dd7efbf96fae25
63,318
adb
Ada
apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen/sharpen/hls_target/.autopilot/db/linebuffer_Loop_1_pr.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
1
2020-06-18T16:51:39.000Z
2020-06-18T16:51:39.000Z
apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen/sharpen/hls_target/.autopilot/db/linebuffer_Loop_1_pr.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
null
null
null
apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen/sharpen/hls_target/.autopilot/db/linebuffer_Loop_1_pr.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
1
2020-03-18T00:43:22.000Z
2020-03-18T00:43:22.000Z
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>linebuffer_Loop_1_pr</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>in_axi_stream_V_value_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;AxiPackedStencil&amp;lt;unsigned char, 1, 1, 1, 1&amp;gt; &amp;gt;.V.value.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>in_axi_stream_V_last_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;AxiPackedStencil&amp;lt;unsigned char, 1, 1, 1, 1&amp;gt; &amp;gt;.V.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>in_stream_V_value_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>6</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>24</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>8</id> <name>indvar_flatten</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>36</item> <item>37</item> <item>38</item> <item>39</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>9</id> <name>exitcond_flatten</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>exitcond_flatten_fu_74_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>40</item> <item>42</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>10</id> <name>indvar_flatten_next</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>indvar_flatten_next_fu_80_p2</rtlName> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>43</item> <item>45</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>11</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>46</item> <item>47</item> <item>48</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>16</id> <name>empty_19</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>554</lineNumber> <contextFuncName>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second class_id="12" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="13" tracking_level="0" version="0"> <first class_id="14" tracking_level="0" version="0"> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>554</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>26</item> <item>27</item> <item>28</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>17</id> <name>tmp_value_V</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>554</lineNumber> <contextFuncName>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>554</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>29</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>18</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>554</lineNumber> <contextFuncName>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>554</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>31</item> <item>32</item> <item>33</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>20</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>552</lineNumber> <contextFuncName>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;1920, 1080, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>552</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>34</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>22</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_14"> <Value> <Obj> <type>2</type> <id>35</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_15"> <Value> <Obj> <type>2</type> <id>41</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>2073600</content> </item> <item class_id_reference="16" object_id="_16"> <Value> <Obj> <type>2</type> <id>44</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_17"> <Obj> <type>3</type> <id>7</id> <name>newFuncRoot</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>6</item> </node_objs> </item> <item class_id_reference="18" object_id="_18"> <Obj> <type>3</type> <id>12</id> <name>.preheader.i</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>8</item> <item>9</item> <item>10</item> <item>11</item> </node_objs> </item> <item class_id_reference="18" object_id="_19"> <Obj> <type>3</type> <id>21</id> <name>.preheader4.i</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>16</item> <item>17</item> <item>18</item> <item>20</item> </node_objs> </item> <item class_id_reference="18" object_id="_20"> <Obj> <type>3</type> <id>23</id> <name>.critedge.exitStub</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>22</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>22</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_21"> <id>24</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>6</sink_obj> </item> <item class_id_reference="20" object_id="_22"> <id>27</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_23"> <id>28</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_24"> <id>29</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_25"> <id>32</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_26"> <id>33</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_27"> <id>34</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_28"> <id>36</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_29"> <id>37</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_30"> <id>38</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_31"> <id>39</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_32"> <id>40</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_33"> <id>42</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_34"> <id>43</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_35"> <id>45</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_36"> <id>46</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_37"> <id>47</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_38"> <id>48</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_39"> <id>108</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_40"> <id>109</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_41"> <id>110</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_42"> <id>111</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>12</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_43"> <mId>1</mId> <mTag>linebuffer_Loop_1_pr</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2073602</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_44"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>7</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_45"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>12</item> <item>21</item> </basic_blocks> <mII>1</mII> <mDepth>2</mDepth> <mMinTripCount>2073600</mMinTripCount> <mMaxTripCount>2073600</mMaxTripCount> <mMinLatency>2073600</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_46"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>23</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_47"> <states class_id="25" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_48"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_49"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_50"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_51"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_52"> <id>2</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_53"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_54"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_55"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_56"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_57"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_58"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_59"> <id>3</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_60"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_61"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_62"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_63"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_64"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_65"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_66"> <id>4</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_67"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_68"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>12</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_69"> <inState>3</inState> <outState>2</outState> <condition> <id>20</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_70"> <inState>2</inState> <outState>4</outState> <condition> <id>19</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>9</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_71"> <inState>2</inState> <outState>3</outState> <condition> <id>21</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>9</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="36" tracking_level="1" version="0" object_id="_72"> <dp_component_resource class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_resource> <dp_expression_resource> <count>9</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>ap_block_pp0_stage0_flag00001001 ( or ) </first> <second class_id="39" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_state1 ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_state2_pp0_stage0_iter0 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_state3_pp0_stage0_iter1 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_enable_pp0 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>exitcond_flatten_fu_74_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>21</second> </item> <item> <first>(1P1)</first> <second>16</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>indvar_flatten_next_fu_80_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>21</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>68</second> </item> <item> <first>LUT</first> <second>26</second> </item> </second> </item> <item> <first>start_write ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> </dp_expression_resource> <dp_fifo_resource> <count>0</count> <item_version>0</item_version> </dp_fifo_resource> <dp_memory_resource> <count>0</count> <item_version>0</item_version> </dp_memory_resource> <dp_multiplexer_resource> <count>8</count> <item_version>0</item_version> <item> <first>ap_NS_fsm</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>4</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>4</second> </item> <item> <first>LUT</first> <second>21</second> </item> </second> </item> <item> <first>ap_done</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>3</second> </item> <item> <first>LUT</first> <second>15</second> </item> </second> </item> <item> <first>in_axi_stream_V_last_V_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>in_axi_stream_V_value_V_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>in_stream_V_value_V_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>indvar_flatten_reg_63</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>21</second> </item> <item> <first>(2Count)</first> <second>42</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>real_start</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>10</count> <item_version>0</item_version> <item> <first>ap_CS_fsm</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>3</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>3</second> </item> </second> </item> <item> <first>ap_done_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter0</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>exitcond_flatten_reg_90</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>indvar_flatten_reg_63</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>21</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>21</second> </item> </second> </item> <item> <first>real_start_status_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>start_control_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>start_once_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_value_V_reg_99</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>8</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>8</second> </item> </second> </item> </dp_register_resource> <dp_component_map class_id="41" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_map> <dp_expression_map> <count>2</count> <item_version>0</item_version> <item class_id="42" tracking_level="0" version="0"> <first>exitcond_flatten_fu_74_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>indvar_flatten_next_fu_80_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>0</count> <item_version>0</item_version> </dp_memory_map> </res> <node_label_latency class_id="43" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>6</first> <second class_id="45" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>8</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>2</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="46" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="47" tracking_level="0" version="0"> <first>7</first> <second class_id="48" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>2</second> </second> </item> <item> <first>23</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="49" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="50" tracking_level="1" version="0" object_id="_73"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>12</item> <item>21</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>2</pipe_depth> </item> </regions> <dp_fu_nodes class_id="51" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>48</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>56</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>67</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>74</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>80</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>86</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="54" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>exitcond_flatten_fu_74</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>indvar_flatten_next_fu_80</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>indvar_flatten_phi_fu_67</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>tmp_value_V_fu_86</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>2</count> <item_version>0</item_version> <item> <first>StgValue_17_write_fu_56</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>empty_19_read_fu_48</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="56" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>4</count> <item_version>0</item_version> <item> <first>63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>90</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>94</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>99</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>4</count> <item_version>0</item_version> <item> <first>exitcond_flatten_reg_90</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>indvar_flatten_next_reg_94</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>indvar_flatten_reg_63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>tmp_value_V_reg_99</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>1</count> <item_version>0</item_version> <item> <first>63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>1</count> <item_version>0</item_version> <item> <first>indvar_flatten_reg_63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="57" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="58" tracking_level="0" version="0"> <first>in_axi_stream_V_last_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> </second> </item> <item> <first>in_axi_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> </second> </item> <item> <first>in_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="59" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>3</first> <second>FIFO_SRL</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
30.26673
133
0.449619
5996a1fa4e707d748b309a885387212fe90a9e7c
1,287
ads
Ada
src/syscalls/ewok-syscalls-lock.ads
PThierry/ewok-kernel
e9c23cb3fd0afd8378bc27418778e1117d5e16cc
[ "Apache-2.0" ]
null
null
null
src/syscalls/ewok-syscalls-lock.ads
PThierry/ewok-kernel
e9c23cb3fd0afd8378bc27418778e1117d5e16cc
[ "Apache-2.0" ]
null
null
null
src/syscalls/ewok-syscalls-lock.ads
PThierry/ewok-kernel
e9c23cb3fd0afd8378bc27418778e1117d5e16cc
[ "Apache-2.0" ]
null
null
null
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with ewok.tasks; with ewok.tasks_shared; package ewok.syscalls.lock with spark_mode => off is procedure svc_lock_enter (caller_id : in ewok.tasks_shared.t_task_id; mode : in ewok.tasks_shared.t_task_mode) with global => (output => ewok.tasks.tasks_list); procedure svc_lock_exit (caller_id : in ewok.tasks_shared.t_task_id; mode : in ewok.tasks_shared.t_task_mode) with global => (output => ewok.tasks.tasks_list); end ewok.syscalls.lock;
29.930233
79
0.688423
a1c23b7998c4ab328d8516d2320ff0bb3bb98d14
9,285
ads
Ada
runtime/ravenscar-sfp-stm32f427/arch/system.ads
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
12
2017-06-08T14:19:57.000Z
2022-03-09T02:48:59.000Z
runtime/ravenscar-sfp-stm32f427/arch/system.ads
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
6
2017-06-08T13:13:50.000Z
2020-05-15T09:32:43.000Z
runtime/ravenscar-sfp-stm32f427/arch/system.ads
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
3
2017-06-30T14:05:06.000Z
2022-02-17T12:20:45.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M -- -- -- -- S p e c -- -- (ARM Cortex M4 Version) -- -- -- -- Copyright (C) 1992-2016, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Modified for STM32F4(27) by Martin Becker (becker@rcs.ei.tum.de) -- -- + Denorm=True -- pragma Restrictions (No_Exception_Propagation); -- Only local exception handling is supported in this profile pragma Restrictions (No_Exception_Registration); -- Disable exception name registration. This capability is not used because -- it is only required by exception stream attributes which are not supported -- in this run time. pragma Restrictions (No_Implicit_Dynamic_Code); -- Pointers to nested subprograms are not allowed in this run time, in order -- to prevent the compiler from building "trampolines". pragma Restrictions (No_Finalization); -- Controlled types are not supported in this run time pragma Profile (Ravenscar); -- This is a Ravenscar run time pragma Restrictions (No_Task_At_Interrupt_Priority); -- On Cortex-M, it is not possible to have tasks at Interrupt_Priority, as -- the context switch is triggered by the Pend_SV interrupt, which is at -- lowest priority. pragma Discard_Names; -- Disable explicitly the generation of names associated with entities in -- order to reduce the amount of storage used. These names are not used anyway -- (attributes such as 'Image and 'Value are not supported in this run time). package System is pragma Pure; -- Note that we take advantage of the implementation permission to make -- this unit Pure instead of Preelaborable; see RM 13.7.1(15). In Ada -- 2005, this is Pure in any case (AI-362). pragma No_Elaboration_Code_All; -- Allow the use of that restriction in units that WITH this unit type Name is (SYSTEM_NAME_GNAT); System_Name : constant Name := SYSTEM_NAME_GNAT; -- System-Dependent Named Numbers Min_Int : constant := Long_Long_Integer'First; Max_Int : constant := Long_Long_Integer'Last; Max_Binary_Modulus : constant := 2 ** Long_Long_Integer'Size; Max_Nonbinary_Modulus : constant := 2 ** Integer'Size - 1; Max_Base_Digits : constant := Long_Long_Float'Digits; Max_Digits : constant := Long_Long_Float'Digits; Max_Mantissa : constant := 63; Fine_Delta : constant := 2.0 ** (-Max_Mantissa); Tick : constant := 0.000_001; -- Storage-related Declarations type Address is private; pragma Preelaborable_Initialization (Address); Null_Address : constant Address; Storage_Unit : constant := 8; Word_Size : constant := 32; Memory_Size : constant := 2 ** 32; -- Address comparison function "<" (Left, Right : Address) return Boolean; function "<=" (Left, Right : Address) return Boolean; function ">" (Left, Right : Address) return Boolean; function ">=" (Left, Right : Address) return Boolean; function "=" (Left, Right : Address) return Boolean; pragma Import (Intrinsic, "<"); pragma Import (Intrinsic, "<="); pragma Import (Intrinsic, ">"); pragma Import (Intrinsic, ">="); pragma Import (Intrinsic, "="); -- Other System-Dependent Declarations type Bit_Order is (High_Order_First, Low_Order_First); Default_Bit_Order : constant Bit_Order := Bit_Order'Val (Standard'Default_Bit_Order); pragma Warnings (Off, Default_Bit_Order); -- kill constant condition warning -- Priority-related Declarations (RM D.1) -- 241 .. 255 corresponds to priority level 15 .. 1 Max_Interrupt_Priority : constant Positive := 255; Max_Priority : constant Positive := 240; subtype Any_Priority is Integer range 0 .. 255; subtype Priority is Any_Priority range 0 .. 240; subtype Interrupt_Priority is Any_Priority range 241 .. 255; Default_Priority : constant Priority := 120; private type Address is mod Memory_Size; Null_Address : constant Address := 0; -------------------------------------- -- System Implementation Parameters -- -------------------------------------- -- These parameters provide information about the target that is used by -- the compiler. They are in the private part of System, where they can be -- accessed using the special circuitry in the Targparm unit whose source -- should be consulted for more detailed descriptions of the individual -- switch values. -- see https://www2.adacore.com/gap-static/GNAT_Book/html/ -- frontend/targparm__ads.htm -- Attributes are only true if the target *reliably* supports features. -- Reliably means, for all settings of the relevant compiler switches, -- since we cannot control the user setting of these switches. Atomic_Sync_Default : constant Boolean := False; Backend_Divide_Checks : constant Boolean := False; -- frontend must generate checks Backend_Overflow_Checks : constant Boolean := True; -- backend or HW generates OVF checks Command_Line_Args : constant Boolean := False; -- does target take cmd lines? Configurable_Run_Time : constant Boolean := True; Denorm : constant Boolean := True; -- set to True if target reliably supports denormals with flag "-m.." Duration_32_Bits : constant Boolean := False; Exit_Status_Supported : constant Boolean := False; Fractional_Fixed_Ops : constant Boolean := False; Frontend_Layout : constant Boolean := False; Machine_Overflows : constant Boolean := False; -- S'Machine_Overflows Machine_Rounds : constant Boolean := True; -- S'Machine_Rounds Preallocated_Stacks : constant Boolean := True; Signed_Zeros : constant Boolean := True; Stack_Check_Default : constant Boolean := False; -- stack checking is off by default Stack_Check_Probes : constant Boolean := False; -- target does not probe stack Stack_Check_Limits : constant Boolean := False; Support_Aggregates : constant Boolean := True; Support_Composite_Assign : constant Boolean := True; Support_Composite_Compare : constant Boolean := True; Support_Long_Shifts : constant Boolean := True; Always_Compatible_Rep : constant Boolean := True; Suppress_Standard_Library : constant Boolean := True; Use_Ada_Main_Program_Name : constant Boolean := False; Frontend_Exceptions : constant Boolean := False; ZCX_By_Default : constant Boolean := True; -- zero-cost exceptions are active end System;
44.425837
79
0.572213
2f70fb32f16d31e7f8ebbca347bf20914b1a9d11
3,889
adb
Ada
source/web/tools/wsdl2ada/wsdl-ast.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/web/tools/wsdl2ada/wsdl-ast.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/web/tools/wsdl2ada/wsdl-ast.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with League.Strings.Hash; package body WSDL.AST is use type League.Strings.Universal_String; ---------- -- Hash -- ---------- function Hash (Item : Qualified_Name) return Ada.Containers.Hash_Type is begin return League.Strings.Hash (Item.Namespace_URI & Item.Local_Name); end Hash; ----------- -- Image -- ----------- function Image (Item : Qualified_Name) return League.Strings.Universal_String is begin return '{' & Item.Namespace_URI & '}' & Item.Local_Name; end Image; end WSDL.AST;
55.557143
78
0.416045
121c29acd58616b16a7f1eced90be91bea2d85a9
3,681
ads
Ada
llvm-gcc-4.2-2.9/gcc/ada/s-pack60.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/s-pack60.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/s-pack60.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 6 0 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Handling of packed arrays with Component_Size = 60 package System.Pack_60 is pragma Preelaborate; Bits : constant := 60; type Bits_60 is mod 2 ** Bits; for Bits_60'Size use Bits; function Get_60 (Arr : System.Address; N : Natural) return Bits_60; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. procedure Set_60 (Arr : System.Address; N : Natural; E : Bits_60); -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. function GetU_60 (Arr : System.Address; N : Natural) return Bits_60; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. This version -- is used when Arr may represent an unaligned address. procedure SetU_60 (Arr : System.Address; N : Natural; E : Bits_60); -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. This version -- is used when Arr may represent an unaligned address end System.Pack_60;
58.428571
78
0.499593
1dd55c9e55914ce15023a56daf92debf0a0f2a45
2,365
adb
Ada
regtests/util-properties-form-tests.adb
My-Colaborations/ada-util
039b219f8247e541e281bba73b61f683c52db579
[ "Apache-2.0" ]
null
null
null
regtests/util-properties-form-tests.adb
My-Colaborations/ada-util
039b219f8247e541e281bba73b61f683c52db579
[ "Apache-2.0" ]
null
null
null
regtests/util-properties-form-tests.adb
My-Colaborations/ada-util
039b219f8247e541e281bba73b61f683c52db579
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- util-properties-form-tests -- Test reading JSON file into properties -- Copyright (C) 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Test_Caller; with Util.Files; package body Util.Properties.Form.Tests is package Caller is new Util.Test_Caller (Test, "Properties.Properties.Form"); procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is begin Caller.Add_Test (Suite, "Test Util.Properties.Form.Parse_Form", Test_Parse_Form'Access); end Add_Tests; -- Test loading a JSON file into a properties object. procedure Test_Parse_Form (T : in out Test) is procedure Check (Name : in String; Value : in String); P : Util.Properties.Manager; procedure Check (Name : in String; Value : in String) is begin T.Assert (P.Exists (Name), "Missing property: " & Name); Util.Tests.Assert_Equals (T, Value, String '(P.Get (Name)), "Invalid property: " & Name); end Check; Path : constant String := Util.Tests.Get_Test_Path ("regtests/files/test-1.form"); S : Ada.Strings.Unbounded.Unbounded_String; begin Util.Files.Read_File (Path, S); Util.Properties.Form.Parse_Form (P, Ada.Strings.Unbounded.To_String (S)); Check ("access_token", "97356"); Check ("token_type", "bearer"); Check ("refresh_token_expires_in", "15724800"); Check ("refresh_token", "r1.714b6"); Check ("scope", ""); Check ("scope", ""); end Test_Parse_Form; end Util.Properties.Form.Tests;
38.770492
88
0.616913
599a10e68f48ec88366764c223315fecbce69fd8
22,213
adb
Ada
tools/gen_cases.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
tools/gen_cases.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
tools/gen_cases.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2009-2013, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with Ada.Text_IO; with Matreshka.Internals.Unicode.Ucd; with Put_File_Header; with Ucd_Data; with Utils; procedure Gen_Cases is use Matreshka.Internals.Unicode; use Matreshka.Internals.Unicode.Ucd; use Ucd_Data; use Utils; type String_Access is access constant String; CC_Final_Sigma_Image : aliased constant String := "Final_Sigma"; CC_After_Soft_Dotted_Image : aliased constant String := "After_Soft_Dotted"; CC_More_Above_Image : aliased constant String := "More_Above"; CC_Before_Dot_Image : aliased constant String := "Before_Dot"; CC_After_I_Image : aliased constant String := "After_I"; Casing_Context_Image : array (Casing_Context) of String_Access := (Final_Sigma => CC_Final_Sigma_Image'Access, After_Soft_Dotted => CC_After_Soft_Dotted_Image'Access, More_Above => CC_More_Above_Image'Access, Before_Dot => CC_Before_Dot_Image'Access, After_I => CC_After_I_Image'Access); B_False_Image : aliased constant String := "False"; B_True_Image : aliased constant String := "True"; Boolean_Image : array (Boolean) of String_Access := (False => B_False_Image'Access, True => B_True_Image'Access); type Group_Info is record Share : First_Stage_Index; Count : Natural; end record; Case_Info : array (Code_Point) of Case_Mapping := (others => ((0, 0, 0, 0), ((0, 0), (0, 0), (0, 0), (0, 0)), 0, 0)); Cont_Info : Casing_Context_Mapping_Sequence (Sequence_Index); Cont_Last : Sequence_Count := 0; Case_Seq : Code_Point_Sequence (Sequence_Index); Last_Seq : Sequence_Count := 0; Groups : array (First_Stage_Index) of Group_Info := (others => (0, 0)); Generated : array (First_Stage_Index) of Boolean := (others => False); procedure Append_Mapping (Mapping : Code_Point_Sequence; First : out Sequence_Index; Last : out Sequence_Count); procedure Put (Item : Case_Mapping); -- Output code for specified item. -------------------- -- Append_Mapping -- -------------------- procedure Append_Mapping (Mapping : Code_Point_Sequence; First : out Sequence_Index; Last : out Sequence_Count) is begin if Mapping'Length = 0 then First := 1; Last := 0; end if; for J in 1 .. Last_Seq - Mapping'Length + 1 loop if Case_Seq (J .. J + Mapping'Length - 1) = Mapping then First := J; Last := J + Mapping'Length - 1; return; end if; end loop; First := Last_Seq + 1; for J in Mapping'Range loop Last_Seq := Last_Seq + 1; Case_Seq (Last_Seq) := Mapping (J); end loop; Last := Last_Seq; end Append_Mapping; --------- -- Put -- --------- procedure Put (Item : Case_Mapping) is Column : Ada.Text_IO.Count := Ada.Text_IO.Col; begin Ada.Text_IO.Put ("((16#" & Code_Point_Image (Item.Simple (Lower)) & "#, 16#" & Code_Point_Image (Item.Simple (Upper)) & "#, 16#" & Code_Point_Image (Item.Simple (Title)) & "#, 16#" & Code_Point_Image (Item.Simple (Folding)) & "#),"); Ada.Text_IO.Set_Col (Column); Ada.Text_IO.Put (" ((" & Sequence_Count_Image (Item.Ranges (Lower).First) & ", " & Sequence_Count_Image (Item.Ranges (Lower).Last) & "), (" & Sequence_Count_Image (Item.Ranges (Upper).First) & ", " & Sequence_Count_Image (Item.Ranges (Upper).Last) & "), (" & Sequence_Count_Image (Item.Ranges (Title).First) & ", " & Sequence_Count_Image (Item.Ranges (Title).Last) & "), (" & Sequence_Count_Image (Item.Ranges (Folding).First) & ", " & Sequence_Count_Image (Item.Ranges (Folding).Last) & ")), " & Sequence_Count_Image (Item.Context_First) & ", " & Sequence_Count_Image (Item.Context_Last) & ")"); end Put; begin Ada.Text_IO.Put_Line (Ada.Text_IO.Standard_Error, " ... cases"); -- Construct casing information. for J in Code_Point loop if Core (J).B (Changes_When_Casemapped) or else Core (J).B (Changes_When_Casefolded) then -- Process data for default casing context. -- Uppercase mapping. if Cases (J).FUM.Default /= null then if Cases (J).FUM.Default'Length /= 1 or else Cases (J).FUM.Default (1) /= J then Append_Mapping (Cases (J).FUM.Default.all, Case_Info (J).Ranges (Upper).First, Case_Info (J).Ranges (Upper).Last); end if; else if Cases (J).SUM.Present then Append_Mapping (Code_Point_Sequence'(1 => Cases (J).SUM.C), Case_Info (J).Ranges (Upper).First, Case_Info (J).Ranges (Upper).Last); end if; end if; if Cases (J).SUM.Present then Case_Info (J).Simple (Upper) := Cases (J).SUM.C; else Case_Info (J).Simple (Upper) := 0; end if; -- Lowercase mapping. if Cases (J).FLM.Default /= null then if Cases (J).FLM.Default'Length /= 1 or else Cases (J).FLM.Default (1) /= J then Append_Mapping (Cases (J).FLM.Default.all, Case_Info (J).Ranges (Lower).First, Case_Info (J).Ranges (Lower).Last); end if; else if Cases (J).SLM.Present then Append_Mapping (Code_Point_Sequence'(1 => Cases (J).SLM.C), Case_Info (J).Ranges (Lower).First, Case_Info (J).Ranges (Lower).Last); end if; end if; if Cases (J).SLM.Present then Case_Info (J).Simple (Lower) := Cases (J).SLM.C; else Case_Info (J).Simple (Lower) := 0; end if; -- Titlecase mapping. if Cases (J).FTM.Default /= null then if Cases (J).FTM.Default'Length /= 1 or else Cases (J).FTM.Default (1) /= J then Append_Mapping (Cases (J).FTM.Default.all, Case_Info (J).Ranges (Title).First, Case_Info (J).Ranges (Title).Last); end if; else if Cases (J).STM.Present then Append_Mapping (Code_Point_Sequence'(1 => Cases (J).STM.C), Case_Info (J).Ranges (Title).First, Case_Info (J).Ranges (Title).Last); end if; end if; if Cases (J).STM.Present then Case_Info (J).Simple (Title) := Cases (J).STM.C; else Case_Info (J).Simple (Title) := 0; end if; -- Casefolding mapping. if Cases (J).FCF /= null then if Cases (J).FCF'Length /= 1 or else Cases (J).FCF (1) /= J then Append_Mapping (Cases (J).FCF.all, Case_Info (J).Ranges (Folding).First, Case_Info (J).Ranges (Folding).Last); end if; else if Cases (J).SCF.Present then Append_Mapping (Code_Point_Sequence'(1 => Cases (J).SCF.C), Case_Info (J).Ranges (Folding).First, Case_Info (J).Ranges (Folding).Last); end if; end if; if Cases (J).SCF.Present then Case_Info (J).Simple (Folding) := Cases (J).SCF.C; else Case_Info (J).Simple (Folding) := 0; end if; -- Process data for Final_Sigma casing context. declare R : Casing_Context_Mapping := (Final_Sigma, False, ((0, 0), (0, 0), (0, 0))); begin if Cases (J).FUM.Positive (Final_Sigma) /= null then Append_Mapping (Cases (J).FUM.Positive (Final_Sigma).all, R.Ranges (Upper).First, R.Ranges (Upper).Last); end if; if Cases (J).FLM.Positive (Final_Sigma) /= null then Append_Mapping (Cases (J).FLM.Positive (Final_Sigma).all, R.Ranges (Lower).First, R.Ranges (Lower).Last); end if; if Cases (J).FTM.Positive (Final_Sigma) /= null then Append_Mapping (Cases (J).FTM.Positive (Final_Sigma).all, R.Ranges (Title).First, R.Ranges (Title).Last); end if; if R /= (Final_Sigma, False, ((0, 0), (0, 0), (0, 0))) then Cont_Last := Cont_Last + 1; Cont_Info (Cont_Last) := R; Case_Info (J).Context_First := Cont_Last; Case_Info (J).Context_Last := Cont_Last; end if; end; end if; end loop; -- Pack groups: reuse groups with the same values. for J in Groups'Range loop for K in 0 .. J loop if Case_Info (Code_Unit_32 (K) * 256 .. Code_Unit_32 (K) * 256 + 255) = Case_Info (Code_Unit_32 (J) * 256 .. Code_Unit_32 (J) * 256 + 255) then Groups (J).Share := K; Groups (K).Count := Groups (K).Count + 1; exit; end if; end loop; end loop; -- Generate source code. Put_File_Header ("Localization, Internationalization, Globalization for Ada", 2009, 2013); Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line ("pragma Restrictions (No_Elaboration_Code);"); Ada.Text_IO.Put_Line ("-- GNAT: enforce generation of preinitialized data section instead of"); Ada.Text_IO.Put_Line ("-- generation of elaboration code."); Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line ("package Matreshka.Internals.Unicode.Ucd.Cases is"); Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line (" pragma Preelaborate;"); Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line (" Data : aliased constant Code_Point_Sequence"); for J in 1 .. Last_Seq loop if J = 1 then Ada.Text_IO.Put (" := ("); elsif (J - 1) mod 5 = 0 then Ada.Text_IO.Put_Line (","); Ada.Text_IO.Put (" "); else Ada.Text_IO.Put (", "); end if; Ada.Text_IO.Put (Code_Point_Ada_Image (Case_Seq (J))); end loop; Ada.Text_IO.Put_Line (");"); Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line (" Context : aliased constant Casing_Context_Mapping_Sequence"); for J in 1 .. Cont_Last loop Ada.Text_IO.Put_Line (" := (1 => (" & Casing_Context_Image (Cont_Info (J).Context).all & ", " & Boolean_Image (Cont_Info (J).Negative).all & ", ((" & Sequence_Count_Image (Cont_Info (J).Ranges (Lower).First) & ", " & Sequence_Count_Image (Cont_Info (J).Ranges (Lower).Last) & "), (" & Sequence_Count_Image (Cont_Info (J).Ranges (Upper).First) & ", " & Sequence_Count_Image (Cont_Info (J).Ranges (Upper).Last) & "), (" & Sequence_Count_Image (Cont_Info (J).Ranges (Title).First) & ", " & Sequence_Count_Image (Cont_Info (J).Ranges (Title).Last) & "))));"); end loop; for J in Groups'Range loop if not Generated (Groups (J).Share) then declare Default : Case_Mapping; Current : Case_Mapping; First : Second_Stage_Index; Last : Second_Stage_Index; First_Code : Code_Point; Last_Code : Code_Point; begin -- Looking for most useful set of values, it will be used for -- others selector for generate more compact code. declare type Value_Count_Pair is record V : Case_Mapping; C : Natural; end record; Counts : array (Positive range 1 .. 256) of Value_Count_Pair := (others => <>); Last : Natural := 0; Maximum : Natural := 0; Index : Positive := 1; begin for K in Second_Stage_Index loop declare C : constant Code_Point := Code_Unit_32 (J) * 256 + Code_Unit_32 (K); R : Case_Mapping renames Case_Info (C); F : Boolean := False; begin -- Go throught known values and try to find the same -- value. for L in 1 .. Last loop if Counts (L).V = R then F := True; Counts (L).C := Counts (L).C + 1; if Maximum < Counts (L).C then Maximum := Counts (L).C; Default := Counts (L).V; end if; exit; end if; end loop; -- If value is not found, then add it to the end of list. if not F then Last := Last + 1; Counts (Last) := (R, 1); end if; end; end loop; end; Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line (" Group_" & First_Stage_Image (Groups (J).Share) & " : aliased constant Case_Mapping_Second_Stage"); Ada.Text_IO.Put (" := ("); for K in Second_Stage_Index loop declare Code : constant Code_Point := Code_Unit_32 (J) * 256 + Code_Unit_32 (K); begin if K = Second_Stage_Index'First then Current := Case_Info (Code); First := K; Last := First; First_Code := Code; Last_Code := Code; elsif Case_Info (Code) = Current then Last := K; Last_Code := Code; else if Current /= Default then if First /= Last then Ada.Text_IO.Put_Line ("16#" & Second_Stage_Image (First) & "# .. 16#" & Second_Stage_Image (Last) & "# => -- " & Code_Point_Image (First_Code) & " .. " & Code_Point_Image (Last_Code)); Ada.Text_IO.Set_Col (11); Put (Current); Ada.Text_IO.Put (','); else Ada.Text_IO.Put_Line ("16#" & Second_Stage_Image (First) & "# => -- " & Code_Point_Image (First_Code)); Ada.Text_IO.Set_Col (11); Put (Current); Ada.Text_IO.Put (','); end if; Ada.Text_IO.New_Line; Ada.Text_IO.Set_Col (10); end if; Current := Case_Info (Code); First := K; Last := First; First_Code := Code; Last_Code := First_Code; end if; end; end loop; if Current /= Default then if First /= Last then Ada.Text_IO.Put_Line ("16#" & Second_Stage_Image (First) & "# .. 16#" & Second_Stage_Image (Last) & "# => -- " & Code_Point_Image (First_Code) & " .. " & Code_Point_Image (Last_Code)); Ada.Text_IO.Set_Col (11); Put (Current); Ada.Text_IO.Put (','); else Ada.Text_IO.Put_Line ("16#" & Second_Stage_Image (First) & "# => -- " & Code_Point_Image (First_Code)); Ada.Text_IO.Set_Col (11); Put (Current); Ada.Text_IO.Put (','); end if; Ada.Text_IO.New_Line; Ada.Text_IO.Set_Col (10); end if; Ada.Text_IO.Put_Line ("others =>"); Ada.Text_IO.Set_Col (11); Put (Default); Ada.Text_IO.Put_Line (");"); Generated (J) := True; end; end if; end loop; declare Default : First_Stage_Index := 0; Maximum : Natural := 0; N : Natural := 0; begin for J in Groups'Range loop if Maximum < Groups (J).Count then Maximum := Groups (J).Count; Default := J; end if; end loop; Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line (" Mapping : aliased constant Case_Mapping_First_Stage"); Ada.Text_IO.Put (" := ("); for J in Groups'Range loop if Groups (J).Share /= Default then Ada.Text_IO.Put ("16#" & First_Stage_Image (J) & "# => Group_" & First_Stage_Image (Groups (J).Share) & "'Access,"); case N mod 2 is when 0 => Ada.Text_IO.Set_Col (41); when 1 => Ada.Text_IO.New_Line; Ada.Text_IO.Set_Col (10); when others => raise Program_Error; end case; N := N + 1; end if; end loop; Ada.Text_IO.Put_Line ("others => Group_" & First_Stage_Image (Default) & "'Access);"); end; Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line ("end Matreshka.Internals.Unicode.Ucd.Cases;"); end Gen_Cases;
35.091627
79
0.460271
2fc540bffa74ef9a9021e68d028ae694aa3f1072
1,073
adb
Ada
main.adb
vfinotti/cortex-m0-blinky-ada
9326a0716e67f792b6603d22bacc827f59d0eeba
[ "MIT" ]
null
null
null
main.adb
vfinotti/cortex-m0-blinky-ada
9326a0716e67f792b6603d22bacc827f59d0eeba
[ "MIT" ]
null
null
null
main.adb
vfinotti/cortex-m0-blinky-ada
9326a0716e67f792b6603d22bacc827f59d0eeba
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------- -- Title : Blinky example for Cortex-M0 -- -- File : main.adb -- Author : Vitor Finotti -- Created on : 2019-04-24 19:46:32 -- Description : -- -- -- ------------------------------------------------------------------------------- pragma Restrictions (No_Exceptions); -- avoid __gnat_last_chance_handler being used package body Main is procedure Run is -- Period : constant Integer := 1000000; -- Synthesis period Period : constant Integer := 200; -- Simulation period type Period_Range is range 0 .. Period; type Uint32 is mod 2**32; Led_Toggle : constant := 16#f0f0f0f0#; Counter : Integer := 0; Dummy : Uint32 := 0; begin loop Counter := 0; for I in Period_Range loop Counter := Counter + 1; end loop; Dummy := Led_Toggle; Dummy := Dummy + 1; -- force toggle parameter to change end loop; end Run; end Main;
26.170732
83
0.479963
2ffd48496ec54d70fa0fde911e57a28b221abcca
20,263
ads
Ada
oeml-sdk/ada/src/model/-models.ads
scorninpc/coinapi-sdk
e4ff6b79a26bb412ab9ac5f2d1e4a7cef560b1e7
[ "MIT" ]
null
null
null
oeml-sdk/ada/src/model/-models.ads
scorninpc/coinapi-sdk
e4ff6b79a26bb412ab9ac5f2d1e4a7cef560b1e7
[ "MIT" ]
null
null
null
oeml-sdk/ada/src/model/-models.ads
scorninpc/coinapi-sdk
e4ff6b79a26bb412ab9ac5f2d1e4a7cef560b1e7
[ "MIT" ]
null
null
null
-- OEML _ REST API -- This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> -- -- The version of the OpenAPI document: v1 -- Contact: support@coinapi.io -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.0.0. -- https://openapi-generator.tech -- Do not edit the class manually. with Swagger.Streams; with Ada.Containers.Vectors; package .Models is type Severity_Type is record end record; package Severity_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => Severity_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Severity_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Severity_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Severity_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Severity_Type_Vectors.Vector); -- ------------------------------ -- Message object. -- ------------------------------ type Message_Type is record P_Type : Swagger.Nullable_UString; Severity : .Models.Severity_Type; Exchange_Id : Swagger.Nullable_UString; Message : Swagger.Nullable_UString; end record; package Message_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => Message_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Message_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Message_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Message_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Message_Type_Vectors.Vector); -- ------------------------------ -- JSON validation error. -- ------------------------------ type ValidationError_Type is record P_Type : Swagger.Nullable_UString; Title : Swagger.Nullable_UString; Status : Swagger.Number; Trace_Id : Swagger.Nullable_UString; Errors : Swagger.Nullable_UString; end record; package ValidationError_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => ValidationError_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in ValidationError_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in ValidationError_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out ValidationError_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out ValidationError_Type_Vectors.Vector); type OrdType_Type is record end record; package OrdType_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => OrdType_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrdType_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrdType_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrdType_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrdType_Type_Vectors.Vector); type OrdStatus_Type is record end record; package OrdStatus_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => OrdStatus_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrdStatus_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrdStatus_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrdStatus_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrdStatus_Type_Vectors.Vector); type OrderCancelAllRequest_Type is record Exchange_Id : Swagger.UString; end record; package OrderCancelAllRequest_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => OrderCancelAllRequest_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderCancelAllRequest_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderCancelAllRequest_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderCancelAllRequest_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderCancelAllRequest_Type_Vectors.Vector); type OrderCancelSingleRequest_Type is record Exchange_Id : Swagger.UString; Exchange_Order_Id : Swagger.Nullable_UString; Client_Order_Id : Swagger.Nullable_UString; end record; package OrderCancelSingleRequest_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => OrderCancelSingleRequest_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderCancelSingleRequest_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderCancelSingleRequest_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderCancelSingleRequest_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderCancelSingleRequest_Type_Vectors.Vector); type OrdSide_Type is record end record; package OrdSide_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => OrdSide_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrdSide_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrdSide_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrdSide_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrdSide_Type_Vectors.Vector); type TimeInForce_Type is record end record; package TimeInForce_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => TimeInForce_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in TimeInForce_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in TimeInForce_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out TimeInForce_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out TimeInForce_Type_Vectors.Vector); type OrderNewSingleRequest_Type is record Exchange_Id : Swagger.UString; Client_Order_Id : Swagger.UString; Symbol_Id_Exchange : Swagger.Nullable_UString; Symbol_Id_Coinapi : Swagger.Nullable_UString; Amount_Order : Swagger.Number; Price : Swagger.Number; Side : .Models.OrdSide_Type; Order_Type : .Models.OrdType_Type; Time_In_Force : .Models.TimeInForce_Type; Expire_Time : Swagger.Nullable_Date; Exec_Inst : Swagger.UString_Vectors.Vector; end record; package OrderNewSingleRequest_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => OrderNewSingleRequest_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderNewSingleRequest_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderNewSingleRequest_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderNewSingleRequest_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderNewSingleRequest_Type_Vectors.Vector); -- ------------------------------ -- Relay fill information on working orders. -- ------------------------------ type Fills_Type is record Time : Swagger.Nullable_Date; Price : Swagger.Number; Amount : Swagger.Number; end record; package Fills_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => Fills_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Fills_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Fills_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Fills_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Fills_Type_Vectors.Vector); type OrderExecutionReport_Type is record Exchange_Id : Swagger.UString; Client_Order_Id : Swagger.UString; Symbol_Id_Exchange : Swagger.Nullable_UString; Symbol_Id_Coinapi : Swagger.Nullable_UString; Amount_Order : Swagger.Number; Price : Swagger.Number; Side : .Models.OrdSide_Type; Order_Type : .Models.OrdType_Type; Time_In_Force : .Models.TimeInForce_Type; Expire_Time : Swagger.Nullable_Date; Exec_Inst : Swagger.UString_Vectors.Vector; Client_Order_Id_Format_Exchange : Swagger.UString; Exchange_Order_Id : Swagger.Nullable_UString; Amount_Open : Swagger.Number; Amount_Filled : Swagger.Number; Avg_Px : Swagger.Number; Status : .Models.OrdStatus_Type; Status_History : Swagger.UString_Vectors.Vector_Vectors.Vector; Error_Message : Swagger.Nullable_UString; Fills : .Models.Fills_Type_Vectors.Vector; end record; package OrderExecutionReport_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => OrderExecutionReport_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderExecutionReport_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderExecutionReport_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderExecutionReport_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderExecutionReport_Type_Vectors.Vector); type OrderExecutionReportAllOf_Type is record Client_Order_Id_Format_Exchange : Swagger.UString; Exchange_Order_Id : Swagger.Nullable_UString; Amount_Open : Swagger.Number; Amount_Filled : Swagger.Number; Avg_Px : Swagger.Number; Status : .Models.OrdStatus_Type; Status_History : Swagger.UString_Vectors.Vector_Vectors.Vector; Error_Message : Swagger.Nullable_UString; Fills : .Models.Fills_Type_Vectors.Vector; end record; package OrderExecutionReportAllOf_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => OrderExecutionReportAllOf_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderExecutionReportAllOf_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in OrderExecutionReportAllOf_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderExecutionReportAllOf_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out OrderExecutionReportAllOf_Type_Vectors.Vector); type BalanceData_Type is record Asset_Id_Exchange : Swagger.Nullable_UString; Asset_Id_Coinapi : Swagger.Nullable_UString; Balance : float; Available : float; Locked : float; Last_Updated_By : Swagger.Nullable_UString; Rate_Usd : float; Traded : float; end record; package BalanceData_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => BalanceData_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in BalanceData_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in BalanceData_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out BalanceData_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out BalanceData_Type_Vectors.Vector); type Balance_Type is record Exchange_Id : Swagger.Nullable_UString; Data : .Models.BalanceData_Type_Vectors.Vector; end record; package Balance_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => Balance_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Balance_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Balance_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Balance_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Balance_Type_Vectors.Vector); type Position_Type is record Exchange_Id : Swagger.Nullable_UString; Data : .Models.PositionData_Type_Vectors.Vector; end record; package Position_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => Position_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Position_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in Position_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Position_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out Position_Type_Vectors.Vector); type PositionData_Type is record Symbol_Id_Exchange : Swagger.Nullable_UString; Symbol_Id_Coinapi : Swagger.Nullable_UString; Avg_Entry_Price : Swagger.Number; Quantity : Swagger.Number; Side : .Models.OrdSide_Type; Unrealized_Pnl : Swagger.Number; Leverage : Swagger.Number; Cross_Margin : Swagger.Nullable_Boolean; Liquidation_Price : Swagger.Number; Raw_Data : Swagger.Object; end record; package PositionData_Type_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => PositionData_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in PositionData_Type); procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class; Name : in String; Value : in PositionData_Type_Vectors.Vector); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out PositionData_Type); procedure Deserialize (From : in Swagger.Value_Type; Name : in String; Value : out PositionData_Type_Vectors.Vector); end .Models;
36.183929
247
0.580072
59d20e5740681292f1f348edc69101d537ce5638
20,772
adb
Ada
.emacs.d/elpa/wisi-3.1.3/emacs_wisi_common_parse.adb
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
.emacs.d/elpa/wisi-3.1.3/emacs_wisi_common_parse.adb
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
.emacs.d/elpa/wisi-3.1.3/emacs_wisi_common_parse.adb
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
-- Abstract : -- -- See spec. -- -- Copyright (C) 2018 - 2020 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as -- published by the Free Software Foundation; either version 3, or (at -- your option) any later version. This program is distributed in the -- hope that it will be useful, but WITHOUT ANY WARRANTY; without even -- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -- PURPOSE. See the GNU General Public License for more details. You -- should have received a copy of the GNU General Public License -- distributed with this program; see file COPYING. If not, write to -- the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, -- MA 02110-1335, USA. pragma License (GPL); with Ada.Command_Line; with Ada.Directories; with Ada.Exceptions; with Ada.Strings.Fixed; with Ada.Text_IO; with GNAT.OS_Lib; with SAL; with System.Multiprocessors; with System.Storage_Elements; with WisiToken.Lexer; package body Emacs_Wisi_Common_Parse is procedure Usage (Name : in String) is use Ada.Text_IO; begin Put_Line ("usage: " & Name & "[--recover-log <file-name>]"); Put_Line ("enters a loop waiting for commands:"); Put_Line ("Prompt is '" & Prompt & "'"); Put_Line ("commands are case sensitive"); Put_Line ("See wisi-process-parse.el *--send-parse, *--send-noop for arguments."); end Usage; procedure Read_Input (A : System.Address; N : Integer) is use System.Storage_Elements; B : System.Address := A; Remaining : Integer := N; Read : Integer; begin -- We use GNAT.OS_Lib because it does not buffer input, so it runs -- under Emacs nicely; GNAT Text_IO does not return text until -- some fairly large buffer is filled. -- -- With GNAT GPL 2016, GNAT.OS_Lib.Read does _not_ wait for all N -- bytes or EOF; it returns as soon as it gets some bytes. loop Read := GNAT.OS_Lib.Read (GNAT.OS_Lib.Standin, B, Remaining); if Read = 0 then -- Pipe closed; probably parent Emacs crashed. Force exit. raise SAL.Programmer_Error with "input pipe closed"; end if; Remaining := Remaining - Read; exit when Remaining <= 0; B := B + Storage_Offset (Read); end loop; end Read_Input; function Get_Command_Length return Integer is Temp : aliased String (1 .. 3) := (others => ' '); -- initialize for error message begin Read_Input (Temp'Address, Temp'Length); return Integer'Value (Temp); exception when Constraint_Error => -- From Integer'Value raise Protocol_Error with "invalid command byte count; '" & Temp & "'"; end Get_Command_Length; function Get_String (Source : in String; Last : in out Integer) return String is use Ada.Strings.Fixed; First : constant Integer := Index (Source => Source, Pattern => """", From => Last + 1); begin Last := Index (Source => Source, Pattern => """", From => First + 1); if First = 0 or Last = 0 then raise Protocol_Error with "no '""' found for string"; end if; return Source (First + 1 .. Last - 1); end Get_String; function Get_Integer (Source : in String; Last : in out Integer) return Integer is use Ada.Strings.Fixed; First : constant Integer := Last + 2; -- final char of previous item, space begin Last := Index (Source => Source, Pattern => " ", From => First); if Last = 0 then Last := Source'Last; else Last := Last - 1; end if; return Integer'Value (Source (First .. Last)); exception when others => Ada.Text_IO.Put_Line ("bad integer '" & Source (First .. Source'Last) & "'"); raise; end Get_Integer; function Get_Process_Start_Params return Process_Start_Params is use Ada.Command_Line; procedure Put_Usage is use Ada.Text_IO; begin Put_Line (Standard_Error, "process start args:"); Put_Line (Standard_Error, "--help : put this help"); Put_Line (Standard_Error, "--recover-log <file_name> : log recover actions to file"); end Put_Usage; Next_Arg : Integer := 1; begin return Result : Process_Start_Params do loop exit when Next_Arg > Argument_Count; if Next_Arg <= Argument_Count and then Argument (Next_Arg) = "--help" then Put_Usage; raise Finish; elsif Next_Arg + 1 <= Argument_Count and then Argument (Next_Arg) = "--recover-log" then Result.Recover_Log_File_Name := Ada.Strings.Unbounded.To_Unbounded_String (Argument (Next_Arg + 1)); Next_Arg := Next_Arg + 2; end if; end loop; end return; end Get_Process_Start_Params; function Get_Parse_Params (Command_Line : in String; Last : in out Integer) return Parse_Params is use WisiToken; begin return Result : Parse_Params do -- We don't use an aggregate, to enforce execution order. -- Match wisi-process-parse.el wisi-process--send-parse Result.Post_Parse_Action := Wisi.Post_Parse_Action_Type'Val (Get_Integer (Command_Line, Last)); Result.Source_File_Name := +Get_String (Command_Line, Last); Result.Begin_Byte_Pos := Get_Integer (Command_Line, Last); -- Emacs end is after last char. Result.End_Byte_Pos := Get_Integer (Command_Line, Last) - 1; Result.Goal_Byte_Pos := Get_Integer (Command_Line, Last); Result.Begin_Char_Pos := WisiToken.Buffer_Pos (Get_Integer (Command_Line, Last)); Result.Begin_Line := WisiToken.Line_Number_Type (Get_Integer (Command_Line, Last)); Result.End_Line := WisiToken.Line_Number_Type (Get_Integer (Command_Line, Last)); Result.Begin_Indent := Get_Integer (Command_Line, Last); Result.Partial_Parse_Active := 1 = Get_Integer (Command_Line, Last); Result.Debug_Mode := 1 = Get_Integer (Command_Line, Last); Result.Parse_Verbosity := Get_Integer (Command_Line, Last); Result.McKenzie_Verbosity := Get_Integer (Command_Line, Last); Result.Action_Verbosity := Get_Integer (Command_Line, Last); Result.McKenzie_Disable := Get_Integer (Command_Line, Last); Result.Task_Count := Get_Integer (Command_Line, Last); Result.Check_Limit := Get_Integer (Command_Line, Last); Result.Enqueue_Limit := Get_Integer (Command_Line, Last); Result.Max_Parallel := Get_Integer (Command_Line, Last); Result.Byte_Count := Get_Integer (Command_Line, Last); end return; end Get_Parse_Params; function Get_Refactor_Params (Command_Line : in String; Last : in out Integer) return Refactor_Params is use WisiToken; begin return Result : Refactor_Params do -- We don't use an aggregate, to enforce execution order. -- Match wisi-process-parse.el wisi-process--send-refactor Result.Refactor_Action := Get_Integer (Command_Line, Last); Result.Source_File_Name := +Get_String (Command_Line, Last); Result.Parse_Region.First := WisiToken.Buffer_Pos (Get_Integer (Command_Line, Last)); Result.Parse_Region.Last := WisiToken.Buffer_Pos (Get_Integer (Command_Line, Last) - 1); Result.Edit_Begin := WisiToken.Buffer_Pos (Get_Integer (Command_Line, Last)); Result.Parse_Begin_Char_Pos := WisiToken.Buffer_Pos (Get_Integer (Command_Line, Last)); Result.Parse_Begin_Line := WisiToken.Line_Number_Type (Get_Integer (Command_Line, Last)); Result.Parse_End_Line := WisiToken.Line_Number_Type (Get_Integer (Command_Line, Last)); Result.Parse_Begin_Indent := Get_Integer (Command_Line, Last); Result.Debug_Mode := 1 = Get_Integer (Command_Line, Last); Result.Parse_Verbosity := Get_Integer (Command_Line, Last); Result.Action_Verbosity := Get_Integer (Command_Line, Last); Result.Max_Parallel := Get_Integer (Command_Line, Last); Result.Byte_Count := Get_Integer (Command_Line, Last); end return; end Get_Refactor_Params; procedure Process_Stream (Name : in String; Language_Protocol_Version : in String; Partial_Parse_Active : in out Boolean; Params : in Process_Start_Params; Parser : in out WisiToken.Parse.LR.Parser.Parser; Parse_Data : in out Wisi.Parse_Data_Type'Class; Descriptor : in WisiToken.Descriptor) is use Ada.Text_IO; use WisiToken; -- "+", "-" Unbounded_string procedure Cleanup is begin if Is_Open (Parser.Recover_Log_File) then Close (Parser.Recover_Log_File); end if; end Cleanup; begin declare use Ada.Directories; use Ada.Strings.Unbounded; begin if Length (Params.Recover_Log_File_Name) > 0 then Put_Line (";; logging to '" & (-Params.Recover_Log_File_Name) & "'"); -- to Current_Output, visible from Emacs if Exists (-Params.Recover_Log_File_Name) then Open (Parser.Recover_Log_File, Append_File, -Params.Recover_Log_File_Name); else Create (Parser.Recover_Log_File, Out_File, -Params.Recover_Log_File_Name); end if; end if; end; Parser.Trace.Set_Prefix (";; "); -- so debug messages don't confuse Emacs. Put_Line (Name & " protocol: process version " & Protocol_Version & " language version " & Language_Protocol_Version); -- Read commands and tokens from standard_input via GNAT.OS_Lib, -- send results to standard_output. loop Put (Prompt); Flush; declare Command_Length : constant Integer := Get_Command_Length; Command_Line : aliased String (1 .. Command_Length); Last : Integer; function Match (Target : in String) return Boolean is begin Last := Command_Line'First + Target'Length - 1; return Last <= Command_Line'Last and then Command_Line (Command_Line'First .. Last) = Target; end Match; begin Read_Input (Command_Line'Address, Command_Length); Put_Line (";; " & Command_Line); if Match ("parse") then -- Args: see wisi-process-parse.el wisi-process-parse--send-parse -- Input: <source text> -- Response: -- [response elisp vector]... -- [elisp error form]... -- prompt declare Params : constant Parse_Params := Get_Parse_Params (Command_Line, Last); Buffer : Ada.Strings.Unbounded.String_Access; procedure Clean_Up is use all type SAL.Base_Peek_Type; begin Parser.Lexer.Discard_Rest_Of_Input; if Parser.Parsers.Count > 0 then Parse_Data.Put (Parser.Lexer.Errors, Parser.Parsers.First.State_Ref.Errors, Parser.Parsers.First.State_Ref.Tree); end if; Ada.Strings.Unbounded.Free (Buffer); end Clean_Up; begin Trace_Parse := Params.Parse_Verbosity; Trace_McKenzie := Params.McKenzie_Verbosity; Trace_Action := Params.Action_Verbosity; Debug_Mode := Params.Debug_Mode; Partial_Parse_Active := Params.Partial_Parse_Active; Parser.Partial_Parse_Active := Params.Partial_Parse_Active; if WisiToken.Parse.LR.McKenzie_Defaulted (Parser.Table.all) then -- There is no McKenzie information; don't override that. null; elsif Params.McKenzie_Disable = -1 then -- Use default Parser.Enable_McKenzie_Recover := True; else Parser.Enable_McKenzie_Recover := Params.McKenzie_Disable = 0; end if; Parse_Data.Initialize (Post_Parse_Action => Params.Post_Parse_Action, Lexer => Parser.Lexer, Descriptor => Descriptor'Unrestricted_Access, Base_Terminals => Parser.Terminals'Unrestricted_Access, Begin_Line => Params.Begin_Line, End_Line => Params.End_Line, Begin_Indent => Params.Begin_Indent, Params => Command_Line (Last + 2 .. Command_Line'Last)); if Params.Task_Count > 0 then Parser.Table.McKenzie_Param.Task_Count := System.Multiprocessors.CPU_Range (Params.Task_Count); end if; if Params.Check_Limit > 0 then Parser.Table.McKenzie_Param.Check_Limit := Base_Token_Index (Params.Check_Limit); end if; if Params.Enqueue_Limit > 0 then Parser.Table.McKenzie_Param.Enqueue_Limit := Params.Enqueue_Limit; end if; if Params.Max_Parallel > 0 then Parser.Max_Parallel := SAL.Base_Peek_Type (Params.Max_Parallel); end if; Buffer := new String (Params.Begin_Byte_Pos .. Params.End_Byte_Pos); Read_Input (Buffer (Params.Begin_Byte_Pos)'Address, Params.Byte_Count); Parser.Lexer.Reset_With_String_Access (Buffer, Params.Source_File_Name, Params.Begin_Char_Pos, Params.Begin_Line); -- Parser.Line_Begin_Token First, Last set by Lex_All begin Parser.Parse; exception when WisiToken.Partial_Parse => null; end; Parser.Execute_Actions; Parse_Data.Put (Parser); Clean_Up; exception when Syntax_Error => Clean_Up; Put_Line ("(parse_error)"); when E : Parse_Error => Clean_Up; Put_Line ("(parse_error """ & Ada.Exceptions.Exception_Message (E) & """)"); when E : Fatal_Error => Clean_Up; Put_Line ("(error """ & Ada.Exceptions.Exception_Message (E) & """)"); end; elsif Match ("refactor") then -- Args: see wisi-process-parse.el wisi-process-parse--send-refactor -- Input: <source text> -- Response: -- [edit elisp vector]... -- prompt declare Params : constant Refactor_Params := Get_Refactor_Params (Command_Line, Last); Buffer : Ada.Strings.Unbounded.String_Access; procedure Clean_Up is use all type SAL.Base_Peek_Type; begin Parser.Lexer.Discard_Rest_Of_Input; if Parser.Parsers.Count > 0 then Parse_Data.Put (Parser.Lexer.Errors, Parser.Parsers.First.State_Ref.Errors, Parser.Parsers.First.State_Ref.Tree); end if; Ada.Strings.Unbounded.Free (Buffer); end Clean_Up; begin Trace_Parse := Params.Parse_Verbosity; Trace_Action := Params.Action_Verbosity; Debug_Mode := Params.Debug_Mode; Partial_Parse_Active := True; Parse_Data.Initialize (Post_Parse_Action => Wisi.Navigate, -- mostly ignored Lexer => Parser.Lexer, Descriptor => Descriptor'Unrestricted_Access, Base_Terminals => Parser.Terminals'Unrestricted_Access, Begin_Line => Params.Parse_Begin_Line, End_Line => Params.Parse_End_Line, Begin_Indent => Params.Parse_Begin_Indent, Params => ""); if Params.Max_Parallel > 0 then Parser.Max_Parallel := SAL.Base_Peek_Type (Params.Max_Parallel); end if; Buffer := new String (Integer (Params.Parse_Region.First) .. Integer (Params.Parse_Region.Last)); Read_Input (Buffer (Buffer'First)'Address, Params.Byte_Count); Parser.Lexer.Reset_With_String_Access (Buffer, Params.Source_File_Name, Params.Parse_Begin_Char_Pos, Params.Parse_Begin_Line); begin Parser.Parse; exception when WisiToken.Partial_Parse => null; end; Parser.Execute_Actions; Parse_Data.Refactor (Parser.Parsers.First_State_Ref.Tree, Params.Refactor_Action, Params.Edit_Begin); Clean_Up; exception when Syntax_Error => Clean_Up; Put_Line ("(parse_error ""refactor " & Params.Parse_Region.First'Image & Params.Parse_Region.Last'Image & ": syntax error"")"); when E : Parse_Error => Clean_Up; Put_Line ("(parse_error ""refactor " & Params.Parse_Region.First'Image & Params.Parse_Region.Last'Image & ": " & Ada.Exceptions.Exception_Message (E) & """)"); when E : others => -- includes Fatal_Error Clean_Up; Put_Line ("(error """ & Ada.Exceptions.Exception_Message (E) & """)"); end; elsif Match ("noop") then -- Args: <source byte count> -- Input: <source text> -- Response: prompt declare Byte_Count : constant Integer := Get_Integer (Command_Line, Last); Buffer : constant Ada.Strings.Unbounded.String_Access := new String (1 .. Byte_Count); Token : Base_Token; Lexer_Error : Boolean; pragma Unreferenced (Lexer_Error); begin Token.ID := Invalid_Token_ID; Read_Input (Buffer (1)'Address, Byte_Count); Parser.Lexer.Reset_With_String_Access (Buffer, +""); loop exit when Token.ID = Parser.Trace.Descriptor.EOI_ID; Lexer_Error := Parser.Lexer.Find_Next (Token); end loop; exception when Syntax_Error => Parser.Lexer.Discard_Rest_Of_Input; end; elsif Match ("quit") then exit; else Put_Line ("(error ""bad command: '" & Command_Line & "'"")"); end if; exception when E : Protocol_Error => -- don't exit the loop; allow debugging bad elisp Put_Line ("(error ""protocol error "": " & Ada.Exceptions.Exception_Message (E) & """)"); end; end loop; Cleanup; exception when Finish => null; when E : others => Cleanup; Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure); New_Line (2); Put_Line ("(error ""unhandled exception: " & Ada.Exceptions.Exception_Name (E) & ": " & Ada.Exceptions.Exception_Message (E) & """)"); end Process_Stream; end Emacs_Wisi_Common_Parse;
40.80943
119
0.55907
1d3d318a01c5f730f5fe56ad8a905ed541b8a43b
10,629
ads
Ada
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_dataprotocol_dataprotocol_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
1
2018-01-18T00:51:00.000Z
2018-01-18T00:51:00.000Z
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_dataprotocol_dataprotocol_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
null
null
null
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_dataprotocol_dataprotocol_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
null
null
null
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h; with glib; with glib.Values; with System; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstevent_h; with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_dataprotocol_dataprotocol_h is -- unsupported macro: GST_TYPE_DP_VERSION (gst_dp_version_get_type ()) GST_DP_VERSION_MAJOR : constant := 0; -- gst/dataprotocol/dataprotocol.h:52 GST_DP_VERSION_MINOR : constant := 2; -- gst/dataprotocol/dataprotocol.h:58 GST_DP_HEADER_LENGTH : constant := 62; -- gst/dataprotocol/dataprotocol.h:65 -- GStreamer -- * Copyright (C) 1999 Erik Walthinsen <omega@cse.ogi.edu> -- * Copyright (C) 2004,2006 Thomas Vander Stichele <thomas at apestaart dot org> -- * -- * dataprotocol.h: Functions implementing the GStreamer Data Protocol -- * -- * This library is free software; you can redistribute it and/or -- * modify it under the terms of the GNU Library General Public -- * License as published by the Free Software Foundation; either -- * version 2 of the License, or (at your option) any later version. -- * -- * This library is distributed in the hope that it will be useful, -- * but WITHOUT ANY WARRANTY; without even the implied warranty of -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- * Library General Public License for more details. -- * -- * You should have received a copy of the GNU Library General Public -- * License along with this library; if not, write to the -- * Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- * Boston, MA 02111-1307, USA. -- --* -- * GstDPVersion: -- * @GST_DP_VERSION_0_2: protocol version 0.2 -- * @GST_DP_VERSION_1_0: protocol version 1.0 -- * -- * The version of the GDP protocol being used. -- subtype GstDPVersion is unsigned; GST_DP_VERSION_0_2 : constant GstDPVersion := 1; GST_DP_VERSION_1_0 : constant GstDPVersion := 2; -- gst/dataprotocol/dataprotocol.h:42 function gst_dp_version_get_type return GLIB.GType; -- gst/dataprotocol/dataprotocol.h:44 pragma Import (C, gst_dp_version_get_type, "gst_dp_version_get_type"); --* -- * GST_DP_VERSION_MAJOR: -- * -- * The major version number of the GStreamer Data Protocol. -- --* -- * GST_DP_VERSION_MINOR: -- * -- * The minor version number of the GStreamer Data Protocol. -- --* -- * GST_DP_HEADER_LENGTH: -- * -- * The header size in bytes. -- --* -- * GstDPHeaderFlag: -- * @GST_DP_HEADER_FLAG_NONE: No flag present. -- * @GST_DP_HEADER_FLAG_CRC_HEADER: a header CRC field is present. -- * @GST_DP_HEADER_FLAG_CRC_PAYLOAD: a payload CRC field is present. -- * @GST_DP_HEADER_FLAG_CRC: a CRC for header and payload is present. -- * -- * header flags for the dataprotocol. -- type GstDPHeaderFlag is (GST_DP_HEADER_FLAG_NONE, GST_DP_HEADER_FLAG_CRC_HEADER, GST_DP_HEADER_FLAG_CRC_PAYLOAD, GST_DP_HEADER_FLAG_CRC); pragma Convention (C, GstDPHeaderFlag); -- gst/dataprotocol/dataprotocol.h:81 --* -- * GstDPPayloadType: -- * @GST_DP_PAYLOAD_NONE: Invalid payload type. -- * @GST_DP_PAYLOAD_BUFFER: #GstBuffer payload packet. -- * @GST_DP_PAYLOAD_CAPS: #GstCaps payload packet. -- * @GST_DP_PAYLOAD_EVENT_NONE: First value of #GstEvent payload packets. -- * -- * The GDP payload types. a #GstEvent payload type is encoded with the -- * event type number starting from @GST_DP_PAYLOAD_EVENT_NONE. -- subtype GstDPPayloadType is unsigned; GST_DP_PAYLOAD_NONE : constant GstDPPayloadType := 0; GST_DP_PAYLOAD_BUFFER : constant GstDPPayloadType := 1; GST_DP_PAYLOAD_CAPS : constant GstDPPayloadType := 2; GST_DP_PAYLOAD_EVENT_NONE : constant GstDPPayloadType := 64; -- gst/dataprotocol/dataprotocol.h:98 type GstDPHeaderFromBufferFunction is access function (arg1 : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; arg2 : GstDPHeaderFlag; arg3 : access GLIB.guint; arg4 : System.Address) return GLIB.gboolean; pragma Convention (C, GstDPHeaderFromBufferFunction); -- gst/dataprotocol/dataprotocol.h:100 type GstDPPacketFromCapsFunction is access function (arg1 : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps; arg2 : GstDPHeaderFlag; arg3 : access GLIB.guint; arg4 : System.Address; arg5 : System.Address) return GLIB.gboolean; pragma Convention (C, GstDPPacketFromCapsFunction); -- gst/dataprotocol/dataprotocol.h:104 type GstDPPacketFromEventFunction is access function (arg1 : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstevent_h.GstEvent; arg2 : GstDPHeaderFlag; arg3 : access GLIB.guint; arg4 : System.Address; arg5 : System.Address) return GLIB.gboolean; pragma Convention (C, GstDPPacketFromEventFunction); -- gst/dataprotocol/dataprotocol.h:109 --* -- * GstDPPacketizer: -- * @version: the #GstDPVersion of the protocol to be used -- * @header_from_buffer: buffer serializer function -- * @packet_from_caps: caps serializer function -- * @packet_from_event: event serializer function -- * -- * Data protocol packetizer handle. -- type GstDPPacketizer_u_gst_reserved_array is array (0 .. 3) of System.Address; type GstDPPacketizer is record version : aliased GstDPVersion; -- gst/dataprotocol/dataprotocol.h:125 header_from_buffer : GstDPHeaderFromBufferFunction; -- gst/dataprotocol/dataprotocol.h:127 packet_from_caps : GstDPPacketFromCapsFunction; -- gst/dataprotocol/dataprotocol.h:128 packet_from_event : GstDPPacketFromEventFunction; -- gst/dataprotocol/dataprotocol.h:129 u_gst_reserved : GstDPPacketizer_u_gst_reserved_array; -- gst/dataprotocol/dataprotocol.h:132 end record; pragma Convention (C_Pass_By_Copy, GstDPPacketizer); -- gst/dataprotocol/dataprotocol.h:133 -- skipped anonymous struct anon_369 --< private > procedure gst_dp_init; -- gst/dataprotocol/dataprotocol.h:136 pragma Import (C, gst_dp_init, "gst_dp_init"); -- packetizer function gst_dp_packetizer_new (version : GstDPVersion) return access GstDPPacketizer; -- gst/dataprotocol/dataprotocol.h:140 pragma Import (C, gst_dp_packetizer_new, "gst_dp_packetizer_new"); procedure gst_dp_packetizer_free (packetizer : access GstDPPacketizer); -- gst/dataprotocol/dataprotocol.h:141 pragma Import (C, gst_dp_packetizer_free, "gst_dp_packetizer_free"); -- crc checksum function gst_dp_crc (buffer : access GLIB.guint8; length : GLIB.guint) return GLIB.guint16; -- gst/dataprotocol/dataprotocol.h:144 pragma Import (C, gst_dp_crc, "gst_dp_crc"); -- payload information from header function gst_dp_header_payload_length (header : access GLIB.guint8) return GLIB.guint32; -- gst/dataprotocol/dataprotocol.h:148 pragma Import (C, gst_dp_header_payload_length, "gst_dp_header_payload_length"); function gst_dp_header_payload_type (header : access GLIB.guint8) return GstDPPayloadType; -- gst/dataprotocol/dataprotocol.h:150 pragma Import (C, gst_dp_header_payload_type, "gst_dp_header_payload_type"); -- converting from GstBuffer/GstEvent/GstCaps function gst_dp_header_from_buffer (buffer : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; flags : GstDPHeaderFlag; length : access GLIB.guint; header : System.Address) return GLIB.gboolean; -- gst/dataprotocol/dataprotocol.h:154 pragma Import (C, gst_dp_header_from_buffer, "gst_dp_header_from_buffer"); function gst_dp_packet_from_caps (caps : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps; flags : GstDPHeaderFlag; length : access GLIB.guint; header : System.Address; payload : System.Address) return GLIB.gboolean; -- gst/dataprotocol/dataprotocol.h:160 pragma Import (C, gst_dp_packet_from_caps, "gst_dp_packet_from_caps"); function gst_dp_packet_from_event (event : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstevent_h.GstEvent; flags : GstDPHeaderFlag; length : access GLIB.guint; header : System.Address; payload : System.Address) return GLIB.gboolean; -- gst/dataprotocol/dataprotocol.h:167 pragma Import (C, gst_dp_packet_from_event, "gst_dp_packet_from_event"); -- converting to GstBuffer/GstEvent/GstCaps function gst_dp_buffer_from_header (header_length : GLIB.guint; header : access GLIB.guint8) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/dataprotocol/dataprotocol.h:174 pragma Import (C, gst_dp_buffer_from_header, "gst_dp_buffer_from_header"); function gst_dp_caps_from_packet (header_length : GLIB.guint; header : access GLIB.guint8; payload : access GLIB.guint8) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps; -- gst/dataprotocol/dataprotocol.h:176 pragma Import (C, gst_dp_caps_from_packet, "gst_dp_caps_from_packet"); function gst_dp_event_from_packet (header_length : GLIB.guint; header : access GLIB.guint8; payload : access GLIB.guint8) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstevent_h.GstEvent; -- gst/dataprotocol/dataprotocol.h:179 pragma Import (C, gst_dp_event_from_packet, "gst_dp_event_from_packet"); -- validation function gst_dp_validate_header (header_length : GLIB.guint; header : access GLIB.guint8) return GLIB.gboolean; -- gst/dataprotocol/dataprotocol.h:184 pragma Import (C, gst_dp_validate_header, "gst_dp_validate_header"); function gst_dp_validate_payload (header_length : GLIB.guint; header : access GLIB.guint8; payload : access GLIB.guint8) return GLIB.gboolean; -- gst/dataprotocol/dataprotocol.h:186 pragma Import (C, gst_dp_validate_payload, "gst_dp_validate_payload"); function gst_dp_validate_packet (header_length : GLIB.guint; header : access GLIB.guint8; payload : access GLIB.guint8) return GLIB.gboolean; -- gst/dataprotocol/dataprotocol.h:189 pragma Import (C, gst_dp_validate_packet, "gst_dp_validate_packet"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_dataprotocol_dataprotocol_h;
44.659664
215
0.743626
5934fc025b0eb9192a6216ce6faa1042f4411779
2,153
adb
Ada
source/protocol/lsp-stdio_streams.adb
reznikmm/ada_lsp
b0e2666f758d6e46b973b5d7e4b9a7ba66c46157
[ "MIT" ]
11
2017-10-18T18:22:04.000Z
2022-01-01T12:22:23.000Z
source/protocol/lsp-stdio_streams.adb
reznikmm/ada_lsp
b0e2666f758d6e46b973b5d7e4b9a7ba66c46157
[ "MIT" ]
null
null
null
source/protocol/lsp-stdio_streams.adb
reznikmm/ada_lsp
b0e2666f758d6e46b973b5d7e4b9a7ba66c46157
[ "MIT" ]
1
2019-09-14T23:13:33.000Z
2019-09-14T23:13:33.000Z
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with GNAT.Sockets; with Interfaces.C; with Ada.Unchecked_Conversion; package body LSP.Stdio_Streams is package C renames Interfaces.C; function To_Ada is new Ada.Unchecked_Conversion (Integer, GNAT.Sockets.Socket_Type); ---------- -- Read -- ---------- procedure Read (Stream : in out Stdio_Stream; Item : out Ada.Streams.Stream_Element_Array; Last : out Ada.Streams.Stream_Element_Offset) is pragma Unreferenced (Stream); use type Ada.Streams.Stream_Element_Offset; function read (fildes : C.int; buf : out Ada.Streams.Stream_Element_Array; nbyte : C.size_t) return C.size_t with Import => True, Convention => C, External_Name => "read"; Stdin : constant GNAT.Sockets.Socket_Type := To_Ada (0); Request : GNAT.Sockets.Request_Type (GNAT.Sockets.N_Bytes_To_Read); Length : Natural; Done : C.size_t; begin GNAT.Sockets.Control_Socket (Stdin, Request); if Request.Size = 0 then Length := 1; else Length := Natural'Min (Item'Length, Request.Size); end if; Done := read (0, Item, C.size_t (Length)); Last := Item'First + Ada.Streams.Stream_Element_Offset (Done) - 1; if Last < Item'First then raise Constraint_Error with "end of file"; end if; end Read; ----------- -- Write -- ----------- procedure Write (Stream : in out Stdio_Stream; Item : Ada.Streams.Stream_Element_Array) is function write (fildes : C.int; buf : Ada.Streams.Stream_Element_Array; nbyte : C.size_t) return C.size_t with Import => True, Convention => C, External_Name => "write"; pragma Unreferenced (Stream); Ignore : C.size_t := write (1, Item, Item'Length); begin null; end Write; end LSP.Stdio_Streams;
26.580247
73
0.577798
2f07d063908200fa7277aa454c3478b5a2b8b2bb
158
adb
Ada
Util/llvm/test/FrontendAda/array_size.adb
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
5
2020-06-30T05:06:40.000Z
2021-05-24T08:38:33.000Z
vm/external_libs/llvm/test/FrontendAda/array_size.adb
gustin/rubinius
6c452c49973a6f3b4c3a323a413416cd3f8499c8
[ "BSD-3-Clause" ]
null
null
null
vm/external_libs/llvm/test/FrontendAda/array_size.adb
gustin/rubinius
6c452c49973a6f3b4c3a323a413416cd3f8499c8
[ "BSD-3-Clause" ]
2
2015-10-01T18:28:20.000Z
2020-09-09T16:25:27.000Z
-- RUN: %llvmgcc -c %s procedure Array_Size is subtype S is String (1 .. 2); type R is record A : S; end record; X : R; begin null; end;
14.363636
32
0.563291
23258732548c72d18268554a1eb224381cc8aadc
17
adb
Ada
c/brazo_robotico/brazo_robotico.adb
joseluis8906/tests
df222f4bbef0ed4a3bfb53ebc2d1fd44179551f4
[ "MIT" ]
null
null
null
c/brazo_robotico/brazo_robotico.adb
joseluis8906/tests
df222f4bbef0ed4a3bfb53ebc2d1fd44179551f4
[ "MIT" ]
null
null
null
c/brazo_robotico/brazo_robotico.adb
joseluis8906/tests
df222f4bbef0ed4a3bfb53ebc2d1fd44179551f4
[ "MIT" ]
null
null
null
M:brazo_robotico
8.5
16
0.882353
1d9e9b0d67931ed781db424abcbd471f5beed270
5,089
ads
Ada
tools/scitools/conf/understand/ada/ada12/a-chtgke.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada12/a-chtgke.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/a-chtgke.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ADA.CONTAINERS.HASH_TABLES.GENERIC_KEYS -- -- -- -- S p e c -- -- -- -- Copyright (C) 2004-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- This unit was originally developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ -- Hash_Table_Type is used to implement hashed containers. This package -- declares hash-table operations that depend on keys. generic with package HT_Types is new Generic_Hash_Table_Types (<>); use HT_Types; with function Next (Node : Node_Access) return Node_Access; with procedure Set_Next (Node : Node_Access; Next : Node_Access); type Key_Type (<>) is limited private; with function Hash (Key : Key_Type) return Hash_Type; with function Equivalent_Keys (Key : Key_Type; Node : Node_Access) return Boolean; package Ada.Containers.Hash_Tables.Generic_Keys is pragma Preelaborate; function Index (HT : Hash_Table_Type; Key : Key_Type) return Hash_Type; pragma Inline (Index); -- Returns the bucket number (array index value) for the given key procedure Delete_Key_Sans_Free (HT : in out Hash_Table_Type; Key : Key_Type; X : out Node_Access); -- Removes the node (if any) with the given key from the hash table, -- without deallocating it. Program_Error is raised if the hash -- table is busy. function Find (HT : Hash_Table_Type; Key : Key_Type) return Node_Access; -- Returns the node (if any) corresponding to the given key generic with function New_Node (Next : Node_Access) return Node_Access; procedure Generic_Conditional_Insert (HT : in out Hash_Table_Type; Key : Key_Type; Node : out Node_Access; Inserted : out Boolean); -- Attempts to insert a new node with the given key into the hash table. -- If a node with that key already exists in the table, then that node -- is returned and Inserted returns False. Otherwise New_Node is called -- to allocate a new node, and Inserted returns True. Program_Error is -- raised if the hash table is busy. generic with function Hash (Node : Node_Access) return Hash_Type; with procedure Assign (Node : Node_Access; Key : Key_Type); procedure Generic_Replace_Element (HT : in out Hash_Table_Type; Node : Node_Access; Key : Key_Type); -- Assigns Key to Node, possibly changing its equivalence class. If Node -- is in the same equivalence class as Key (that is, it's already in the -- bucket implied by Key), then if the hash table is locked then -- Program_Error is raised; otherwise Assign is called to assign Key to -- Node. If Node is in a different bucket from Key, then Program_Error is -- raised if the hash table is busy. Otherwise it Assigns Key to Node and -- moves the Node from its current bucket to the bucket implied by Key. -- Note that it is never proper to assign to Node a key value already -- in the map, and so if Key is equivalent to some other node then -- Program_Error is raised. end Ada.Containers.Hash_Tables.Generic_Keys;
48.466667
78
0.523482
23f1cdabdeb8f168cd2a61935f39085f6a635d9d
76,920
adb
Ada
apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b/conv2d_b2b/hls_target/.autopilot/db/Loop_2_proc.bind.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
1
2020-06-18T16:51:39.000Z
2020-06-18T16:51:39.000Z
apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b/conv2d_b2b/hls_target/.autopilot/db/Loop_2_proc.bind.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
null
null
null
apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b/conv2d_b2b/hls_target/.autopilot/db/Loop_2_proc.bind.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
1
2020-03-18T00:43:22.000Z
2020-03-18T00:43:22.000Z
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>Loop_2_proc</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>p_mul_stencil_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>_mul_stencil_stream_to_p2_mul1.V.value.V</originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>128</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>p_p2_mul1_stencil_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>24</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>7</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>39</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>9</id> <name>indvar_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>96</item> <item>97</item> <item>98</item> <item>99</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>10</id> <name>exitcond_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>100</item> <item>102</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>11</id> <name>indvar_flatten_next</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>103</item> <item>105</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>12</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>106</item> <item>107</item> <item>108</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>17</id> <name>tmp_value_V</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>168</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>168</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>128</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>41</item> <item>42</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>18</id> <name>tmp_6</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>176</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>176</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>28</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>44</item> <item>45</item> <item>47</item> <item>49</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>19</id> <name>p_382_cast_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>182</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>182</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>29</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>50</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>20</id> <name>tmp_3</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>168</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>168</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>28</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>51</item> <item>52</item> <item>54</item> <item>56</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>21</id> <name>p_390</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>185</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>185</second> </item> </second> </item> </inlineStackInfo> <originalName>_390</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>30</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>58</item> <item>59</item> <item>61</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>22</id> <name>p_390_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>185</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>185</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>31</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>62</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>23</id> <name>tmp_4</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>168</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>168</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>28</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>63</item> <item>64</item> <item>66</item> <item>68</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>24</id> <name>p_396</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>192</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>192</second> </item> </second> </item> </inlineStackInfo> <originalName>_396</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>29</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>70</item> <item>71</item> <item>73</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>25</id> <name>p_396_cast_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>192</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>192</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>31</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>74</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>26</id> <name>tmp_2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>197</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>197</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>28</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>75</item> <item>76</item> <item>78</item> <item>80</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>27</id> <name>p_400_cast_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>200</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>200</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>29</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>81</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>28</id> <name>tmp</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>200</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>200</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>31</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>82</item> <item>83</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>29</id> <name>tmp1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>200</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>200</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>29</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>84</item> <item>85</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>30</id> <name>tmp1_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>200</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>200</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>31</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>86</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>31</id> <name>p_403</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>200</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>200</second> </item> </second> </item> </inlineStackInfo> <originalName>_403</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>31</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>87</item> <item>88</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>32</id> <name>tmp_value_V_7</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>200</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>200</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>89</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>33</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>202</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>202</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>91</item> <item>92</item> <item>93</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>35</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>162</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>94</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>37</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>13</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_27"> <Value> <Obj> <type>2</type> <id>46</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>4</content> </item> <item class_id_reference="16" object_id="_28"> <Value> <Obj> <type>2</type> <id>48</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>31</content> </item> <item class_id_reference="16" object_id="_29"> <Value> <Obj> <type>2</type> <id>53</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>36</content> </item> <item class_id_reference="16" object_id="_30"> <Value> <Obj> <type>2</type> <id>55</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>63</content> </item> <item class_id_reference="16" object_id="_31"> <Value> <Obj> <type>2</type> <id>60</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_32"> <Value> <Obj> <type>2</type> <id>65</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>68</content> </item> <item class_id_reference="16" object_id="_33"> <Value> <Obj> <type>2</type> <id>67</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>95</content> </item> <item class_id_reference="16" object_id="_34"> <Value> <Obj> <type>2</type> <id>72</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_35"> <Value> <Obj> <type>2</type> <id>77</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>100</content> </item> <item class_id_reference="16" object_id="_36"> <Value> <Obj> <type>2</type> <id>79</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>127</content> </item> <item class_id_reference="16" object_id="_37"> <Value> <Obj> <type>2</type> <id>95</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_38"> <Value> <Obj> <type>2</type> <id>101</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>2064609</content> </item> <item class_id_reference="16" object_id="_39"> <Value> <Obj> <type>2</type> <id>104</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_40"> <Obj> <type>3</type> <id>8</id> <name>newFuncRoot</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>7</item> </node_objs> </item> <item class_id_reference="18" object_id="_41"> <Obj> <type>3</type> <id>13</id> <name>.preheader38</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>9</item> <item>10</item> <item>11</item> <item>12</item> </node_objs> </item> <item class_id_reference="18" object_id="_42"> <Obj> <type>3</type> <id>36</id> <name>.preheader38.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>18</count> <item_version>0</item_version> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>35</item> </node_objs> </item> <item class_id_reference="18" object_id="_43"> <Obj> <type>3</type> <id>38</id> <name>.preheader37.exitStub</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>37</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>48</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_44"> <id>39</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>7</sink_obj> </item> <item class_id_reference="20" object_id="_45"> <id>42</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_46"> <id>45</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_47"> <id>47</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_48"> <id>49</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_49"> <id>50</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_50"> <id>52</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_51"> <id>54</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_52"> <id>56</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_53"> <id>59</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_54"> <id>61</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_55"> <id>62</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_56"> <id>64</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_57"> <id>66</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_58"> <id>68</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_59"> <id>71</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_60"> <id>73</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_61"> <id>74</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_62"> <id>76</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_63"> <id>78</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_64"> <id>80</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_65"> <id>81</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_66"> <id>82</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_67"> <id>83</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_68"> <id>84</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_69"> <id>85</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_70"> <id>86</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_71"> <id>87</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_72"> <id>88</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_73"> <id>89</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_74"> <id>92</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_75"> <id>93</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>94</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>96</id> <edge_type>1</edge_type> <source_obj>95</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>97</id> <edge_type>2</edge_type> <source_obj>8</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>98</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>99</id> <edge_type>2</edge_type> <source_obj>36</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>100</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>102</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>103</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>105</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>106</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>107</id> <edge_type>2</edge_type> <source_obj>36</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>108</id> <edge_type>2</edge_type> <source_obj>38</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>196</id> <edge_type>2</edge_type> <source_obj>8</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>197</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>198</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>199</id> <edge_type>2</edge_type> <source_obj>36</source_obj> <sink_obj>13</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_92"> <mId>1</mId> <mTag>Loop_2_proc</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2064614</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_93"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>8</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_94"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>13</item> <item>36</item> </basic_blocks> <mII>1</mII> <mDepth>5</mDepth> <mMinTripCount>2064609</mMinTripCount> <mMaxTripCount>2064609</mMaxTripCount> <mMinLatency>2064612</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_95"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>38</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_96"> <states class_id="25" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_97"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_98"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_99"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_100"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_101"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_102"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_103"> <id>2</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_104"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_105"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_106"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_107"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_108"> <id>3</id> <operations> <count>5</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_109"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_110"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_111"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_112"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_113"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_114"> <id>4</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_115"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_116"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_117"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_118"> <id>5</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_119"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_120"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_121"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_122"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_123"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_124"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_125"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_126"> <id>6</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_127"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_128"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_129"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_130"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_131"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_132"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_133"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_134"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_135"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_136"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>12</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_137"> <inState>3</inState> <outState>4</outState> <condition> <id>22</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_138"> <inState>4</inState> <outState>5</outState> <condition> <id>23</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_139"> <inState>5</inState> <outState>6</outState> <condition> <id>24</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_140"> <inState>6</inState> <outState>2</outState> <condition> <id>25</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_141"> <inState>2</inState> <outState>7</outState> <condition> <id>21</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>10</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_142"> <inState>2</inState> <outState>3</outState> <condition> <id>26</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>10</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>24</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>7</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>2</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>8</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>36</first> <second> <first>2</first> <second>5</second> </second> </item> <item> <first>38</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="44" tracking_level="1" version="0" object_id="_143"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>13</item> <item>36</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>5</pipe_depth> </item> </regions> <dp_fu_nodes class_id="45" tracking_level="0" version="0"> <count>20</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>72</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>78</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>89</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>96</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>102</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>108</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>118</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>128</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>138</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>148</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>151</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>154</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>160</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>167</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>171</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>178</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>182</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>188</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>197</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="48" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>exitcond_flatten_fu_96</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>indvar_flatten_next_fu_102</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>indvar_flatten_phi_fu_89</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>p_382_cast_cast_fu_148</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>p_390_cast_fu_167</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>p_390_fu_160</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>p_396_cast_cast_fu_178</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>p_396_fu_171</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>p_400_cast_cast_fu_151</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>p_403_fu_191</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>tmp1_cast_fu_188</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>tmp1_fu_154</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>tmp_2_fu_138</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_3_fu_118</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>tmp_4_fu_128</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>tmp_6_fu_108</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>tmp_fu_182</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>tmp_value_V_7_fu_197</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>2</count> <item_version>0</item_version> <item> <first>StgValue_36_write_fu_78</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>tmp_value_V_read_fu_72</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="50" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>9</count> <item_version>0</item_version> <item> <first>85</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>201</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>205</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>210</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>215</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>220</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>225</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>230</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>235</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>9</count> <item_version>0</item_version> <item> <first>exitcond_flatten_reg_201</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>indvar_flatten_next_reg_205</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>indvar_flatten_reg_85</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>p_403_reg_235</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>tmp1_reg_230</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>tmp_2_reg_225</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_3_reg_215</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>tmp_4_reg_220</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>tmp_6_reg_210</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>1</count> <item_version>0</item_version> <item> <first>85</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>1</count> <item_version>0</item_version> <item> <first>indvar_flatten_reg_85</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="51" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>p_mul_stencil_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </second> </item> <item> <first>p_p2_mul1_stencil_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="53" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>1</first> <second>FIFO_SRL</second> </item> <item> <first>2</first> <second>FIFO_SRL</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
25.77748
140
0.5974
12c84867d755d0e884f0121c1b0071e79e655720
10,324
adb
Ada
awa/src/awa-users-servlets.adb
fuzzysloth/ada-awa
f9b921eeea29841667a028f2fc4528e4385d247a
[ "Apache-2.0" ]
null
null
null
awa/src/awa-users-servlets.adb
fuzzysloth/ada-awa
f9b921eeea29841667a028f2fc4528e4385d247a
[ "Apache-2.0" ]
null
null
null
awa/src/awa-users-servlets.adb
fuzzysloth/ada-awa
f9b921eeea29841667a028f2fc4528e4385d247a
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- awa-users-servlets -- OpenID verification servlet for user authentication -- Copyright (C) 2011, 2012, 2013, 2014, 2015 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Beans.Objects; with Util.Beans.Objects.Records; with Util.Log.Loggers; with ASF.Cookies; with ASF.Servlets; with AWA.Users.Services; with AWA.Users.Modules; with AWA.Users.Filters; with AWA.Users.Principals; package body AWA.Users.Servlets is -- Name of the session attribute which holds the URI to redirect after authentication. REDIRECT_ATTRIBUTE : constant String := "awa-redirect"; -- Name of the request attribute that contains the URI to redirect after authentication. REDIRECT_PARAM : constant String := "redirect"; -- Name of the session attribute which holds information about the active authentication. OPENID_ASSOC_ATTRIBUTE : constant String := "openid-assoc"; -- The logger Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Security.Servlets"); -- Make a package to store the Association in the session. package Association_Bean is new Util.Beans.Objects.Records (Security.Auth.Association); subtype Association_Access is Association_Bean.Element_Type_Access; function Get_Provider_URL (Server : in Request_Auth_Servlet; Request : in ASF.Requests.Request'Class) return String; function Get_Provider_URL (Server : in Request_Auth_Servlet; Request : in ASF.Requests.Request'Class) return String is pragma Unreferenced (Server); URI : constant String := Request.Get_Path_Info; begin if URI'Length = 0 then return ""; end if; Log.Info ("OpenID authentication with {0}", URI); return URI (URI'First + 1 .. URI'Last); end Get_Provider_URL; -- ------------------------------ -- Proceed to the OpenID authentication with an OpenID provider. -- Find the OpenID provider URL and starts the discovery, association phases -- during which a private key is obtained from the OpenID provider. -- After OpenID discovery and association, the user will be redirected to -- the OpenID provider. -- ------------------------------ overriding procedure Do_Get (Server : in Request_Auth_Servlet; Request : in out ASF.Requests.Request'Class; Response : in out ASF.Responses.Response'Class) is Ctx : constant ASF.Servlets.Servlet_Registry_Access := Server.Get_Servlet_Context; Name : constant String := Get_Provider_URL (Server, Request); URL : constant String := Ctx.Get_Init_Parameter ("auth.url." & Name); begin Log.Info ("Request OpenId authentication to {0} - {1}", Name, URL); if Name'Length = 0 or URL'Length = 0 then Response.Set_Status (ASF.Responses.SC_NOT_FOUND); return; end if; declare Mgr : Security.Auth.Manager; OP : Security.Auth.End_Point; Bean : constant Util.Beans.Objects.Object := Association_Bean.Create; Assoc : constant Association_Access := Association_Bean.To_Element_Access (Bean); Redirect : constant String := Request.Get_Parameter (REDIRECT_PARAM); begin Server.Initialize (Name, Mgr); -- Yadis discovery (get the XRDS file). This step does nothing for OAuth. Mgr.Discover (URL, OP); -- Associate to the OpenID provider and get an end-point with a key. Mgr.Associate (OP, Assoc.all); -- Save the association in the HTTP session and -- redirect the user to the OpenID provider. declare Auth_URL : constant String := Mgr.Get_Authentication_URL (OP, Assoc.all); Session : ASF.Sessions.Session := Request.Get_Session (Create => True); begin Log.Info ("Redirect to auth URL: {0}", Auth_URL); Response.Send_Redirect (Location => Auth_URL); Session.Set_Attribute (Name => OPENID_ASSOC_ATTRIBUTE, Value => Bean); if Redirect'Length > 0 then Session.Set_Attribute (Name => REDIRECT_ATTRIBUTE, Value => Util.Beans.Objects.To_Object (Redirect)); end if; end; end; end Do_Get; -- ------------------------------ -- Create a principal object that correspond to the authenticated user identified -- by the <b>Auth</b> information. The principal will be attached to the session -- and will be destroyed when the session is closed. -- ------------------------------ overriding procedure Create_Principal (Server : in Verify_Auth_Servlet; Auth : in Security.Auth.Authentication; Result : out ASF.Principals.Principal_Access) is pragma Unreferenced (Server); use AWA.Users.Modules; use AWA.Users.Services; Manager : constant User_Service_Access := AWA.Users.Modules.Get_User_Manager; Principal : AWA.Users.Principals.Principal_Access; begin Manager.Authenticate (Auth => Auth, IpAddr => "", Principal => Principal); Result := Principal.all'Access; end Create_Principal; -- ------------------------------ -- Get the redirection URL that must be used after the authentication succeeded. -- ------------------------------ function Get_Redirect_URL (Server : in Verify_Auth_Servlet; Session : in ASF.Sessions.Session'Class; Request : in ASF.Requests.Request'Class) return String is Redir : constant Util.Beans.Objects.Object := Session.Get_Attribute (REDIRECT_ATTRIBUTE); Ctx : constant ASF.Servlets.Servlet_Registry_Access := Server.Get_Servlet_Context; begin if not Util.Beans.Objects.Is_Null (Redir) then return Util.Beans.Objects.To_String (Redir); end if; declare Cookies : constant ASF.Cookies.Cookie_Array := Request.Get_Cookies; begin for I in Cookies'Range loop if ASF.Cookies.Get_Name (Cookies (I)) = AWA.Users.Filters.REDIRECT_COOKIE then return ASF.Cookies.Get_Value (Cookies (I)); end if; end loop; end; return Ctx.Get_Init_Parameter ("openid.success_url"); end Get_Redirect_URL; -- ------------------------------ -- Verify the authentication result that was returned by the OpenID provider. -- If the authentication succeeded and the signature was correct, sets a -- user principals on the session. -- ------------------------------ procedure Do_Get (Server : in Verify_Auth_Servlet; Request : in out ASF.Requests.Request'Class; Response : in out ASF.Responses.Response'Class) is use type Security.Auth.Auth_Result; type Auth_Params is new Security.Auth.Parameters with null record; overriding function Get_Parameter (Params : in Auth_Params; Name : in String) return String; overriding function Get_Parameter (Params : in Auth_Params; Name : in String) return String is pragma Unreferenced (Params); begin return Request.Get_Parameter (Name); end Get_Parameter; Session : ASF.Sessions.Session := Request.Get_Session (Create => False); Bean : Util.Beans.Objects.Object; Mgr : Security.Auth.Manager; Assoc : Association_Access; Credential : Security.Auth.Authentication; Params : Auth_Params; begin Log.Info ("Verify openid authentication"); if not Session.Is_Valid then Log.Warn ("Session has expired during OpenID authentication process"); Response.Set_Status (ASF.Responses.SC_FORBIDDEN); return; end if; Bean := Session.Get_Attribute (OPENID_ASSOC_ATTRIBUTE); -- Cleanup the session and drop the association end point. Session.Remove_Attribute (OPENID_ASSOC_ATTRIBUTE); if Util.Beans.Objects.Is_Null (Bean) then Log.Warn ("Verify openid request without active session"); Response.Set_Status (ASF.Responses.SC_FORBIDDEN); return; end if; Assoc := Association_Bean.To_Element_Access (Bean); Server.Initialize (Security.Auth.Get_Provider (Assoc.all), Mgr); -- Verify that what we receive through the callback matches the association key. Mgr.Verify (Assoc.all, Params, Credential); if Security.Auth.Get_Status (Credential) /= Security.Auth.AUTHENTICATED then Log.Info ("Authentication has failed"); Response.Set_Status (ASF.Responses.SC_FORBIDDEN); return; end if; Log.Info ("Authentication succeeded for {0}", Security.Auth.Get_Email (Credential)); -- Get a user principal and set it on the session. declare User : ASF.Principals.Principal_Access; Redirect : constant String := Verify_Auth_Servlet'Class (Server).Get_Redirect_URL (Session, Request); begin Verify_Auth_Servlet'Class (Server).Create_Principal (Credential, User); Session.Set_Principal (User); Session.Remove_Attribute (REDIRECT_ATTRIBUTE); Log.Info ("Redirect user to URL: {0}", Redirect); Response.Send_Redirect (Redirect); end; end Do_Get; end AWA.Users.Servlets;
42.138776
95
0.62747
233e3590d9d642bbf244b85d128074a27ca925d5
103,757
adb
Ada
matrixmultiplication.proj/baseline/.autopilot/db/matrixmul.sched.adb
schuang23/MSOC
cef110c1efe0ad8c1892d33505f7648de1fa2416
[ "Unlicense" ]
null
null
null
matrixmultiplication.proj/baseline/.autopilot/db/matrixmul.sched.adb
schuang23/MSOC
cef110c1efe0ad8c1892d33505f7648de1fa2416
[ "Unlicense" ]
null
null
null
matrixmultiplication.proj/baseline/.autopilot/db/matrixmul.sched.adb
schuang23/MSOC
cef110c1efe0ad8c1892d33505f7648de1fa2416
[ "Unlicense" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>matrixmul</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>A</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>A</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>1024</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>B</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>B</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>1024</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>AB</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>AB</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>1024</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>40</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>15</id> <name>_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>D:\msoc\pp4fpgas-master\examples</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>75</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>17</id> <name>i_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>77</item> <item>78</item> <item>79</item> <item>80</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>18</id> <name>icmp_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>81</item> <item>83</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.42</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>20</id> <name>i</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>84</item> <item>86</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>21</id> <name>_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>87</item> <item>88</item> <item>89</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>25</id> <name>tmp_2</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>91</item> <item>92</item> <item>94</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>26</id> <name>zext_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>95</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>27</id> <name>_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>96</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>29</id> <name>j_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>97</item> <item>98</item> <item>99</item> <item>100</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>30</id> <name>icmp_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>101</item> <item>102</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.42</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>32</id> <name>j</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>103</item> <item>104</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>33</id> <name>_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>105</item> <item>106</item> <item>107</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>37</id> <name>zext_ln18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>108</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>38</id> <name>add_ln18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>109</item> <item>110</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.63</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>39</id> <name>zext_ln18_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>111</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>40</id> <name>AB_addr</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>112</item> <item>114</item> <item>115</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>41</id> <name>_ln15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>116</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>43</id> <name>ABij_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ABij</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>118</item> <item>119</item> <item>120</item> <item>121</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>44</id> <name>k_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>122</item> <item>123</item> <item>124</item> <item>125</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>45</id> <name>icmp_ln15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>126</item> <item>127</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.42</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>47</id> <name>k</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>128</item> <item>129</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>48</id> <name>_ln15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>130</item> <item>131</item> <item>132</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>51</id> <name>zext_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>133</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>52</id> <name>add_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>134</item> <item>135</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.63</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>53</id> <name>zext_ln16_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>136</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>54</id> <name>A_addr</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>137</item> <item>138</item> <item>139</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>55</id> <name>tmp_3</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>140</item> <item>141</item> <item>142</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>56</id> <name>zext_ln16_2</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>143</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>57</id> <name>add_ln16_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>144</item> <item>145</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.63</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>58</id> <name>zext_ln16_3</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>146</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>59</id> <name>B_addr</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>147</item> <item>148</item> <item>149</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>60</id> <name>A_load</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>150</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.56</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>61</id> <name>B_load</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>151</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.56</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>62</id> <name>mul_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>152</item> <item>153</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>63</id> <name>ABij</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName>ABij</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>154</item> <item>155</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.55</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>64</id> <name>_ln15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>156</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>66</id> <name>AB_addr_write_ln18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>157</item> <item>158</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.56</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>68</id> <name>_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>159</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>71</id> <name>_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>160</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>73</id> <name>_ln21</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>21</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>21</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_44"> <Value> <Obj> <type>2</type> <id>76</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_45"> <Value> <Obj> <type>2</type> <id>82</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>32</content> </item> <item class_id_reference="16" object_id="_46"> <Value> <Obj> <type>2</type> <id>85</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_47"> <Value> <Obj> <type>2</type> <id>93</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_48"> <Value> <Obj> <type>2</type> <id>113</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_49"> <Value> <Obj> <type>2</type> <id>117</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_50"> <Obj> <type>3</type> <id>16</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>15</item> </node_objs> </item> <item class_id_reference="18" object_id="_51"> <Obj> <type>3</type> <id>22</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>17</item> <item>18</item> <item>20</item> <item>21</item> </node_objs> </item> <item class_id_reference="18" object_id="_52"> <Obj> <type>3</type> <id>28</id> <name>row_begin</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>3</count> <item_version>0</item_version> <item>25</item> <item>26</item> <item>27</item> </node_objs> </item> <item class_id_reference="18" object_id="_53"> <Obj> <type>3</type> <id>34</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>29</item> <item>30</item> <item>32</item> <item>33</item> </node_objs> </item> <item class_id_reference="18" object_id="_54"> <Obj> <type>3</type> <id>42</id> <name>col_begin</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> </node_objs> </item> <item class_id_reference="18" object_id="_55"> <Obj> <type>3</type> <id>49</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>43</item> <item>44</item> <item>45</item> <item>47</item> <item>48</item> </node_objs> </item> <item class_id_reference="18" object_id="_56"> <Obj> <type>3</type> <id>65</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>14</count> <item_version>0</item_version> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> </node_objs> </item> <item class_id_reference="18" object_id="_57"> <Obj> <type>3</type> <id>69</id> <name>col_end</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>66</item> <item>68</item> </node_objs> </item> <item class_id_reference="18" object_id="_58"> <Obj> <type>3</type> <id>72</id> <name>row_end</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>71</item> </node_objs> </item> <item class_id_reference="18" object_id="_59"> <Obj> <type>3</type> <id>74</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>73</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>89</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_60"> <id>75</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_61"> <id>77</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_62"> <id>78</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_63"> <id>79</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>17</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_64"> <id>80</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>17</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_65"> <id>81</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_66"> <id>83</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_67"> <id>84</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_68"> <id>86</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_69"> <id>87</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_70"> <id>88</id> <edge_type>2</edge_type> <source_obj>28</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_71"> <id>89</id> <edge_type>2</edge_type> <source_obj>74</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_72"> <id>92</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_73"> <id>94</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_74"> <id>95</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_75"> <id>96</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_76"> <id>97</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_77"> <id>98</id> <edge_type>2</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_78"> <id>99</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>29</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_79"> <id>100</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>29</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_80"> <id>101</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_81"> <id>102</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_82"> <id>103</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_83"> <id>104</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_84"> <id>105</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_85"> <id>106</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_86"> <id>107</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_87"> <id>108</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_88"> <id>109</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_89"> <id>110</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_90"> <id>111</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_91"> <id>112</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>114</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_93"> <id>115</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_94"> <id>116</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>118</id> <edge_type>1</edge_type> <source_obj>117</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>119</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_97"> <id>120</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>43</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_98"> <id>121</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>43</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_99"> <id>122</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_100"> <id>123</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_101"> <id>124</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>44</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_102"> <id>125</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>44</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_103"> <id>126</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_104"> <id>127</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_105"> <id>128</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_106"> <id>129</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_107"> <id>130</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_108"> <id>131</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_109"> <id>132</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_110"> <id>133</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_111"> <id>134</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_112"> <id>135</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_113"> <id>136</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_114"> <id>137</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_115"> <id>138</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_116"> <id>139</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_117"> <id>141</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_118"> <id>142</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_119"> <id>143</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_120"> <id>144</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_121"> <id>145</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_122"> <id>146</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_123"> <id>147</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_124"> <id>148</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_125"> <id>149</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_126"> <id>150</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_127"> <id>151</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_128"> <id>152</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_129"> <id>153</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_130"> <id>154</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_131"> <id>155</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_132"> <id>156</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_133"> <id>157</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_134"> <id>158</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_135"> <id>159</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_136"> <id>160</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_137"> <id>325</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_138"> <id>326</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_139"> <id>327</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>328</id> <edge_type>2</edge_type> <source_obj>28</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_141"> <id>329</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>330</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_143"> <id>331</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_144"> <id>332</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>333</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>334</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>49</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>335</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>34</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>336</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>22</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_149"> <mId>1</mId> <mTag>matrixmul</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>10</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>264257</mMinLatency> <mMaxLatency>264257</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_150"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>16</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_151"> <mId>3</mId> <mTag>row</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>4</item> <item>5</item> <item>9</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>32</mMinTripCount> <mMaxTripCount>32</mMaxTripCount> <mMinLatency>264256</mMinLatency> <mMaxLatency>264256</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_152"> <mId>4</mId> <mTag>Region 1</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>22</item> <item>28</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_153"> <mId>5</mId> <mTag>col</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>6</item> <item>7</item> <item>8</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>32</mMinTripCount> <mMaxTripCount>32</mMaxTripCount> <mMinLatency>8256</mMinLatency> <mMaxLatency>8256</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_154"> <mId>6</mId> <mTag>Region 2</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>34</item> <item>42</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_155"> <mId>7</mId> <mTag>product</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>49</item> <item>65</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>32</mMinTripCount> <mMaxTripCount>32</mMaxTripCount> <mMinLatency>256</mMinLatency> <mMaxLatency>256</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_156"> <mId>8</mId> <mTag>Region 3</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>69</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_157"> <mId>9</mId> <mTag>Region 4</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>72</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_158"> <mId>10</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>74</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="26" tracking_level="0" version="0"> <count>40</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>15</first> <second class_id="28" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>61</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>62</first> <second> <first>5</first> <second>4</second> </second> </item> <item> <first>63</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>16</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>28</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>34</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>42</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>49</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>65</first> <second> <first>3</first> <second>10</second> </second> </item> <item> <first>69</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>72</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>74</first> <second> <first>1</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="32" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
28.11081
71
0.58584
59ae2a5cd5842f145f5813a4f4ae7464e4afa9a6
24,650
adb
Ada
llvm-gcc-4.2-2.9/gcc/ada/a-cohama.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/a-cohama.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/a-cohama.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- A D A . C O N T A I N E R S . H A S H E D _ M A P S -- -- -- -- B o d y -- -- -- -- Copyright (C) 2004-2005, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- This unit was originally developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ with Ada.Unchecked_Deallocation; with Ada.Containers.Hash_Tables.Generic_Operations; pragma Elaborate_All (Ada.Containers.Hash_Tables.Generic_Operations); with Ada.Containers.Hash_Tables.Generic_Keys; pragma Elaborate_All (Ada.Containers.Hash_Tables.Generic_Keys); package body Ada.Containers.Hashed_Maps is ----------------------- -- Local Subprograms -- ----------------------- function Copy_Node (Source : Node_Access) return Node_Access; pragma Inline (Copy_Node); function Equivalent_Key_Node (Key : Key_Type; Node : Node_Access) return Boolean; pragma Inline (Equivalent_Key_Node); procedure Free (X : in out Node_Access); function Find_Equal_Key (R_HT : Hash_Table_Type; L_Node : Node_Access) return Boolean; function Hash_Node (Node : Node_Access) return Hash_Type; pragma Inline (Hash_Node); function Next (Node : Node_Access) return Node_Access; pragma Inline (Next); function Read_Node (Stream : access Root_Stream_Type'Class) return Node_Access; pragma Inline (Read_Node); procedure Set_Next (Node : Node_Access; Next : Node_Access); pragma Inline (Set_Next); function Vet (Position : Cursor) return Boolean; procedure Write_Node (Stream : access Root_Stream_Type'Class; Node : Node_Access); pragma Inline (Write_Node); -------------------------- -- Local Instantiations -- -------------------------- package HT_Ops is new Hash_Tables.Generic_Operations (HT_Types => HT_Types, Hash_Node => Hash_Node, Next => Next, Set_Next => Set_Next, Copy_Node => Copy_Node, Free => Free); package Key_Ops is new Hash_Tables.Generic_Keys (HT_Types => HT_Types, Next => Next, Set_Next => Set_Next, Key_Type => Key_Type, Hash => Hash, Equivalent_Keys => Equivalent_Key_Node); function Is_Equal is new HT_Ops.Generic_Equal (Find_Equal_Key); procedure Read_Nodes is new HT_Ops.Generic_Read (Read_Node); procedure Write_Nodes is new HT_Ops.Generic_Write (Write_Node); --------- -- "=" -- --------- function "=" (Left, Right : Map) return Boolean is begin return Is_Equal (Left.HT, Right.HT); end "="; ------------ -- Adjust -- ------------ procedure Adjust (Container : in out Map) is begin HT_Ops.Adjust (Container.HT); end Adjust; -------------- -- Capacity -- -------------- function Capacity (Container : Map) return Count_Type is begin return HT_Ops.Capacity (Container.HT); end Capacity; ----------- -- Clear -- ----------- procedure Clear (Container : in out Map) is begin HT_Ops.Clear (Container.HT); end Clear; -------------- -- Contains -- -------------- function Contains (Container : Map; Key : Key_Type) return Boolean is begin return Find (Container, Key) /= No_Element; end Contains; --------------- -- Copy_Node -- --------------- function Copy_Node (Source : Node_Access) return Node_Access is Target : constant Node_Access := new Node_Type'(Key => Source.Key, Element => Source.Element, Next => null); begin return Target; end Copy_Node; ------------ -- Delete -- ------------ procedure Delete (Container : in out Map; Key : Key_Type) is X : Node_Access; begin Key_Ops.Delete_Key_Sans_Free (Container.HT, Key, X); if X = null then raise Constraint_Error with "attempt to delete key not in map"; end if; Free (X); end Delete; procedure Delete (Container : in out Map; Position : in out Cursor) is begin if Position.Node = null then raise Constraint_Error with "Position cursor of Delete equals No_Element"; end if; if Position.Container /= Container'Unrestricted_Access then raise Program_Error with "Position cursor of Delete designates wrong map"; end if; if Container.HT.Busy > 0 then raise Program_Error with "Delete attempted to tamper with elements (map is busy)"; end if; pragma Assert (Vet (Position), "bad cursor in Delete"); HT_Ops.Delete_Node_Sans_Free (Container.HT, Position.Node); Free (Position.Node); Position.Container := null; end Delete; ------------- -- Element -- ------------- function Element (Container : Map; Key : Key_Type) return Element_Type is Node : constant Node_Access := Key_Ops.Find (Container.HT, Key); begin if Node = null then raise Constraint_Error with "no element available because key not in map"; end if; return Node.Element; end Element; function Element (Position : Cursor) return Element_Type is begin if Position.Node = null then raise Constraint_Error with "Position cursor of function Element equals No_Element"; end if; pragma Assert (Vet (Position), "bad cursor in function Element"); return Position.Node.Element; end Element; ------------------------- -- Equivalent_Key_Node -- ------------------------- function Equivalent_Key_Node (Key : Key_Type; Node : Node_Access) return Boolean is begin return Equivalent_Keys (Key, Node.Key); end Equivalent_Key_Node; --------------------- -- Equivalent_Keys -- --------------------- function Equivalent_Keys (Left, Right : Cursor) return Boolean is begin if Left.Node = null then raise Constraint_Error with "Left cursor of Equivalent_Keys equals No_Element"; end if; if Right.Node = null then raise Constraint_Error with "Right cursor of Equivalent_Keys equals No_Element"; end if; pragma Assert (Vet (Left), "Left cursor of Equivalent_Keys is bad"); pragma Assert (Vet (Right), "Right cursor of Equivalent_Keys is bad"); return Equivalent_Keys (Left.Node.Key, Right.Node.Key); end Equivalent_Keys; function Equivalent_Keys (Left : Cursor; Right : Key_Type) return Boolean is begin if Left.Node = null then raise Constraint_Error with "Left cursor of Equivalent_Keys equals No_Element"; end if; pragma Assert (Vet (Left), "Left cursor in Equivalent_Keys is bad"); return Equivalent_Keys (Left.Node.Key, Right); end Equivalent_Keys; function Equivalent_Keys (Left : Key_Type; Right : Cursor) return Boolean is begin if Right.Node = null then raise Constraint_Error with "Right cursor of Equivalent_Keys equals No_Element"; end if; pragma Assert (Vet (Right), "Right cursor of Equivalent_Keys is bad"); return Equivalent_Keys (Left, Right.Node.Key); end Equivalent_Keys; ------------- -- Exclude -- ------------- procedure Exclude (Container : in out Map; Key : Key_Type) is X : Node_Access; begin Key_Ops.Delete_Key_Sans_Free (Container.HT, Key, X); Free (X); end Exclude; -------------- -- Finalize -- -------------- procedure Finalize (Container : in out Map) is begin HT_Ops.Finalize (Container.HT); end Finalize; ---------- -- Find -- ---------- function Find (Container : Map; Key : Key_Type) return Cursor is Node : constant Node_Access := Key_Ops.Find (Container.HT, Key); begin if Node = null then return No_Element; end if; return Cursor'(Container'Unchecked_Access, Node); end Find; -------------------- -- Find_Equal_Key -- -------------------- function Find_Equal_Key (R_HT : Hash_Table_Type; L_Node : Node_Access) return Boolean is R_Index : constant Hash_Type := Key_Ops.Index (R_HT, L_Node.Key); R_Node : Node_Access := R_HT.Buckets (R_Index); begin while R_Node /= null loop if Equivalent_Keys (L_Node.Key, R_Node.Key) then return L_Node.Element = R_Node.Element; end if; R_Node := R_Node.Next; end loop; return False; end Find_Equal_Key; ----------- -- First -- ----------- function First (Container : Map) return Cursor is Node : constant Node_Access := HT_Ops.First (Container.HT); begin if Node = null then return No_Element; end if; return Cursor'(Container'Unchecked_Access, Node); end First; ---------- -- Free -- ---------- procedure Free (X : in out Node_Access) is procedure Deallocate is new Ada.Unchecked_Deallocation (Node_Type, Node_Access); begin if X /= null then X.Next := X; -- detect mischief (in Vet) Deallocate (X); end if; end Free; ----------------- -- Has_Element -- ----------------- function Has_Element (Position : Cursor) return Boolean is begin pragma Assert (Vet (Position), "bad cursor in Has_Element"); return Position.Node /= null; end Has_Element; --------------- -- Hash_Node -- --------------- function Hash_Node (Node : Node_Access) return Hash_Type is begin return Hash (Node.Key); end Hash_Node; ------------- -- Include -- ------------- procedure Include (Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Position : Cursor; Inserted : Boolean; begin Insert (Container, Key, New_Item, Position, Inserted); if not Inserted then if Container.HT.Lock > 0 then raise Program_Error with "Include attempted to tamper with cursors (map is locked)"; end if; Position.Node.Key := Key; Position.Node.Element := New_Item; end if; end Include; ------------ -- Insert -- ------------ procedure Insert (Container : in out Map; Key : Key_Type; Position : out Cursor; Inserted : out Boolean) is function New_Node (Next : Node_Access) return Node_Access; pragma Inline (New_Node); procedure Local_Insert is new Key_Ops.Generic_Conditional_Insert (New_Node); -------------- -- New_Node -- -------------- function New_Node (Next : Node_Access) return Node_Access is begin return new Node_Type'(Key => Key, Element => <>, Next => Next); end New_Node; HT : Hash_Table_Type renames Container.HT; -- Start of processing for Insert begin if HT_Ops.Capacity (HT) = 0 then HT_Ops.Reserve_Capacity (HT, 1); end if; Local_Insert (HT, Key, Position.Node, Inserted); if Inserted and then HT.Length > HT_Ops.Capacity (HT) then HT_Ops.Reserve_Capacity (HT, HT.Length); end if; Position.Container := Container'Unchecked_Access; end Insert; procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type; Position : out Cursor; Inserted : out Boolean) is function New_Node (Next : Node_Access) return Node_Access; pragma Inline (New_Node); procedure Local_Insert is new Key_Ops.Generic_Conditional_Insert (New_Node); -------------- -- New_Node -- -------------- function New_Node (Next : Node_Access) return Node_Access is begin return new Node_Type'(Key, New_Item, Next); end New_Node; HT : Hash_Table_Type renames Container.HT; -- Start of processing for Insert begin if HT_Ops.Capacity (HT) = 0 then HT_Ops.Reserve_Capacity (HT, 1); end if; Local_Insert (HT, Key, Position.Node, Inserted); if Inserted and then HT.Length > HT_Ops.Capacity (HT) then HT_Ops.Reserve_Capacity (HT, HT.Length); end if; Position.Container := Container'Unchecked_Access; end Insert; procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Position : Cursor; Inserted : Boolean; begin Insert (Container, Key, New_Item, Position, Inserted); if not Inserted then raise Constraint_Error with "attempt to insert key already in map"; end if; end Insert; -------------- -- Is_Empty -- -------------- function Is_Empty (Container : Map) return Boolean is begin return Container.HT.Length = 0; end Is_Empty; ------------- -- Iterate -- ------------- procedure Iterate (Container : Map; Process : not null access procedure (Position : Cursor)) is procedure Process_Node (Node : Node_Access); pragma Inline (Process_Node); procedure Local_Iterate is new HT_Ops.Generic_Iteration (Process_Node); ------------------ -- Process_Node -- ------------------ procedure Process_Node (Node : Node_Access) is begin Process (Cursor'(Container'Unchecked_Access, Node)); end Process_Node; -- Start of processing for Iterate begin Local_Iterate (Container.HT); end Iterate; --------- -- Key -- --------- function Key (Position : Cursor) return Key_Type is begin if Position.Node = null then raise Constraint_Error with "Position cursor of function Key equals No_Element"; end if; pragma Assert (Vet (Position), "bad cursor in function Key"); return Position.Node.Key; end Key; ------------ -- Length -- ------------ function Length (Container : Map) return Count_Type is begin return Container.HT.Length; end Length; ---------- -- Move -- ---------- procedure Move (Target : in out Map; Source : in out Map) is begin HT_Ops.Move (Target => Target.HT, Source => Source.HT); end Move; ---------- -- Next -- ---------- function Next (Node : Node_Access) return Node_Access is begin return Node.Next; end Next; function Next (Position : Cursor) return Cursor is begin if Position.Node = null then return No_Element; end if; pragma Assert (Vet (Position), "bad cursor in function Next"); declare HT : Hash_Table_Type renames Position.Container.HT; Node : constant Node_Access := HT_Ops.Next (HT, Position.Node); begin if Node = null then return No_Element; end if; return Cursor'(Position.Container, Node); end; end Next; procedure Next (Position : in out Cursor) is begin Position := Next (Position); end Next; ------------------- -- Query_Element -- ------------------- procedure Query_Element (Position : Cursor; Process : not null access procedure (Key : Key_Type; Element : Element_Type)) is begin if Position.Node = null then raise Constraint_Error with "Position cursor of Query_Element equals No_Element"; end if; pragma Assert (Vet (Position), "bad cursor in Query_Element"); declare M : Map renames Position.Container.all; HT : Hash_Table_Type renames M.HT'Unrestricted_Access.all; B : Natural renames HT.Busy; L : Natural renames HT.Lock; begin B := B + 1; L := L + 1; declare K : Key_Type renames Position.Node.Key; E : Element_Type renames Position.Node.Element; begin Process (K, E); exception when others => L := L - 1; B := B - 1; raise; end; L := L - 1; B := B - 1; end; end Query_Element; ---------- -- Read -- ---------- procedure Read (Stream : access Root_Stream_Type'Class; Container : out Map) is begin Read_Nodes (Stream, Container.HT); end Read; procedure Read (Stream : access Root_Stream_Type'Class; Item : out Cursor) is begin raise Program_Error with "attempt to stream map cursor"; end Read; --------------- -- Read_Node -- --------------- function Read_Node (Stream : access Root_Stream_Type'Class) return Node_Access is Node : Node_Access := new Node_Type; begin Key_Type'Read (Stream, Node.Key); Element_Type'Read (Stream, Node.Element); return Node; exception when others => Free (Node); raise; end Read_Node; ------------- -- Replace -- ------------- procedure Replace (Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Node : constant Node_Access := Key_Ops.Find (Container.HT, Key); begin if Node = null then raise Constraint_Error with "attempt to replace key not in map"; end if; if Container.HT.Lock > 0 then raise Program_Error with "Replace attempted to tamper with cursors (map is locked)"; end if; Node.Key := Key; Node.Element := New_Item; end Replace; --------------------- -- Replace_Element -- --------------------- procedure Replace_Element (Container : in out Map; Position : Cursor; New_Item : Element_Type) is begin if Position.Node = null then raise Constraint_Error with "Position cursor of Replace_Element equals No_Element"; end if; if Position.Container /= Container'Unrestricted_Access then raise Program_Error with "Position cursor of Replace_Element designates wrong map"; end if; if Position.Container.HT.Lock > 0 then raise Program_Error with "Replace_Element attempted to tamper with cursors (map is locked)"; end if; pragma Assert (Vet (Position), "bad cursor in Replace_Element"); Position.Node.Element := New_Item; end Replace_Element; ---------------------- -- Reserve_Capacity -- ---------------------- procedure Reserve_Capacity (Container : in out Map; Capacity : Count_Type) is begin HT_Ops.Reserve_Capacity (Container.HT, Capacity); end Reserve_Capacity; -------------- -- Set_Next -- -------------- procedure Set_Next (Node : Node_Access; Next : Node_Access) is begin Node.Next := Next; end Set_Next; -------------------- -- Update_Element -- -------------------- procedure Update_Element (Container : in out Map; Position : Cursor; Process : not null access procedure (Key : Key_Type; Element : in out Element_Type)) is begin if Position.Node = null then raise Constraint_Error with "Position cursor of Update_Element equals No_Element"; end if; if Position.Container /= Container'Unrestricted_Access then raise Program_Error with "Position cursor of Update_Element designates wrong map"; end if; pragma Assert (Vet (Position), "bad cursor in Update_Element"); declare HT : Hash_Table_Type renames Container.HT; B : Natural renames HT.Busy; L : Natural renames HT.Lock; begin B := B + 1; L := L + 1; declare K : Key_Type renames Position.Node.Key; E : Element_Type renames Position.Node.Element; begin Process (K, E); exception when others => L := L - 1; B := B - 1; raise; end; L := L - 1; B := B - 1; end; end Update_Element; --------- -- Vet -- --------- function Vet (Position : Cursor) return Boolean is begin if Position.Node = null then return Position.Container = null; end if; if Position.Container = null then return False; end if; if Position.Node.Next = Position.Node then return False; end if; declare HT : Hash_Table_Type renames Position.Container.HT; X : Node_Access; begin if HT.Length = 0 then return False; end if; if HT.Buckets = null or else HT.Buckets'Length = 0 then return False; end if; X := HT.Buckets (Key_Ops.Index (HT, Position.Node.Key)); for J in 1 .. HT.Length loop if X = Position.Node then return True; end if; if X = null then return False; end if; if X = X.Next then -- to prevent endless loop return False; end if; X := X.Next; end loop; return False; end; end Vet; ----------- -- Write -- ----------- procedure Write (Stream : access Root_Stream_Type'Class; Container : Map) is begin Write_Nodes (Stream, Container.HT); end Write; procedure Write (Stream : access Root_Stream_Type'Class; Item : Cursor) is begin raise Program_Error with "attempt to stream map cursor"; end Write; ---------------- -- Write_Node -- ---------------- procedure Write_Node (Stream : access Root_Stream_Type'Class; Node : Node_Access) is begin Key_Type'Write (Stream, Node.Key); Element_Type'Write (Stream, Node.Element); end Write_Node; end Ada.Containers.Hashed_Maps;
26.00211
79
0.549412
59e01f8dc53487e7a88a932c101bfa8c7a998eee
3,739
ads
Ada
tools/scitools/conf/understand/ada/ada12/s-geveop.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada12/s-geveop.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/s-geveop.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . G E N E R I C _ V E C T O R _ O P E R A T I O N S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2002-2009 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains generic procedures for vector operations on arrays. -- If the arguments are aligned on word boundaries and the word size is a -- multiple M of the element size, the operations will be done M elements -- at a time using vector operations on a word. -- All routines assume argument arrays have the same length, and arguments -- with mode "in" do not alias arguments with mode "out" or "in out". -- If the number N of elements to be processed is not a multiple of M -- the final N rem M elements will be processed one item at a time. with System.Vectors; with System.Storage_Elements; generic type Element is (<>); type Index is (<>); type Element_Array is array (Index range <>) of Element; package System.Generic_Vector_Operations is pragma Pure; generic with function Element_Op (X, Y : Element) return Element; with function Vector_Op (X, Y : Vectors.Vector) return Vectors.Vector; procedure Binary_Operation (R, X, Y : System.Address; Length : System.Storage_Elements.Storage_Count); generic with function Element_Op (X : Element) return Element; with function Vector_Op (X : Vectors.Vector) return Vectors.Vector; procedure Unary_Operation (R, X : System.Address; Length : System.Storage_Elements.Storage_Count); end System.Generic_Vector_Operations;
55.80597
78
0.460551
a1f51936466ec444d54a9eba0689285e178db906
1,478
ads
Ada
tier-1/xcb/source/thin/xcb-xcb_glx_get_convolution_filter_cookie_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
2
2015-11-12T11:16:20.000Z
2021-08-24T22:32:04.000Z
tier-1/xcb/source/thin/xcb-xcb_glx_get_convolution_filter_cookie_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
1
2018-06-05T05:19:35.000Z
2021-11-20T01:13:23.000Z
tier-1/xcb/source/thin/xcb-xcb_glx_get_convolution_filter_cookie_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
null
null
null
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_get_convolution_filter_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb .xcb_glx_get_convolution_filter_cookie_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_get_convolution_filter_cookie_t.Item, Element_Array => xcb.xcb_glx_get_convolution_filter_cookie_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C .size_t range <>) of aliased xcb .xcb_glx_get_convolution_filter_cookie_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_get_convolution_filter_cookie_t.Pointer, Element_Array => xcb.xcb_glx_get_convolution_filter_cookie_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_glx_get_convolution_filter_cookie_t;
26.392857
78
0.684032
a108bc4c796fd660e3a1923545b02572ef27bed9
216,023
adb
Ada
honeybee_proj/HBH/.autopilot/db/checkAxis_1.sched.adb
AnthonyKenny98/HoneyBee
5b1859fe8c50cb5bd709f53780c4e5ce7160b987
[ "MIT" ]
null
null
null
honeybee_proj/HBH/.autopilot/db/checkAxis_1.sched.adb
AnthonyKenny98/HoneyBee
5b1859fe8c50cb5bd709f53780c4e5ce7160b987
[ "MIT" ]
null
null
null
honeybee_proj/HBH/.autopilot/db/checkAxis_1.sched.adb
AnthonyKenny98/HoneyBee
5b1859fe8c50cb5bd709f53780c4e5ce7160b987
[ "MIT" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>checkAxis_1</name> <ret_bitwidth>64</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>edge_p1_x</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>edge_p1_y</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>edge_p1_z</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>edge_p2_x</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>edge_p2_y</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>edge_p2_z</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>92</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_7"> <Value> <Obj> <type>0</type> <id>8</id> <name>edge_p2_z_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>110</item> <item>111</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>9</id> <name>edge_p2_y_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>112</item> <item>113</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>10</id> <name>edge_p2_x_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>114</item> <item>115</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>11</id> <name>edge_p1_z_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>116</item> <item>117</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>12</id> <name>edge_p1_y_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>118</item> <item>119</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>13</id> <name>edge_p1_x_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>120</item> <item>121</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>14</id> <name>call_ret</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>96</bitwidth> </Value> <oprand_edges> <count>8</count> <item_version>0</item_version> <item>123</item> <item>124</item> <item>125</item> <item>126</item> <item>127</item> <item>128</item> <item>129</item> <item>131</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>8.58</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>15</id> <name>p_s</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>132</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>16</id> <name>p_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>133</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>17</id> <name>p_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>134</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>18</id> <name>tmp_s</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>130</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>10</count> <item_version>0</item_version> <item>136</item> <item>137</item> <item>138</item> <item>139</item> <item>140</item> <item>141</item> <item>142</item> <item>143</item> <item>144</item> <item>145</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.19</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>19</id> <name>_ln130</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>130</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>146</item> <item>147</item> <item>148</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>21</id> <name>j_assign</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>150</item> <item>151</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>7.59</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>22</id> <name>k_assign</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>152</item> <item>153</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>7.59</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>23</id> <name>shl_ln80</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>154</item> <item>156</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>24</id> <name>shl_ln80_4</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>157</item> <item>159</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>25</id> <name>add_ln80</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>160</item> <item>161</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.89</m_delay> <m_topoIndex>41</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>26</id> <name>zext_ln132</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>162</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>42</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>27</id> <name>shl_ln132</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>164</item> <item>165</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>43</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>28</id> <name>add_ln80_10</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>167</item> <item>168</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>29</id> <name>add_ln80_11</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>169</item> <item>170</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.58</m_delay> <m_topoIndex>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>30</id> <name>zext_ln133</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>171</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>46</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>31</id> <name>shl_ln133</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>172</item> <item>173</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>47</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>32</id> <name>or_ln133</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>174</item> <item>175</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.93</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>33</id> <name>_ln134</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>134</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>134</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>176</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>35</id> <name>collisions_load_0</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>177</item> <item>178</item> <item>180</item> <item>181</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>36</id> <name>call_ret_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>96</bitwidth> </Value> <oprand_edges> <count>8</count> <item_version>0</item_version> <item>182</item> <item>183</item> <item>184</item> <item>185</item> <item>186</item> <item>187</item> <item>188</item> <item>190</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>8.58</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>37</id> <name>p_04_0_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>191</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>38</id> <name>p_15_0_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>192</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>39</id> <name>p_26_0_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>193</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>40</id> <name>tmp_45_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>130</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>10</count> <item_version>0</item_version> <item>194</item> <item>195</item> <item>196</item> <item>197</item> <item>198</item> <item>199</item> <item>200</item> <item>201</item> <item>202</item> <item>203</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.19</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>41</id> <name>_ln130</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>130</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>204</item> <item>205</item> <item>206</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>43</id> <name>j_assign_4</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>207</item> <item>208</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>7.59</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>44</id> <name>k_assign_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>209</item> <item>210</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>7.59</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>45</id> <name>shl_ln80_5</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>211</item> <item>212</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>46</id> <name>shl_ln80_6</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>213</item> <item>214</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>47</id> <name>or_ln80</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>215</item> <item>217</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>53</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>48</id> <name>add_ln80_12</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>218</item> <item>219</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.89</m_delay> <m_topoIndex>54</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>49</id> <name>zext_ln132_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>220</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>55</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>50</id> <name>shl_ln132_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>221</item> <item>222</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>56</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>51</id> <name>add_ln80_13</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>223</item> <item>224</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.89</m_delay> <m_topoIndex>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>52</id> <name>zext_ln133_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>225</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>58</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>53</id> <name>shl_ln133_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>226</item> <item>227</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>59</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>54</id> <name>or_ln133_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>228</item> <item>229</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.93</m_delay> <m_topoIndex>60</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>55</id> <name>_ln134</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>134</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>134</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>230</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>61</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>57</id> <name>collisions_load_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>231</item> <item>232</item> <item>233</item> <item>234</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>62</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>58</id> <name>call_ret_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>96</bitwidth> </Value> <oprand_edges> <count>8</count> <item_version>0</item_version> <item>235</item> <item>236</item> <item>237</item> <item>238</item> <item>239</item> <item>240</item> <item>241</item> <item>243</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>8.58</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>59</id> <name>p_04_0_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>244</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>60</id> <name>p_15_0_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>245</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>61</id> <name>p_26_0_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>246</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>62</id> <name>tmp_45_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>130</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>10</count> <item_version>0</item_version> <item>247</item> <item>248</item> <item>249</item> <item>250</item> <item>251</item> <item>252</item> <item>253</item> <item>254</item> <item>255</item> <item>256</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.19</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>63</id> <name>_ln130</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>130</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>257</item> <item>258</item> <item>259</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>65</id> <name>j_assign_5</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>260</item> <item>261</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>7.59</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>66</id> <name>k_assign_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>262</item> <item>263</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>7.59</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>67</id> <name>shl_ln80_7</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>264</item> <item>265</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>63</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>68</id> <name>shl_ln80_8</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>266</item> <item>267</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>64</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>69</id> <name>or_ln80_1</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>268</item> <item>269</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>65</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>70</id> <name>add_ln80_14</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>270</item> <item>271</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.89</m_delay> <m_topoIndex>66</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>71</id> <name>zext_ln132_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>272</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>67</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>72</id> <name>shl_ln132_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>273</item> <item>274</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>68</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>73</id> <name>or_ln80_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>275</item> <item>276</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>69</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>74</id> <name>add_ln80_15</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>277</item> <item>278</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.89</m_delay> <m_topoIndex>70</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>75</id> <name>zext_ln133_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>279</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>71</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>76</id> <name>shl_ln133_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>280</item> <item>281</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>72</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>77</id> <name>or_ln133_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>282</item> <item>283</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.93</m_delay> <m_topoIndex>73</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>78</id> <name>_ln134</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>134</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>134</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>284</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>74</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>80</id> <name>collisions_load_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>296</item> <item>297</item> <item>298</item> <item>299</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>75</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>81</id> <name>call_ret_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>96</bitwidth> </Value> <oprand_edges> <count>8</count> <item_version>0</item_version> <item>300</item> <item>301</item> <item>302</item> <item>303</item> <item>304</item> <item>305</item> <item>306</item> <item>308</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>8.58</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>82</id> <name>p_04_0_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>309</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>83</id> <name>p_15_0_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>310</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>84</id> <name>p_26_0_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>127</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>127</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>311</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>85</id> <name>tmp_45_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>130</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>10</count> <item_version>0</item_version> <item>312</item> <item>313</item> <item>314</item> <item>315</item> <item>316</item> <item>317</item> <item>318</item> <item>319</item> <item>320</item> <item>321</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>4.19</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>86</id> <name>_ln130</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>130</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>322</item> <item>323</item> <item>324</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>88</id> <name>j_assign_6</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>325</item> <item>326</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>7.59</m_delay> <m_topoIndex>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>89</id> <name>k_assign_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>327</item> <item>328</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>7.59</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>90</id> <name>shl_ln80_9</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>329</item> <item>330</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>76</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>91</id> <name>shl_ln80_10</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>331</item> <item>332</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>77</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>92</id> <name>or_ln80_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>333</item> <item>335</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>78</m_topoIndex> <m_clusterGroupNumber>7</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>93</id> <name>add_ln80_16</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>336</item> <item>337</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.89</m_delay> <m_topoIndex>79</m_topoIndex> <m_clusterGroupNumber>7</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>94</id> <name>zext_ln132_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>338</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>80</m_topoIndex> <m_clusterGroupNumber>8</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>95</id> <name>shl_ln132_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>339</item> <item>340</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>81</m_topoIndex> <m_clusterGroupNumber>8</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>96</id> <name>or_ln80_4</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>341</item> <item>342</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>82</m_topoIndex> <m_clusterGroupNumber>9</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>97</id> <name>add_ln80_17</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>shiftAmount</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> <item> <first> <first>src/honeybee.c</first> <second>shiftAmount</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>343</item> <item>344</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.89</m_delay> <m_topoIndex>83</m_topoIndex> <m_clusterGroupNumber>9</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>98</id> <name>zext_ln133_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>345</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>84</m_topoIndex> <m_clusterGroupNumber>8</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>99</id> <name>shl_ln133_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>346</item> <item>347</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>85</m_topoIndex> <m_clusterGroupNumber>8</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>100</id> <name>or_ln133_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>348</item> <item>349</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.93</m_delay> <m_topoIndex>86</m_topoIndex> <m_clusterGroupNumber>8</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>101</id> <name>_ln134</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>134</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>134</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>350</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.46</m_delay> <m_topoIndex>87</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_94"> <Value> <Obj> <type>0</type> <id>103</id> <name>collisions_load_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>133</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>133</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>285</item> <item>286</item> <item>287</item> <item>288</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>88</m_topoIndex> <m_clusterGroupNumber>10</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_95"> <Value> <Obj> <type>0</type> <id>104</id> <name>or_ln139</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>139</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>139</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>289</item> <item>290</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>89</m_topoIndex> <m_clusterGroupNumber>10</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_96"> <Value> <Obj> <type>0</type> <id>105</id> <name>or_ln139_3</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>139</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>139</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>291</item> <item>292</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>90</m_topoIndex> <m_clusterGroupNumber>10</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_97"> <Value> <Obj> <type>0</type> <id>106</id> <name>or_ln139_2</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>139</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>139</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>293</item> <item>294</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.80</m_delay> <m_topoIndex>91</m_topoIndex> <m_clusterGroupNumber>10</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_98"> <Value> <Obj> <type>0</type> <id>107</id> <name>_ln141</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>141</lineNumber> <contextFuncName>checkAxis</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>checkAxis</second> </first> <second>141</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>295</item> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>92</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>14</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_99"> <Value> <Obj> <type>2</type> <id>122</id> <name>lineIntersectsPlane</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>96</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:lineIntersectsPlane&gt;</content> </item> <item class_id_reference="16" object_id="_100"> <Value> <Obj> <type>2</type> <id>130</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>1</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_101"> <Value> <Obj> <type>2</type> <id>135</id> <name>pointOnSegment</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:pointOnSegment&gt;</content> </item> <item class_id_reference="16" object_id="_102"> <Value> <Obj> <type>2</type> <id>149</id> <name>p_hls_fptosi_float_i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:__hls_fptosi_float_i&gt;</content> </item> <item class_id_reference="16" object_id="_103"> <Value> <Obj> <type>2</type> <id>155</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>2</content> </item> <item class_id_reference="16" object_id="_104"> <Value> <Obj> <type>2</type> <id>158</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>4</content> </item> <item class_id_reference="16" object_id="_105"> <Value> <Obj> <type>2</type> <id>163</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_106"> <Value> <Obj> <type>2</type> <id>166</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>4294967295</content> </item> <item class_id_reference="16" object_id="_107"> <Value> <Obj> <type>2</type> <id>179</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_108"> <Value> <Obj> <type>2</type> <id>189</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>1</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_109"> <Value> <Obj> <type>2</type> <id>216</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_110"> <Value> <Obj> <type>2</type> <id>242</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>1</const_type> <content>2</content> </item> <item class_id_reference="16" object_id="_111"> <Value> <Obj> <type>2</type> <id>307</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>1</const_type> <content>3</content> </item> <item class_id_reference="16" object_id="_112"> <Value> <Obj> <type>2</type> <id>334</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>3</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_113"> <Obj> <type>3</type> <id>20</id> <name>meminst.0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>12</count> <item_version>0</item_version> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> <item>14</item> <item>15</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> </node_objs> </item> <item class_id_reference="18" object_id="_114"> <Obj> <type>3</type> <id>34</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>13</count> <item_version>0</item_version> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> </node_objs> </item> <item class_id_reference="18" object_id="_115"> <Obj> <type>3</type> <id>42</id> <name>._crit_edge20.0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>7</count> <item_version>0</item_version> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> </node_objs> </item> <item class_id_reference="18" object_id="_116"> <Obj> <type>3</type> <id>56</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>13</count> <item_version>0</item_version> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> </node_objs> </item> <item class_id_reference="18" object_id="_117"> <Obj> <type>3</type> <id>64</id> <name>._crit_edge20.1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>7</count> <item_version>0</item_version> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> </node_objs> </item> <item class_id_reference="18" object_id="_118"> <Obj> <type>3</type> <id>79</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>14</count> <item_version>0</item_version> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> <item>76</item> <item>77</item> <item>78</item> </node_objs> </item> <item class_id_reference="18" object_id="_119"> <Obj> <type>3</type> <id>87</id> <name>._crit_edge20.2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>7</count> <item_version>0</item_version> <item>80</item> <item>81</item> <item>82</item> <item>83</item> <item>84</item> <item>85</item> <item>86</item> </node_objs> </item> <item class_id_reference="18" object_id="_120"> <Obj> <type>3</type> <id>102</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>14</count> <item_version>0</item_version> <item>88</item> <item>89</item> <item>90</item> <item>91</item> <item>92</item> <item>93</item> <item>94</item> <item>95</item> <item>96</item> <item>97</item> <item>98</item> <item>99</item> <item>100</item> <item>101</item> </node_objs> </item> <item class_id_reference="18" object_id="_121"> <Obj> <type>3</type> <id>108</id> <name>.preheader.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>103</item> <item>104</item> <item>105</item> <item>106</item> <item>107</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>233</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_122"> <id>111</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>8</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_123"> <id>113</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_124"> <id>115</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>10</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_125"> <id>117</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_126"> <id>119</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_127"> <id>121</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_128"> <id>123</id> <edge_type>1</edge_type> <source_obj>122</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_129"> <id>124</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_130"> <id>125</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_131"> <id>126</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_132"> <id>127</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_133"> <id>128</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_134"> <id>129</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_135"> <id>131</id> <edge_type>1</edge_type> <source_obj>130</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_136"> <id>132</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_137"> <id>133</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_138"> <id>134</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_139"> <id>136</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>137</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_141"> <id>138</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>139</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_143"> <id>140</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_144"> <id>141</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>142</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>143</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>144</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>145</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_149"> <id>146</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_150"> <id>147</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_151"> <id>148</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_152"> <id>150</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_153"> <id>151</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_154"> <id>152</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_155"> <id>153</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_156"> <id>154</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_157"> <id>156</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_158"> <id>157</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_159"> <id>159</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_160"> <id>160</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_161"> <id>161</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_162"> <id>162</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_163"> <id>164</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_164"> <id>165</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_165"> <id>167</id> <edge_type>1</edge_type> <source_obj>166</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_166"> <id>168</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_167"> <id>169</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>170</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_169"> <id>171</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>172</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>173</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_172"> <id>174</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_173"> <id>175</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_174"> <id>176</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>177</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>178</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>180</id> <edge_type>1</edge_type> <source_obj>179</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>181</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>182</id> <edge_type>1</edge_type> <source_obj>122</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>183</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>184</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>185</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_183"> <id>186</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_184"> <id>187</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>188</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_186"> <id>190</id> <edge_type>1</edge_type> <source_obj>189</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_187"> <id>191</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>192</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>193</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_190"> <id>194</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_191"> <id>195</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>196</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_193"> <id>197</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_194"> <id>198</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_195"> <id>199</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_196"> <id>200</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_197"> <id>201</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_198"> <id>202</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>203</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_200"> <id>204</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>205</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>206</id> <edge_type>2</edge_type> <source_obj>56</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_203"> <id>207</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_204"> <id>208</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_205"> <id>209</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_206"> <id>210</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>211</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>212</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>213</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_210"> <id>214</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>215</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_212"> <id>217</id> <edge_type>1</edge_type> <source_obj>216</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>218</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>219</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_215"> <id>220</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>221</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_217"> <id>222</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>223</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>224</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>225</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>226</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_222"> <id>227</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_223"> <id>228</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>229</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_225"> <id>230</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_226"> <id>231</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>232</id> <edge_type>2</edge_type> <source_obj>56</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_228"> <id>233</id> <edge_type>1</edge_type> <source_obj>179</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>234</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>235</id> <edge_type>1</edge_type> <source_obj>122</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>236</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>237</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>238</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>239</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>240</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>241</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>243</id> <edge_type>1</edge_type> <source_obj>242</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>244</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>245</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>246</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_241"> <id>247</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_242"> <id>248</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>249</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>250</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_245"> <id>251</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_246"> <id>252</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>253</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_248"> <id>254</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>255</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>256</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_251"> <id>257</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>258</id> <edge_type>2</edge_type> <source_obj>87</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>259</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>260</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>261</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_256"> <id>262</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_257"> <id>263</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_258"> <id>264</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>265</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_260"> <id>266</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>267</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>268</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_263"> <id>269</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_264"> <id>270</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_265"> <id>271</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_266"> <id>272</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_267"> <id>273</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_268"> <id>274</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_269"> <id>275</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_270"> <id>276</id> <edge_type>1</edge_type> <source_obj>216</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_271"> <id>277</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_272"> <id>278</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_273"> <id>279</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_274"> <id>280</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_275"> <id>281</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_276"> <id>282</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_277"> <id>283</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_278"> <id>284</id> <edge_type>2</edge_type> <source_obj>87</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_279"> <id>285</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_280"> <id>286</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_281"> <id>287</id> <edge_type>1</edge_type> <source_obj>179</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_282"> <id>288</id> <edge_type>2</edge_type> <source_obj>87</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_283"> <id>289</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_284"> <id>290</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_285"> <id>291</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_286"> <id>292</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_287"> <id>293</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_288"> <id>294</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_289"> <id>295</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_290"> <id>296</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_291"> <id>297</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_292"> <id>298</id> <edge_type>1</edge_type> <source_obj>179</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_293"> <id>299</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_294"> <id>300</id> <edge_type>1</edge_type> <source_obj>122</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_295"> <id>301</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_296"> <id>302</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_297"> <id>303</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_298"> <id>304</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_299"> <id>305</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_300"> <id>306</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_301"> <id>308</id> <edge_type>1</edge_type> <source_obj>307</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_302"> <id>309</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_303"> <id>310</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_304"> <id>311</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_305"> <id>312</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_306"> <id>313</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_307"> <id>314</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_308"> <id>315</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_309"> <id>316</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_310"> <id>317</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_311"> <id>318</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_312"> <id>319</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_313"> <id>320</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_314"> <id>321</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_315"> <id>322</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_316"> <id>323</id> <edge_type>2</edge_type> <source_obj>108</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_317"> <id>324</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_318"> <id>325</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_319"> <id>326</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_320"> <id>327</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_321"> <id>328</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_322"> <id>329</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_323"> <id>330</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_324"> <id>331</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_325"> <id>332</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_326"> <id>333</id> <edge_type>1</edge_type> <source_obj>90</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_327"> <id>335</id> <edge_type>1</edge_type> <source_obj>334</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_328"> <id>336</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_329"> <id>337</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_330"> <id>338</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_331"> <id>339</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_332"> <id>340</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_333"> <id>341</id> <edge_type>1</edge_type> <source_obj>90</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_334"> <id>342</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_335"> <id>343</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_336"> <id>344</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_337"> <id>345</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_338"> <id>346</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_339"> <id>347</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_340"> <id>348</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_341"> <id>349</id> <edge_type>1</edge_type> <source_obj>95</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_342"> <id>350</id> <edge_type>2</edge_type> <source_obj>108</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_343"> <id>361</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_344"> <id>362</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_345"> <id>363</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_346"> <id>364</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_347"> <id>365</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_348"> <id>366</id> <edge_type>2</edge_type> <source_obj>56</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_349"> <id>367</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_350"> <id>368</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_351"> <id>369</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_352"> <id>370</id> <edge_type>2</edge_type> <source_obj>87</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_353"> <id>371</id> <edge_type>2</edge_type> <source_obj>87</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_354"> <id>372</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_355"> <mId>1</mId> <mTag>checkAxis.1</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>9</count> <item_version>0</item_version> <item>20</item> <item>34</item> <item>42</item> <item>56</item> <item>64</item> <item>79</item> <item>87</item> <item>102</item> <item>108</item> </basic_blocks> <mII>1</mII> <mDepth>52</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>51</mMinLatency> <mMaxLatency>51</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="26" tracking_level="0" version="0"> <count>92</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>8</first> <second class_id="28" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>0</first> <second>45</second> </second> </item> <item> <first>15</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>46</first> <second>4</second> </second> </item> <item> <first>19</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>0</first> <second>45</second> </second> </item> <item> <first>37</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>46</first> <second>4</second> </second> </item> <item> <first>41</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>0</first> <second>45</second> </second> </item> <item> <first>59</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>46</first> <second>4</second> </second> </item> <item> <first>63</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>0</first> <second>45</second> </second> </item> <item> <first>82</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>84</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>46</first> <second>4</second> </second> </item> <item> <first>86</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>50</first> <second>0</second> </second> </item> <item> <first>90</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>92</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>93</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>95</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>96</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>97</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>99</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>100</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>101</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>103</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>104</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>105</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>106</first> <second> <first>51</first> <second>0</second> </second> </item> <item> <first>107</first> <second> <first>51</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>20</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>51</second> </second> </item> <item> <first>34</first> <second> <first>50</first> <second>51</second> </second> </item> <item> <first>42</first> <second> <first>0</first> <second>51</second> </second> </item> <item> <first>56</first> <second> <first>50</first> <second>51</second> </second> </item> <item> <first>64</first> <second> <first>0</first> <second>51</second> </second> </item> <item> <first>79</first> <second> <first>50</first> <second>51</second> </second> </item> <item> <first>87</first> <second> <first>0</first> <second>51</second> </second> </item> <item> <first>102</first> <second> <first>50</first> <second>51</second> </second> </item> <item> <first>108</first> <second> <first>51</first> <second>51</second> </second> </item> </bblk_ent_exit> <regions class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="1" version="0" object_id="_356"> <region_name>checkAxis.1</region_name> <basic_blocks> <count>9</count> <item_version>0</item_version> <item>20</item> <item>34</item> <item>42</item> <item>56</item> <item>64</item> <item>79</item> <item>87</item> <item>102</item> <item>108</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>52</pipe_depth> </item> </regions> <dp_fu_nodes class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="38" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
27.06716
71
0.596594
068e4bb10a936ee0aa73c6eb8842be37e5546ef2
3,667
ads
Ada
src/Projects/eu_projects-nodes-action_nodes-tasks.ads
fintatarta/eugen
2c384838ff0e81b51172310ce5d0e47d71ffd4fd
[ "MIT" ]
null
null
null
src/Projects/eu_projects-nodes-action_nodes-tasks.ads
fintatarta/eugen
2c384838ff0e81b51172310ce5d0e47d71ffd4fd
[ "MIT" ]
null
null
null
src/Projects/eu_projects-nodes-action_nodes-tasks.ads
fintatarta/eugen
2c384838ff0e81b51172310ce5d0e47d71ffd4fd
[ "MIT" ]
null
null
null
with EU_Projects.Nodes.Action_Nodes; with EU_Projects.Nodes.Partners; with EU_Projects.Node_Tables; package EU_Projects.Nodes.Action_Nodes.Tasks is subtype Task_Index is Node_Index; No_Task : constant Extended_Node_Index := No_Index; type Task_Label is new Node_Label; type Project_Task is new Nodes.Action_Nodes.Action_Node with private; type Project_Task_Access is access Project_Task; subtype Task_Intensity is Float range 0.0 .. 1.0; function Image (X : Task_Intensity) return String is (Task_Intensity'Image(X)); function Value (X : String) return Task_Intensity; function Create (Label : Task_Label; Name : String; Short_Name : String; Leader : Partners.Partner_Label; Parent_WP : Node_Access; Description : String; Active_When : Action_Time; Depends_On : Nodes.Node_Label_Lists.Vector; Intensity : Task_Intensity; Node_Dir : in out Node_Tables.Node_Table) return Project_Task_Access with Post => Create'Result.Index = No_Task; -- function Index (Item : Project_Task) return Task_Index; procedure Set_Index (Tsk : in out Project_Task; Idx : Task_Index) with Pre => Tsk.Index = No_Task, Post => Tsk.Index = Idx; function Intensity (Tsk : Project_Task) return Task_Intensity; overriding function Full_Index (Item : Project_Task; Prefixed : Boolean) return String; procedure Add_Dependence (Item : in out Project_Task; Dep : in Task_Label); function Dependency_List (Item : Project_Task) return Node_Label_Lists.Vector; -- -- I use a postcondition to ensure that the access value -- refers to a WP. I need to resort to this form of "weak strong typing" -- in order to avoid circular dependencies. See comments in Nodes. -- function Parent_WP (Item : Project_Task) return Nodes.Node_Access with Post => Parent_WP'Result.Class = WP_Node; private -- package Dependence_Vectors is -- new Ada.Containers.Vectors (Index_Type => Positive, -- Element_Type => Task_Label); type Project_Task is new Nodes.Action_Nodes.Action_Node with record Depend_On : Node_Label_Lists.Vector; Parent : Node_Access; Intensity : Task_Intensity; end record; function Dependency_List (Item : Project_Task) return Node_Label_Lists.Vector is (Item.Depend_On); function Parent_WP (Item : Project_Task) return Nodes.Node_Access is (Item.Parent); overriding function Full_Index (Item : Project_Task; Prefixed : Boolean) return String is ((if Prefixed then "T" else "") & Chop (Node_Index'Image (Item.Parent_WP.Index)) & "." & Chop (Node_Index'Image (Item.Index))); function Intensity (Tsk : Project_Task) return Task_Intensity is (Tsk.Intensity); -- -- function Index (Item : Project_Task) return Task_Index -- is (Task_Index (Item.Index)); -- function Effort_Of (Item : Project_Task; -- Partner : Nodes.Partners.Partner_Label) -- return Efforts.Person_Months -- is (if Item.Partner_Effort.Contains (Partner) then -- Item.Partner_Effort (Partner) -- else -- raise Unknown_Partner); end EU_Projects.Nodes.Action_Nodes.Tasks;
29.336
75
0.620125
31077751426c52eaae26519fab7b934cc4938de8
1,823
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1012a3.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1012a3.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1012a3.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- CA1012A3.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- GENERIC FUNCTION BODY. -- DECLARATION IS IN CA1012AB.DEP. -- INSTANTIATION IS IN CA1012A4B.DEP. -- APPLICABILITY CRITERIA: -- THIS UNIT MUST BE ACCEPTED BY ALL ADA 95 IMPLEMENTATIONS. -- HISTORY: -- WKB 07/20/81 CREATED ORIGINAL TEST. -- PWB 02/19/86 ADDED COMMENTS TO DESCRIBE RELATION TO OTHER FILES -- AND POSSIBLE NON-APPLICABILITY. -- BCB 01/05/88 MODIFIED HEADER. -- RLB 09/13/99 UPDATED APPLICABILITY CRITERIA FOR ADA 95. FUNCTION CA1012A2 (J : IN ELEMENT) RETURN ELEMENT IS BEGIN RETURN J + 1; END CA1012A2;
39.630435
78
0.681843
4d5698029c211c7e4c63b20e76899f5d99588527
6,982
ads
Ada
opengl/src/interface/gl-toggles.ads
Cre8or/OpenGLAda
91f12a2d4ca2aa7379dd8c83c80e4eca45fd0c06
[ "MIT" ]
79
2015-04-20T23:10:02.000Z
2022-03-04T13:50:56.000Z
opengl/src/interface/gl-toggles.ads
Cre8or/OpenGLAda
91f12a2d4ca2aa7379dd8c83c80e4eca45fd0c06
[ "MIT" ]
126
2015-09-10T10:41:34.000Z
2022-03-20T11:25:40.000Z
opengl/src/interface/gl-toggles.ads
Cre8or/OpenGLAda
91f12a2d4ca2aa7379dd8c83c80e4eca45fd0c06
[ "MIT" ]
20
2015-03-17T07:15:57.000Z
2022-02-02T17:12:11.000Z
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" private with GL.Low_Level; package GL.Toggles is pragma Preelaborate; type Toggle_State is (Disabled, Enabled); type Toggle is (Point_Smooth, Line_Smooth, Line_Stipple, Polygon_Smooth, Polygon_Stipple, Cull_Face, Lighting, Color_Material, Fog, Depth_Test, Stencil_Test, Normalize, Alpha_Test, Dither, Blend, Index_Logic_Op, Color_Logic_Op, Scissor_Test, Texture_Gen_S, Texture_Gen_T, Texture_Gen_R, Texture_Gen_Q, Auto_Normal, Map1_Color_4, Map1_Index, Map1_Normal, Map1_Texture_Coord_1, Map1_Texture_Coord_2, Map1_Texture_Coord_3, Map1_Texture_Coord_4, Map1_Vertex_3, Map1_Vertex_4, Map2_Color_4, Map2_Index, Map2_Normal, Map2_Texture_Coord_1, Map2_Texture_Coord_2, Map2_Texture_Coord_3, Map2_Texture_Coord_4, Map2_Vertex_3, Map2_Vertex_4, Texture_1D, Texture_2D, Polygon_Offset_Point, Polygon_Offset_Line, Clip_Plane_0, Clip_Plane_1, Clip_Plane_2, Clip_Plane_3, Clip_Plane_4, Clip_Plane_5, Light0, Light1, Light2, Light3, Light4, Light5, Light6, Light7, Convolution_1D, Convolution_2D, Separable_2D, Histogram, Minmax, Polygon_Offset_Fill, Rescale_Normal, Texture_3D, Multisample, Sample_Alpha_To_Coverage, Sample_Alpha_To_One, Sample_Coverage, Color_Table, Post_Convolution_Color_Table, Post_Color_Matrix_Color_Table, Debug_Output_Synchronous, Color_Sum, Texture_Cube_Map, Vertex_Program_Point_Size, Vertex_Program_Two_Side, Point_Sprite, Rasterizer_Discard, Primitive_Restart, Debug_Output); procedure Enable (Subject : Toggle); procedure Disable (Subject : Toggle); procedure Set (Subject : Toggle; Value : Toggle_State); function State (Subject : Toggle) return Toggle_State; private for Toggle use (Point_Smooth => 16#0B10#, Line_Smooth => 16#0B20#, Line_Stipple => 16#0B24#, Polygon_Smooth => 16#0B41#, Polygon_Stipple => 16#0B42#, Cull_Face => 16#0B44#, Lighting => 16#0B50#, Color_Material => 16#0B57#, Fog => 16#0B60#, Depth_Test => 16#0B71#, Stencil_Test => 16#0B90#, Normalize => 16#0BA1#, Alpha_Test => 16#0BC0#, Dither => 16#0BD0#, Blend => 16#0BE2#, Index_Logic_Op => 16#0BF1#, Color_Logic_Op => 16#0BF2#, Scissor_Test => 16#0C11#, Texture_Gen_S => 16#0C60#, Texture_Gen_T => 16#0C61#, Texture_Gen_R => 16#0C62#, Texture_Gen_Q => 16#0C63#, Auto_Normal => 16#0D80#, Map1_Color_4 => 16#0D90#, Map1_Index => 16#0D91#, Map1_Normal => 16#0D92#, Map1_Texture_Coord_1 => 16#0D93#, Map1_Texture_Coord_2 => 16#0D94#, Map1_Texture_Coord_3 => 16#0D95#, Map1_Texture_Coord_4 => 16#0D96#, Map1_Vertex_3 => 16#0D97#, Map1_Vertex_4 => 16#0D98#, Map2_Color_4 => 16#0DB0#, Map2_Index => 16#0DB1#, Map2_Normal => 16#0DB2#, Map2_Texture_Coord_1 => 16#0DB3#, Map2_Texture_Coord_2 => 16#0DB4#, Map2_Texture_Coord_3 => 16#0DB5#, Map2_Texture_Coord_4 => 16#0DB6#, Map2_Vertex_3 => 16#0DB7#, Map2_Vertex_4 => 16#0DB8#, Texture_1D => 16#0DE0#, Texture_2D => 16#0DE1#, Polygon_Offset_Point => 16#2A01#, Polygon_Offset_Line => 16#2A02#, Clip_Plane_0 => 16#3000#, Clip_Plane_1 => 16#3001#, Clip_Plane_2 => 16#3002#, Clip_Plane_3 => 16#3003#, Clip_Plane_4 => 16#3004#, Clip_Plane_5 => 16#3005#, Light0 => 16#4000#, Light1 => 16#4001#, Light2 => 16#4002#, Light3 => 16#4003#, Light4 => 16#4004#, Light5 => 16#4005#, Light6 => 16#4006#, Light7 => 16#4007#, Convolution_1D => 16#8010#, Convolution_2D => 16#8011#, Separable_2D => 16#8012#, Histogram => 16#8024#, Minmax => 16#802E#, Polygon_Offset_Fill => 16#8037#, Rescale_Normal => 16#803A#, Texture_3D => 16#806F#, Multisample => 16#809D#, Sample_Alpha_To_Coverage => 16#809E#, Sample_Alpha_To_One => 16#809F#, Sample_Coverage => 16#80A0#, Color_Table => 16#80D0#, Post_Convolution_Color_Table => 16#80D1#, Post_Color_Matrix_Color_Table => 16#80D2#, Debug_Output_Synchronous => 16#8242#, Color_Sum => 16#8458#, Texture_Cube_Map => 16#8513#, Vertex_Program_Point_Size => 16#8642#, Vertex_Program_Two_Side => 16#8643#, Point_Sprite => 16#8861#, Rasterizer_Discard => 16#8C89#, Primitive_Restart => 16#8F9D#, Debug_Output => 16#92E0#); for Toggle'Size use Low_Level.Enum'Size; end GL.Toggles;
54.976378
80
0.44314
314da98dbbd3cf1749d678ab3fdb3e3d46319aec
22,254
ads
Ada
arch/ARM/STM32/svd/stm32l151/stm32_svd-usb.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
arch/ARM/STM32/svd/stm32l151/stm32_svd-usb.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
arch/ARM/STM32/svd/stm32l151/stm32_svd-usb.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
-- This spec has been automatically generated from STM32L151.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.USB is pragma Preelaborate; --------------- -- Registers -- --------------- subtype USB_EP0R_EA_Field is HAL.UInt4; subtype USB_EP0R_STAT_TX_Field is HAL.UInt2; subtype USB_EP0R_EP_TYPE_Field is HAL.UInt2; subtype USB_EP0R_STAT_RX_Field is HAL.UInt2; -- endpoint 0 register type USB_EP0R_Register is record -- Endpoint address EA : USB_EP0R_EA_Field := 16#0#; -- Status bits, for transmission transfers STAT_TX : USB_EP0R_STAT_TX_Field := 16#0#; -- Data Toggle, for transmission transfers DTOG_TX : Boolean := False; -- Correct Transfer for transmission CTR_TX : Boolean := False; -- Endpoint kind EP_KIND : Boolean := False; -- Endpoint type EP_TYPE : USB_EP0R_EP_TYPE_Field := 16#0#; -- Setup transaction completed SETUP : Boolean := False; -- Status bits, for reception transfers STAT_RX : USB_EP0R_STAT_RX_Field := 16#0#; -- Data Toggle, for reception transfers DTOG_RX : Boolean := False; -- Correct transfer for reception CTR_RX : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for USB_EP0R_Register use record EA at 0 range 0 .. 3; STAT_TX at 0 range 4 .. 5; DTOG_TX at 0 range 6 .. 6; CTR_TX at 0 range 7 .. 7; EP_KIND at 0 range 8 .. 8; EP_TYPE at 0 range 9 .. 10; SETUP at 0 range 11 .. 11; STAT_RX at 0 range 12 .. 13; DTOG_RX at 0 range 14 .. 14; CTR_RX at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype USB_EP1R_EA_Field is HAL.UInt4; subtype USB_EP1R_STAT_TX_Field is HAL.UInt2; subtype USB_EP1R_EP_TYPE_Field is HAL.UInt2; subtype USB_EP1R_STAT_RX_Field is HAL.UInt2; -- endpoint 1 register type USB_EP1R_Register is record -- Endpoint address EA : USB_EP1R_EA_Field := 16#0#; -- Status bits, for transmission transfers STAT_TX : USB_EP1R_STAT_TX_Field := 16#0#; -- Data Toggle, for transmission transfers DTOG_TX : Boolean := False; -- Correct Transfer for transmission CTR_TX : Boolean := False; -- Endpoint kind EP_KIND : Boolean := False; -- Endpoint type EP_TYPE : USB_EP1R_EP_TYPE_Field := 16#0#; -- Setup transaction completed SETUP : Boolean := False; -- Status bits, for reception transfers STAT_RX : USB_EP1R_STAT_RX_Field := 16#0#; -- Data Toggle, for reception transfers DTOG_RX : Boolean := False; -- Correct transfer for reception CTR_RX : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for USB_EP1R_Register use record EA at 0 range 0 .. 3; STAT_TX at 0 range 4 .. 5; DTOG_TX at 0 range 6 .. 6; CTR_TX at 0 range 7 .. 7; EP_KIND at 0 range 8 .. 8; EP_TYPE at 0 range 9 .. 10; SETUP at 0 range 11 .. 11; STAT_RX at 0 range 12 .. 13; DTOG_RX at 0 range 14 .. 14; CTR_RX at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype USB_EP2R_EA_Field is HAL.UInt4; subtype USB_EP2R_STAT_TX_Field is HAL.UInt2; subtype USB_EP2R_EP_TYPE_Field is HAL.UInt2; subtype USB_EP2R_STAT_RX_Field is HAL.UInt2; -- endpoint 2 register type USB_EP2R_Register is record -- Endpoint address EA : USB_EP2R_EA_Field := 16#0#; -- Status bits, for transmission transfers STAT_TX : USB_EP2R_STAT_TX_Field := 16#0#; -- Data Toggle, for transmission transfers DTOG_TX : Boolean := False; -- Correct Transfer for transmission CTR_TX : Boolean := False; -- Endpoint kind EP_KIND : Boolean := False; -- Endpoint type EP_TYPE : USB_EP2R_EP_TYPE_Field := 16#0#; -- Setup transaction completed SETUP : Boolean := False; -- Status bits, for reception transfers STAT_RX : USB_EP2R_STAT_RX_Field := 16#0#; -- Data Toggle, for reception transfers DTOG_RX : Boolean := False; -- Correct transfer for reception CTR_RX : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for USB_EP2R_Register use record EA at 0 range 0 .. 3; STAT_TX at 0 range 4 .. 5; DTOG_TX at 0 range 6 .. 6; CTR_TX at 0 range 7 .. 7; EP_KIND at 0 range 8 .. 8; EP_TYPE at 0 range 9 .. 10; SETUP at 0 range 11 .. 11; STAT_RX at 0 range 12 .. 13; DTOG_RX at 0 range 14 .. 14; CTR_RX at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype USB_EP3R_EA_Field is HAL.UInt4; subtype USB_EP3R_STAT_TX_Field is HAL.UInt2; subtype USB_EP3R_EP_TYPE_Field is HAL.UInt2; subtype USB_EP3R_STAT_RX_Field is HAL.UInt2; -- endpoint 3 register type USB_EP3R_Register is record -- Endpoint address EA : USB_EP3R_EA_Field := 16#0#; -- Status bits, for transmission transfers STAT_TX : USB_EP3R_STAT_TX_Field := 16#0#; -- Data Toggle, for transmission transfers DTOG_TX : Boolean := False; -- Correct Transfer for transmission CTR_TX : Boolean := False; -- Endpoint kind EP_KIND : Boolean := False; -- Endpoint type EP_TYPE : USB_EP3R_EP_TYPE_Field := 16#0#; -- Setup transaction completed SETUP : Boolean := False; -- Status bits, for reception transfers STAT_RX : USB_EP3R_STAT_RX_Field := 16#0#; -- Data Toggle, for reception transfers DTOG_RX : Boolean := False; -- Correct transfer for reception CTR_RX : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for USB_EP3R_Register use record EA at 0 range 0 .. 3; STAT_TX at 0 range 4 .. 5; DTOG_TX at 0 range 6 .. 6; CTR_TX at 0 range 7 .. 7; EP_KIND at 0 range 8 .. 8; EP_TYPE at 0 range 9 .. 10; SETUP at 0 range 11 .. 11; STAT_RX at 0 range 12 .. 13; DTOG_RX at 0 range 14 .. 14; CTR_RX at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype USB_EP4R_EA_Field is HAL.UInt4; subtype USB_EP4R_STAT_TX_Field is HAL.UInt2; subtype USB_EP4R_EP_TYPE_Field is HAL.UInt2; subtype USB_EP4R_STAT_RX_Field is HAL.UInt2; -- endpoint 4 register type USB_EP4R_Register is record -- Endpoint address EA : USB_EP4R_EA_Field := 16#0#; -- Status bits, for transmission transfers STAT_TX : USB_EP4R_STAT_TX_Field := 16#0#; -- Data Toggle, for transmission transfers DTOG_TX : Boolean := False; -- Correct Transfer for transmission CTR_TX : Boolean := False; -- Endpoint kind EP_KIND : Boolean := False; -- Endpoint type EP_TYPE : USB_EP4R_EP_TYPE_Field := 16#0#; -- Setup transaction completed SETUP : Boolean := False; -- Status bits, for reception transfers STAT_RX : USB_EP4R_STAT_RX_Field := 16#0#; -- Data Toggle, for reception transfers DTOG_RX : Boolean := False; -- Correct transfer for reception CTR_RX : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for USB_EP4R_Register use record EA at 0 range 0 .. 3; STAT_TX at 0 range 4 .. 5; DTOG_TX at 0 range 6 .. 6; CTR_TX at 0 range 7 .. 7; EP_KIND at 0 range 8 .. 8; EP_TYPE at 0 range 9 .. 10; SETUP at 0 range 11 .. 11; STAT_RX at 0 range 12 .. 13; DTOG_RX at 0 range 14 .. 14; CTR_RX at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype USB_EP5R_EA_Field is HAL.UInt4; subtype USB_EP5R_STAT_TX_Field is HAL.UInt2; subtype USB_EP5R_EP_TYPE_Field is HAL.UInt2; subtype USB_EP5R_STAT_RX_Field is HAL.UInt2; -- endpoint 5 register type USB_EP5R_Register is record -- Endpoint address EA : USB_EP5R_EA_Field := 16#0#; -- Status bits, for transmission transfers STAT_TX : USB_EP5R_STAT_TX_Field := 16#0#; -- Data Toggle, for transmission transfers DTOG_TX : Boolean := False; -- Correct Transfer for transmission CTR_TX : Boolean := False; -- Endpoint kind EP_KIND : Boolean := False; -- Endpoint type EP_TYPE : USB_EP5R_EP_TYPE_Field := 16#0#; -- Setup transaction completed SETUP : Boolean := False; -- Status bits, for reception transfers STAT_RX : USB_EP5R_STAT_RX_Field := 16#0#; -- Data Toggle, for reception transfers DTOG_RX : Boolean := False; -- Correct transfer for reception CTR_RX : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for USB_EP5R_Register use record EA at 0 range 0 .. 3; STAT_TX at 0 range 4 .. 5; DTOG_TX at 0 range 6 .. 6; CTR_TX at 0 range 7 .. 7; EP_KIND at 0 range 8 .. 8; EP_TYPE at 0 range 9 .. 10; SETUP at 0 range 11 .. 11; STAT_RX at 0 range 12 .. 13; DTOG_RX at 0 range 14 .. 14; CTR_RX at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype USB_EP6R_EA_Field is HAL.UInt4; subtype USB_EP6R_STAT_TX_Field is HAL.UInt2; subtype USB_EP6R_EP_TYPE_Field is HAL.UInt2; subtype USB_EP6R_STAT_RX_Field is HAL.UInt2; -- endpoint 6 register type USB_EP6R_Register is record -- Endpoint address EA : USB_EP6R_EA_Field := 16#0#; -- Status bits, for transmission transfers STAT_TX : USB_EP6R_STAT_TX_Field := 16#0#; -- Data Toggle, for transmission transfers DTOG_TX : Boolean := False; -- Correct Transfer for transmission CTR_TX : Boolean := False; -- Endpoint kind EP_KIND : Boolean := False; -- Endpoint type EP_TYPE : USB_EP6R_EP_TYPE_Field := 16#0#; -- Setup transaction completed SETUP : Boolean := False; -- Status bits, for reception transfers STAT_RX : USB_EP6R_STAT_RX_Field := 16#0#; -- Data Toggle, for reception transfers DTOG_RX : Boolean := False; -- Correct transfer for reception CTR_RX : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for USB_EP6R_Register use record EA at 0 range 0 .. 3; STAT_TX at 0 range 4 .. 5; DTOG_TX at 0 range 6 .. 6; CTR_TX at 0 range 7 .. 7; EP_KIND at 0 range 8 .. 8; EP_TYPE at 0 range 9 .. 10; SETUP at 0 range 11 .. 11; STAT_RX at 0 range 12 .. 13; DTOG_RX at 0 range 14 .. 14; CTR_RX at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype USB_EP7R_EA_Field is HAL.UInt4; subtype USB_EP7R_STAT_TX_Field is HAL.UInt2; subtype USB_EP7R_EP_TYPE_Field is HAL.UInt2; subtype USB_EP7R_STAT_RX_Field is HAL.UInt2; -- endpoint 7 register type USB_EP7R_Register is record -- Endpoint address EA : USB_EP7R_EA_Field := 16#0#; -- Status bits, for transmission transfers STAT_TX : USB_EP7R_STAT_TX_Field := 16#0#; -- Data Toggle, for transmission transfers DTOG_TX : Boolean := False; -- Correct Transfer for transmission CTR_TX : Boolean := False; -- Endpoint kind EP_KIND : Boolean := False; -- Endpoint type EP_TYPE : USB_EP7R_EP_TYPE_Field := 16#0#; -- Setup transaction completed SETUP : Boolean := False; -- Status bits, for reception transfers STAT_RX : USB_EP7R_STAT_RX_Field := 16#0#; -- Data Toggle, for reception transfers DTOG_RX : Boolean := False; -- Correct transfer for reception CTR_RX : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for USB_EP7R_Register use record EA at 0 range 0 .. 3; STAT_TX at 0 range 4 .. 5; DTOG_TX at 0 range 6 .. 6; CTR_TX at 0 range 7 .. 7; EP_KIND at 0 range 8 .. 8; EP_TYPE at 0 range 9 .. 10; SETUP at 0 range 11 .. 11; STAT_RX at 0 range 12 .. 13; DTOG_RX at 0 range 14 .. 14; CTR_RX at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- control register type USB_CNTR_Register is record -- Force USB Reset FRES : Boolean := True; -- Power down PDWN : Boolean := True; -- Low-power mode LPMODE : Boolean := False; -- Force suspend FSUSP : Boolean := False; -- Resume request RESUME : Boolean := False; -- unspecified Reserved_5_7 : HAL.UInt3 := 16#0#; -- Expected start of frame interrupt mask ESOFM : Boolean := False; -- Start of frame interrupt mask SOFM : Boolean := False; -- USB reset interrupt mask RESETM : Boolean := False; -- Suspend mode interrupt mask SUSPM : Boolean := False; -- Wakeup interrupt mask WKUPM : Boolean := False; -- Error interrupt mask ERRM : Boolean := False; -- Packet memory area over / underrun interrupt mask PMAOVRM : Boolean := False; -- Correct transfer interrupt mask CTRM : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for USB_CNTR_Register use record FRES at 0 range 0 .. 0; PDWN at 0 range 1 .. 1; LPMODE at 0 range 2 .. 2; FSUSP at 0 range 3 .. 3; RESUME at 0 range 4 .. 4; Reserved_5_7 at 0 range 5 .. 7; ESOFM at 0 range 8 .. 8; SOFM at 0 range 9 .. 9; RESETM at 0 range 10 .. 10; SUSPM at 0 range 11 .. 11; WKUPM at 0 range 12 .. 12; ERRM at 0 range 13 .. 13; PMAOVRM at 0 range 14 .. 14; CTRM at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype ISTR_EP_ID_Field is HAL.UInt4; -- interrupt status register type ISTR_Register is record -- Endpoint Identifier EP_ID : ISTR_EP_ID_Field := 16#0#; -- Direction of transaction DIR : Boolean := False; -- unspecified Reserved_5_7 : HAL.UInt3 := 16#0#; -- Expected start frame ESOF : Boolean := False; -- start of frame SOF : Boolean := False; -- reset request RESET : Boolean := False; -- Suspend mode request SUSP : Boolean := False; -- Wakeup WKUP : Boolean := False; -- Error ERR : Boolean := False; -- Packet memory area over / underrun PMAOVR : Boolean := False; -- Correct transfer CTR : Boolean := False; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ISTR_Register use record EP_ID at 0 range 0 .. 3; DIR at 0 range 4 .. 4; Reserved_5_7 at 0 range 5 .. 7; ESOF at 0 range 8 .. 8; SOF at 0 range 9 .. 9; RESET at 0 range 10 .. 10; SUSP at 0 range 11 .. 11; WKUP at 0 range 12 .. 12; ERR at 0 range 13 .. 13; PMAOVR at 0 range 14 .. 14; CTR at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype FNR_FN_Field is HAL.UInt11; subtype FNR_LSOF_Field is HAL.UInt2; -- frame number register type FNR_Register is record -- Read-only. Frame number FN : FNR_FN_Field; -- Read-only. Lost SOF LSOF : FNR_LSOF_Field; -- Read-only. Locked LCK : Boolean; -- Read-only. Receive data - line status RXDM : Boolean; -- Read-only. Receive data + line status RXDP : Boolean; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for FNR_Register use record FN at 0 range 0 .. 10; LSOF at 0 range 11 .. 12; LCK at 0 range 13 .. 13; RXDM at 0 range 14 .. 14; RXDP at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype DADDR_ADD_Field is HAL.UInt7; -- device address type DADDR_Register is record -- Device address ADD : DADDR_ADD_Field := 16#0#; -- Enable function EF : Boolean := False; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for DADDR_Register use record ADD at 0 range 0 .. 6; EF at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; subtype BTABLE_BTABLE_Field is HAL.UInt13; -- Buffer table address type BTABLE_Register is record -- unspecified Reserved_0_2 : HAL.UInt3 := 16#0#; -- Buffer table BTABLE : BTABLE_BTABLE_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for BTABLE_Register use record Reserved_0_2 at 0 range 0 .. 2; BTABLE at 0 range 3 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Universal serial bus full-speed device interface type USB_Peripheral is record -- endpoint 0 register USB_EP0R : aliased USB_EP0R_Register; -- endpoint 1 register USB_EP1R : aliased USB_EP1R_Register; -- endpoint 2 register USB_EP2R : aliased USB_EP2R_Register; -- endpoint 3 register USB_EP3R : aliased USB_EP3R_Register; -- endpoint 4 register USB_EP4R : aliased USB_EP4R_Register; -- endpoint 5 register USB_EP5R : aliased USB_EP5R_Register; -- endpoint 6 register USB_EP6R : aliased USB_EP6R_Register; -- endpoint 7 register USB_EP7R : aliased USB_EP7R_Register; -- control register USB_CNTR : aliased USB_CNTR_Register; -- interrupt status register ISTR : aliased ISTR_Register; -- frame number register FNR : aliased FNR_Register; -- device address DADDR : aliased DADDR_Register; -- Buffer table address BTABLE : aliased BTABLE_Register; end record with Volatile; for USB_Peripheral use record USB_EP0R at 16#0# range 0 .. 31; USB_EP1R at 16#4# range 0 .. 31; USB_EP2R at 16#8# range 0 .. 31; USB_EP3R at 16#C# range 0 .. 31; USB_EP4R at 16#10# range 0 .. 31; USB_EP5R at 16#14# range 0 .. 31; USB_EP6R at 16#18# range 0 .. 31; USB_EP7R at 16#1C# range 0 .. 31; USB_CNTR at 16#40# range 0 .. 31; ISTR at 16#44# range 0 .. 31; FNR at 16#48# range 0 .. 31; DADDR at 16#4C# range 0 .. 31; BTABLE at 16#50# range 0 .. 31; end record; -- Universal serial bus full-speed device interface USB_Periph : aliased USB_Peripheral with Import, Address => System'To_Address (16#40005C00#); -- Universal serial bus full-speed device interface USB_SRAM_Periph : aliased USB_Peripheral with Import, Address => System'To_Address (16#40006000#); end STM32_SVD.USB;
35.663462
65
0.56264
59a1b48a074c689b6e93c7dd54afacb60832c331
3,974
adb
Ada
examples/stm32f1/bootloader/bootloader.adb
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
1
2021-04-06T07:57:56.000Z
2021-04-06T07:57:56.000Z
examples/stm32f1/bootloader/bootloader.adb
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
null
null
null
examples/stm32f1/bootloader/bootloader.adb
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
2
2018-05-29T13:59:31.000Z
2019-02-03T19:48:08.000Z
with System.Machine_Code; use System.Machine_Code; with System; use System; with Interfaces; use Interfaces; with STM32_SVD; use STM32_SVD; with Flash; with STM32GD.Board; package body Bootloader is Line : array (Unsigned_32 range 0 .. 47) of Unsigned_8; Write_Addr : Unsigned_32; Count : Unsigned_8; Flash_End : constant Unsigned_32 with Import, Convention => Asm, External_Name => "__flash_end"; Reset_Vector_Address : constant Unsigned_32 := 16#0000_0004#; Bootloader_Address : constant Unsigned_32 := Flash_End - 1536; User_Vector_Address : constant Unsigned_32 := Bootloader_Address - 4; Flash_Segment_Size : constant Unsigned_32 with Import, Convention => Asm, External_Name => "__page_size"; package Board renames STM32GD.Board; package USART renames Board.USART; procedure Erase is Addr : Unsigned_32 := 16#0#; Saved_Vector_Low : Unsigned_16; Saved_Vector_High : Unsigned_16; begin Saved_Vector_Low := Flash.Read (Reset_Vector_Address); Saved_Vector_High := Flash.Read (Reset_Vector_Address + 2); Flash.Unlock; while Addr < Bootloader_Address loop Flash.Erase (Addr); Addr := Addr + Flash_Segment_Size; end loop; Flash.Enable_Write; Flash.Write (Reset_Vector_Address, Saved_Vector_Low); Flash.Write (Reset_Vector_Address + 2, Saved_Vector_High); Flash.Lock; end Erase; function Nibble (N : Unsigned_8) return Unsigned_8 is begin return (if N >= 65 then N - 65 + 10 else N - 48); end Nibble; function From_Hex (I : Unsigned_32) return Unsigned_8 is begin return 16 * Nibble (Line (I)) + Nibble (Line (I + 1)); end From_Hex; procedure Write is Value : Unsigned_16; J : Unsigned_32; begin Flash.Unlock; Flash.Enable_Write; J := 9; for I in Unsigned_32 range 1 .. Unsigned_32 (Count) / 2 loop Value := Unsigned_16 (From_Hex (J)) + 256 * Unsigned_16 (From_Hex (J + 2)); if Write_Addr = Reset_Vector_Address then Flash.Write (User_Vector_Address, Value); elsif Write_Addr = Reset_Vector_Address + 2 then Flash.Write (User_Vector_Address + 2, Value); else Flash.Write (Write_Addr, Value); end if; J := J + 4; Write_Addr := Write_Addr + Unsigned_32 (2); end loop; Flash.Lock; end Write; procedure Read_Lines is Record_Type : Unsigned_8; XON : constant Byte := 17; XOFF : constant Byte := 19; begin loop USART.Transmit (XON); for I in Line'Range loop Line (I) := Unsigned_8 (USART.Receive); exit when Line (I) = 10; end loop; USART.Transmit (XOFF); Count := From_Hex (1); Write_Addr := Unsigned_32 (From_Hex (3)) * 256 + Unsigned_32 (From_Hex (5)); Record_Type := From_Hex (7); case Record_Type is when 16#00# => Write; when 16#80# => Flash.Erase (Write_Addr); when others => null; end case; end loop; end Read_Lines; procedure Start is begin Board.Init; USART.Transmit (Character'Pos ('?')); for J in 1 .. 12 loop for I in 0 .. Unsigned_32'Last loop if USART.Data_Available then while USART.Data_Available loop USART.Transmit (USART.Receive); end loop; Flash.Init; Erase; Read_Lines; end if; end loop; end loop; if Flash.Read (User_Vector_Address) /= 16#FFFF# then -- Asm ("mov #0xffbe, r8", Volatile => True); -- Asm ("mov.b #0x60, &0x56", Volatile => True); -- Asm ("mov.b #0x87, &0x57", Volatile => True); -- Asm ("mov #0x5a00, &0x120", Volatile => True); -- Asm ("br 0(r8)", Volatile => True); null; end if; end Start; end Bootloader;
32.048387
88
0.603422
2f96b4600dfe1c903227e56826f9fd2c488bc9a3
5,382
ads
Ada
src/sys/http/aws/aws-client-ext.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
60
2015-01-18T23:05:34.000Z
2022-03-20T18:56:30.000Z
src/sys/http/aws/aws-client-ext.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
20
2016-09-15T16:41:30.000Z
2022-03-29T22:02:32.000Z
src/sys/http/aws/aws-client-ext.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
10
2015-02-13T04:00:45.000Z
2022-03-20T18:57:54.000Z
------------------------------------------------------------------------------ -- Ada Web Server -- -- -- -- Copyright (C) 2005-2017, 2020, 2021, AdaCore -- -- -- -- This library is free software; you can redistribute it and/or modify -- -- it under terms of the GNU General Public License as published by the -- -- Free Software Foundation; either version 3, or (at your option) any -- -- later version. This library is distributed in the hope that it will be -- -- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are -- -- granted additional permissions described in the GCC Runtime Library -- -- Exception, version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- ------------------------------------------------------------------------------ pragma Ada_2012; pragma License (GPL); with AWS.Client; with AWS.Response; -- This is the AWS.Client.HTTP_Utils package revisited -- and simplified to add support for HTTP Options and Patch. package AWS.Client.Ext is No_Data : constant String := ""; No_Content : constant Stream_Element_Array := (1 .. 0 => 0); procedure Do_Options (Connection : in out HTTP_Connection; Result : out Response.Data; URI : String := No_Data; Headers : Header_List := Empty_Header_List); function Do_Options (URL : String; User : String := No_Data; Pwd : String := No_Data; Proxy : String := No_Data; Proxy_User : String := No_Data; Proxy_Pwd : String := No_Data; Timeouts : Timeouts_Values := No_Timeout; Headers : Header_List := Empty_Header_List; User_Agent : String := Default.User_Agent) return Response.Data; -- Send to the server URL a OPTIONS request with Data procedure Do_Patch (Connection : in out HTTP_Connection; Result : out Response.Data; URI : String := No_Data; Data : String; Headers : Header_List := Empty_Header_List); function Do_Patch (URL : String; Data : String; User : String := No_Data; Pwd : String := No_Data; Proxy : String := No_Data; Proxy_User : String := No_Data; Proxy_Pwd : String := No_Data; Timeouts : Timeouts_Values := No_Timeout; Headers : Header_List := Empty_Header_List; User_Agent : String := Default.User_Agent) return Response.Data; -- Send to the server URL a PATCH request with Data procedure Do_Delete (Connection : in out HTTP_Connection; Result : out Response.Data; Data : String; URI : String := No_Data; Headers : Header_List := Empty_Header_List); function Do_Delete (URL : String; Data : String; User : String := No_Data; Pwd : String := No_Data; Proxy : String := No_Data; Proxy_User : String := No_Data; Proxy_Pwd : String := No_Data; Timeouts : Timeouts_Values := No_Timeout; Headers : Header_List := Empty_Header_List; User_Agent : String := Default.User_Agent) return Response.Data; -- Send to the server URL a DELETE request with Data -- Delete will retry one time if it fails. type Method_Kind is (GET, HEAD, POST, PUT, DELETE, OPTIONS, PATCH); procedure Send_Request (Connection : in out HTTP_Connection; Kind : Method_Kind; Result : out Response.Data; URI : String; Data : Stream_Element_Array := No_Content; Headers : Header_List := Empty_Header_List); -- Send to the server only a POST request with Data -- and common headers, using a Connection. end AWS.Client.Ext;
46.8
90
0.528056
063ecf6a65ae8365190d502c10dea94793a1427d
4,706
ads
Ada
src/sdl-video-palettes.ads
mosteo/sdlada
429c594de613c5ba2f0d7c59f8708956697e14f1
[ "Zlib" ]
null
null
null
src/sdl-video-palettes.ads
mosteo/sdlada
429c594de613c5ba2f0d7c59f8708956697e14f1
[ "Zlib" ]
null
null
null
src/sdl-video-palettes.ads
mosteo/sdlada
429c594de613c5ba2f0d7c59f8708956697e14f1
[ "Zlib" ]
null
null
null
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, -- including commercial applications, and to alter it and redistribute it -- freely, subject to the following restrictions: -- -- 1. The origin of this software must not be misrepresented; you must not -- claim that you wrote the original software. If you use this software -- in a product, an acknowledgment in the product documentation would be -- appreciated but is not required. -- -- 2. Altered source versions must be plainly marked as such, and must not be -- misrepresented as being the original software. -- -- 3. This notice may not be removed or altered from any source -- distribution. -------------------------------------------------------------------------------------------------------------------- -- SDL.Video.Palettes -- -- Palettes, colours and various conversions. -------------------------------------------------------------------------------------------------------------------- with Ada.Iterator_Interfaces; with Interfaces.C.Pointers; package SDL.Video.Palettes is pragma Preelaborate; package C renames Interfaces.C; type Colour_Component is range 0 .. 255 with Size => 8, Convention => C; type Colour is record Red : Colour_Component := Colour_Component'First; Green : Colour_Component := Colour_Component'First; Blue : Colour_Component := Colour_Component'First; Alpha : Colour_Component := Colour_Component'First; end record with Convention => C_Pass_by_Copy, Size => Colour_Component'Size * 4; Null_Colour : constant Colour := (others => <>); type RGB_Colour is record Red : Colour_Component := Colour_Component'First; Green : Colour_Component := Colour_Component'First; Blue : Colour_Component := Colour_Component'First; end record with Convention => C_Pass_by_Copy, Size => Colour_Component'Size * 4; Null_RGB_Colour : constant RGB_Colour := (others => <>); -- Cursor type for our iterator. type Cursor is private; No_Element : constant Cursor; function Element (Position : in Cursor) return Colour; function Has_Element (Position : in Cursor) return Boolean with Inline; -- Create the iterator interface package. package Palette_Iterator_Interfaces is new Ada.Iterator_Interfaces (Cursor, Has_Element); type Palette is tagged limited private with Default_Iterator => Iterate, Iterator_Element => Colour, Constant_Indexing => Constant_Reference; type Palette_Access is access Palette; function Constant_Reference (Container : aliased Palette; Position : Cursor) return Colour; function Iterate (Container : Palette) return Palette_Iterator_Interfaces.Forward_Iterator'Class; function Create (Total_Colours : in Positive) return Palette; procedure Free (Container : in out Palette); Empty_Palette : constant Palette; private type Colour_Array is array (C.size_t range <>) of aliased Colour with Convention => C; package Colour_Array_Pointer is new Interfaces.C.Pointers (Index => C.size_t, Element => Colour, Element_Array => Colour_Array, Default_Terminator => (others => Colour_Component'First)); type Internal_Palette is record Total : C.int; Colours : Colour_Array_Pointer.Pointer; Version : Interfaces.Unsigned_32; Ref_Count : C.int; end record with Convention => C; type Internal_Palette_Access is access Internal_Palette with Convention => C; type Palette is tagged limited record Data : Internal_Palette_Access; end record; type Palette_Constant_Access is access constant Palette'Class; type Cursor is record Container : Palette_Constant_Access; Index : Natural; Current : Colour_Array_Pointer.Pointer; end record; No_Element : constant Cursor := Cursor'(Container => null, Index => Natural'First, Current => null); Empty_Palette : constant Palette := Palette'(Data => null); end SDL.Video.Palettes;
33.856115
116
0.617297
0b2a9248b9a7a488fb9b563ff4263c4e66cbc063
2,184
ads
Ada
thirdparty/glut/progs/ada/bezmesh_procs.ads
ShiroixD/pag_zad_2
cdb6ccf48402cf4dbf1284827a4e281d3b12a64b
[ "MIT" ]
1
2019-01-11T13:55:53.000Z
2019-01-11T13:55:53.000Z
thirdparty/glut/progs/ada/bezmesh_procs.ads
ShiroixD/pag_zad_2
cdb6ccf48402cf4dbf1284827a4e281d3b12a64b
[ "MIT" ]
1
2018-08-10T19:11:58.000Z
2018-08-10T19:12:17.000Z
thirdparty/glut/progs/ada/bezmesh_procs.ads
ShiroixD/pag_zad_2
cdb6ccf48402cf4dbf1284827a4e281d3b12a64b
[ "MIT" ]
null
null
null
-- -- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc. -- ALL RIGHTS RESERVED -- Permission to use, copy, modify, and distribute this software for -- any purpose and without fee is hereby granted, provided that the above -- copyright notice appear in all copies and that both the copyright notice -- and this permission notice appear in supporting documentation, and that -- the name of Silicon Graphics, Inc. not be used in advertising -- or publicity pertaining to distribution of the software without specific, -- written prior permission. -- -- THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" -- AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, -- INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR -- FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON -- GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, -- SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY -- KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, -- LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF -- THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN -- ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON -- ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE -- POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. -- -- US Government Users Restricted Rights -- Use, duplication, or disclosure by the Government is subject to -- restrictions set forth in FAR 52.227.19(c)(2) or subparagraph -- (c)(1)(ii) of the Rights in Technical Data and Computer Software -- clause at DFARS 252.227-7013 and/or in similar or successor -- clauses in the FAR or the DOD or NASA FAR Supplement. -- Unpublished-- rights reserved under the copyright laws of the -- United States. Contractor/manufacturer is Silicon Graphics, -- Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. -- -- OpenGL(TM) is a trademark of Silicon Graphics, Inc. -- with GL; use GL; package Bezmesh_Procs is procedure Initialize; procedure Display; procedure HandleReshape (w : Integer; h : Integer); An_Error : exception; end Bezmesh_Procs;
46.468085
77
0.745879
1da6dff34034934bd066d81d2815c3e6cf39acb4
1,262
ads
Ada
regtests/el-beans-tests.ads
jquorning/ada-el
b0b07da093ac6109286404cb54a62a9a93816610
[ "Apache-2.0" ]
6
2015-01-18T23:04:00.000Z
2022-01-26T12:34:07.000Z
regtests/el-beans-tests.ads
jquorning/ada-el
b0b07da093ac6109286404cb54a62a9a93816610
[ "Apache-2.0" ]
1
2022-01-30T20:46:16.000Z
2022-01-30T20:46:16.000Z
regtests/el-beans-tests.ads
jquorning/ada-el
b0b07da093ac6109286404cb54a62a9a93816610
[ "Apache-2.0" ]
2
2021-01-06T08:27:49.000Z
2022-01-30T19:33:41.000Z
----------------------------------------------------------------------- -- EL.Beans.Tests - Testsuite for EL.Beans -- Copyright (C) 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Tests; package EL.Beans.Tests is procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite); type Test is new Util.Tests.Test with null record; -- Test Add_Parameter procedure Test_Add_Parameter (T : in out Test); -- Test the Initialize procedure with a set of expressions procedure Test_Initialize (T : in out Test); end EL.Beans.Tests;
38.242424
77
0.629952
1d53365111a7c32b58a11cfce9dd5e7dcef1fb28
1,120
ads
Ada
source/program_structure/adam-subprogram_body.ads
charlie5/aIDE
fab406dbcd9b72a4cb215ffebb05166c788d6365
[ "MIT" ]
3
2017-04-29T14:25:22.000Z
2017-09-29T10:15:28.000Z
source/program_structure/adam-subprogram_body.ads
charlie5/aIDE
fab406dbcd9b72a4cb215ffebb05166c788d6365
[ "MIT" ]
null
null
null
source/program_structure/adam-subprogram_body.ads
charlie5/aIDE
fab406dbcd9b72a4cb215ffebb05166c788d6365
[ "MIT" ]
null
null
null
with AdaM.Any, Ada.Containers.Vectors, Ada.Streams; package AdaM.subprogram_Body is type Item is new Any.item with private; -- View -- type View is access all Item'Class; procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self : in View); procedure View_read (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self : out View); for View'write use View_write; for View'read use View_read; -- Vector -- package Vectors is new ada.Containers.Vectors (Positive, View); subtype Vector is Vectors.Vector; -- Forge -- function new_Subprogram return subprogram_Body.view; procedure free (Self : in out subprogram_Body.view); procedure destruct (Self : in out subprogram_Body.item); -- Attributes -- overriding function Id (Self : access Item) return AdaM.Id; private type Item is new Any.item with record null; end record; end AdaM.subprogram_Body;
19.649123
85
0.615179
a1c0788cdeacc109a807b21479f031dd22fcfa46
7,608
adb
Ada
examples/diff_ucd_hfs.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
examples/diff_ucd_hfs.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
examples/diff_ucd_hfs.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
-- compare two normalization tables -- expected result: -- ------------------------- -- decomposing maps: -- size of UCD: 981 -- size of VFS: 970 -- only in UCD: 16#1B06# -- only in UCD: 16#1B08# -- only in UCD: 16#1B0A# -- only in UCD: 16#1B0C# -- only in UCD: 16#1B0E# -- only in UCD: 16#1B12# -- only in UCD: 16#1B3B# -- only in UCD: 16#1B3D# -- only in UCD: 16#1B40# -- only in UCD: 16#1B41# -- only in UCD: 16#1B43# -- combining classes: -- size of UCD: 602 -- size of VFS: 322 -- only in UCD: 16#358# -- only in UCD: 16#359# -- ... -- only in UCD: 16#FE25# -- only in UCD: 16#FE26# -- ------------------------- with Ada.Containers.Ordered_Maps; with Ada.Integer_Text_IO; with Ada.Strings.Composites; -- from Unicode Character Database with Ada.Strings.Normalization; with Ada.Text_IO; with C.vfs_utfconvdata; -- from XNU procedure diff_ucd_hfs is subtype WC is Wide_Character; subtype Decomposed is Wide_String (1 .. 2); package Decomposing_Maps is new Ada.Containers.Ordered_Maps (WC, Decomposed); package Combining_Class_Maps is new Ada.Containers.Ordered_Maps (WC, Integer); UCD_Decomposing_Map, VFS_Decomposing_Map : Decomposing_Maps.Map; UCD_Combining_Class_Map, VFS_Combining_Class_Map : Combining_Class_Maps.Map; begin -- make decomposing map from UCD declare Target : Decomposing_Maps.Map renames UCD_Decomposing_Map; procedure Process (Pre : Wide_Wide_Character; De : Wide_Wide_String) is Second : Wide_Wide_Character; begin if De'Length = 2 then Second := De (De'First + 1); else Second := Wide_Wide_Character'Val (0); end if; if Wide_Wide_Character'Pos (Pre) <= 16#FFFF# and then De'Length in 1 .. 2 and then Wide_Wide_Character'Pos (De (De'First)) <= 16#FFFF# and then Wide_Wide_Character'Pos (Second) <= 16#FFFF# then Decomposing_Maps.Insert ( Target, WC'Val (Wide_Wide_Character'Pos (Pre)), Decomposed'( 1 => WC'Val (Wide_Wide_Character'Pos (De (De'First))), 2 => WC'Val (Wide_Wide_Character'Pos (Second)))); end if; end Process; begin Ada.Strings.Normalization.Iterate (False, Process'Access); end; -- make decomposing map from VFS declare use type C.size_t; package V renames C.vfs_utfconvdata; use type V.u_int16_t; Target : Decomposing_Maps.Map renames VFS_Decomposing_Map; I : C.size_t := 0; begin while I < V.CFUniCharDecompositionTable'Length loop declare Key : V.u_int16_t := V.CFUniCharDecompositionTable (I); Value : V.u_int16_t := V.CFUniCharDecompositionTable (I + 1); -- take key apart Length : V.u_int16_t := (Value / 2 ** 12) and 7; Offset : V.u_int16_t := Value and 16#0FFF#; D : Decomposed; begin if Length = 1 then D (1) := WC'Val (Offset); D (2) := WC'Val (0); elsif Length = 2 then D (1) := WC'Val (V.CFUniCharMultipleDecompositionTable (C.size_t (Offset))); D (2) := WC'Val (V.CFUniCharMultipleDecompositionTable (C.size_t (Offset + 1))); else raise Program_Error; end if; Decomposing_Maps.Insert (Target, WC'Val (Key), D); end; I := I + 2; end loop; end; -- compare decomposing maps declare use Ada.Text_IO; use Ada.Integer_Text_IO; I : Decomposing_Maps.Cursor := UCD_Decomposing_Map.First; J : Decomposing_Maps.Cursor := VFS_Decomposing_Map.First; begin Put ("decomposing maps:"); New_Line; Put (" size of UCD:"); Put (Integer (UCD_Decomposing_Map.Length)); New_Line; Put (" size of VFS:"); Put (Integer (VFS_Decomposing_Map.Length)); New_Line; while Decomposing_Maps.Has_Element (I) and then Decomposing_Maps.Has_Element (J) loop if Decomposing_Maps.Key (I) < Decomposing_Maps.Key (J) then Put (" only in UCD:"); Put (WC'Pos (Decomposing_Maps.Key (I)), Base => 16); New_Line; Decomposing_Maps.Next (I); elsif Decomposing_Maps.Key (I) > Decomposing_Maps.Key (J) then Put (" only in VFS:"); Put (WC'Pos (Decomposing_Maps.Key (J)), Base => 16); New_Line; Decomposing_Maps.Next (J); else if Decomposing_Maps.Element (I) /= Decomposing_Maps.Element (J) then Put (" differ:"); Put (WC'Pos (Decomposing_Maps.Key (I)), Base => 16); New_Line; end if; Decomposing_Maps.Next (I); Decomposing_Maps.Next (J); end if; end loop; while Decomposing_Maps.Has_Element (I) loop Put (" only in UCD:"); Put (WC'Pos (Decomposing_Maps.Key (I)), Base => 16); New_Line; Decomposing_Maps.Next (I); end loop; while Decomposing_Maps.Has_Element (J) loop Put (" only in VFS:"); Put (WC'Pos (Decomposing_Maps.Key (J)), Base => 16); New_Line; Decomposing_Maps.Next (J); end loop; end; -- make combining class map from UCD declare Target : Combining_Class_Maps.Map renames UCD_Combining_Class_Map; procedure Process (Item : Wide_Wide_Character; Combining_Class : Ada.Strings.Composites.Class) is begin if Wide_Wide_Character'Pos (Item) <= 16#FFFF# then Combining_Class_Maps.Insert ( Target, WC'Val (Wide_Wide_Character'Pos (Item)), Integer (Combining_Class)); end if; end Process; begin Ada.Strings.Composites.Iterate (Process'Access); end; -- make combining class map from VFS declare use type C.size_t; package V renames C.vfs_utfconvdata; use type V.u_int8_t; Target : Combining_Class_Maps.Map renames VFS_Combining_Class_Map; begin for I in C.size_t range 0 .. 16#FFFF# loop declare value : V.u_int8_t := V.CFUniCharCombiningPropertyBitmap (I / 2 ** 8); begin if value /= 0 then declare Combining_Class : constant V.u_int8_t := V.CFUniCharCombiningPropertyBitmap (C.size_t (value) * 256 + (I and 16#FF#)); begin if Combining_Class /= 0 then Combining_Class_Maps.Insert (Target, WC'Val (I), Integer (Combining_Class)); end if; end; end if; end; end loop; end; -- compare combining classes declare use Ada.Text_IO; use Ada.Integer_Text_IO; I : Combining_Class_Maps.Cursor := UCD_Combining_Class_Map.First; J : Combining_Class_Maps.Cursor := VFS_Combining_Class_Map.First; begin Put ("combining classes:"); New_Line; Put (" size of UCD:"); Put (Integer (UCD_Combining_Class_Map.Length)); New_Line; Put (" size of VFS:"); Put (Integer (VFS_Combining_Class_Map.Length)); New_Line; while Combining_Class_Maps.Has_Element (I) and then Combining_Class_Maps.Has_Element (J) loop if Combining_Class_Maps.Key (I) < Combining_Class_Maps.Key (J) then Put (" only in UCD:"); Put (WC'Pos (Combining_Class_Maps.Key (I)), Base => 16); New_Line; Combining_Class_Maps.Next (I); elsif Combining_Class_Maps.Key (I) > Combining_Class_Maps.Key (J) then Put (" only in VFS:"); Put (WC'Pos (Combining_Class_Maps.Key (J)), Base => 16); New_Line; Combining_Class_Maps.Next (J); else if Combining_Class_Maps.Element (I) /= Combining_Class_Maps.Element (J) then Put (" differ:"); Put (WC'Pos (Combining_Class_Maps.Key (I)), Base => 16); New_Line; end if; Combining_Class_Maps.Next (I); Combining_Class_Maps.Next (J); end if; end loop; while Combining_Class_Maps.Has_Element (I) loop Put (" only in UCD:"); Put (WC'Pos (Combining_Class_Maps.Key (I)), Base => 16); New_Line; Combining_Class_Maps.Next (I); end loop; while Combining_Class_Maps.Has_Element (J) loop Put (" only in VFS:"); Put (WC'Pos (Combining_Class_Maps.Key (J)), Base => 16); New_Line; Combining_Class_Maps.Next (J); end loop; end; end diff_ucd_hfs;
32.101266
99
0.668375
31e88c8f92cbf1540d35428706df5f4a50a29219
2,915
adb
Ada
src/Ada/ewok-sleep.adb
wookey-project/ewok-legacy
c973752dac3a0ebe3f7cfca062f50744578f051b
[ "Apache-2.0" ]
null
null
null
src/Ada/ewok-sleep.adb
wookey-project/ewok-legacy
c973752dac3a0ebe3f7cfca062f50744578f051b
[ "Apache-2.0" ]
null
null
null
src/Ada/ewok-sleep.adb
wookey-project/ewok-legacy
c973752dac3a0ebe3f7cfca062f50744578f051b
[ "Apache-2.0" ]
null
null
null
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with ewok.tasks; use ewok.tasks; with ewok.tasks_shared; use ewok.tasks_shared; package body ewok.sleep with spark_mode => off is package TSK renames ewok.tasks; procedure sleeping (task_id : in t_real_task_id; ms : in milliseconds; mode : in t_sleep_mode) is begin sleep_info(task_id).sleep_until := m4.systick.get_ticks + m4.systick.to_ticks (ms); if mode = SLEEP_MODE_INTERRUPTIBLE then sleep_info(task_id).interruptible := true; TSK.set_state (task_id, TASK_MODE_MAINTHREAD, TASK_STATE_SLEEPING); else sleep_info(task_id).interruptible := false; TSK.set_state (task_id, TASK_MODE_MAINTHREAD, TASK_STATE_SLEEPING_DEEP); end if; end sleeping; procedure check_is_awoke is t : constant m4.systick.t_tick := m4.systick.get_ticks; begin for id in applications.list'range loop if (TSK.tasks_list(id).state = TASK_STATE_SLEEPING or TSK.tasks_list(id).state = TASK_STATE_SLEEPING_DEEP) and then t > sleep_info(id).sleep_until then TSK.set_state (id, TASK_MODE_MAINTHREAD, TASK_STATE_RUNNABLE); end if; end loop; end check_is_awoke; procedure try_waking_up (task_id : in t_real_task_id) is begin if sleep_info(task_id).sleep_until < m4.systick.get_ticks or sleep_info(task_id).interruptible then TSK.set_state (task_id, TASK_MODE_MAINTHREAD, TASK_STATE_RUNNABLE); end if; end try_waking_up; function is_sleeping (task_id : in t_real_task_id) return boolean is begin if TSK.tasks_list(task_id).state = TASK_STATE_SLEEPING or TSK.tasks_list(task_id).state = TASK_STATE_SLEEPING_DEEP then if sleep_info(task_id).sleep_until > m4.systick.get_ticks then return true; else TSK.set_state (task_id, TASK_MODE_MAINTHREAD, TASK_STATE_RUNNABLE); return false; end if; else return false; end if; end is_sleeping; end ewok.sleep;
29.15
81
0.662093
fb3d20654e6678051e60b16876856f817bafc677
572
ads
Ada
src/cmd_flags.ads
wiremoons/apass
a73f116d22ef41b87caf5fc238f47c0a6798a560
[ "MIT" ]
3
2021-02-05T13:12:39.000Z
2022-03-30T03:54:44.000Z
src/cmd_flags.ads
wiremoons/apass
a73f116d22ef41b87caf5fc238f47c0a6798a560
[ "MIT" ]
null
null
null
src/cmd_flags.ads
wiremoons/apass
a73f116d22ef41b87caf5fc238f47c0a6798a560
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------- -- Package : Cmd_Flags -- -- Description : Manage user provided CLI flags for the program. -- -- Author : Simon Rowe <simon@wiremoons.com> -- -- License : MIT Open Source. -- ------------------------------------------------------------------------------- package Cmd_Flags is function Command_Line_Flags_Exist return Boolean; end Cmd_Flags;
44
79
0.337413
06b9c4c837e9369e8480ebd2fb83ddf35a2dc317
5,327
ads
Ada
examples/shared/serial_ports/src/serial_io-nonblocking.ads
RREE/Ada_Drivers_Library
791616adf3c742de256e37717d3376393e6f407a
[ "BSD-3-Clause" ]
null
null
null
examples/shared/serial_ports/src/serial_io-nonblocking.ads
RREE/Ada_Drivers_Library
791616adf3c742de256e37717d3376393e6f407a
[ "BSD-3-Clause" ]
null
null
null
examples/shared/serial_ports/src/serial_io-nonblocking.ads
RREE/Ada_Drivers_Library
791616adf3c742de256e37717d3376393e6f407a
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2022, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- This package defines an abstract data type for a "serial port" providing -- non-blocking input (Receive) and output (Send) procedures. The procedures -- are considered non-blocking because they return to the caller (potentially) -- before the entire message is received or sent. -- -- The serial port abstraction is a wrapper around a USART peripheral, -- described by a value of type Peripheral_Descriptor. -- -- Interrupts are used to send and receive characters. -- -- NB: clients must not send or receive messages until any prior sending or -- receiving is completed. with Message_Buffers; use Message_Buffers; with Ada.Interrupts; use Ada.Interrupts; with System; use System; package Serial_IO.Nonblocking is pragma Elaborate_Body; type Serial_Port (Device : not null access Peripheral_Descriptor; IRQ : Interrupt_ID; IRQ_Priority : Interrupt_Priority) is limited private; procedure Initialize_Hardware (This : in out Serial_Port); -- A convenience wrapper for Serial_IO.Initialize_Hardware procedure Configure (This : in out Serial_Port; Baud_Rate : Baud_Rates; Parity : Parities := No_Parity; Data_Bits : Word_Lengths := Word_Length_8; End_Bits : Stop_Bits := Stopbits_1; Control : Flow_Control := No_Flow_Control); -- A convenience wrapper for Serial_IO.Configure procedure Send (This : in out Serial_Port; Msg : not null access Message) with Inline; -- Start sending the content of Msg.all, returning potentially -- prior to the completion of the message transmission procedure Receive (This : in out Serial_Port; Msg : not null access Message) with Post => Msg.Length <= Msg.Physical_Size and (if Msg.Length > 0 then Msg.Content_At (Msg.Length) /= Msg.Terminator), Inline; -- Start receiving Msg.all content, ending when the specified -- Msg.Terminator character is received (it is not stored), or -- the physical capacity of Msg.all is reached private protected type Serial_Port (Device : not null access Peripheral_Descriptor; IRQ : Interrupt_ID; IRQ_Priority : Interrupt_Priority) -- with -- Interrupt_Priority => IRQ_Priority is pragma Interrupt_Priority (IRQ_Priority); -- use pragma as workaround for bug in CE_2021 frontend (V523-041) procedure Start_Sending (Msg : not null access Message); procedure Start_Receiving (Msg : not null access Message); private Next_Out : Positive; Outgoing_Msg : access Message; Incoming_Msg : access Message; procedure Handle_Transmission with Inline; procedure Handle_Reception with Inline; procedure Detect_Errors (Is_Xmit_IRQ : Boolean) with Inline; procedure ISR with Attach_Handler => IRQ; end Serial_Port; end Serial_IO.Nonblocking;
44.391667
85
0.608973
2f004bc24477b5e4a010a8d13cce4347fd0bf302
9,442
adb
Ada
src/open_weather_map-api-service-group.adb
Jellix/open_weather_map_api
fa3484b361411b9362500a25e36d63d4bb6dbca3
[ "WTFPL" ]
1
2020-09-04T18:31:05.000Z
2020-09-04T18:31:05.000Z
src/open_weather_map-api-service-group.adb
Jellix/open_weather_map_api
fa3484b361411b9362500a25e36d63d4bb6dbca3
[ "WTFPL" ]
2
2020-03-22T16:28:32.000Z
2020-03-22T16:31:51.000Z
src/open_weather_map-api-service-group.adb
HeisenbugLtd/open_weather_map_api
fa3484b361411b9362500a25e36d63d4bb6dbca3
[ "WTFPL" ]
null
null
null
-------------------------------------------------------------------------------- -- Copyright (C) 2020 by Heisenbug Ltd. (gh+owm@heisenbug.eu) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See the LICENSE file for more details. -------------------------------------------------------------------------------- pragma License (Unrestricted); with Ada.Strings.Fixed; with Ada.Strings.Maps; with GNATCOLL.JSON.Conversions; with Open_Weather_Map.API.Service.Utilities; package body Open_Weather_Map.API.Service.Group is My_Debug : constant not null GNATCOLL.Traces.Trace_Handle := GNATCOLL.Traces.Create (Unit_Name => "OWM.API.GROUP"); package Field_Names is pragma Warnings (Off, "declaration hides"); package Main is Humidity : constant String := "humidity"; Pressure : constant String := "pressure"; Temperature : constant String := "temp"; end Main; package Element is Coordinates : constant String := "coord"; Date_Time : constant String := "dt"; Main : constant String := "main"; Name : constant String := "name"; Sys : constant String := "sys"; end Element; package Root is List : constant String := "list"; end Root; package Sys is Sunrise : constant String := "sunrise"; Sunset : constant String := "sunset"; Time_Zone : constant String := "timezone"; end Sys; pragma Warnings (On, "declaration hides"); end Field_Names; ----------------------------------------------------------------------------- -- Decode_Response ----------------------------------------------------------------------------- overriding function Decode_Response (Self : in T; Root : in GNATCOLL.JSON.JSON_Value) return Data_Set is pragma Unreferenced (Self); -------------------------------------------------------------------------- -- Decode_City_Data -------------------------------------------------------------------------- function Decode_City_Data (Element : in GNATCOLL.JSON.JSON_Value; Coord : in GNATCOLL.JSON.JSON_Value; Main : in GNATCOLL.JSON.JSON_Value; Sys : in GNATCOLL.JSON.JSON_Value) return City_Data; -------------------------------------------------------------------------- -- Decode_City_Data -------------------------------------------------------------------------- function Decode_City_Data (Element : in GNATCOLL.JSON.JSON_Value; Coord : in GNATCOLL.JSON.JSON_Value; Main : in GNATCOLL.JSON.JSON_Value; Sys : in GNATCOLL.JSON.JSON_Value) return City_Data is package Conversions renames GNATCOLL.JSON.Conversions; begin My_Debug.all.Trace (Message => "Decode_Response.Decode_City_Data"); return City_Data'(Location => Utilities.Decode_Coordinates (Coordinates => Coord), Temperature => Conversions.To_Temperature (Value => Main, Field => Field_Names.Main.Temperature), Humidity => Conversions.To_Humidity (Value => Main, Field => Field_Names.Main.Humidity), Pressure => Conversions.To_Pressure (Value => Main, Field => Field_Names.Main.Pressure), Sunrise => Conversions.To_Time (Value => Sys, Field => Field_Names.Sys.Sunrise), Sunset => Conversions.To_Time (Value => Sys, Field => Field_Names.Sys.Sunset), Name => Element.Get (Field => Field_Names.Element.Name), Time_Zone => Conversions.To_Time_Offset (Value => Sys, Field => Field_Names.Sys.Time_Zone), Last_Update => Conversions.To_Time (Value => Element, Field => Field_Names.Element.Date_Time)); end Decode_City_Data; Cities : City_Lists.Vector; begin My_Debug.all.Trace (Message => "Decode_Response"); if not Root.Has_Field (Field => Field_Names.Root.List) then return Invalid_Data_Set; end if; Get_City_List : declare List : constant GNATCOLL.JSON.JSON_Array := Root.Get (Field => Field_Names.Root.List); Length : constant Natural := GNATCOLL.JSON.Length (Arr => List); begin if Length = 0 then return Invalid_Data_Set; end if; City_Loop : for I in 1 .. Length loop Decode_City : declare Element : constant GNATCOLL.JSON.JSON_Value := GNATCOLL.JSON.Get (Arr => List, Index => I); begin if Element.Has_Field (Field => Field_Names.Element.Coordinates) and then Element.Has_Field (Field => Field_Names.Element.Date_Time) and then Element.Has_Field (Field => Field_Names.Element.Main) and then Element.Has_Field (Field => Field_Names.Element.Name) and then Element.Has_Field (Field => Field_Names.Element.Sys) then Check_Data_Fields : declare Coord : constant GNATCOLL.JSON.JSON_Value := Element.Get (Field => Field_Names.Element.Coordinates); Main : constant GNATCOLL.JSON.JSON_Value := Element.Get (Field => Field_Names.Element.Main); Sys : constant GNATCOLL.JSON.JSON_Value := Element.Get (Field => Field_Names.Element.Sys); begin if Utilities.Has_Coord_Fields (Coordinates => Coord) and then Main.Has_Field (Field => Field_Names.Main.Humidity) and then Main.Has_Field (Field => Field_Names.Main.Pressure) and then Main.Has_Field (Field => Field_Names.Main.Temperature) and then Sys.Has_Field (Field => Field_Names.Sys.Sunrise) and then Sys.Has_Field (Field => Field_Names.Sys.Sunset) and then Sys.Has_Field (Field => Field_Names.Sys.Time_Zone) then Cities.Append (New_Item => Decode_City_Data (Element => Element, Coord => Coord, Main => Main, Sys => Sys)); end if; end Check_Data_Fields; end if; end Decode_City; end loop City_Loop; end Get_City_List; if not Cities.Is_Empty then return Data_Set'(Valid => True, Cities => Cities); end if; return Invalid_Data_Set; end Decode_Response; ----------------------------------------------------------------------------- -- Initialize ----------------------------------------------------------------------------- procedure Initialize (Self : out T; Configuration : in GNATCOLL.JSON.JSON_Value; Connection : not null Client.T_Access; Max_Cache_Interval : in Ada.Real_Time.Time_Span := Default_Cache_Interval; Ids : in Group_List) is Id_List : Ada.Strings.Unbounded.Unbounded_String; begin My_Debug.all.Trace (Message => "Initialize"); Service.T (Self).Initialize (Configuration => Configuration, Connection => Connection, Max_Cache_Interval => Max_Cache_Interval, For_API_Service => Current_By_Group); for Id of Ids loop Ada.Strings.Unbounded.Append (Source => Id_List, New_Item => Ada.Strings.Fixed.Trim (Source => Id'Image, Side => Ada.Strings.Left)); Ada.Strings.Unbounded.Append (Source => Id_List, New_Item => ','); end loop; Ada.Strings.Unbounded.Trim (Source => Id_List, Left => Ada.Strings.Maps.Null_Set, Right => Ada.Strings.Maps.To_Set (",")); Self.Parameters.Add (Name => "id", Value => Ada.Strings.Unbounded.To_String (Id_List)); end Initialize; end Open_Weather_Map.API.Service.Group;
42.723982
86
0.466956
2ff58ed491449b0ed43786dc4dbdcb8fa2c250b1
536
adb
Ada
ejercicios6/media.adb
iyan22/AprendeAda
18bd2a224e5bda30c43d9ceabe0c05278e069ebf
[ "MIT" ]
null
null
null
ejercicios6/media.adb
iyan22/AprendeAda
18bd2a224e5bda30c43d9ceabe0c05278e069ebf
[ "MIT" ]
null
null
null
ejercicios6/media.adb
iyan22/AprendeAda
18bd2a224e5bda30c43d9ceabe0c05278e069ebf
[ "MIT" ]
null
null
null
with Datos; use Datos; function Media ( L : Lista ) return Float is -- pre: Dada una lista, calcular la media de sus valores -- post: La media de los valores de la lista Suma / longitud numelementos : Natural; acumulador : Float; LCopia : Lista; begin numelementos := 0; acumulador := 0.0; LCopia := L; while LCopia /= null loop numelementos := numelementos+1; acumulador := acumulador + Float(LCopia.all.info); LCopia := LCopia.all.sig; end loop; return acumulador / Float(numelementos); end Media;
23.304348
63
0.68097
1ccb2d6095373774bd91f306fc42f163b177212e
870
adb
Ada
gdb/testsuite/gdb.ada/char_param/foo.adb
greyblue9/binutils-gdb
05377632b124fe7600eea7f4ee0e9a35d1b0cbdc
[ "BSD-3-Clause" ]
1
2020-10-14T03:24:35.000Z
2020-10-14T03:24:35.000Z
gdb/testsuite/gdb.ada/char_param/foo.adb
greyblue9/binutils-gdb
05377632b124fe7600eea7f4ee0e9a35d1b0cbdc
[ "BSD-3-Clause" ]
null
null
null
gdb/testsuite/gdb.ada/char_param/foo.adb
greyblue9/binutils-gdb
05377632b124fe7600eea7f4ee0e9a35d1b0cbdc
[ "BSD-3-Clause" ]
null
null
null
-- Copyright 2007-2021 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is First : Character := 'a'; begin Procedure_Result := ' '; Same (First); -- STOP Next (First); end Foo;
31.071429
73
0.711494
59aa6b4f16c9a738ed63ef62ad077fdbd22f6e00
110
ads
Ada
bits/src/shift/axiom/bitoperations-shift-axiom.ads
vasil-sd/ada-tlsf
c30cfaf5f0b87ebb6e4dd479e50b3f9b11381ddd
[ "MIT" ]
3
2020-02-21T15:42:14.000Z
2020-04-08T09:42:32.000Z
bits/src/shift/axiom/bitoperations-shift-axiom.ads
vasil-sd/ada-tlsf
c30cfaf5f0b87ebb6e4dd479e50b3f9b11381ddd
[ "MIT" ]
null
null
null
bits/src/shift/axiom/bitoperations-shift-axiom.ads
vasil-sd/ada-tlsf
c30cfaf5f0b87ebb6e4dd479e50b3f9b11381ddd
[ "MIT" ]
1
2020-02-21T15:29:26.000Z
2020-02-21T15:29:26.000Z
generic package BitOperations.Shift.Axiom with SPARK_Mode, Pure, Ghost is end BitOperations.Shift.Axiom;
18.333333
39
0.8
2f7a4ca89c4ff4341c2e4c37031331e1b955b4d5
1,011
ads
Ada
source/tasking/a-sytaco.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/tasking/a-sytaco.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/tasking/a-sytaco.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
pragma License (Unrestricted); private with Ada.Finalization; private with System.Storage_Barriers; private with System.Synchronous_Objects; package Ada.Synchronous_Task_Control is pragma Preelaborate; type Suspension_Object is limited private; procedure Set_True (S : in out Suspension_Object); procedure Set_False (S : in out Suspension_Object); function Current_State (S : Suspension_Object) return Boolean; -- modified procedure Suspend_Until_True ( S : in out Suspension_Object; Multi : Boolean := False); -- additional pragma Inline (Current_State); private type Suspension_Object is limited new Finalization.Limited_Controlled with record Object : System.Synchronous_Objects.Event; Waiting : aliased System.Storage_Barriers.Flag; -- for CXDA002 end record; overriding procedure Initialize (Object : in out Suspension_Object); overriding procedure Finalize (Object : in out Suspension_Object); end Ada.Synchronous_Task_Control;
30.636364
71
0.762611
2fed9dca135ac4606ad42e0b2749521941d5b4a1
2,991
ads
Ada
orka/src/orka/interface/orka-smart_pointers.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
52
2016-07-30T23:00:28.000Z
2022-02-05T11:54:55.000Z
orka/src/orka/interface/orka-smart_pointers.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
79
2016-08-01T18:36:48.000Z
2022-02-27T12:14:20.000Z
orka/src/orka/interface/orka-smart_pointers.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
4
2018-04-28T22:36:26.000Z
2020-11-14T23:00:29.000Z
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 onox <denkpadje@gmail.com> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- Based on Ada gem #97 [1] and #107 [2] -- -- [1] https://www.adacore.com/gems/gem-97-reference-counting-in-ada-part-1 -- [2] https://www.adacore.com/gems/gem-107-preventing-deallocation-for-reference-counted-types private with Ada.Finalization; private with Orka.Atomics; generic type Object_Type (<>) is limited private; type Object_Access is access Object_Type; with procedure Free_Object (Value : in out Object_Access); package Orka.Smart_Pointers is pragma Preelaborate; type Reference (Value : not null access Object_Type) is limited private with Implicit_Dereference => Value; type Constant_Reference (Value : not null access constant Object_Type) is limited private with Implicit_Dereference => Value; type Abstract_Pointer is abstract tagged private; function Is_Null (Object : Abstract_Pointer) return Boolean; function References (Object : Abstract_Pointer) return Natural with Pre => not Object.Is_Null; procedure Set (Object : in out Abstract_Pointer; Value : not null Object_Access) with Post => not Object.Is_Null and then Object.References = 1; type Mutable_Pointer is new Abstract_Pointer with private; function Get (Object : Mutable_Pointer) return Reference with Pre => not Object.Is_Null; type Pointer is new Abstract_Pointer with private; function Get (Object : Pointer) return Constant_Reference with Pre => not Object.Is_Null; private type Data_Record is limited record References : Atomics.Counter (Initial_Value => 1); Object : Object_Access; end record; type Data_Record_Access is access Data_Record; type Abstract_Pointer is abstract new Ada.Finalization.Controlled with record Data : Data_Record_Access; end record; overriding procedure Adjust (Object : in out Abstract_Pointer); overriding procedure Finalize (Object : in out Abstract_Pointer); type Mutable_Pointer is new Abstract_Pointer with null record; type Pointer is new Abstract_Pointer with null record; type Reference (Value : not null access Object_Type) is limited record Hold : Mutable_Pointer; end record; type Constant_Reference (Value : not null access constant Object_Type) is limited record Hold : Pointer; end record; end Orka.Smart_Pointers;
32.16129
96
0.736543
06b5eca6e5bc6788029d209247d722828d84d419
196,499
adb
Ada
model_multistart/0/hls4ml_prj/myproject_prj/solution1/.autopilot/db/myproject.adb
filipemlins/nas-hls4ml
b35afc4f684d803d352776c40f3a6cbbf47c4b1c
[ "MIT" ]
null
null
null
model_multistart/0/hls4ml_prj/myproject_prj/solution1/.autopilot/db/myproject.adb
filipemlins/nas-hls4ml
b35afc4f684d803d352776c40f3a6cbbf47c4b1c
[ "MIT" ]
null
null
null
model_multistart/0/hls4ml_prj/myproject_prj/solution1/.autopilot/db/myproject.adb
filipemlins/nas-hls4ml
b35afc4f684d803d352776c40f3a6cbbf47c4b1c
[ "MIT" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>myproject</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>input1_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>input1.V</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>1024</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>layer19_out_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>layer19_out.V</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>10</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>const_size_in_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>const_size_in_1</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>16</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>const_size_out_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>const_size_out_1</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>16</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>25</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_5"> <Value> <Obj> <type>0</type> <id>23</id> <name>layer3_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>64</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>64</second> </item> </second> </item> </inlineStackInfo> <originalName>layer3_out.V</originalName> <rtlName>layer3_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>52</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>24</id> <name>layer5_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>68</second> </item> </second> </item> </inlineStackInfo> <originalName>layer5_out.V</originalName> <rtlName>layer5_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>53</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>25</id> <name>layer6_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>72</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>72</second> </item> </second> </item> </inlineStackInfo> <originalName>layer6_out.V</originalName> <rtlName>layer6_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>54</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>26</id> <name>layer7_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>76</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>76</second> </item> </second> </item> </inlineStackInfo> <originalName>layer7_out.V</originalName> <rtlName>layer7_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>55</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>27</id> <name>layer9_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName>layer9_out.V</originalName> <rtlName>layer9_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>56</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>28</id> <name>layer10_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>84</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>84</second> </item> </second> </item> </inlineStackInfo> <originalName>layer10_out.V</originalName> <rtlName>layer10_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>57</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>29</id> <name>layer11_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>88</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>88</second> </item> </second> </item> </inlineStackInfo> <originalName>layer11_out.V</originalName> <rtlName>layer11_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>58</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>30</id> <name>layer13_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>92</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>92</second> </item> </second> </item> </inlineStackInfo> <originalName>layer13_out.V</originalName> <rtlName>layer13_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>59</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>31</id> <name>layer14_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>96</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>96</second> </item> </second> </item> </inlineStackInfo> <originalName>layer14_out.V</originalName> <rtlName>layer14_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>60</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>32</id> <name>layer16_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>100</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>100</second> </item> </second> </item> </inlineStackInfo> <originalName>layer16_out.V</originalName> <rtlName>layer16_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>61</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>33</id> <name>layer17_out_V</name> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>104</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>104</second> </item> </second> </item> </inlineStackInfo> <originalName>layer17_out.V</originalName> <rtlName>layer17_out_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>62</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>36</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>Block_arrayctor_loop_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>64</item> <item>65</item> <item>66</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>37</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>66</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>conv_2d_large_cl_1_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>68</item> <item>69</item> <item>70</item> <item>115</item> <item>116</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>38</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>70</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>70</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>relu_1_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>72</item> <item>73</item> <item>74</item> <item>194</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>39</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>74</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>74</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>pooling2d_cl_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>76</item> <item>77</item> <item>78</item> <item>193</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>40</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>78</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>78</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>conv_2d_large_cl_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>80</item> <item>81</item> <item>82</item> <item>117</item> <item>118</item> <item>192</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>41</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>82</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>82</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>relu_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>84</item> <item>85</item> <item>86</item> <item>191</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>42</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>86</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>86</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>pooling2d_cl_1_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>88</item> <item>89</item> <item>90</item> <item>190</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>43</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>90</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>90</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>dense_large_2_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>92</item> <item>93</item> <item>94</item> <item>119</item> <item>120</item> <item>189</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>44</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>94</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>94</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>relu_3_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>96</item> <item>97</item> <item>98</item> <item>188</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>45</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>98</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>98</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>dense_large_1_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>100</item> <item>101</item> <item>102</item> <item>121</item> <item>122</item> <item>187</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>46</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>102</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>102</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>relu_2_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>104</item> <item>105</item> <item>106</item> <item>186</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>47</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>106</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>106</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>dense_large_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>108</item> <item>109</item> <item>110</item> <item>123</item> <item>124</item> <item>185</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>48</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>108</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>108</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>softmax_U0</rtlName> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>112</item> <item>113</item> <item>114</item> <item>125</item> <item>126</item> <item>184</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>49</id> <name/> <fileName>firmware/myproject.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>110</lineNumber> <contextFuncName>myproject</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/myproject.cpp</first> <second>myproject</second> </first> <second>110</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>14</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_30"> <Value> <Obj> <type>2</type> <id>51</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_31"> <Value> <Obj> <type>2</type> <id>63</id> <name>Block_arrayctor_loop</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:Block_arrayctor.loop&gt;</content> </item> <item class_id_reference="16" object_id="_32"> <Value> <Obj> <type>2</type> <id>67</id> <name>conv_2d_large_cl_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:conv_2d_large_cl.1&gt;</content> </item> <item class_id_reference="16" object_id="_33"> <Value> <Obj> <type>2</type> <id>71</id> <name>relu_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:relu.1&gt;</content> </item> <item class_id_reference="16" object_id="_34"> <Value> <Obj> <type>2</type> <id>75</id> <name>pooling2d_cl</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:pooling2d_cl&gt;</content> </item> <item class_id_reference="16" object_id="_35"> <Value> <Obj> <type>2</type> <id>79</id> <name>conv_2d_large_cl</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:conv_2d_large_cl&gt;</content> </item> <item class_id_reference="16" object_id="_36"> <Value> <Obj> <type>2</type> <id>83</id> <name>relu</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:relu&gt;</content> </item> <item class_id_reference="16" object_id="_37"> <Value> <Obj> <type>2</type> <id>87</id> <name>pooling2d_cl_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:pooling2d_cl.1&gt;</content> </item> <item class_id_reference="16" object_id="_38"> <Value> <Obj> <type>2</type> <id>91</id> <name>dense_large_2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:dense_large.2&gt;</content> </item> <item class_id_reference="16" object_id="_39"> <Value> <Obj> <type>2</type> <id>95</id> <name>relu_3</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:relu.3&gt;</content> </item> <item class_id_reference="16" object_id="_40"> <Value> <Obj> <type>2</type> <id>99</id> <name>dense_large_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:dense_large.1&gt;</content> </item> <item class_id_reference="16" object_id="_41"> <Value> <Obj> <type>2</type> <id>103</id> <name>relu_2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:relu.2&gt;</content> </item> <item class_id_reference="16" object_id="_42"> <Value> <Obj> <type>2</type> <id>107</id> <name>dense_large</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:dense_large&gt;</content> </item> <item class_id_reference="16" object_id="_43"> <Value> <Obj> <type>2</type> <id>111</id> <name>softmax</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:softmax&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_44"> <Obj> <type>3</type> <id>50</id> <name>myproject</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>25</count> <item_version>0</item_version> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>73</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_45"> <id>52</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_46"> <id>53</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_47"> <id>54</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_48"> <id>55</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_49"> <id>56</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_50"> <id>57</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_51"> <id>58</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_52"> <id>59</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_53"> <id>60</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_54"> <id>61</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_55"> <id>62</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_56"> <id>64</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_57"> <id>65</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_58"> <id>66</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_59"> <id>68</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_60"> <id>69</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_61"> <id>70</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_62"> <id>72</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_63"> <id>73</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_64"> <id>74</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_65"> <id>76</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_66"> <id>77</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_67"> <id>78</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_68"> <id>80</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_69"> <id>81</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_70"> <id>82</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_71"> <id>84</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_72"> <id>85</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_73"> <id>86</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_74"> <id>88</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_75"> <id>89</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_76"> <id>90</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_77"> <id>92</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_78"> <id>93</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_79"> <id>94</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_80"> <id>96</id> <edge_type>1</edge_type> <source_obj>95</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_81"> <id>97</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_82"> <id>98</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_83"> <id>100</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_84"> <id>101</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_85"> <id>102</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_86"> <id>104</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_87"> <id>105</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_88"> <id>106</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_89"> <id>108</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_90"> <id>109</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_91"> <id>110</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>112</id> <edge_type>1</edge_type> <source_obj>111</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_93"> <id>113</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_94"> <id>114</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>115</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>116</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_97"> <id>117</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_98"> <id>118</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_99"> <id>119</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_100"> <id>120</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_101"> <id>121</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_102"> <id>122</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_103"> <id>123</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_104"> <id>124</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_105"> <id>125</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_106"> <id>126</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_107"> <id>184</id> <edge_type>4</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_108"> <id>185</id> <edge_type>4</edge_type> <source_obj>46</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_109"> <id>186</id> <edge_type>4</edge_type> <source_obj>45</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_110"> <id>187</id> <edge_type>4</edge_type> <source_obj>44</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_111"> <id>188</id> <edge_type>4</edge_type> <source_obj>43</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_112"> <id>189</id> <edge_type>4</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_113"> <id>190</id> <edge_type>4</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_114"> <id>191</id> <edge_type>4</edge_type> <source_obj>40</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_115"> <id>192</id> <edge_type>4</edge_type> <source_obj>39</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_116"> <id>193</id> <edge_type>4</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_117"> <id>194</id> <edge_type>4</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_118"> <mId>1</mId> <mTag>myproject</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>50</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2521531</mMinLatency> <mMaxLatency>7004283</mMaxLatency> <mIsDfPipe>1</mIsDfPipe> <mDfPipe class_id="23" tracking_level="1" version="0" object_id="_119"> <port_list class_id="24" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port_list> <process_list class_id="25" tracking_level="0" version="0"> <count>13</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_120"> <type>0</type> <name>Block_arrayctor_loop_U0</name> <ssdmobj_id>36</ssdmobj_id> <pins class_id="27" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_121"> <port class_id="29" tracking_level="1" version="0" object_id="_122"> <name>const_size_in_1</name> <dir>3</dir> <type>1</type> </port> <inst class_id="30" tracking_level="1" version="0" object_id="_123"> <type>0</type> <name>Block_arrayctor_loop_U0</name> <ssdmobj_id>36</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_124"> <port class_id_reference="29" object_id="_125"> <name>const_size_out_1</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_123"/> </item> </pins> </item> <item class_id_reference="26" object_id="_126"> <type>0</type> <name>conv_2d_large_cl_1_U0</name> <ssdmobj_id>37</ssdmobj_id> <pins> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_127"> <port class_id_reference="29" object_id="_128"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_129"> <type>0</type> <name>conv_2d_large_cl_1_U0</name> <ssdmobj_id>37</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_130"> <port class_id_reference="29" object_id="_131"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_129"/> </item> <item class_id_reference="28" object_id="_132"> <port class_id_reference="29" object_id="_133"> <name>outidx7</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_129"/> </item> <item class_id_reference="28" object_id="_134"> <port class_id_reference="29" object_id="_135"> <name>w3_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_129"/> </item> </pins> </item> <item class_id_reference="26" object_id="_136"> <type>0</type> <name>relu_1_U0</name> <ssdmobj_id>38</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_137"> <port class_id_reference="29" object_id="_138"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_139"> <type>0</type> <name>relu_1_U0</name> <ssdmobj_id>38</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_140"> <port class_id_reference="29" object_id="_141"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_139"/> </item> </pins> </item> <item class_id_reference="26" object_id="_142"> <type>0</type> <name>pooling2d_cl_U0</name> <ssdmobj_id>39</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_143"> <port class_id_reference="29" object_id="_144"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_145"> <type>0</type> <name>pooling2d_cl_U0</name> <ssdmobj_id>39</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_146"> <port class_id_reference="29" object_id="_147"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_145"/> </item> </pins> </item> <item class_id_reference="26" object_id="_148"> <type>0</type> <name>conv_2d_large_cl_U0</name> <ssdmobj_id>40</ssdmobj_id> <pins> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_149"> <port class_id_reference="29" object_id="_150"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_151"> <type>0</type> <name>conv_2d_large_cl_U0</name> <ssdmobj_id>40</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_152"> <port class_id_reference="29" object_id="_153"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_151"/> </item> <item class_id_reference="28" object_id="_154"> <port class_id_reference="29" object_id="_155"> <name>outidx6</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_151"/> </item> <item class_id_reference="28" object_id="_156"> <port class_id_reference="29" object_id="_157"> <name>w7_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_151"/> </item> </pins> </item> <item class_id_reference="26" object_id="_158"> <type>0</type> <name>relu_U0</name> <ssdmobj_id>41</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_159"> <port class_id_reference="29" object_id="_160"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_161"> <type>0</type> <name>relu_U0</name> <ssdmobj_id>41</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_162"> <port class_id_reference="29" object_id="_163"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_161"/> </item> </pins> </item> <item class_id_reference="26" object_id="_164"> <type>0</type> <name>pooling2d_cl_1_U0</name> <ssdmobj_id>42</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_165"> <port class_id_reference="29" object_id="_166"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_167"> <type>0</type> <name>pooling2d_cl_1_U0</name> <ssdmobj_id>42</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_168"> <port class_id_reference="29" object_id="_169"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_167"/> </item> </pins> </item> <item class_id_reference="26" object_id="_170"> <type>0</type> <name>dense_large_2_U0</name> <ssdmobj_id>43</ssdmobj_id> <pins> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_171"> <port class_id_reference="29" object_id="_172"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_173"> <type>0</type> <name>dense_large_2_U0</name> <ssdmobj_id>43</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_174"> <port class_id_reference="29" object_id="_175"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_173"/> </item> <item class_id_reference="28" object_id="_176"> <port class_id_reference="29" object_id="_177"> <name>outidx5</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_173"/> </item> <item class_id_reference="28" object_id="_178"> <port class_id_reference="29" object_id="_179"> <name>w11_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_173"/> </item> </pins> </item> <item class_id_reference="26" object_id="_180"> <type>0</type> <name>relu_3_U0</name> <ssdmobj_id>44</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_181"> <port class_id_reference="29" object_id="_182"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_183"> <type>0</type> <name>relu_3_U0</name> <ssdmobj_id>44</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_184"> <port class_id_reference="29" object_id="_185"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_183"/> </item> </pins> </item> <item class_id_reference="26" object_id="_186"> <type>0</type> <name>dense_large_1_U0</name> <ssdmobj_id>45</ssdmobj_id> <pins> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_187"> <port class_id_reference="29" object_id="_188"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_189"> <type>0</type> <name>dense_large_1_U0</name> <ssdmobj_id>45</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_190"> <port class_id_reference="29" object_id="_191"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_189"/> </item> <item class_id_reference="28" object_id="_192"> <port class_id_reference="29" object_id="_193"> <name>outidx4</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_189"/> </item> <item class_id_reference="28" object_id="_194"> <port class_id_reference="29" object_id="_195"> <name>w14_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_189"/> </item> </pins> </item> <item class_id_reference="26" object_id="_196"> <type>0</type> <name>relu_2_U0</name> <ssdmobj_id>46</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_197"> <port class_id_reference="29" object_id="_198"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_199"> <type>0</type> <name>relu_2_U0</name> <ssdmobj_id>46</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_200"> <port class_id_reference="29" object_id="_201"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_199"/> </item> </pins> </item> <item class_id_reference="26" object_id="_202"> <type>0</type> <name>dense_large_U0</name> <ssdmobj_id>47</ssdmobj_id> <pins> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_203"> <port class_id_reference="29" object_id="_204"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_205"> <type>0</type> <name>dense_large_U0</name> <ssdmobj_id>47</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_206"> <port class_id_reference="29" object_id="_207"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_205"/> </item> <item class_id_reference="28" object_id="_208"> <port class_id_reference="29" object_id="_209"> <name>outidx</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_205"/> </item> <item class_id_reference="28" object_id="_210"> <port class_id_reference="29" object_id="_211"> <name>w17_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_205"/> </item> </pins> </item> <item class_id_reference="26" object_id="_212"> <type>0</type> <name>softmax_U0</name> <ssdmobj_id>48</ssdmobj_id> <pins> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_213"> <port class_id_reference="29" object_id="_214"> <name>data_V</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_215"> <type>0</type> <name>softmax_U0</name> <ssdmobj_id>48</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_216"> <port class_id_reference="29" object_id="_217"> <name>res_V</name> <dir>2</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_215"/> </item> <item class_id_reference="28" object_id="_218"> <port class_id_reference="29" object_id="_219"> <name>exp_table2</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_215"/> </item> <item class_id_reference="28" object_id="_220"> <port class_id_reference="29" object_id="_221"> <name>invert_table3</name> <dir>2</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_215"/> </item> </pins> </item> </process_list> <channel_list class_id="31" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="32" tracking_level="1" version="0" object_id="_222"> <type>1</type> <name>layer3_out_V</name> <ssdmobj_id>23</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_223"> <port class_id_reference="29" object_id="_224"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_129"/> </source> <sink class_id_reference="28" object_id="_225"> <port class_id_reference="29" object_id="_226"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_139"/> </sink> </item> <item class_id_reference="32" object_id="_227"> <type>1</type> <name>layer5_out_V</name> <ssdmobj_id>24</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_228"> <port class_id_reference="29" object_id="_229"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_139"/> </source> <sink class_id_reference="28" object_id="_230"> <port class_id_reference="29" object_id="_231"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_145"/> </sink> </item> <item class_id_reference="32" object_id="_232"> <type>1</type> <name>layer6_out_V</name> <ssdmobj_id>25</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_233"> <port class_id_reference="29" object_id="_234"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_145"/> </source> <sink class_id_reference="28" object_id="_235"> <port class_id_reference="29" object_id="_236"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_151"/> </sink> </item> <item class_id_reference="32" object_id="_237"> <type>1</type> <name>layer7_out_V</name> <ssdmobj_id>26</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_238"> <port class_id_reference="29" object_id="_239"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_151"/> </source> <sink class_id_reference="28" object_id="_240"> <port class_id_reference="29" object_id="_241"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_161"/> </sink> </item> <item class_id_reference="32" object_id="_242"> <type>1</type> <name>layer9_out_V</name> <ssdmobj_id>27</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_243"> <port class_id_reference="29" object_id="_244"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_161"/> </source> <sink class_id_reference="28" object_id="_245"> <port class_id_reference="29" object_id="_246"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_167"/> </sink> </item> <item class_id_reference="32" object_id="_247"> <type>1</type> <name>layer10_out_V</name> <ssdmobj_id>28</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_248"> <port class_id_reference="29" object_id="_249"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_167"/> </source> <sink class_id_reference="28" object_id="_250"> <port class_id_reference="29" object_id="_251"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_173"/> </sink> </item> <item class_id_reference="32" object_id="_252"> <type>1</type> <name>layer11_out_V</name> <ssdmobj_id>29</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_253"> <port class_id_reference="29" object_id="_254"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_173"/> </source> <sink class_id_reference="28" object_id="_255"> <port class_id_reference="29" object_id="_256"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_183"/> </sink> </item> <item class_id_reference="32" object_id="_257"> <type>1</type> <name>layer13_out_V</name> <ssdmobj_id>30</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_258"> <port class_id_reference="29" object_id="_259"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_183"/> </source> <sink class_id_reference="28" object_id="_260"> <port class_id_reference="29" object_id="_261"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_189"/> </sink> </item> <item class_id_reference="32" object_id="_262"> <type>1</type> <name>layer14_out_V</name> <ssdmobj_id>31</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_263"> <port class_id_reference="29" object_id="_264"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_189"/> </source> <sink class_id_reference="28" object_id="_265"> <port class_id_reference="29" object_id="_266"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_199"/> </sink> </item> <item class_id_reference="32" object_id="_267"> <type>1</type> <name>layer16_out_V</name> <ssdmobj_id>32</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_268"> <port class_id_reference="29" object_id="_269"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_199"/> </source> <sink class_id_reference="28" object_id="_270"> <port class_id_reference="29" object_id="_271"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_205"/> </sink> </item> <item class_id_reference="32" object_id="_272"> <type>1</type> <name>layer17_out_V</name> <ssdmobj_id>33</ssdmobj_id> <ctype>1</ctype> <depth>0</depth> <bitwidth>0</bitwidth> <source class_id_reference="28" object_id="_273"> <port class_id_reference="29" object_id="_274"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_205"/> </source> <sink class_id_reference="28" object_id="_275"> <port class_id_reference="29" object_id="_276"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_215"/> </sink> </item> </channel_list> <net_list class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </net_list> </mDfPipe> </item> </cdfg_regions> <fsm class_id="34" tracking_level="1" version="0" object_id="_277"> <states class_id="35" tracking_level="0" version="0"> <count>24</count> <item_version>0</item_version> <item class_id="36" tracking_level="1" version="0" object_id="_278"> <id>1</id> <operations class_id="37" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="38" tracking_level="1" version="0" object_id="_279"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_280"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_281"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_282"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_283"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_284"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_285"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_286"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_287"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_288"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_289"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_290"> <id>37</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_291"> <id>2</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_292"> <id>37</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_293"> <id>3</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_294"> <id>38</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_295"> <id>4</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_296"> <id>38</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_297"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_298"> <id>39</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_299"> <id>6</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_300"> <id>39</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_301"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_302"> <id>40</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_303"> <id>8</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_304"> <id>40</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_305"> <id>9</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_306"> <id>41</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_307"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_308"> <id>41</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_309"> <id>11</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_310"> <id>42</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_311"> <id>12</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_312"> <id>42</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_313"> <id>13</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_314"> <id>43</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_315"> <id>14</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_316"> <id>43</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_317"> <id>15</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_318"> <id>44</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_319"> <id>16</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_320"> <id>44</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_321"> <id>17</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_322"> <id>45</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_323"> <id>18</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_324"> <id>45</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_325"> <id>19</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_326"> <id>46</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_327"> <id>20</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_328"> <id>46</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_329"> <id>21</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_330"> <id>47</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_331"> <id>22</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_332"> <id>47</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_333"> <id>23</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_334"> <id>48</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_335"> <id>24</id> <operations> <count>11</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_336"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_337"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_338"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_339"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_340"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_341"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_342"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_343"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_344"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_345"> <id>48</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="38" object_id="_346"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="39" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="40" tracking_level="1" version="0" object_id="_347"> <inState>1</inState> <outState>2</outState> <condition class_id="41" tracking_level="0" version="0"> <id>-1</id> <sop class_id="42" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_348"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_349"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_350"> <inState>4</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_351"> <inState>5</inState> <outState>6</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_352"> <inState>6</inState> <outState>7</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_353"> <inState>7</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_354"> <inState>8</inState> <outState>9</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_355"> <inState>9</inState> <outState>10</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_356"> <inState>10</inState> <outState>11</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_357"> <inState>11</inState> <outState>12</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_358"> <inState>12</inState> <outState>13</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_359"> <inState>13</inState> <outState>14</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_360"> <inState>14</inState> <outState>15</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_361"> <inState>15</inState> <outState>16</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_362"> <inState>16</inState> <outState>17</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_363"> <inState>17</inState> <outState>18</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_364"> <inState>18</inState> <outState>19</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_365"> <inState>19</inState> <outState>20</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_366"> <inState>20</inState> <outState>21</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_367"> <inState>21</inState> <outState>22</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_368"> <inState>22</inState> <outState>23</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_369"> <inState>23</inState> <outState>24</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="44" tracking_level="1" version="0" object_id="_370"> <dp_component_resource class_id="45" tracking_level="0" version="0"> <count>13</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>Block_arrayctor_loop_U0 (Block_arrayctor_loop)</first> <second class_id="47" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>FF</first> <second>2</second> </item> <item> <first>LUT</first> <second>11</second> </item> </second> </item> <item> <first>conv_2d_large_cl_1_U0 (conv_2d_large_cl_1)</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>1</second> </item> <item> <first>DSP48E</first> <second>1</second> </item> <item> <first>FF</first> <second>576</second> </item> <item> <first>LUT</first> <second>1232</second> </item> </second> </item> <item> <first>conv_2d_large_cl_U0 (conv_2d_large_cl)</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>1</second> </item> <item> <first>DSP48E</first> <second>1</second> </item> <item> <first>FF</first> <second>628</second> </item> <item> <first>LUT</first> <second>1367</second> </item> </second> </item> <item> <first>dense_large_1_U0 (dense_large_1)</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>17</second> </item> <item> <first>DSP48E</first> <second>2</second> </item> <item> <first>FF</first> <second>591</second> </item> <item> <first>LUT</first> <second>955</second> </item> </second> </item> <item> <first>dense_large_2_U0 (dense_large_2)</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>72</second> </item> <item> <first>DSP48E</first> <second>2</second> </item> <item> <first>FF</first> <second>960</second> </item> <item> <first>LUT</first> <second>1187</second> </item> </second> </item> <item> <first>dense_large_U0 (dense_large)</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>2</second> </item> <item> <first>DSP48E</first> <second>2</second> </item> <item> <first>FF</first> <second>518</second> </item> <item> <first>LUT</first> <second>876</second> </item> </second> </item> <item> <first>pooling2d_cl_1_U0 (pooling2d_cl_1)</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>0</second> </item> <item> <first>DSP48E</first> <second>0</second> </item> <item> <first>FF</first> <second>207</second> </item> <item> <first>LUT</first> <second>486</second> </item> </second> </item> <item> <first>pooling2d_cl_U0 (pooling2d_cl)</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>0</second> </item> <item> <first>DSP48E</first> <second>0</second> </item> <item> <first>FF</first> <second>210</second> </item> <item> <first>LUT</first> <second>503</second> </item> </second> </item> <item> <first>relu_1_U0 (relu_1)</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>FF</first> <second>85</second> </item> <item> <first>LUT</first> <second>109</second> </item> </second> </item> <item> <first>relu_2_U0 (relu_2)</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>FF</first> <second>67</second> </item> <item> <first>LUT</first> <second>105</second> </item> </second> </item> <item> <first>relu_3_U0 (relu_3)</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>FF</first> <second>67</second> </item> <item> <first>LUT</first> <second>105</second> </item> </second> </item> <item> <first>relu_U0 (relu)</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>FF</first> <second>82</second> </item> <item> <first>LUT</first> <second>104</second> </item> </second> </item> <item> <first>softmax_U0 (softmax)</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>BRAM</first> <second>2</second> </item> <item> <first>DSP48E</first> <second>1</second> </item> <item> <first>FF</first> <second>825</second> </item> <item> <first>LUT</first> <second>1236</second> </item> </second> </item> </dp_component_resource> <dp_expression_resource> <count>11</count> <item_version>0</item_version> <item> <first>Block_arrayctor_loop_U0_ap_ready_count ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>10</second> </item> </second> </item> <item> <first>Block_arrayctor_loop_U0_ap_ready_count ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>10</second> </item> </second> </item> <item> <first>Block_arrayctor_loop_U0_ap_start ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_idle ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_sync_Block_arrayctor_loop_U0_ap_ready ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_sync_conv_2d_large_cl_1_U0_ap_ready ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_sync_done ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_sync_ready ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>conv_2d_large_cl_1_U0_ap_ready_count ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>10</second> </item> </second> </item> <item> <first>conv_2d_large_cl_1_U0_ap_ready_count ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>10</second> </item> </second> </item> <item> <first>conv_2d_large_cl_1_U0_ap_start ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> </dp_expression_resource> <dp_fifo_resource> <count>0</count> <item_version>0</item_version> </dp_fifo_resource> <dp_memory_resource> <count>11</count> <item_version>0</item_version> <item> <first>layer10_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>576</second> </item> <item> <first>(1Bits)</first> <second>14</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>16128</second> </item> <item> <first>BRAM</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>layer11_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>120</second> </item> <item> <first>(1Bits)</first> <second>14</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>3360</second> </item> <item> <first>BRAM</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>layer13_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>120</second> </item> <item> <first>(1Bits)</first> <second>13</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>3120</second> </item> <item> <first>BRAM</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>layer14_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>84</second> </item> <item> <first>(1Bits)</first> <second>14</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>2352</second> </item> <item> <first>BRAM</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>layer16_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>84</second> </item> <item> <first>(1Bits)</first> <second>13</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>2184</second> </item> <item> <first>BRAM</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>layer17_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>10</second> </item> <item> <first>(1Bits)</first> <second>14</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>280</second> </item> <item> <first>BRAM</first> <second>0</second> </item> <item> <first>FF</first> <second>28</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> <item> <first>layer3_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>6728</second> </item> <item> <first>(1Bits)</first> <second>14</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>188384</second> </item> <item> <first>BRAM</first> <second>7</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>layer5_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>6728</second> </item> <item> <first>(1Bits)</first> <second>13</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>174928</second> </item> <item> <first>BRAM</first> <second>7</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>layer6_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>1568</second> </item> <item> <first>(1Bits)</first> <second>14</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>43904</second> </item> <item> <first>BRAM</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>layer7_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>2704</second> </item> <item> <first>(1Bits)</first> <second>14</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>75712</second> </item> <item> <first>BRAM</first> <second>4</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>layer9_out_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>2704</second> </item> <item> <first>(1Bits)</first> <second>13</second> </item> <item> <first>(2Banks)</first> <second>2</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>70304</second> </item> <item> <first>BRAM</first> <second>4</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> </dp_memory_resource> <dp_multiplexer_resource> <count>4</count> <item_version>0</item_version> <item> <first>Block_arrayctor_loop_U0_ap_ready_count</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>4</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>ap_sync_reg_Block_arrayctor_loop_U0_ap_ready</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>ap_sync_reg_conv_2d_large_cl_1_U0_ap_ready</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>conv_2d_large_cl_1_U0_ap_ready_count</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>4</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>4</count> <item_version>0</item_version> <item> <first>Block_arrayctor_loop_U0_ap_ready_count</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>ap_sync_reg_Block_arrayctor_loop_U0_ap_ready</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_sync_reg_conv_2d_large_cl_1_U0_ap_ready</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>conv_2d_large_cl_1_U0_ap_ready_count</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> </dp_register_resource> <dp_dsp_resource> <count>13</count> <item_version>0</item_version> <item> <first>Block_arrayctor_loop_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>conv_2d_large_cl_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>conv_2d_large_cl_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>dense_large_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>dense_large_2_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>dense_large_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>pooling2d_cl_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>pooling2d_cl_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>relu_1_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>relu_2_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>relu_3_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>relu_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>softmax_U0</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> </dp_dsp_resource> <dp_component_map class_id="49" tracking_level="0" version="0"> <count>13</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first>Block_arrayctor_loop_U0 (Block_arrayctor_loop)</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>conv_2d_large_cl_1_U0 (conv_2d_large_cl_1)</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>conv_2d_large_cl_U0 (conv_2d_large_cl)</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>dense_large_1_U0 (dense_large_1)</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>dense_large_2_U0 (dense_large_2)</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>dense_large_U0 (dense_large)</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>pooling2d_cl_1_U0 (pooling2d_cl_1)</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>pooling2d_cl_U0 (pooling2d_cl)</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>relu_1_U0 (relu_1)</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>relu_2_U0 (relu_2)</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>relu_3_U0 (relu_3)</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>relu_U0 (relu)</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>softmax_U0 (softmax)</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> </dp_component_map> <dp_expression_map> <count>0</count> <item_version>0</item_version> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>11</count> <item_version>0</item_version> <item> <first>layer10_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>99</item> </second> </item> <item> <first>layer11_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>118</item> </second> </item> <item> <first>layer13_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> <item> <first>layer14_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>156</item> </second> </item> <item> <first>layer16_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>175</item> </second> </item> <item> <first>layer17_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>194</item> </second> </item> <item> <first>layer3_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>1</item> </second> </item> <item> <first>layer5_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>layer6_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>layer7_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>layer9_out_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> </dp_memory_map> </res> <node_label_latency class_id="51" tracking_level="0" version="0"> <count>25</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>23</first> <second class_id="53" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>38</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>39</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>40</first> <second> <first>6</first> <second>1</second> </second> </item> <item> <first>41</first> <second> <first>8</first> <second>1</second> </second> </item> <item> <first>42</first> <second> <first>10</first> <second>1</second> </second> </item> <item> <first>43</first> <second> <first>12</first> <second>1</second> </second> </item> <item> <first>44</first> <second> <first>14</first> <second>1</second> </second> </item> <item> <first>45</first> <second> <first>16</first> <second>1</second> </second> </item> <item> <first>46</first> <second> <first>18</first> <second>1</second> </second> </item> <item> <first>47</first> <second> <first>20</first> <second>1</second> </second> </item> <item> <first>48</first> <second> <first>22</first> <second>1</second> </second> </item> <item> <first>49</first> <second> <first>23</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="54" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>50</first> <second class_id="56" tracking_level="0" version="0"> <first>0</first> <second>23</second> </second> </item> </bblk_ent_exit> <regions class_id="57" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="58" tracking_level="1" version="0" object_id="_371"> <region_name>myproject</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>50</item> </basic_blocks> <nodes> <count>33</count> <item_version>0</item_version> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> </nodes> <anchor_node>-1</anchor_node> <region_type>16</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> </item> </regions> <dp_fu_nodes class_id="59" tracking_level="0" version="0"> <count>24</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>78</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>82</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>86</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>90</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>94</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>98</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>102</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>106</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>110</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>114</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>118</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>122</first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>48</item> </second> </item> <item> <first>133</first> <second> <count>2</count> <item_version>0</item_version> <item>43</item> <item>43</item> </second> </item> <item> <first>143</first> <second> <count>2</count> <item_version>0</item_version> <item>40</item> <item>40</item> </second> </item> <item> <first>153</first> <second> <count>2</count> <item_version>0</item_version> <item>37</item> <item>37</item> </second> </item> <item> <first>165</first> <second> <count>2</count> <item_version>0</item_version> <item>45</item> <item>45</item> </second> </item> <item> <first>175</first> <second> <count>2</count> <item_version>0</item_version> <item>47</item> <item>47</item> </second> </item> <item> <first>185</first> <second> <count>2</count> <item_version>0</item_version> <item>39</item> <item>39</item> </second> </item> <item> <first>191</first> <second> <count>2</count> <item_version>0</item_version> <item>42</item> <item>42</item> </second> </item> <item> <first>197</first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>38</item> </second> </item> <item> <first>203</first> <second> <count>2</count> <item_version>0</item_version> <item>41</item> <item>41</item> </second> </item> <item> <first>209</first> <second> <count>2</count> <item_version>0</item_version> <item>44</item> <item>44</item> </second> </item> <item> <first>215</first> <second> <count>2</count> <item_version>0</item_version> <item>46</item> <item>46</item> </second> </item> <item> <first>221</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="62" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="63" tracking_level="0" version="0"> <first>layer10_out_V_alloca_fu_98</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>layer11_out_V_alloca_fu_102</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>layer13_out_V_alloca_fu_106</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>layer14_out_V_alloca_fu_110</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>layer16_out_V_alloca_fu_114</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>layer17_out_V_alloca_fu_118</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>layer3_out_V_alloca_fu_78</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>layer5_out_V_alloca_fu_82</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>layer6_out_V_alloca_fu_86</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>layer7_out_V_alloca_fu_90</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>layer9_out_V_alloca_fu_94</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>13</count> <item_version>0</item_version> <item> <first>StgValue_67_Block_arrayctor_loop_fu_221</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>grp_conv_2d_large_cl_1_fu_153</first> <second> <count>2</count> <item_version>0</item_version> <item>37</item> <item>37</item> </second> </item> <item> <first>grp_conv_2d_large_cl_fu_143</first> <second> <count>2</count> <item_version>0</item_version> <item>40</item> <item>40</item> </second> </item> <item> <first>grp_dense_large_1_fu_165</first> <second> <count>2</count> <item_version>0</item_version> <item>45</item> <item>45</item> </second> </item> <item> <first>grp_dense_large_2_fu_133</first> <second> <count>2</count> <item_version>0</item_version> <item>43</item> <item>43</item> </second> </item> <item> <first>grp_dense_large_fu_175</first> <second> <count>2</count> <item_version>0</item_version> <item>47</item> <item>47</item> </second> </item> <item> <first>grp_pooling2d_cl_1_fu_191</first> <second> <count>2</count> <item_version>0</item_version> <item>42</item> <item>42</item> </second> </item> <item> <first>grp_pooling2d_cl_fu_185</first> <second> <count>2</count> <item_version>0</item_version> <item>39</item> <item>39</item> </second> </item> <item> <first>grp_relu_1_fu_197</first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>38</item> </second> </item> <item> <first>grp_relu_2_fu_215</first> <second> <count>2</count> <item_version>0</item_version> <item>46</item> <item>46</item> </second> </item> <item> <first>grp_relu_3_fu_209</first> <second> <count>2</count> <item_version>0</item_version> <item>44</item> <item>44</item> </second> </item> <item> <first>grp_relu_fu_203</first> <second> <count>2</count> <item_version>0</item_version> <item>41</item> <item>41</item> </second> </item> <item> <first>grp_softmax_fu_122</first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>48</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="64" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="65" tracking_level="0" version="0"> <first class_id="66" tracking_level="0" version="0"> <first>exp_table2</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first> <first>invert_table3</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first> <first>outidx</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first> <first>outidx4</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first> <first>outidx5</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first> <first>outidx6</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first> <first>outidx7</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first> <first>w11_V</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first> <first>w14_V</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first> <first>w17_V</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first> <first>w3_V</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first> <first>w7_V</first> <second>100</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="67" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="68" tracking_level="0" version="0"> <first>const_size_in_1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> </second> </item> <item> <first>const_size_out_1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="69" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="70" tracking_level="0" version="0"> <first>1</first> <second>RAM</second> </item> <item> <first>2</first> <second>RAM</second> </item> </port2core> <node2core> <count>11</count> <item_version>0</item_version> <item> <first>23</first> <second>RAM</second> </item> <item> <first>24</first> <second>RAM</second> </item> <item> <first>25</first> <second>RAM</second> </item> <item> <first>26</first> <second>RAM</second> </item> <item> <first>27</first> <second>RAM</second> </item> <item> <first>28</first> <second>RAM</second> </item> <item> <first>29</first> <second>RAM</second> </item> <item> <first>30</first> <second>RAM</second> </item> <item> <first>31</first> <second>RAM</second> </item> <item> <first>32</first> <second>RAM</second> </item> <item> <first>33</first> <second>RAM</second> </item> </node2core> </syndb> </boost_serialization>
32.223516
98
0.450002
4d1e2f7dacbb0647701ed4908247444348cc4dce
202,851
adb
Ada
.build/ada/asis-gela-elements-decl.adb
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
4
2016-02-05T15:51:56.000Z
2022-03-25T20:38:32.000Z
.build/ada/asis-gela-elements-decl.adb
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
.build/ada/asis-gela-elements-decl.adb
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- * Neither the name of the Maxim Reznik, IE nor the names of its -- contributors may be used to endorse or promote products derived from -- this software without specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------ package body Asis.Gela.Elements.Decl is function Discriminant_Part (Element : Base_Type_Declaration_Node) return Asis.Definition is begin return Element.Discriminant_Part; end Discriminant_Part; procedure Set_Discriminant_Part (Element : in out Base_Type_Declaration_Node; Value : in Asis.Definition) is begin Element.Discriminant_Part := Value; end Set_Discriminant_Part; function Type_Declaration_View (Element : Base_Type_Declaration_Node) return Asis.Definition is begin return Element.Type_Declaration_View; end Type_Declaration_View; procedure Set_Type_Declaration_View (Element : in out Base_Type_Declaration_Node; Value : in Asis.Definition) is begin Element.Type_Declaration_View := Value; end Set_Type_Declaration_View; function Children (Element : access Base_Type_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Discriminant_Part'Access), (False, Element.Type_Declaration_View'Access)); end Children; function Corresponding_Type_Declaration (Element : Ordinary_Type_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Type_Declaration; end Corresponding_Type_Declaration; procedure Set_Corresponding_Type_Declaration (Element : in out Ordinary_Type_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Type_Declaration := Value; end Set_Corresponding_Type_Declaration; function New_Ordinary_Type_Declaration_Node (The_Context : ASIS.Context) return Ordinary_Type_Declaration_Ptr is Result : Ordinary_Type_Declaration_Ptr := new Ordinary_Type_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Ordinary_Type_Declaration_Node; function Declaration_Kind (Element : Ordinary_Type_Declaration_Node) return Asis.Declaration_Kinds is begin return An_Ordinary_Type_Declaration; end; function Clone (Element : Ordinary_Type_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Ordinary_Type_Declaration_Ptr := new Ordinary_Type_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Type_Declaration := Element.Corresponding_Type_Declaration; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Ordinary_Type_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Discriminant_Part := Copy (Cloner, Discriminant_Part (Source.all), Asis.Element (Target)); Target.Type_Declaration_View := Copy (Cloner, Type_Declaration_View (Source.all), Asis.Element (Target)); end Copy; function Is_Name_Repeated (Element : Protected_Type_Declaration_Node) return Boolean is begin return Element.Is_Name_Repeated; end Is_Name_Repeated; procedure Set_Is_Name_Repeated (Element : in out Protected_Type_Declaration_Node; Value : in Boolean) is begin Element.Is_Name_Repeated := Value; end Set_Is_Name_Repeated; function Corresponding_Body (Element : Protected_Type_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Body; end Corresponding_Body; procedure Set_Corresponding_Body (Element : in out Protected_Type_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Body := Value; end Set_Corresponding_Body; function Progenitor_List (Element : Protected_Type_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Expression_Lists.To_Element_List (Element.Progenitor_List, Include_Pragmas); end Progenitor_List; procedure Set_Progenitor_List (Element : in out Protected_Type_Declaration_Node; Value : in Asis.Element) is begin Element.Progenitor_List := Primary_Expression_Lists.List (Value); end Set_Progenitor_List; function Progenitor_List_List (Element : Protected_Type_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Progenitor_List); end Progenitor_List_List; function New_Protected_Type_Declaration_Node (The_Context : ASIS.Context) return Protected_Type_Declaration_Ptr is Result : Protected_Type_Declaration_Ptr := new Protected_Type_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Protected_Type_Declaration_Node; function Declaration_Kind (Element : Protected_Type_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Protected_Type_Declaration; end; function Children (Element : access Protected_Type_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Discriminant_Part'Access), (True, Asis.Element (Element.Progenitor_List)), (False, Element.Type_Declaration_View'Access)); end Children; function Clone (Element : Protected_Type_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Protected_Type_Declaration_Ptr := new Protected_Type_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Type_Declaration := Element.Corresponding_Type_Declaration; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Corresponding_Body := Element.Corresponding_Body; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Protected_Type_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Discriminant_Part := Copy (Cloner, Discriminant_Part (Source.all), Asis.Element (Target)); Set_Progenitor_List (Target.all, Primary_Expression_Lists.Deep_Copy (Progenitor_List (Source.all), Cloner, Asis.Element (Target))); Target.Type_Declaration_View := Copy (Cloner, Type_Declaration_View (Source.all), Asis.Element (Target)); end Copy; function New_Task_Type_Declaration_Node (The_Context : ASIS.Context) return Task_Type_Declaration_Ptr is Result : Task_Type_Declaration_Ptr := new Task_Type_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Task_Type_Declaration_Node; function Declaration_Kind (Element : Task_Type_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Task_Type_Declaration; end; function Clone (Element : Task_Type_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Task_Type_Declaration_Ptr := new Task_Type_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Type_Declaration := Element.Corresponding_Type_Declaration; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Corresponding_Body := Element.Corresponding_Body; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Task_Type_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Discriminant_Part := Copy (Cloner, Discriminant_Part (Source.all), Asis.Element (Target)); Set_Progenitor_List (Target.all, Primary_Expression_Lists.Deep_Copy (Progenitor_List (Source.all), Cloner, Asis.Element (Target))); Target.Type_Declaration_View := Copy (Cloner, Type_Declaration_View (Source.all), Asis.Element (Target)); end Copy; function Trait_Kind (Element : Private_Type_Declaration_Node) return Asis.Trait_Kinds is begin return Element.Trait_Kind; end Trait_Kind; procedure Set_Trait_Kind (Element : in out Private_Type_Declaration_Node; Value : in Asis.Trait_Kinds) is begin Element.Trait_Kind := Value; end Set_Trait_Kind; function New_Private_Type_Declaration_Node (The_Context : ASIS.Context) return Private_Type_Declaration_Ptr is Result : Private_Type_Declaration_Ptr := new Private_Type_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Private_Type_Declaration_Node; function Declaration_Kind (Element : Private_Type_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Private_Type_Declaration; end; function Clone (Element : Private_Type_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Private_Type_Declaration_Ptr := new Private_Type_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Type_Declaration := Element.Corresponding_Type_Declaration; Result.Trait_Kind := Element.Trait_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Private_Type_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Discriminant_Part := Copy (Cloner, Discriminant_Part (Source.all), Asis.Element (Target)); Target.Type_Declaration_View := Copy (Cloner, Type_Declaration_View (Source.all), Asis.Element (Target)); end Copy; function Progenitor_List (Element : Private_Extension_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Expression_Lists.To_Element_List (Element.Progenitor_List, Include_Pragmas); end Progenitor_List; procedure Set_Progenitor_List (Element : in out Private_Extension_Declaration_Node; Value : in Asis.Element) is begin Element.Progenitor_List := Primary_Expression_Lists.List (Value); end Set_Progenitor_List; function Progenitor_List_List (Element : Private_Extension_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Progenitor_List); end Progenitor_List_List; function New_Private_Extension_Declaration_Node (The_Context : ASIS.Context) return Private_Extension_Declaration_Ptr is Result : Private_Extension_Declaration_Ptr := new Private_Extension_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Private_Extension_Declaration_Node; function Declaration_Kind (Element : Private_Extension_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Private_Extension_Declaration; end; function Children (Element : access Private_Extension_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Discriminant_Part'Access), (True, Asis.Element (Element.Progenitor_List)), (False, Element.Type_Declaration_View'Access)); end Children; function Clone (Element : Private_Extension_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Private_Extension_Declaration_Ptr := new Private_Extension_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Type_Declaration := Element.Corresponding_Type_Declaration; Result.Trait_Kind := Element.Trait_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Private_Extension_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Discriminant_Part := Copy (Cloner, Discriminant_Part (Source.all), Asis.Element (Target)); Set_Progenitor_List (Target.all, Primary_Expression_Lists.Deep_Copy (Progenitor_List (Source.all), Cloner, Asis.Element (Target))); Target.Type_Declaration_View := Copy (Cloner, Type_Declaration_View (Source.all), Asis.Element (Target)); end Copy; function Generic_Actual (Element : Formal_Type_Declaration_Node) return Asis.Expression is begin return Element.Generic_Actual; end Generic_Actual; procedure Set_Generic_Actual (Element : in out Formal_Type_Declaration_Node; Value : in Asis.Expression) is begin Element.Generic_Actual := Value; end Set_Generic_Actual; function New_Formal_Type_Declaration_Node (The_Context : ASIS.Context) return Formal_Type_Declaration_Ptr is Result : Formal_Type_Declaration_Ptr := new Formal_Type_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Formal_Type_Declaration_Node; function Declaration_Kind (Element : Formal_Type_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Formal_Type_Declaration; end; function Clone (Element : Formal_Type_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Formal_Type_Declaration_Ptr := new Formal_Type_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Generic_Actual := Element.Generic_Actual; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Formal_Type_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Discriminant_Part := Copy (Cloner, Discriminant_Part (Source.all), Asis.Element (Target)); Target.Type_Declaration_View := Copy (Cloner, Type_Declaration_View (Source.all), Asis.Element (Target)); end Copy; function Parameter_Profile (Element : Base_Callable_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Parameter_Lists.To_Element_List (Element.Parameter_Profile, Include_Pragmas); end Parameter_Profile; procedure Set_Parameter_Profile (Element : in out Base_Callable_Declaration_Node; Value : in Asis.Element) is begin Element.Parameter_Profile := Primary_Parameter_Lists.List (Value); end Set_Parameter_Profile; function Parameter_Profile_List (Element : Base_Callable_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Parameter_Profile); end Parameter_Profile_List; function Corresponding_Body (Element : Base_Callable_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Body; end Corresponding_Body; procedure Set_Corresponding_Body (Element : in out Base_Callable_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Body := Value; end Set_Corresponding_Body; function Specification (Element : Base_Callable_Declaration_Node) return Asis.Element is begin return Element.Specification; end Specification; procedure Set_Specification (Element : in out Base_Callable_Declaration_Node; Value : in Asis.Element) is begin Element.Specification := Value; end Set_Specification; function Children (Element : access Base_Callable_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile))); end Children; function Corresponding_Subprogram_Derivation (Element : Procedure_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Subprogram_Derivation; end Corresponding_Subprogram_Derivation; procedure Set_Corresponding_Subprogram_Derivation (Element : in out Procedure_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Subprogram_Derivation := Value; end Set_Corresponding_Subprogram_Derivation; function Corresponding_Type (Element : Procedure_Declaration_Node) return Asis.Type_Definition is begin return Element.Corresponding_Type; end Corresponding_Type; procedure Set_Corresponding_Type (Element : in out Procedure_Declaration_Node; Value : in Asis.Type_Definition) is begin Element.Corresponding_Type := Value; end Set_Corresponding_Type; function Is_Dispatching_Operation (Element : Procedure_Declaration_Node) return Boolean is begin return Element.Is_Dispatching_Operation; end Is_Dispatching_Operation; procedure Set_Is_Dispatching_Operation (Element : in out Procedure_Declaration_Node; Value : in Boolean) is begin Element.Is_Dispatching_Operation := Value; end Set_Is_Dispatching_Operation; function Trait_Kind (Element : Procedure_Declaration_Node) return Asis.Trait_Kinds is begin return Element.Trait_Kind; end Trait_Kind; procedure Set_Trait_Kind (Element : in out Procedure_Declaration_Node; Value : in Asis.Trait_Kinds) is begin Element.Trait_Kind := Value; end Set_Trait_Kind; function Overriding_Indicator_Kind (Element : Procedure_Declaration_Node) return Asis.Overriding_Indicator_Kinds is begin return Element.Overriding_Indicator_Kind; end Overriding_Indicator_Kind; procedure Set_Overriding_Indicator_Kind (Element : in out Procedure_Declaration_Node; Value : in Asis.Overriding_Indicator_Kinds) is begin Element.Overriding_Indicator_Kind := Value; end Set_Overriding_Indicator_Kind; function Has_Abstract (Element : Procedure_Declaration_Node) return Boolean is begin return Element.Has_Abstract; end Has_Abstract; procedure Set_Has_Abstract (Element : in out Procedure_Declaration_Node; Value : in Boolean) is begin Element.Has_Abstract := Value; end Set_Has_Abstract; function Is_Null_Procedure (Element : Procedure_Declaration_Node) return Boolean is begin return Element.Is_Null_Procedure; end Is_Null_Procedure; procedure Set_Is_Null_Procedure (Element : in out Procedure_Declaration_Node; Value : in Boolean) is begin Element.Is_Null_Procedure := Value; end Set_Is_Null_Procedure; function Generic_Formal_Part (Element : Procedure_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Generic_Formal_Part, Include_Pragmas); end Generic_Formal_Part; procedure Set_Generic_Formal_Part (Element : in out Procedure_Declaration_Node; Value : in Asis.Element) is begin Element.Generic_Formal_Part := Primary_Declaration_Lists.List (Value); end Set_Generic_Formal_Part; function Generic_Formal_Part_List (Element : Procedure_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Generic_Formal_Part); end Generic_Formal_Part_List; function New_Procedure_Declaration_Node (The_Context : ASIS.Context) return Procedure_Declaration_Ptr is Result : Procedure_Declaration_Ptr := new Procedure_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Procedure_Declaration_Node; function Declaration_Kind (Element : Procedure_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Procedure_Declaration; end; function Children (Element : access Procedure_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Generic_Formal_Part)), (True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile))); end Children; function Clone (Element : Procedure_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Procedure_Declaration_Ptr := new Procedure_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Body := Element.Corresponding_Body; Result.Specification := Element.Specification; Result.Corresponding_Subprogram_Derivation := Element.Corresponding_Subprogram_Derivation; Result.Corresponding_Type := Element.Corresponding_Type; Result.Is_Dispatching_Operation := Element.Is_Dispatching_Operation; Result.Trait_Kind := Element.Trait_Kind; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; Result.Has_Abstract := Element.Has_Abstract; Result.Is_Null_Procedure := Element.Is_Null_Procedure; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Procedure_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Generic_Formal_Part (Target.all, Primary_Declaration_Lists.Deep_Copy (Generic_Formal_Part (Source.all), Cloner, Asis.Element (Target))); Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); end Copy; function Result_Subtype (Element : Function_Declaration_Node) return Asis.Definition is begin return Element.Result_Subtype; end Result_Subtype; procedure Set_Result_Subtype (Element : in out Function_Declaration_Node; Value : in Asis.Definition) is begin Element.Result_Subtype := Value; end Set_Result_Subtype; function Corresponding_Equality_Operator (Element : Function_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Equality_Operator; end Corresponding_Equality_Operator; procedure Set_Corresponding_Equality_Operator (Element : in out Function_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Equality_Operator := Value; end Set_Corresponding_Equality_Operator; function New_Function_Declaration_Node (The_Context : ASIS.Context) return Function_Declaration_Ptr is Result : Function_Declaration_Ptr := new Function_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Function_Declaration_Node; function Declaration_Kind (Element : Function_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Function_Declaration; end; function Children (Element : access Function_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Generic_Formal_Part)), (True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile)), (False, Element.Result_Subtype'Access)); end Children; function Clone (Element : Function_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Function_Declaration_Ptr := new Function_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Body := Element.Corresponding_Body; Result.Specification := Element.Specification; Result.Corresponding_Subprogram_Derivation := Element.Corresponding_Subprogram_Derivation; Result.Corresponding_Type := Element.Corresponding_Type; Result.Is_Dispatching_Operation := Element.Is_Dispatching_Operation; Result.Trait_Kind := Element.Trait_Kind; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; Result.Has_Abstract := Element.Has_Abstract; Result.Is_Null_Procedure := Element.Is_Null_Procedure; Result.Corresponding_Equality_Operator := Element.Corresponding_Equality_Operator; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Function_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Generic_Formal_Part (Target.all, Primary_Declaration_Lists.Deep_Copy (Generic_Formal_Part (Source.all), Cloner, Asis.Element (Target))); Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Target.Result_Subtype := Copy (Cloner, Result_Subtype (Source.all), Asis.Element (Target)); end Copy; function Is_Dispatching_Operation (Element : Procedure_Renaming_Declaration_Node) return Boolean is begin return Element.Is_Dispatching_Operation; end Is_Dispatching_Operation; procedure Set_Is_Dispatching_Operation (Element : in out Procedure_Renaming_Declaration_Node; Value : in Boolean) is begin Element.Is_Dispatching_Operation := Value; end Set_Is_Dispatching_Operation; function Renamed_Entity (Element : Procedure_Renaming_Declaration_Node) return Asis.Expression is begin return Element.Renamed_Entity; end Renamed_Entity; procedure Set_Renamed_Entity (Element : in out Procedure_Renaming_Declaration_Node; Value : in Asis.Expression) is begin Element.Renamed_Entity := Value; end Set_Renamed_Entity; function Corresponding_Base_Entity (Element : Procedure_Renaming_Declaration_Node) return Asis.Expression is begin return Element.Corresponding_Base_Entity; end Corresponding_Base_Entity; procedure Set_Corresponding_Base_Entity (Element : in out Procedure_Renaming_Declaration_Node; Value : in Asis.Expression) is begin Element.Corresponding_Base_Entity := Value; end Set_Corresponding_Base_Entity; function Corresponding_Declaration (Element : Procedure_Renaming_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Declaration; end Corresponding_Declaration; procedure Set_Corresponding_Declaration (Element : in out Procedure_Renaming_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Declaration := Value; end Set_Corresponding_Declaration; function Overriding_Indicator_Kind (Element : Procedure_Renaming_Declaration_Node) return Asis.Overriding_Indicator_Kinds is begin return Element.Overriding_Indicator_Kind; end Overriding_Indicator_Kind; procedure Set_Overriding_Indicator_Kind (Element : in out Procedure_Renaming_Declaration_Node; Value : in Asis.Overriding_Indicator_Kinds) is begin Element.Overriding_Indicator_Kind := Value; end Set_Overriding_Indicator_Kind; function New_Procedure_Renaming_Declaration_Node (The_Context : ASIS.Context) return Procedure_Renaming_Declaration_Ptr is Result : Procedure_Renaming_Declaration_Ptr := new Procedure_Renaming_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Procedure_Renaming_Declaration_Node; function Declaration_Kind (Element : Procedure_Renaming_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Procedure_Renaming_Declaration; end; function Children (Element : access Procedure_Renaming_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile)), (False, Element.Renamed_Entity'Access)); end Children; function Clone (Element : Procedure_Renaming_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Procedure_Renaming_Declaration_Ptr := new Procedure_Renaming_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Body := Element.Corresponding_Body; Result.Specification := Element.Specification; Result.Is_Dispatching_Operation := Element.Is_Dispatching_Operation; Result.Corresponding_Base_Entity := Element.Corresponding_Base_Entity; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Procedure_Renaming_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Target.Renamed_Entity := Copy (Cloner, Renamed_Entity (Source.all), Asis.Element (Target)); end Copy; function Result_Subtype (Element : Function_Renaming_Declaration_Node) return Asis.Definition is begin return Element.Result_Subtype; end Result_Subtype; procedure Set_Result_Subtype (Element : in out Function_Renaming_Declaration_Node; Value : in Asis.Definition) is begin Element.Result_Subtype := Value; end Set_Result_Subtype; function Corresponding_Equality_Operator (Element : Function_Renaming_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Equality_Operator; end Corresponding_Equality_Operator; procedure Set_Corresponding_Equality_Operator (Element : in out Function_Renaming_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Equality_Operator := Value; end Set_Corresponding_Equality_Operator; function New_Function_Renaming_Declaration_Node (The_Context : ASIS.Context) return Function_Renaming_Declaration_Ptr is Result : Function_Renaming_Declaration_Ptr := new Function_Renaming_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Function_Renaming_Declaration_Node; function Declaration_Kind (Element : Function_Renaming_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Function_Renaming_Declaration; end; function Children (Element : access Function_Renaming_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile)), (False, Element.Result_Subtype'Access), (False, Element.Renamed_Entity'Access)); end Children; function Clone (Element : Function_Renaming_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Function_Renaming_Declaration_Ptr := new Function_Renaming_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Body := Element.Corresponding_Body; Result.Specification := Element.Specification; Result.Is_Dispatching_Operation := Element.Is_Dispatching_Operation; Result.Corresponding_Base_Entity := Element.Corresponding_Base_Entity; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; Result.Corresponding_Equality_Operator := Element.Corresponding_Equality_Operator; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Function_Renaming_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Target.Result_Subtype := Copy (Cloner, Result_Subtype (Source.all), Asis.Element (Target)); Target.Renamed_Entity := Copy (Cloner, Renamed_Entity (Source.all), Asis.Element (Target)); end Copy; function Entry_Family_Definition (Element : Entry_Declaration_Node) return Asis.Discrete_Subtype_Definition is begin return Element.Entry_Family_Definition; end Entry_Family_Definition; procedure Set_Entry_Family_Definition (Element : in out Entry_Declaration_Node; Value : in Asis.Discrete_Subtype_Definition) is begin Element.Entry_Family_Definition := Value; end Set_Entry_Family_Definition; function Overriding_Indicator_Kind (Element : Entry_Declaration_Node) return Asis.Overriding_Indicator_Kinds is begin return Element.Overriding_Indicator_Kind; end Overriding_Indicator_Kind; procedure Set_Overriding_Indicator_Kind (Element : in out Entry_Declaration_Node; Value : in Asis.Overriding_Indicator_Kinds) is begin Element.Overriding_Indicator_Kind := Value; end Set_Overriding_Indicator_Kind; function New_Entry_Declaration_Node (The_Context : ASIS.Context) return Entry_Declaration_Ptr is Result : Entry_Declaration_Ptr := new Entry_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Entry_Declaration_Node; function Declaration_Kind (Element : Entry_Declaration_Node) return Asis.Declaration_Kinds is begin return An_Entry_Declaration; end; function Children (Element : access Entry_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Entry_Family_Definition'Access), (True, Asis.Element (Element.Parameter_Profile))); end Children; function Clone (Element : Entry_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Entry_Declaration_Ptr := new Entry_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Body := Element.Corresponding_Body; Result.Specification := Element.Specification; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Entry_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Entry_Family_Definition := Copy (Cloner, Entry_Family_Definition (Source.all), Asis.Element (Target)); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); end Copy; function Corresponding_Subunit (Element : Procedure_Body_Stub_Node) return Asis.Declaration is begin return Element.Corresponding_Subunit; end Corresponding_Subunit; procedure Set_Corresponding_Subunit (Element : in out Procedure_Body_Stub_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Subunit := Value; end Set_Corresponding_Subunit; function Corresponding_Declaration (Element : Procedure_Body_Stub_Node) return Asis.Declaration is begin return Element.Corresponding_Declaration; end Corresponding_Declaration; procedure Set_Corresponding_Declaration (Element : in out Procedure_Body_Stub_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Declaration := Value; end Set_Corresponding_Declaration; function Overriding_Indicator_Kind (Element : Procedure_Body_Stub_Node) return Asis.Overriding_Indicator_Kinds is begin return Element.Overriding_Indicator_Kind; end Overriding_Indicator_Kind; procedure Set_Overriding_Indicator_Kind (Element : in out Procedure_Body_Stub_Node; Value : in Asis.Overriding_Indicator_Kinds) is begin Element.Overriding_Indicator_Kind := Value; end Set_Overriding_Indicator_Kind; function New_Procedure_Body_Stub_Node (The_Context : ASIS.Context) return Procedure_Body_Stub_Ptr is Result : Procedure_Body_Stub_Ptr := new Procedure_Body_Stub_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Procedure_Body_Stub_Node; function Declaration_Kind (Element : Procedure_Body_Stub_Node) return Asis.Declaration_Kinds is begin return A_Procedure_Body_Stub; end; function Clone (Element : Procedure_Body_Stub_Node; Parent : Asis.Element) return Asis.Element is Result : constant Procedure_Body_Stub_Ptr := new Procedure_Body_Stub_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Body := Element.Corresponding_Body; Result.Specification := Element.Specification; Result.Corresponding_Subunit := Element.Corresponding_Subunit; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Procedure_Body_Stub_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); end Copy; function Result_Subtype (Element : Function_Body_Stub_Node) return Asis.Definition is begin return Element.Result_Subtype; end Result_Subtype; procedure Set_Result_Subtype (Element : in out Function_Body_Stub_Node; Value : in Asis.Definition) is begin Element.Result_Subtype := Value; end Set_Result_Subtype; function New_Function_Body_Stub_Node (The_Context : ASIS.Context) return Function_Body_Stub_Ptr is Result : Function_Body_Stub_Ptr := new Function_Body_Stub_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Function_Body_Stub_Node; function Declaration_Kind (Element : Function_Body_Stub_Node) return Asis.Declaration_Kinds is begin return A_Function_Body_Stub; end; function Children (Element : access Function_Body_Stub_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile)), (False, Element.Result_Subtype'Access)); end Children; function Clone (Element : Function_Body_Stub_Node; Parent : Asis.Element) return Asis.Element is Result : constant Function_Body_Stub_Ptr := new Function_Body_Stub_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Body := Element.Corresponding_Body; Result.Specification := Element.Specification; Result.Corresponding_Subunit := Element.Corresponding_Subunit; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Function_Body_Stub_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Target.Result_Subtype := Copy (Cloner, Result_Subtype (Source.all), Asis.Element (Target)); end Copy; function Generic_Formal_Part (Element : Generic_Procedure_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Generic_Formal_Part, Include_Pragmas); end Generic_Formal_Part; procedure Set_Generic_Formal_Part (Element : in out Generic_Procedure_Declaration_Node; Value : in Asis.Element) is begin Element.Generic_Formal_Part := Primary_Declaration_Lists.List (Value); end Set_Generic_Formal_Part; function Generic_Formal_Part_List (Element : Generic_Procedure_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Generic_Formal_Part); end Generic_Formal_Part_List; function New_Generic_Procedure_Declaration_Node (The_Context : ASIS.Context) return Generic_Procedure_Declaration_Ptr is Result : Generic_Procedure_Declaration_Ptr := new Generic_Procedure_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Generic_Procedure_Declaration_Node; function Declaration_Kind (Element : Generic_Procedure_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Generic_Procedure_Declaration; end; function Children (Element : access Generic_Procedure_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Generic_Formal_Part)), (True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile))); end Children; function Clone (Element : Generic_Procedure_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Generic_Procedure_Declaration_Ptr := new Generic_Procedure_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Body := Element.Corresponding_Body; Result.Specification := Element.Specification; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Generic_Procedure_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Generic_Formal_Part (Target.all, Primary_Declaration_Lists.Deep_Copy (Generic_Formal_Part (Source.all), Cloner, Asis.Element (Target))); Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); end Copy; function Result_Subtype (Element : Generic_Function_Declaration_Node) return Asis.Definition is begin return Element.Result_Subtype; end Result_Subtype; procedure Set_Result_Subtype (Element : in out Generic_Function_Declaration_Node; Value : in Asis.Definition) is begin Element.Result_Subtype := Value; end Set_Result_Subtype; function New_Generic_Function_Declaration_Node (The_Context : ASIS.Context) return Generic_Function_Declaration_Ptr is Result : Generic_Function_Declaration_Ptr := new Generic_Function_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Generic_Function_Declaration_Node; function Declaration_Kind (Element : Generic_Function_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Generic_Function_Declaration; end; function Children (Element : access Generic_Function_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Generic_Formal_Part)), (True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile)), (False, Element.Result_Subtype'Access)); end Children; function Clone (Element : Generic_Function_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Generic_Function_Declaration_Ptr := new Generic_Function_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Body := Element.Corresponding_Body; Result.Specification := Element.Specification; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Generic_Function_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Generic_Formal_Part (Target.all, Primary_Declaration_Lists.Deep_Copy (Generic_Formal_Part (Source.all), Cloner, Asis.Element (Target))); Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Target.Result_Subtype := Copy (Cloner, Result_Subtype (Source.all), Asis.Element (Target)); end Copy; function Body_Declarative_Items (Element : Base_Body_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Body_Declarative_Items, Include_Pragmas); end Body_Declarative_Items; procedure Set_Body_Declarative_Items (Element : in out Base_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Body_Declarative_Items := Primary_Declaration_Lists.List (Value); end Set_Body_Declarative_Items; function Body_Declarative_Items_List (Element : Base_Body_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Body_Declarative_Items); end Body_Declarative_Items_List; function Body_Statements (Element : Base_Body_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Statement_Lists.To_Element_List (Element.Body_Statements, Include_Pragmas); end Body_Statements; procedure Set_Body_Statements (Element : in out Base_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Body_Statements := Primary_Statement_Lists.List (Value); end Set_Body_Statements; function Body_Statements_List (Element : Base_Body_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Body_Statements); end Body_Statements_List; function Body_Exception_Handlers (Element : Base_Body_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Handler_Lists.To_Element_List (Element.Body_Exception_Handlers, Include_Pragmas); end Body_Exception_Handlers; procedure Set_Body_Exception_Handlers (Element : in out Base_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Body_Exception_Handlers := Primary_Handler_Lists.List (Value); end Set_Body_Exception_Handlers; function Body_Exception_Handlers_List (Element : Base_Body_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Body_Exception_Handlers); end Body_Exception_Handlers_List; function Corresponding_Declaration (Element : Base_Body_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Declaration; end Corresponding_Declaration; procedure Set_Corresponding_Declaration (Element : in out Base_Body_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Declaration := Value; end Set_Corresponding_Declaration; function Corresponding_Body_Stub (Element : Base_Body_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Body_Stub; end Corresponding_Body_Stub; procedure Set_Corresponding_Body_Stub (Element : in out Base_Body_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Body_Stub := Value; end Set_Corresponding_Body_Stub; function Is_Name_Repeated (Element : Base_Body_Declaration_Node) return Boolean is begin return Element.Is_Name_Repeated; end Is_Name_Repeated; procedure Set_Is_Name_Repeated (Element : in out Base_Body_Declaration_Node; Value : in Boolean) is begin Element.Is_Name_Repeated := Value; end Set_Is_Name_Repeated; function Handled_Statements (Element : Base_Body_Declaration_Node) return Asis.Element is begin return Element.Handled_Statements; end Handled_Statements; procedure Set_Handled_Statements (Element : in out Base_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Handled_Statements := Value; end Set_Handled_Statements; function Compound_Name (Element : Base_Body_Declaration_Node) return Asis.Element is begin return Element.Compound_Name; end Compound_Name; procedure Set_Compound_Name (Element : in out Base_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Compound_Name := Value; end Set_Compound_Name; function Children (Element : access Base_Body_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Body_Declarative_Items)), (True, Asis.Element (Element.Body_Statements)), (True, Asis.Element (Element.Body_Exception_Handlers))); end Children; function Parameter_Profile (Element : Procedure_Body_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Parameter_Lists.To_Element_List (Element.Parameter_Profile, Include_Pragmas); end Parameter_Profile; procedure Set_Parameter_Profile (Element : in out Procedure_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Parameter_Profile := Primary_Parameter_Lists.List (Value); end Set_Parameter_Profile; function Parameter_Profile_List (Element : Procedure_Body_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Parameter_Profile); end Parameter_Profile_List; function Specification (Element : Procedure_Body_Declaration_Node) return Asis.Element is begin return Element.Specification; end Specification; procedure Set_Specification (Element : in out Procedure_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Specification := Value; end Set_Specification; function Overriding_Indicator_Kind (Element : Procedure_Body_Declaration_Node) return Asis.Overriding_Indicator_Kinds is begin return Element.Overriding_Indicator_Kind; end Overriding_Indicator_Kind; procedure Set_Overriding_Indicator_Kind (Element : in out Procedure_Body_Declaration_Node; Value : in Asis.Overriding_Indicator_Kinds) is begin Element.Overriding_Indicator_Kind := Value; end Set_Overriding_Indicator_Kind; function New_Procedure_Body_Declaration_Node (The_Context : ASIS.Context) return Procedure_Body_Declaration_Ptr is Result : Procedure_Body_Declaration_Ptr := new Procedure_Body_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Procedure_Body_Declaration_Node; function Declaration_Kind (Element : Procedure_Body_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Procedure_Body_Declaration; end; function Children (Element : access Procedure_Body_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile)), (True, Asis.Element (Element.Body_Declarative_Items)), (True, Asis.Element (Element.Body_Statements)), (True, Asis.Element (Element.Body_Exception_Handlers))); end Children; function Clone (Element : Procedure_Body_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Procedure_Body_Declaration_Ptr := new Procedure_Body_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body_Stub := Element.Corresponding_Body_Stub; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Handled_Statements := Element.Handled_Statements; Result.Compound_Name := Element.Compound_Name; Result.Specification := Element.Specification; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Procedure_Body_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Set_Body_Declarative_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Body_Declarative_Items (Source.all), Cloner, Asis.Element (Target))); Set_Body_Statements (Target.all, Primary_Statement_Lists.Deep_Copy (Body_Statements (Source.all), Cloner, Asis.Element (Target))); Set_Body_Exception_Handlers (Target.all, Primary_Handler_Lists.Deep_Copy (Body_Exception_Handlers (Source.all), Cloner, Asis.Element (Target))); end Copy; function Result_Subtype (Element : Function_Body_Declaration_Node) return Asis.Definition is begin return Element.Result_Subtype; end Result_Subtype; procedure Set_Result_Subtype (Element : in out Function_Body_Declaration_Node; Value : in Asis.Definition) is begin Element.Result_Subtype := Value; end Set_Result_Subtype; function New_Function_Body_Declaration_Node (The_Context : ASIS.Context) return Function_Body_Declaration_Ptr is Result : Function_Body_Declaration_Ptr := new Function_Body_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Function_Body_Declaration_Node; function Declaration_Kind (Element : Function_Body_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Function_Body_Declaration; end; function Children (Element : access Function_Body_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile)), (False, Element.Result_Subtype'Access), (True, Asis.Element (Element.Body_Declarative_Items)), (True, Asis.Element (Element.Body_Statements)), (True, Asis.Element (Element.Body_Exception_Handlers))); end Children; function Clone (Element : Function_Body_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Function_Body_Declaration_Ptr := new Function_Body_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body_Stub := Element.Corresponding_Body_Stub; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Handled_Statements := Element.Handled_Statements; Result.Compound_Name := Element.Compound_Name; Result.Specification := Element.Specification; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Function_Body_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Target.Result_Subtype := Copy (Cloner, Result_Subtype (Source.all), Asis.Element (Target)); Set_Body_Declarative_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Body_Declarative_Items (Source.all), Cloner, Asis.Element (Target))); Set_Body_Statements (Target.all, Primary_Statement_Lists.Deep_Copy (Body_Statements (Source.all), Cloner, Asis.Element (Target))); Set_Body_Exception_Handlers (Target.all, Primary_Handler_Lists.Deep_Copy (Body_Exception_Handlers (Source.all), Cloner, Asis.Element (Target))); end Copy; function New_Package_Body_Declaration_Node (The_Context : ASIS.Context) return Package_Body_Declaration_Ptr is Result : Package_Body_Declaration_Ptr := new Package_Body_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Package_Body_Declaration_Node; function Declaration_Kind (Element : Package_Body_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Package_Body_Declaration; end; function Clone (Element : Package_Body_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Package_Body_Declaration_Ptr := new Package_Body_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body_Stub := Element.Corresponding_Body_Stub; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Handled_Statements := Element.Handled_Statements; Result.Compound_Name := Element.Compound_Name; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Package_Body_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Body_Declarative_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Body_Declarative_Items (Source.all), Cloner, Asis.Element (Target))); Set_Body_Statements (Target.all, Primary_Statement_Lists.Deep_Copy (Body_Statements (Source.all), Cloner, Asis.Element (Target))); Set_Body_Exception_Handlers (Target.all, Primary_Handler_Lists.Deep_Copy (Body_Exception_Handlers (Source.all), Cloner, Asis.Element (Target))); end Copy; function New_Task_Body_Declaration_Node (The_Context : ASIS.Context) return Task_Body_Declaration_Ptr is Result : Task_Body_Declaration_Ptr := new Task_Body_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Task_Body_Declaration_Node; function Declaration_Kind (Element : Task_Body_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Task_Body_Declaration; end; function Clone (Element : Task_Body_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Task_Body_Declaration_Ptr := new Task_Body_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body_Stub := Element.Corresponding_Body_Stub; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Handled_Statements := Element.Handled_Statements; Result.Compound_Name := Element.Compound_Name; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Task_Body_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Body_Declarative_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Body_Declarative_Items (Source.all), Cloner, Asis.Element (Target))); Set_Body_Statements (Target.all, Primary_Statement_Lists.Deep_Copy (Body_Statements (Source.all), Cloner, Asis.Element (Target))); Set_Body_Exception_Handlers (Target.all, Primary_Handler_Lists.Deep_Copy (Body_Exception_Handlers (Source.all), Cloner, Asis.Element (Target))); end Copy; function Parameter_Profile (Element : Entry_Body_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Parameter_Lists.To_Element_List (Element.Parameter_Profile, Include_Pragmas); end Parameter_Profile; procedure Set_Parameter_Profile (Element : in out Entry_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Parameter_Profile := Primary_Parameter_Lists.List (Value); end Set_Parameter_Profile; function Parameter_Profile_List (Element : Entry_Body_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Parameter_Profile); end Parameter_Profile_List; function Entry_Index_Specification (Element : Entry_Body_Declaration_Node) return Asis.Declaration is begin return Element.Entry_Index_Specification; end Entry_Index_Specification; procedure Set_Entry_Index_Specification (Element : in out Entry_Body_Declaration_Node; Value : in Asis.Declaration) is begin Element.Entry_Index_Specification := Value; end Set_Entry_Index_Specification; function Entry_Barrier (Element : Entry_Body_Declaration_Node) return Asis.Expression is begin return Element.Entry_Barrier; end Entry_Barrier; procedure Set_Entry_Barrier (Element : in out Entry_Body_Declaration_Node; Value : in Asis.Expression) is begin Element.Entry_Barrier := Value; end Set_Entry_Barrier; function Specification (Element : Entry_Body_Declaration_Node) return Asis.Element is begin return Element.Specification; end Specification; procedure Set_Specification (Element : in out Entry_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Specification := Value; end Set_Specification; function New_Entry_Body_Declaration_Node (The_Context : ASIS.Context) return Entry_Body_Declaration_Ptr is Result : Entry_Body_Declaration_Ptr := new Entry_Body_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Entry_Body_Declaration_Node; function Declaration_Kind (Element : Entry_Body_Declaration_Node) return Asis.Declaration_Kinds is begin return An_Entry_Body_Declaration; end; function Children (Element : access Entry_Body_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Entry_Index_Specification'Access), (True, Asis.Element (Element.Parameter_Profile)), (False, Element.Entry_Barrier'Access), (True, Asis.Element (Element.Body_Declarative_Items)), (True, Asis.Element (Element.Body_Statements)), (True, Asis.Element (Element.Body_Exception_Handlers))); end Children; function Clone (Element : Entry_Body_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Entry_Body_Declaration_Ptr := new Entry_Body_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body_Stub := Element.Corresponding_Body_Stub; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Handled_Statements := Element.Handled_Statements; Result.Compound_Name := Element.Compound_Name; Result.Specification := Element.Specification; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Entry_Body_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Entry_Index_Specification := Copy (Cloner, Entry_Index_Specification (Source.all), Asis.Element (Target)); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Target.Entry_Barrier := Copy (Cloner, Entry_Barrier (Source.all), Asis.Element (Target)); Set_Body_Declarative_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Body_Declarative_Items (Source.all), Cloner, Asis.Element (Target))); Set_Body_Statements (Target.all, Primary_Statement_Lists.Deep_Copy (Body_Statements (Source.all), Cloner, Asis.Element (Target))); Set_Body_Exception_Handlers (Target.all, Primary_Handler_Lists.Deep_Copy (Body_Exception_Handlers (Source.all), Cloner, Asis.Element (Target))); end Copy; function Renamed_Entity (Element : Base_Renaming_Declaration_Node) return Asis.Expression is begin return Element.Renamed_Entity; end Renamed_Entity; procedure Set_Renamed_Entity (Element : in out Base_Renaming_Declaration_Node; Value : in Asis.Expression) is begin Element.Renamed_Entity := Value; end Set_Renamed_Entity; function Corresponding_Base_Entity (Element : Base_Renaming_Declaration_Node) return Asis.Expression is begin return Element.Corresponding_Base_Entity; end Corresponding_Base_Entity; procedure Set_Corresponding_Base_Entity (Element : in out Base_Renaming_Declaration_Node; Value : in Asis.Expression) is begin Element.Corresponding_Base_Entity := Value; end Set_Corresponding_Base_Entity; function Children (Element : access Base_Renaming_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Renamed_Entity'Access)); end Children; function Object_Declaration_Subtype (Element : Object_Renaming_Declaration_Node) return Asis.Definition is begin return Element.Object_Declaration_Subtype; end Object_Declaration_Subtype; procedure Set_Object_Declaration_Subtype (Element : in out Object_Renaming_Declaration_Node; Value : in Asis.Definition) is begin Element.Object_Declaration_Subtype := Value; end Set_Object_Declaration_Subtype; function Has_Null_Exclusion (Element : Object_Renaming_Declaration_Node) return Boolean is begin return Element.Has_Null_Exclusion; end Has_Null_Exclusion; procedure Set_Has_Null_Exclusion (Element : in out Object_Renaming_Declaration_Node; Value : in Boolean) is begin Element.Has_Null_Exclusion := Value; end Set_Has_Null_Exclusion; function New_Object_Renaming_Declaration_Node (The_Context : ASIS.Context) return Object_Renaming_Declaration_Ptr is Result : Object_Renaming_Declaration_Ptr := new Object_Renaming_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Object_Renaming_Declaration_Node; function Declaration_Kind (Element : Object_Renaming_Declaration_Node) return Asis.Declaration_Kinds is begin return An_Object_Renaming_Declaration; end; function Children (Element : access Object_Renaming_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Object_Declaration_Subtype'Access), (False, Element.Renamed_Entity'Access)); end Children; function Clone (Element : Object_Renaming_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Object_Renaming_Declaration_Ptr := new Object_Renaming_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Base_Entity := Element.Corresponding_Base_Entity; Result.Has_Null_Exclusion := Element.Has_Null_Exclusion; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Object_Renaming_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); Target.Renamed_Entity := Copy (Cloner, Renamed_Entity (Source.all), Asis.Element (Target)); end Copy; function New_Exception_Renaming_Declaration_Node (The_Context : ASIS.Context) return Exception_Renaming_Declaration_Ptr is Result : Exception_Renaming_Declaration_Ptr := new Exception_Renaming_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Exception_Renaming_Declaration_Node; function Declaration_Kind (Element : Exception_Renaming_Declaration_Node) return Asis.Declaration_Kinds is begin return An_Exception_Renaming_Declaration; end; function Clone (Element : Exception_Renaming_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Exception_Renaming_Declaration_Ptr := new Exception_Renaming_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Base_Entity := Element.Corresponding_Base_Entity; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Exception_Renaming_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Renamed_Entity := Copy (Cloner, Renamed_Entity (Source.all), Asis.Element (Target)); end Copy; function New_Package_Renaming_Declaration_Node (The_Context : ASIS.Context) return Package_Renaming_Declaration_Ptr is Result : Package_Renaming_Declaration_Ptr := new Package_Renaming_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Package_Renaming_Declaration_Node; function Declaration_Kind (Element : Package_Renaming_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Package_Renaming_Declaration; end; function Clone (Element : Package_Renaming_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Package_Renaming_Declaration_Ptr := new Package_Renaming_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Base_Entity := Element.Corresponding_Base_Entity; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Package_Renaming_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Renamed_Entity := Copy (Cloner, Renamed_Entity (Source.all), Asis.Element (Target)); end Copy; function Empty_Generic_Part (Element : Generic_Package_Renaming_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Empty_Generic_Part, Include_Pragmas); end Empty_Generic_Part; procedure Set_Empty_Generic_Part (Element : in out Generic_Package_Renaming_Declaration_Node; Value : in Asis.Element) is begin Element.Empty_Generic_Part := Primary_Declaration_Lists.List (Value); end Set_Empty_Generic_Part; function Empty_Generic_Part_List (Element : Generic_Package_Renaming_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Empty_Generic_Part); end Empty_Generic_Part_List; function New_Generic_Package_Renaming_Declaration_Node (The_Context : ASIS.Context) return Generic_Package_Renaming_Declaration_Ptr is Result : Generic_Package_Renaming_Declaration_Ptr := new Generic_Package_Renaming_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Generic_Package_Renaming_Declaration_Node; function Declaration_Kind (Element : Generic_Package_Renaming_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Generic_Package_Renaming_Declaration; end; function Clone (Element : Generic_Package_Renaming_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Generic_Package_Renaming_Declaration_Ptr := new Generic_Package_Renaming_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Base_Entity := Element.Corresponding_Base_Entity; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Generic_Package_Renaming_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Renamed_Entity := Copy (Cloner, Renamed_Entity (Source.all), Asis.Element (Target)); end Copy; function Specification (Element : Generic_Procedure_Renaming_Declaration_Node) return Asis.Element is begin return Element.Specification; end Specification; procedure Set_Specification (Element : in out Generic_Procedure_Renaming_Declaration_Node; Value : in Asis.Element) is begin Element.Specification := Value; end Set_Specification; function New_Generic_Procedure_Renaming_Declaration_Node (The_Context : ASIS.Context) return Generic_Procedure_Renaming_Declaration_Ptr is Result : Generic_Procedure_Renaming_Declaration_Ptr := new Generic_Procedure_Renaming_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Generic_Procedure_Renaming_Declaration_Node; function Declaration_Kind (Element : Generic_Procedure_Renaming_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Generic_Procedure_Renaming_Declaration; end; function Clone (Element : Generic_Procedure_Renaming_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Generic_Procedure_Renaming_Declaration_Ptr := new Generic_Procedure_Renaming_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Base_Entity := Element.Corresponding_Base_Entity; Result.Specification := Element.Specification; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Generic_Procedure_Renaming_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Renamed_Entity := Copy (Cloner, Renamed_Entity (Source.all), Asis.Element (Target)); end Copy; function New_Generic_Function_Renaming_Declaration_Node (The_Context : ASIS.Context) return Generic_Function_Renaming_Declaration_Ptr is Result : Generic_Function_Renaming_Declaration_Ptr := new Generic_Function_Renaming_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Generic_Function_Renaming_Declaration_Node; function Declaration_Kind (Element : Generic_Function_Renaming_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Generic_Function_Renaming_Declaration; end; function Clone (Element : Generic_Function_Renaming_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Generic_Function_Renaming_Declaration_Ptr := new Generic_Function_Renaming_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Base_Entity := Element.Corresponding_Base_Entity; Result.Specification := Element.Specification; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Generic_Function_Renaming_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Renamed_Entity := Copy (Cloner, Renamed_Entity (Source.all), Asis.Element (Target)); end Copy; function Discriminant_Part (Element : Incomplete_Type_Declaration_Node) return Asis.Definition is begin return Element.Discriminant_Part; end Discriminant_Part; procedure Set_Discriminant_Part (Element : in out Incomplete_Type_Declaration_Node; Value : in Asis.Definition) is begin Element.Discriminant_Part := Value; end Set_Discriminant_Part; function Corresponding_Type_Declaration (Element : Incomplete_Type_Declaration_Node) return Asis.Definition is begin return Element.Corresponding_Type_Declaration; end Corresponding_Type_Declaration; procedure Set_Corresponding_Type_Declaration (Element : in out Incomplete_Type_Declaration_Node; Value : in Asis.Definition) is begin Element.Corresponding_Type_Declaration := Value; end Set_Corresponding_Type_Declaration; function Type_Declaration_View (Element : Incomplete_Type_Declaration_Node) return Asis.Definition is begin return Element.Type_Declaration_View; end Type_Declaration_View; procedure Set_Type_Declaration_View (Element : in out Incomplete_Type_Declaration_Node; Value : in Asis.Definition) is begin Element.Type_Declaration_View := Value; end Set_Type_Declaration_View; function New_Incomplete_Type_Declaration_Node (The_Context : ASIS.Context) return Incomplete_Type_Declaration_Ptr is Result : Incomplete_Type_Declaration_Ptr := new Incomplete_Type_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Incomplete_Type_Declaration_Node; function Declaration_Kind (Element : Incomplete_Type_Declaration_Node) return Asis.Declaration_Kinds is begin return An_Incomplete_Type_Declaration; end; function Children (Element : access Incomplete_Type_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Discriminant_Part'Access), (False, Element.Type_Declaration_View'Access)); end Children; function Clone (Element : Incomplete_Type_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Incomplete_Type_Declaration_Ptr := new Incomplete_Type_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Type_Declaration := Element.Corresponding_Type_Declaration; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Incomplete_Type_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Discriminant_Part := Copy (Cloner, Discriminant_Part (Source.all), Asis.Element (Target)); Target.Type_Declaration_View := Copy (Cloner, Type_Declaration_View (Source.all), Asis.Element (Target)); end Copy; function Type_Declaration_View (Element : Subtype_Declaration_Node) return Asis.Definition is begin return Element.Type_Declaration_View; end Type_Declaration_View; procedure Set_Type_Declaration_View (Element : in out Subtype_Declaration_Node; Value : in Asis.Definition) is begin Element.Type_Declaration_View := Value; end Set_Type_Declaration_View; function Corresponding_First_Subtype (Element : Subtype_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_First_Subtype; end Corresponding_First_Subtype; procedure Set_Corresponding_First_Subtype (Element : in out Subtype_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_First_Subtype := Value; end Set_Corresponding_First_Subtype; function Corresponding_Last_Constraint (Element : Subtype_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Last_Constraint; end Corresponding_Last_Constraint; procedure Set_Corresponding_Last_Constraint (Element : in out Subtype_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Last_Constraint := Value; end Set_Corresponding_Last_Constraint; function Corresponding_Last_Subtype (Element : Subtype_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Last_Subtype; end Corresponding_Last_Subtype; procedure Set_Corresponding_Last_Subtype (Element : in out Subtype_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Last_Subtype := Value; end Set_Corresponding_Last_Subtype; function New_Subtype_Declaration_Node (The_Context : ASIS.Context) return Subtype_Declaration_Ptr is Result : Subtype_Declaration_Ptr := new Subtype_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Subtype_Declaration_Node; function Declaration_Kind (Element : Subtype_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Subtype_Declaration; end; function Children (Element : access Subtype_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Type_Declaration_View'Access)); end Children; function Clone (Element : Subtype_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Subtype_Declaration_Ptr := new Subtype_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_First_Subtype := Element.Corresponding_First_Subtype; Result.Corresponding_Last_Constraint := Element.Corresponding_Last_Constraint; Result.Corresponding_Last_Subtype := Element.Corresponding_Last_Subtype; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Subtype_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Type_Declaration_View := Copy (Cloner, Type_Declaration_View (Source.all), Asis.Element (Target)); end Copy; function Object_Declaration_Subtype (Element : Component_Declaration_Node) return Asis.Definition is begin return Element.Object_Declaration_Subtype; end Object_Declaration_Subtype; procedure Set_Object_Declaration_Subtype (Element : in out Component_Declaration_Node; Value : in Asis.Definition) is begin Element.Object_Declaration_Subtype := Value; end Set_Object_Declaration_Subtype; function Initialization_Expression (Element : Component_Declaration_Node) return Asis.Expression is begin return Element.Initialization_Expression; end Initialization_Expression; procedure Set_Initialization_Expression (Element : in out Component_Declaration_Node; Value : in Asis.Expression) is begin Element.Initialization_Expression := Value; end Set_Initialization_Expression; function New_Component_Declaration_Node (The_Context : ASIS.Context) return Component_Declaration_Ptr is Result : Component_Declaration_Ptr := new Component_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Component_Declaration_Node; function Declaration_Kind (Element : Component_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Component_Declaration; end; function Children (Element : access Component_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Object_Declaration_Subtype'Access), (False, Element.Initialization_Expression'Access)); end Children; function Clone (Element : Component_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Component_Declaration_Ptr := new Component_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Component_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); Target.Initialization_Expression := Copy (Cloner, Initialization_Expression (Source.all), Asis.Element (Target)); end Copy; function Trait_Kind (Element : Variable_Declaration_Node) return Asis.Trait_Kinds is begin return Element.Trait_Kind; end Trait_Kind; procedure Set_Trait_Kind (Element : in out Variable_Declaration_Node; Value : in Asis.Trait_Kinds) is begin Element.Trait_Kind := Value; end Set_Trait_Kind; function New_Variable_Declaration_Node (The_Context : ASIS.Context) return Variable_Declaration_Ptr is Result : Variable_Declaration_Ptr := new Variable_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Variable_Declaration_Node; function Declaration_Kind (Element : Variable_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Variable_Declaration; end; function Clone (Element : Variable_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Variable_Declaration_Ptr := new Variable_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Trait_Kind := Element.Trait_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Variable_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); Target.Initialization_Expression := Copy (Cloner, Initialization_Expression (Source.all), Asis.Element (Target)); end Copy; function New_Constant_Declaration_Node (The_Context : ASIS.Context) return Constant_Declaration_Ptr is Result : Constant_Declaration_Ptr := new Constant_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Constant_Declaration_Node; function Declaration_Kind (Element : Constant_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Constant_Declaration; end; function Clone (Element : Constant_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Constant_Declaration_Ptr := new Constant_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Trait_Kind := Element.Trait_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Constant_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); Target.Initialization_Expression := Copy (Cloner, Initialization_Expression (Source.all), Asis.Element (Target)); end Copy; function New_Return_Object_Specification_Node (The_Context : ASIS.Context) return Return_Object_Specification_Ptr is Result : Return_Object_Specification_Ptr := new Return_Object_Specification_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Return_Object_Specification_Node; function Declaration_Kind (Element : Return_Object_Specification_Node) return Asis.Declaration_Kinds is begin return A_Return_Object_Specification; end; function Clone (Element : Return_Object_Specification_Node; Parent : Asis.Element) return Asis.Element is Result : constant Return_Object_Specification_Ptr := new Return_Object_Specification_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Trait_Kind := Element.Trait_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Return_Object_Specification_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); Target.Initialization_Expression := Copy (Cloner, Initialization_Expression (Source.all), Asis.Element (Target)); end Copy; function Object_Declaration_Subtype (Element : Deferred_Constant_Declaration_Node) return Asis.Definition is begin return Element.Object_Declaration_Subtype; end Object_Declaration_Subtype; procedure Set_Object_Declaration_Subtype (Element : in out Deferred_Constant_Declaration_Node; Value : in Asis.Definition) is begin Element.Object_Declaration_Subtype := Value; end Set_Object_Declaration_Subtype; function Trait_Kind (Element : Deferred_Constant_Declaration_Node) return Asis.Trait_Kinds is begin return Element.Trait_Kind; end Trait_Kind; procedure Set_Trait_Kind (Element : in out Deferred_Constant_Declaration_Node; Value : in Asis.Trait_Kinds) is begin Element.Trait_Kind := Value; end Set_Trait_Kind; function New_Deferred_Constant_Declaration_Node (The_Context : ASIS.Context) return Deferred_Constant_Declaration_Ptr is Result : Deferred_Constant_Declaration_Ptr := new Deferred_Constant_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Deferred_Constant_Declaration_Node; function Declaration_Kind (Element : Deferred_Constant_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Deferred_Constant_Declaration; end; function Children (Element : access Deferred_Constant_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Object_Declaration_Subtype'Access)); end Children; function Clone (Element : Deferred_Constant_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Deferred_Constant_Declaration_Ptr := new Deferred_Constant_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Trait_Kind := Element.Trait_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Deferred_Constant_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); end Copy; function Progenitor_List (Element : Single_Protected_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Expression_Lists.To_Element_List (Element.Progenitor_List, Include_Pragmas); end Progenitor_List; procedure Set_Progenitor_List (Element : in out Single_Protected_Declaration_Node; Value : in Asis.Element) is begin Element.Progenitor_List := Primary_Expression_Lists.List (Value); end Set_Progenitor_List; function Progenitor_List_List (Element : Single_Protected_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Progenitor_List); end Progenitor_List_List; function Object_Declaration_Subtype (Element : Single_Protected_Declaration_Node) return Asis.Definition is begin return Element.Object_Declaration_Subtype; end Object_Declaration_Subtype; procedure Set_Object_Declaration_Subtype (Element : in out Single_Protected_Declaration_Node; Value : in Asis.Definition) is begin Element.Object_Declaration_Subtype := Value; end Set_Object_Declaration_Subtype; function Is_Name_Repeated (Element : Single_Protected_Declaration_Node) return Boolean is begin return Element.Is_Name_Repeated; end Is_Name_Repeated; procedure Set_Is_Name_Repeated (Element : in out Single_Protected_Declaration_Node; Value : in Boolean) is begin Element.Is_Name_Repeated := Value; end Set_Is_Name_Repeated; function Corresponding_Body (Element : Single_Protected_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Body; end Corresponding_Body; procedure Set_Corresponding_Body (Element : in out Single_Protected_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Body := Value; end Set_Corresponding_Body; function New_Single_Protected_Declaration_Node (The_Context : ASIS.Context) return Single_Protected_Declaration_Ptr is Result : Single_Protected_Declaration_Ptr := new Single_Protected_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Single_Protected_Declaration_Node; function Declaration_Kind (Element : Single_Protected_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Single_Protected_Declaration; end; function Children (Element : access Single_Protected_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Progenitor_List)), (False, Element.Object_Declaration_Subtype'Access)); end Children; function Clone (Element : Single_Protected_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Single_Protected_Declaration_Ptr := new Single_Protected_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Corresponding_Body := Element.Corresponding_Body; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Single_Protected_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Progenitor_List (Target.all, Primary_Expression_Lists.Deep_Copy (Progenitor_List (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); end Copy; function New_Single_Task_Declaration_Node (The_Context : ASIS.Context) return Single_Task_Declaration_Ptr is Result : Single_Task_Declaration_Ptr := new Single_Task_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Single_Task_Declaration_Node; function Declaration_Kind (Element : Single_Task_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Single_Task_Declaration; end; function Clone (Element : Single_Task_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Single_Task_Declaration_Ptr := new Single_Task_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Corresponding_Body := Element.Corresponding_Body; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Single_Task_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Progenitor_List (Target.all, Primary_Expression_Lists.Deep_Copy (Progenitor_List (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); end Copy; function Initialization_Expression (Element : Integer_Number_Declaration_Node) return Asis.Expression is begin return Element.Initialization_Expression; end Initialization_Expression; procedure Set_Initialization_Expression (Element : in out Integer_Number_Declaration_Node; Value : in Asis.Expression) is begin Element.Initialization_Expression := Value; end Set_Initialization_Expression; function Declaration_Kind (Element : Integer_Number_Declaration_Node) return Asis.Declaration_Kinds is begin return Element.Declaration_Kind; end Declaration_Kind; procedure Set_Declaration_Kind (Element : in out Integer_Number_Declaration_Node; Value : in Asis.Declaration_Kinds) is begin Element.Declaration_Kind := Value; end Set_Declaration_Kind; function New_Integer_Number_Declaration_Node (The_Context : ASIS.Context) return Integer_Number_Declaration_Ptr is Result : Integer_Number_Declaration_Ptr := new Integer_Number_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Integer_Number_Declaration_Node; function Children (Element : access Integer_Number_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Initialization_Expression'Access)); end Children; function Clone (Element : Integer_Number_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Integer_Number_Declaration_Ptr := new Integer_Number_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Declaration_Kind := Element.Declaration_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Integer_Number_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Initialization_Expression := Copy (Cloner, Initialization_Expression (Source.all), Asis.Element (Target)); end Copy; function New_Enumeration_Literal_Specification_Node (The_Context : ASIS.Context) return Enumeration_Literal_Specification_Ptr is Result : Enumeration_Literal_Specification_Ptr := new Enumeration_Literal_Specification_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Enumeration_Literal_Specification_Node; function Declaration_Kind (Element : Enumeration_Literal_Specification_Node) return Asis.Declaration_Kinds is begin return An_Enumeration_Literal_Specification; end; function Clone (Element : Enumeration_Literal_Specification_Node; Parent : Asis.Element) return Asis.Element is Result : constant Enumeration_Literal_Specification_Ptr := new Enumeration_Literal_Specification_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Enumeration_Literal_Specification_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); end Copy; function Object_Declaration_Subtype (Element : Discriminant_Specification_Node) return Asis.Definition is begin return Element.Object_Declaration_Subtype; end Object_Declaration_Subtype; procedure Set_Object_Declaration_Subtype (Element : in out Discriminant_Specification_Node; Value : in Asis.Definition) is begin Element.Object_Declaration_Subtype := Value; end Set_Object_Declaration_Subtype; function Initialization_Expression (Element : Discriminant_Specification_Node) return Asis.Expression is begin return Element.Initialization_Expression; end Initialization_Expression; procedure Set_Initialization_Expression (Element : in out Discriminant_Specification_Node; Value : in Asis.Expression) is begin Element.Initialization_Expression := Value; end Set_Initialization_Expression; function Trait_Kind (Element : Discriminant_Specification_Node) return Asis.Trait_Kinds is begin return Element.Trait_Kind; end Trait_Kind; procedure Set_Trait_Kind (Element : in out Discriminant_Specification_Node; Value : in Asis.Trait_Kinds) is begin Element.Trait_Kind := Value; end Set_Trait_Kind; function Has_Null_Exclusion (Element : Discriminant_Specification_Node) return Boolean is begin return Element.Has_Null_Exclusion; end Has_Null_Exclusion; procedure Set_Has_Null_Exclusion (Element : in out Discriminant_Specification_Node; Value : in Boolean) is begin Element.Has_Null_Exclusion := Value; end Set_Has_Null_Exclusion; function New_Discriminant_Specification_Node (The_Context : ASIS.Context) return Discriminant_Specification_Ptr is Result : Discriminant_Specification_Ptr := new Discriminant_Specification_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Discriminant_Specification_Node; function Declaration_Kind (Element : Discriminant_Specification_Node) return Asis.Declaration_Kinds is begin return A_Discriminant_Specification; end; function Children (Element : access Discriminant_Specification_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Object_Declaration_Subtype'Access), (False, Element.Initialization_Expression'Access)); end Children; function Clone (Element : Discriminant_Specification_Node; Parent : Asis.Element) return Asis.Element is Result : constant Discriminant_Specification_Ptr := new Discriminant_Specification_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Trait_Kind := Element.Trait_Kind; Result.Has_Null_Exclusion := Element.Has_Null_Exclusion; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Discriminant_Specification_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); Target.Initialization_Expression := Copy (Cloner, Initialization_Expression (Source.all), Asis.Element (Target)); end Copy; function Specification_Subtype_Definition (Element : Entry_Index_Specification_Node) return Asis.Discrete_Subtype_Definition is begin return Element.Specification_Subtype_Definition; end Specification_Subtype_Definition; procedure Set_Specification_Subtype_Definition (Element : in out Entry_Index_Specification_Node; Value : in Asis.Discrete_Subtype_Definition) is begin Element.Specification_Subtype_Definition := Value; end Set_Specification_Subtype_Definition; function New_Entry_Index_Specification_Node (The_Context : ASIS.Context) return Entry_Index_Specification_Ptr is Result : Entry_Index_Specification_Ptr := new Entry_Index_Specification_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Entry_Index_Specification_Node; function Declaration_Kind (Element : Entry_Index_Specification_Node) return Asis.Declaration_Kinds is begin return An_Entry_Index_Specification; end; function Children (Element : access Entry_Index_Specification_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Specification_Subtype_Definition'Access)); end Children; function Clone (Element : Entry_Index_Specification_Node; Parent : Asis.Element) return Asis.Element is Result : constant Entry_Index_Specification_Ptr := new Entry_Index_Specification_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Entry_Index_Specification_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Specification_Subtype_Definition := Copy (Cloner, Specification_Subtype_Definition (Source.all), Asis.Element (Target)); end Copy; function Trait_Kind (Element : Loop_Parameter_Specification_Node) return Asis.Trait_Kinds is begin return Element.Trait_Kind; end Trait_Kind; procedure Set_Trait_Kind (Element : in out Loop_Parameter_Specification_Node; Value : in Asis.Trait_Kinds) is begin Element.Trait_Kind := Value; end Set_Trait_Kind; function New_Loop_Parameter_Specification_Node (The_Context : ASIS.Context) return Loop_Parameter_Specification_Ptr is Result : Loop_Parameter_Specification_Ptr := new Loop_Parameter_Specification_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Loop_Parameter_Specification_Node; function Declaration_Kind (Element : Loop_Parameter_Specification_Node) return Asis.Declaration_Kinds is begin return A_Loop_Parameter_Specification; end; function Clone (Element : Loop_Parameter_Specification_Node; Parent : Asis.Element) return Asis.Element is Result : constant Loop_Parameter_Specification_Ptr := new Loop_Parameter_Specification_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Trait_Kind := Element.Trait_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Loop_Parameter_Specification_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Specification_Subtype_Definition := Copy (Cloner, Specification_Subtype_Definition (Source.all), Asis.Element (Target)); end Copy; function Mode_Kind (Element : Formal_Object_Declaration_Node) return Asis.Mode_Kinds is begin return Element.Mode_Kind; end Mode_Kind; procedure Set_Mode_Kind (Element : in out Formal_Object_Declaration_Node; Value : in Asis.Mode_Kinds) is begin Element.Mode_Kind := Value; end Set_Mode_Kind; function Object_Declaration_Subtype (Element : Formal_Object_Declaration_Node) return Asis.Definition is begin return Element.Object_Declaration_Subtype; end Object_Declaration_Subtype; procedure Set_Object_Declaration_Subtype (Element : in out Formal_Object_Declaration_Node; Value : in Asis.Definition) is begin Element.Object_Declaration_Subtype := Value; end Set_Object_Declaration_Subtype; function Initialization_Expression (Element : Formal_Object_Declaration_Node) return Asis.Expression is begin return Element.Initialization_Expression; end Initialization_Expression; procedure Set_Initialization_Expression (Element : in out Formal_Object_Declaration_Node; Value : in Asis.Expression) is begin Element.Initialization_Expression := Value; end Set_Initialization_Expression; function Has_Null_Exclusion (Element : Formal_Object_Declaration_Node) return Boolean is begin return Element.Has_Null_Exclusion; end Has_Null_Exclusion; procedure Set_Has_Null_Exclusion (Element : in out Formal_Object_Declaration_Node; Value : in Boolean) is begin Element.Has_Null_Exclusion := Value; end Set_Has_Null_Exclusion; function Generic_Actual (Element : Formal_Object_Declaration_Node) return Asis.Expression is begin return Element.Generic_Actual; end Generic_Actual; procedure Set_Generic_Actual (Element : in out Formal_Object_Declaration_Node; Value : in Asis.Expression) is begin Element.Generic_Actual := Value; end Set_Generic_Actual; function New_Formal_Object_Declaration_Node (The_Context : ASIS.Context) return Formal_Object_Declaration_Ptr is Result : Formal_Object_Declaration_Ptr := new Formal_Object_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Formal_Object_Declaration_Node; function Declaration_Kind (Element : Formal_Object_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Formal_Object_Declaration; end; function Children (Element : access Formal_Object_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Object_Declaration_Subtype'Access), (False, Element.Initialization_Expression'Access)); end Children; function Clone (Element : Formal_Object_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Formal_Object_Declaration_Ptr := new Formal_Object_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Mode_Kind := Element.Mode_Kind; Result.Has_Null_Exclusion := Element.Has_Null_Exclusion; Result.Generic_Actual := Element.Generic_Actual; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Formal_Object_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); Target.Initialization_Expression := Copy (Cloner, Initialization_Expression (Source.all), Asis.Element (Target)); end Copy; function Trait_Kind (Element : Parameter_Specification_Node) return Asis.Trait_Kinds is begin return Element.Trait_Kind; end Trait_Kind; procedure Set_Trait_Kind (Element : in out Parameter_Specification_Node; Value : in Asis.Trait_Kinds) is begin Element.Trait_Kind := Value; end Set_Trait_Kind; function New_Parameter_Specification_Node (The_Context : ASIS.Context) return Parameter_Specification_Ptr is Result : Parameter_Specification_Ptr := new Parameter_Specification_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Parameter_Specification_Node; function Declaration_Kind (Element : Parameter_Specification_Node) return Asis.Declaration_Kinds is begin return A_Parameter_Specification; end; function Clone (Element : Parameter_Specification_Node; Parent : Asis.Element) return Asis.Element is Result : constant Parameter_Specification_Ptr := new Parameter_Specification_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Mode_Kind := Element.Mode_Kind; Result.Has_Null_Exclusion := Element.Has_Null_Exclusion; Result.Generic_Actual := Element.Generic_Actual; Result.Trait_Kind := Element.Trait_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Parameter_Specification_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Object_Declaration_Subtype := Copy (Cloner, Object_Declaration_Subtype (Source.all), Asis.Element (Target)); Target.Initialization_Expression := Copy (Cloner, Initialization_Expression (Source.all), Asis.Element (Target)); end Copy; function Is_Name_Repeated (Element : Package_Declaration_Node) return Boolean is begin return Element.Is_Name_Repeated; end Is_Name_Repeated; procedure Set_Is_Name_Repeated (Element : in out Package_Declaration_Node; Value : in Boolean) is begin Element.Is_Name_Repeated := Value; end Set_Is_Name_Repeated; function Corresponding_Declaration (Element : Package_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Declaration; end Corresponding_Declaration; procedure Set_Corresponding_Declaration (Element : in out Package_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Declaration := Value; end Set_Corresponding_Declaration; function Corresponding_Body (Element : Package_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Body; end Corresponding_Body; procedure Set_Corresponding_Body (Element : in out Package_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Body := Value; end Set_Corresponding_Body; function Is_Private_Present (Element : Package_Declaration_Node) return Boolean is begin return Element.Is_Private_Present; end Is_Private_Present; procedure Set_Is_Private_Present (Element : in out Package_Declaration_Node; Value : in Boolean) is begin Element.Is_Private_Present := Value; end Set_Is_Private_Present; function Generic_Formal_Part (Element : Package_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Generic_Formal_Part, Include_Pragmas); end Generic_Formal_Part; procedure Set_Generic_Formal_Part (Element : in out Package_Declaration_Node; Value : in Asis.Element) is begin Element.Generic_Formal_Part := Primary_Declaration_Lists.List (Value); end Set_Generic_Formal_Part; function Generic_Formal_Part_List (Element : Package_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Generic_Formal_Part); end Generic_Formal_Part_List; function Visible_Part_Declarative_Items (Element : Package_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Visible_Part_Declarative_Items, Include_Pragmas); end Visible_Part_Declarative_Items; procedure Set_Visible_Part_Declarative_Items (Element : in out Package_Declaration_Node; Value : in Asis.Element) is begin Element.Visible_Part_Declarative_Items := Primary_Declaration_Lists.List (Value); end Set_Visible_Part_Declarative_Items; function Visible_Part_Declarative_Items_List (Element : Package_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Visible_Part_Declarative_Items); end Visible_Part_Declarative_Items_List; function Private_Part_Declarative_Items (Element : Package_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Private_Part_Declarative_Items, Include_Pragmas); end Private_Part_Declarative_Items; procedure Set_Private_Part_Declarative_Items (Element : in out Package_Declaration_Node; Value : in Asis.Element) is begin Element.Private_Part_Declarative_Items := Primary_Declaration_Lists.List (Value); end Set_Private_Part_Declarative_Items; function Private_Part_Declarative_Items_List (Element : Package_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Private_Part_Declarative_Items); end Private_Part_Declarative_Items_List; function Package_Specification (Element : Package_Declaration_Node) return Asis.Element is begin return Element.Package_Specification; end Package_Specification; procedure Set_Package_Specification (Element : in out Package_Declaration_Node; Value : in Asis.Element) is begin Element.Package_Specification := Value; end Set_Package_Specification; function New_Package_Declaration_Node (The_Context : ASIS.Context) return Package_Declaration_Ptr is Result : Package_Declaration_Ptr := new Package_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Package_Declaration_Node; function Declaration_Kind (Element : Package_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Package_Declaration; end; function Children (Element : access Package_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Generic_Formal_Part)), (True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Visible_Part_Declarative_Items)), (True, Asis.Element (Element.Private_Part_Declarative_Items))); end Children; function Clone (Element : Package_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Package_Declaration_Ptr := new Package_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body := Element.Corresponding_Body; Result.Is_Private_Present := Element.Is_Private_Present; Result.Package_Specification := Element.Package_Specification; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Package_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Generic_Formal_Part (Target.all, Primary_Declaration_Lists.Deep_Copy (Generic_Formal_Part (Source.all), Cloner, Asis.Element (Target))); Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Visible_Part_Declarative_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Visible_Part_Declarative_Items (Source.all), Cloner, Asis.Element (Target))); Set_Private_Part_Declarative_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Private_Part_Declarative_Items (Source.all), Cloner, Asis.Element (Target))); end Copy; function Is_Name_Repeated (Element : Protected_Body_Declaration_Node) return Boolean is begin return Element.Is_Name_Repeated; end Is_Name_Repeated; procedure Set_Is_Name_Repeated (Element : in out Protected_Body_Declaration_Node; Value : in Boolean) is begin Element.Is_Name_Repeated := Value; end Set_Is_Name_Repeated; function Corresponding_Declaration (Element : Protected_Body_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Declaration; end Corresponding_Declaration; procedure Set_Corresponding_Declaration (Element : in out Protected_Body_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Declaration := Value; end Set_Corresponding_Declaration; function Protected_Operation_Items (Element : Protected_Body_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Protected_Operation_Items, Include_Pragmas); end Protected_Operation_Items; procedure Set_Protected_Operation_Items (Element : in out Protected_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Protected_Operation_Items := Primary_Declaration_Lists.List (Value); end Set_Protected_Operation_Items; function Protected_Operation_Items_List (Element : Protected_Body_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Protected_Operation_Items); end Protected_Operation_Items_List; function Corresponding_Body_Stub (Element : Protected_Body_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Body_Stub; end Corresponding_Body_Stub; procedure Set_Corresponding_Body_Stub (Element : in out Protected_Body_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Body_Stub := Value; end Set_Corresponding_Body_Stub; function Get_Identifier (Element : Protected_Body_Declaration_Node) return Asis.Element is begin return Element.Identifier; end Get_Identifier; procedure Set_Identifier (Element : in out Protected_Body_Declaration_Node; Value : in Asis.Element) is begin Element.Identifier := Value; end Set_Identifier; function New_Protected_Body_Declaration_Node (The_Context : ASIS.Context) return Protected_Body_Declaration_Ptr is Result : Protected_Body_Declaration_Ptr := new Protected_Body_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Protected_Body_Declaration_Node; function Declaration_Kind (Element : Protected_Body_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Protected_Body_Declaration; end; function Children (Element : access Protected_Body_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Protected_Operation_Items))); end Children; function Clone (Element : Protected_Body_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Protected_Body_Declaration_Ptr := new Protected_Body_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body_Stub := Element.Corresponding_Body_Stub; Result.Identifier := Element.Identifier; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Protected_Body_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Protected_Operation_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Protected_Operation_Items (Source.all), Cloner, Asis.Element (Target))); end Copy; function Corresponding_Subunit (Element : Package_Body_Stub_Node) return Asis.Declaration is begin return Element.Corresponding_Subunit; end Corresponding_Subunit; procedure Set_Corresponding_Subunit (Element : in out Package_Body_Stub_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Subunit := Value; end Set_Corresponding_Subunit; function Corresponding_Declaration (Element : Package_Body_Stub_Node) return Asis.Declaration is begin return Element.Corresponding_Declaration; end Corresponding_Declaration; procedure Set_Corresponding_Declaration (Element : in out Package_Body_Stub_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Declaration := Value; end Set_Corresponding_Declaration; function New_Package_Body_Stub_Node (The_Context : ASIS.Context) return Package_Body_Stub_Ptr is Result : Package_Body_Stub_Ptr := new Package_Body_Stub_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Package_Body_Stub_Node; function Declaration_Kind (Element : Package_Body_Stub_Node) return Asis.Declaration_Kinds is begin return A_Package_Body_Stub; end; function Clone (Element : Package_Body_Stub_Node; Parent : Asis.Element) return Asis.Element is Result : constant Package_Body_Stub_Ptr := new Package_Body_Stub_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Subunit := Element.Corresponding_Subunit; Result.Corresponding_Declaration := Element.Corresponding_Declaration; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Package_Body_Stub_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); end Copy; function New_Task_Body_Stub_Node (The_Context : ASIS.Context) return Task_Body_Stub_Ptr is Result : Task_Body_Stub_Ptr := new Task_Body_Stub_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Task_Body_Stub_Node; function Declaration_Kind (Element : Task_Body_Stub_Node) return Asis.Declaration_Kinds is begin return A_Task_Body_Stub; end; function Clone (Element : Task_Body_Stub_Node; Parent : Asis.Element) return Asis.Element is Result : constant Task_Body_Stub_Ptr := new Task_Body_Stub_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Subunit := Element.Corresponding_Subunit; Result.Corresponding_Declaration := Element.Corresponding_Declaration; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Task_Body_Stub_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); end Copy; function New_Protected_Body_Stub_Node (The_Context : ASIS.Context) return Protected_Body_Stub_Ptr is Result : Protected_Body_Stub_Ptr := new Protected_Body_Stub_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Protected_Body_Stub_Node; function Declaration_Kind (Element : Protected_Body_Stub_Node) return Asis.Declaration_Kinds is begin return A_Protected_Body_Stub; end; function Clone (Element : Protected_Body_Stub_Node; Parent : Asis.Element) return Asis.Element is Result : constant Protected_Body_Stub_Ptr := new Protected_Body_Stub_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Subunit := Element.Corresponding_Subunit; Result.Corresponding_Declaration := Element.Corresponding_Declaration; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Protected_Body_Stub_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); end Copy; function New_Exception_Declaration_Node (The_Context : ASIS.Context) return Exception_Declaration_Ptr is Result : Exception_Declaration_Ptr := new Exception_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Exception_Declaration_Node; function Declaration_Kind (Element : Exception_Declaration_Node) return Asis.Declaration_Kinds is begin return An_Exception_Declaration; end; function Clone (Element : Exception_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Exception_Declaration_Ptr := new Exception_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Exception_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); end Copy; function New_Choice_Parameter_Specification_Node (The_Context : ASIS.Context) return Choice_Parameter_Specification_Ptr is Result : Choice_Parameter_Specification_Ptr := new Choice_Parameter_Specification_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Choice_Parameter_Specification_Node; function Declaration_Kind (Element : Choice_Parameter_Specification_Node) return Asis.Declaration_Kinds is begin return A_Choice_Parameter_Specification; end; function Clone (Element : Choice_Parameter_Specification_Node; Parent : Asis.Element) return Asis.Element is Result : constant Choice_Parameter_Specification_Ptr := new Choice_Parameter_Specification_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Choice_Parameter_Specification_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); end Copy; function Is_Name_Repeated (Element : Generic_Package_Declaration_Node) return Boolean is begin return Element.Is_Name_Repeated; end Is_Name_Repeated; procedure Set_Is_Name_Repeated (Element : in out Generic_Package_Declaration_Node; Value : in Boolean) is begin Element.Is_Name_Repeated := Value; end Set_Is_Name_Repeated; function Corresponding_Body (Element : Generic_Package_Declaration_Node) return Asis.Declaration is begin return Element.Corresponding_Body; end Corresponding_Body; procedure Set_Corresponding_Body (Element : in out Generic_Package_Declaration_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Body := Value; end Set_Corresponding_Body; function Is_Private_Present (Element : Generic_Package_Declaration_Node) return Boolean is begin return Element.Is_Private_Present; end Is_Private_Present; procedure Set_Is_Private_Present (Element : in out Generic_Package_Declaration_Node; Value : in Boolean) is begin Element.Is_Private_Present := Value; end Set_Is_Private_Present; function Visible_Part_Declarative_Items (Element : Generic_Package_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Visible_Part_Declarative_Items, Include_Pragmas); end Visible_Part_Declarative_Items; procedure Set_Visible_Part_Declarative_Items (Element : in out Generic_Package_Declaration_Node; Value : in Asis.Element) is begin Element.Visible_Part_Declarative_Items := Primary_Declaration_Lists.List (Value); end Set_Visible_Part_Declarative_Items; function Visible_Part_Declarative_Items_List (Element : Generic_Package_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Visible_Part_Declarative_Items); end Visible_Part_Declarative_Items_List; function Private_Part_Declarative_Items (Element : Generic_Package_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Private_Part_Declarative_Items, Include_Pragmas); end Private_Part_Declarative_Items; procedure Set_Private_Part_Declarative_Items (Element : in out Generic_Package_Declaration_Node; Value : in Asis.Element) is begin Element.Private_Part_Declarative_Items := Primary_Declaration_Lists.List (Value); end Set_Private_Part_Declarative_Items; function Private_Part_Declarative_Items_List (Element : Generic_Package_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Private_Part_Declarative_Items); end Private_Part_Declarative_Items_List; function Generic_Formal_Part (Element : Generic_Package_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Declaration_Lists.To_Element_List (Element.Generic_Formal_Part, Include_Pragmas); end Generic_Formal_Part; procedure Set_Generic_Formal_Part (Element : in out Generic_Package_Declaration_Node; Value : in Asis.Element) is begin Element.Generic_Formal_Part := Primary_Declaration_Lists.List (Value); end Set_Generic_Formal_Part; function Generic_Formal_Part_List (Element : Generic_Package_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Generic_Formal_Part); end Generic_Formal_Part_List; function Specification (Element : Generic_Package_Declaration_Node) return Asis.Element is begin return Element.Specification; end Specification; procedure Set_Specification (Element : in out Generic_Package_Declaration_Node; Value : in Asis.Element) is begin Element.Specification := Value; end Set_Specification; function New_Generic_Package_Declaration_Node (The_Context : ASIS.Context) return Generic_Package_Declaration_Ptr is Result : Generic_Package_Declaration_Ptr := new Generic_Package_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Generic_Package_Declaration_Node; function Declaration_Kind (Element : Generic_Package_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Generic_Package_Declaration; end; function Children (Element : access Generic_Package_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Generic_Formal_Part)), (True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Visible_Part_Declarative_Items)), (True, Asis.Element (Element.Private_Part_Declarative_Items))); end Children; function Clone (Element : Generic_Package_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Generic_Package_Declaration_Ptr := new Generic_Package_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Is_Name_Repeated := Element.Is_Name_Repeated; Result.Corresponding_Body := Element.Corresponding_Body; Result.Is_Private_Present := Element.Is_Private_Present; Result.Specification := Element.Specification; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Generic_Package_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Generic_Formal_Part (Target.all, Primary_Declaration_Lists.Deep_Copy (Generic_Formal_Part (Source.all), Cloner, Asis.Element (Target))); Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Visible_Part_Declarative_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Visible_Part_Declarative_Items (Source.all), Cloner, Asis.Element (Target))); Set_Private_Part_Declarative_Items (Target.all, Primary_Declaration_Lists.Deep_Copy (Private_Part_Declarative_Items (Source.all), Cloner, Asis.Element (Target))); end Copy; function Corresponding_Declaration (Element : Formal_Package_Declaration_With_Box_Node) return Asis.Declaration is begin return Element.Corresponding_Declaration; end Corresponding_Declaration; procedure Set_Corresponding_Declaration (Element : in out Formal_Package_Declaration_With_Box_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Declaration := Value; end Set_Corresponding_Declaration; function Corresponding_Body (Element : Formal_Package_Declaration_With_Box_Node) return Asis.Declaration is begin return Element.Corresponding_Body; end Corresponding_Body; procedure Set_Corresponding_Body (Element : in out Formal_Package_Declaration_With_Box_Node; Value : in Asis.Declaration) is begin Element.Corresponding_Body := Value; end Set_Corresponding_Body; function Generic_Unit_Name (Element : Formal_Package_Declaration_With_Box_Node) return Asis.Expression is begin return Element.Generic_Unit_Name; end Generic_Unit_Name; procedure Set_Generic_Unit_Name (Element : in out Formal_Package_Declaration_With_Box_Node; Value : in Asis.Expression) is begin Element.Generic_Unit_Name := Value; end Set_Generic_Unit_Name; function Normalized_Generic_Actual_Part (Element : Formal_Package_Declaration_With_Box_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Secondary_Association_Lists.To_Element_List (Element.Normalized_Generic_Actual_Part, Include_Pragmas); end Normalized_Generic_Actual_Part; procedure Add_To_Normalized_Generic_Actual_Part (Element : in out Formal_Package_Declaration_With_Box_Node; Item : in Asis.Element) is begin Secondary_Association_Lists.Add (Element.Normalized_Generic_Actual_Part, Item); end Add_To_Normalized_Generic_Actual_Part; function Generic_Actual (Element : Formal_Package_Declaration_With_Box_Node) return Asis.Expression is begin return Element.Generic_Actual; end Generic_Actual; procedure Set_Generic_Actual (Element : in out Formal_Package_Declaration_With_Box_Node; Value : in Asis.Expression) is begin Element.Generic_Actual := Value; end Set_Generic_Actual; function New_Formal_Package_Declaration_With_Box_Node (The_Context : ASIS.Context) return Formal_Package_Declaration_With_Box_Ptr is Result : Formal_Package_Declaration_With_Box_Ptr := new Formal_Package_Declaration_With_Box_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Formal_Package_Declaration_With_Box_Node; function Declaration_Kind (Element : Formal_Package_Declaration_With_Box_Node) return Asis.Declaration_Kinds is begin return A_Formal_Package_Declaration_With_Box; end; function Children (Element : access Formal_Package_Declaration_With_Box_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Generic_Unit_Name'Access)); end Children; function Clone (Element : Formal_Package_Declaration_With_Box_Node; Parent : Asis.Element) return Asis.Element is Result : constant Formal_Package_Declaration_With_Box_Ptr := new Formal_Package_Declaration_With_Box_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body := Element.Corresponding_Body; null; Result.Generic_Actual := Element.Generic_Actual; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Formal_Package_Declaration_With_Box_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Generic_Unit_Name := Copy (Cloner, Generic_Unit_Name (Source.all), Asis.Element (Target)); end Copy; function Generic_Actual_Part (Element : Package_Instantiation_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Association_Lists.To_Element_List (Element.Generic_Actual_Part, Include_Pragmas); end Generic_Actual_Part; procedure Set_Generic_Actual_Part (Element : in out Package_Instantiation_Node; Value : in Asis.Element) is begin Element.Generic_Actual_Part := Primary_Association_Lists.List (Value); end Set_Generic_Actual_Part; function Generic_Actual_Part_List (Element : Package_Instantiation_Node) return Asis.Element is begin return Asis.Element (Element.Generic_Actual_Part); end Generic_Actual_Part_List; function New_Package_Instantiation_Node (The_Context : ASIS.Context) return Package_Instantiation_Ptr is Result : Package_Instantiation_Ptr := new Package_Instantiation_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Package_Instantiation_Node; function Declaration_Kind (Element : Package_Instantiation_Node) return Asis.Declaration_Kinds is begin return A_Package_Instantiation; end; function Children (Element : access Package_Instantiation_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (False, Element.Generic_Unit_Name'Access), (True, Asis.Element (Element.Generic_Actual_Part))); end Children; function Clone (Element : Package_Instantiation_Node; Parent : Asis.Element) return Asis.Element is Result : constant Package_Instantiation_Ptr := new Package_Instantiation_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body := Element.Corresponding_Body; null; Result.Generic_Actual := Element.Generic_Actual; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Package_Instantiation_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Generic_Unit_Name := Copy (Cloner, Generic_Unit_Name (Source.all), Asis.Element (Target)); Set_Generic_Actual_Part (Target.all, Primary_Association_Lists.Deep_Copy (Generic_Actual_Part (Source.all), Cloner, Asis.Element (Target))); end Copy; function Specification (Element : Procedure_Instantiation_Node) return Asis.Element is begin return Element.Specification; end Specification; procedure Set_Specification (Element : in out Procedure_Instantiation_Node; Value : in Asis.Element) is begin Element.Specification := Value; end Set_Specification; function Overriding_Indicator_Kind (Element : Procedure_Instantiation_Node) return Asis.Overriding_Indicator_Kinds is begin return Element.Overriding_Indicator_Kind; end Overriding_Indicator_Kind; procedure Set_Overriding_Indicator_Kind (Element : in out Procedure_Instantiation_Node; Value : in Asis.Overriding_Indicator_Kinds) is begin Element.Overriding_Indicator_Kind := Value; end Set_Overriding_Indicator_Kind; function New_Procedure_Instantiation_Node (The_Context : ASIS.Context) return Procedure_Instantiation_Ptr is Result : Procedure_Instantiation_Ptr := new Procedure_Instantiation_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Procedure_Instantiation_Node; function Declaration_Kind (Element : Procedure_Instantiation_Node) return Asis.Declaration_Kinds is begin return A_Procedure_Instantiation; end; function Clone (Element : Procedure_Instantiation_Node; Parent : Asis.Element) return Asis.Element is Result : constant Procedure_Instantiation_Ptr := new Procedure_Instantiation_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body := Element.Corresponding_Body; null; Result.Generic_Actual := Element.Generic_Actual; Result.Specification := Element.Specification; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Procedure_Instantiation_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Generic_Unit_Name := Copy (Cloner, Generic_Unit_Name (Source.all), Asis.Element (Target)); Set_Generic_Actual_Part (Target.all, Primary_Association_Lists.Deep_Copy (Generic_Actual_Part (Source.all), Cloner, Asis.Element (Target))); end Copy; function New_Function_Instantiation_Node (The_Context : ASIS.Context) return Function_Instantiation_Ptr is Result : Function_Instantiation_Ptr := new Function_Instantiation_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Function_Instantiation_Node; function Declaration_Kind (Element : Function_Instantiation_Node) return Asis.Declaration_Kinds is begin return A_Function_Instantiation; end; function Clone (Element : Function_Instantiation_Node; Parent : Asis.Element) return Asis.Element is Result : constant Function_Instantiation_Ptr := new Function_Instantiation_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body := Element.Corresponding_Body; null; Result.Generic_Actual := Element.Generic_Actual; Result.Specification := Element.Specification; Result.Overriding_Indicator_Kind := Element.Overriding_Indicator_Kind; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Function_Instantiation_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Generic_Unit_Name := Copy (Cloner, Generic_Unit_Name (Source.all), Asis.Element (Target)); Set_Generic_Actual_Part (Target.all, Primary_Association_Lists.Deep_Copy (Generic_Actual_Part (Source.all), Cloner, Asis.Element (Target))); end Copy; function New_Formal_Package_Declaration_Node (The_Context : ASIS.Context) return Formal_Package_Declaration_Ptr is Result : Formal_Package_Declaration_Ptr := new Formal_Package_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Formal_Package_Declaration_Node; function Declaration_Kind (Element : Formal_Package_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Formal_Package_Declaration; end; function Clone (Element : Formal_Package_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Formal_Package_Declaration_Ptr := new Formal_Package_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Corresponding_Declaration := Element.Corresponding_Declaration; Result.Corresponding_Body := Element.Corresponding_Body; null; Result.Generic_Actual := Element.Generic_Actual; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Formal_Package_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Target.Generic_Unit_Name := Copy (Cloner, Generic_Unit_Name (Source.all), Asis.Element (Target)); Set_Generic_Actual_Part (Target.all, Primary_Association_Lists.Deep_Copy (Generic_Actual_Part (Source.all), Cloner, Asis.Element (Target))); end Copy; function Parameter_Profile (Element : Formal_Procedure_Declaration_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List is begin return Primary_Parameter_Lists.To_Element_List (Element.Parameter_Profile, Include_Pragmas); end Parameter_Profile; procedure Set_Parameter_Profile (Element : in out Formal_Procedure_Declaration_Node; Value : in Asis.Element) is begin Element.Parameter_Profile := Primary_Parameter_Lists.List (Value); end Set_Parameter_Profile; function Parameter_Profile_List (Element : Formal_Procedure_Declaration_Node) return Asis.Element is begin return Asis.Element (Element.Parameter_Profile); end Parameter_Profile_List; function Default_Kind (Element : Formal_Procedure_Declaration_Node) return Asis.Subprogram_Default_Kinds is begin return Element.Default_Kind; end Default_Kind; procedure Set_Default_Kind (Element : in out Formal_Procedure_Declaration_Node; Value : in Asis.Subprogram_Default_Kinds) is begin Element.Default_Kind := Value; end Set_Default_Kind; function Formal_Subprogram_Default (Element : Formal_Procedure_Declaration_Node) return Asis.Expression is begin return Element.Formal_Subprogram_Default; end Formal_Subprogram_Default; procedure Set_Formal_Subprogram_Default (Element : in out Formal_Procedure_Declaration_Node; Value : in Asis.Expression) is begin Element.Formal_Subprogram_Default := Value; end Set_Formal_Subprogram_Default; function Specification (Element : Formal_Procedure_Declaration_Node) return Asis.Element is begin return Element.Specification; end Specification; procedure Set_Specification (Element : in out Formal_Procedure_Declaration_Node; Value : in Asis.Element) is begin Element.Specification := Value; end Set_Specification; function Has_Abstract (Element : Formal_Procedure_Declaration_Node) return Boolean is begin return Element.Has_Abstract; end Has_Abstract; procedure Set_Has_Abstract (Element : in out Formal_Procedure_Declaration_Node; Value : in Boolean) is begin Element.Has_Abstract := Value; end Set_Has_Abstract; function Generic_Actual (Element : Formal_Procedure_Declaration_Node) return Asis.Expression is begin return Element.Generic_Actual; end Generic_Actual; procedure Set_Generic_Actual (Element : in out Formal_Procedure_Declaration_Node; Value : in Asis.Expression) is begin Element.Generic_Actual := Value; end Set_Generic_Actual; function New_Formal_Procedure_Declaration_Node (The_Context : ASIS.Context) return Formal_Procedure_Declaration_Ptr is Result : Formal_Procedure_Declaration_Ptr := new Formal_Procedure_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Formal_Procedure_Declaration_Node; function Declaration_Kind (Element : Formal_Procedure_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Formal_Procedure_Declaration; end; function Children (Element : access Formal_Procedure_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile)), (False, Element.Formal_Subprogram_Default'Access)); end Children; function Clone (Element : Formal_Procedure_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Formal_Procedure_Declaration_Ptr := new Formal_Procedure_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Default_Kind := Element.Default_Kind; Result.Specification := Element.Specification; Result.Has_Abstract := Element.Has_Abstract; Result.Generic_Actual := Element.Generic_Actual; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Formal_Procedure_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Target.Formal_Subprogram_Default := Copy (Cloner, Formal_Subprogram_Default (Source.all), Asis.Element (Target)); end Copy; function Result_Subtype (Element : Formal_Function_Declaration_Node) return Asis.Definition is begin return Element.Result_Subtype; end Result_Subtype; procedure Set_Result_Subtype (Element : in out Formal_Function_Declaration_Node; Value : in Asis.Definition) is begin Element.Result_Subtype := Value; end Set_Result_Subtype; function New_Formal_Function_Declaration_Node (The_Context : ASIS.Context) return Formal_Function_Declaration_Ptr is Result : Formal_Function_Declaration_Ptr := new Formal_Function_Declaration_Node; begin Set_Enclosing_Compilation_Unit (Result.all, Current_Unit (The_Context.all)); return Result; end New_Formal_Function_Declaration_Node; function Declaration_Kind (Element : Formal_Function_Declaration_Node) return Asis.Declaration_Kinds is begin return A_Formal_Function_Declaration; end; function Children (Element : access Formal_Function_Declaration_Node) return Traverse_List is begin return ((True, Asis.Element (Element.Names)), (True, Asis.Element (Element.Parameter_Profile)), (False, Element.Formal_Subprogram_Default'Access), (False, Element.Result_Subtype'Access)); end Children; function Clone (Element : Formal_Function_Declaration_Node; Parent : Asis.Element) return Asis.Element is Result : constant Formal_Function_Declaration_Ptr := new Formal_Function_Declaration_Node; begin Result.Enclosing_Element := Parent; Result.Is_Part_Of_Implicit := Element.Is_Part_Of_Implicit; Result.Is_Part_Of_Inherited := Element.Is_Part_Of_Inherited; Result.Is_Part_Of_Instance := Element.Is_Part_Of_Instance; Result.Start_Position := Element.Start_Position; Result.End_Position := Element.End_Position; Result.Enclosing_Compilation_Unit := Enclosing_Compilation_Unit (Parent.all); Result.Hash := Element.Hash; Result.Declaration_Origin := Element.Declaration_Origin; Result.Name := Element.Name; null; null; Result.Place := Element.Place; Result.Default_Kind := Element.Default_Kind; Result.Specification := Element.Specification; Result.Has_Abstract := Element.Has_Abstract; Result.Generic_Actual := Element.Generic_Actual; return Asis.Element (Result); end Clone; procedure Copy (Source : in Asis.Element; Target : access Formal_Function_Declaration_Node; Cloner : in Cloner_Class; Parent : in Asis.Element) is begin Set_Names (Target.all, Primary_Defining_Name_Lists.Deep_Copy (Names (Source.all), Cloner, Asis.Element (Target))); Set_Parameter_Profile (Target.all, Primary_Parameter_Lists.Deep_Copy (Parameter_Profile (Source.all), Cloner, Asis.Element (Target))); Target.Formal_Subprogram_Default := Copy (Cloner, Formal_Subprogram_Default (Source.all), Asis.Element (Target)); Target.Result_Subtype := Copy (Cloner, Result_Subtype (Source.all), Asis.Element (Target)); end Copy; end Asis.Gela.Elements.Decl;
34.633942
118
0.719977
2f4872d1b5a7bad77a3246ec7038df6f3ac00aa8
360
ads
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization10.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization10.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization10.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
with Loop_Optimization10_Pkg; use Loop_Optimization10_Pkg; package Loop_Optimization10 is type Dual_Axis_Type is (One, Two); type Array_Real_Type is array (Dual_Axis_Type) of Float; type Array_Limit_Type is array (Dual_Axis_Type) of Limit_Type; function F (Low, High : in Array_Real_Type) return Array_Limit_Type; end Loop_Optimization10;
30
71
0.788889
4d02dcb2ee16ae6819417f9a13a71539ff74021a
103
ads
Ada
source/strings/a-widcha.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/strings/a-widcha.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/strings/a-widcha.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
pragma License (Unrestricted); package Ada.Wide_Characters is pragma Pure; end Ada.Wide_Characters;
20.6
30
0.805825
1d40ec760a24bec5f5b72f63674da8aa7b3f5f6f
853
adb
Ada
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/pp-rec-component/foo.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
31
2018-08-01T21:25:24.000Z
2022-02-14T07:52:34.000Z
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/pp-rec-component/foo.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
40
2018-12-03T19:48:52.000Z
2021-03-10T06:34:26.000Z
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/pp-rec-component/foo.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
20
2018-11-16T21:19:22.000Z
2021-10-18T23:08:24.000Z
-- Copyright 2014-2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is Before : Time_T := (Secs => 1384395743); begin Do_Nothing (Before'Address); -- BREAK end Foo;
37.086957
73
0.726846
5979a674fb78f33b0f1659d5aae08e43e6f4fd7c
58
ads
Ada
src/usb_gamepad.ads
Fabien-Chouteau/pygamer_usb_gamepad
dc9e0c20ea51732eae68eb568561c39baab35faf
[ "MIT" ]
1
2021-11-04T11:01:42.000Z
2021-11-04T11:01:42.000Z
src/usb_gamepad.ads
Fabien-Chouteau/pygamer_usb_gamepad
dc9e0c20ea51732eae68eb568561c39baab35faf
[ "MIT" ]
null
null
null
src/usb_gamepad.ads
Fabien-Chouteau/pygamer_usb_gamepad
dc9e0c20ea51732eae68eb568561c39baab35faf
[ "MIT" ]
null
null
null
package USB_Gamepad is procedure Run; end USB_Gamepad;
14.5
22
0.793103
064679693e7ed1029763ed1ef3b997ef20d4d8c1
4,665
ads
Ada
src/arith_64.ads
thomas070605/shoot-n-loot
e242d71e9fe94271fe7fd79573ab06d231564350
[ "MIT" ]
2
2020-08-24T15:01:37.000Z
2020-10-16T22:37:07.000Z
src/arith_64.ads
thomas070605/shoot-n-loot
e242d71e9fe94271fe7fd79573ab06d231564350
[ "MIT" ]
null
null
null
src/arith_64.ads
thomas070605/shoot-n-loot
e242d71e9fe94271fe7fd79573ab06d231564350
[ "MIT" ]
1
2021-01-19T12:00:35.000Z
2021-01-19T12:00:35.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . A R I T H _ 6 4 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2012, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This unit provides software routines for doing arithmetic on 64-bit -- signed integer values in cases where either overflow checking is -- required, or intermediate results are longer than 64 bits. pragma Restrictions (No_Elaboration_Code); -- Allow direct call from gigi generated code with Interfaces; package Arith_64 is pragma Pure; subtype Int64 is Interfaces.Integer_64; function Add_With_Ovflo_Check (X, Y : Int64) return Int64; -- Raises Constraint_Error if sum of operands overflows 64 bits, -- otherwise returns the 64-bit signed integer sum. function Subtract_With_Ovflo_Check (X, Y : Int64) return Int64; -- Raises Constraint_Error if difference of operands overflows 64 -- bits, otherwise returns the 64-bit signed integer difference. function Multiply_With_Ovflo_Check (X, Y : Int64) return Int64; pragma Export (C, Multiply_With_Ovflo_Check, "__gnat_mulv64"); -- Raises Constraint_Error if product of operands overflows 64 -- bits, otherwise returns the 64-bit signed integer product. -- GIGI may also call this routine directly. procedure Scaled_Divide (X, Y, Z : Int64; Q, R : out Int64; Round : Boolean); -- Performs the division of (X * Y) / Z, storing the quotient in Q -- and the remainder in R. Constraint_Error is raised if Z is zero, -- or if the quotient does not fit in 64-bits. Round indicates if -- the result should be rounded. If Round is False, then Q, R are -- the normal quotient and remainder from a truncating division. -- If Round is True, then Q is the rounded quotient. The remainder -- R is not affected by the setting of the Round flag. procedure Double_Divide (X, Y, Z : Int64; Q, R : out Int64; Round : Boolean); -- Performs the division X / (Y * Z), storing the quotient in Q and -- the remainder in R. Constraint_Error is raised if Y or Z is zero, -- or if the quotient does not fit in 64-bits. Round indicates if the -- result should be rounded. If Round is False, then Q, R are the normal -- quotient and remainder from a truncating division. If Round is True, -- then Q is the rounded quotient. The remainder R is not affected by the -- setting of the Round flag. end Arith_64;
54.882353
78
0.533548
1d6dc0c79705a525c9435f30f8ba249342040a87
874
ads
Ada
orka_simd/src/x86/gnat/orka-simd-sse4_1-singles-compare.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
52
2016-07-30T23:00:28.000Z
2022-02-05T11:54:55.000Z
orka_simd/src/x86/gnat/orka-simd-sse4_1-singles-compare.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
79
2016-08-01T18:36:48.000Z
2022-02-27T12:14:20.000Z
orka_simd/src/x86/gnat/orka-simd-sse4_1-singles-compare.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
4
2018-04-28T22:36:26.000Z
2020-11-14T23:00:29.000Z
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 onox <denkpadje@gmail.com> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. with Orka.SIMD.SSE.Singles; package Orka.SIMD.SSE4_1.Singles.Compare is pragma Pure; use SIMD.SSE.Singles; function Is_Equal (Left, Right : m128) return Boolean; end Orka.SIMD.SSE4_1.Singles.Compare;
32.37037
76
0.731121
2f94751cd81e2e962ee93c7018c10b7624c5e0d1
2,897
adb
Ada
bb-runtimes/src/s-macres__leon.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/src/s-macres__leon.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/src/s-macres__leon.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . M A C H I N E _ R E S E T -- -- -- -- B o d y -- -- -- -- Copyright (C) 2011-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package body System.Machine_Reset is procedure Os_Exit; pragma Import (Ada, Os_Exit, "_exit"); pragma No_Return (Os_Exit); -- Reset the board procedure Os_Abort; pragma Export (Ada, Os_Abort, "abort"); pragma No_Return (Os_Abort); -- Same as Os_Exit (rename in body to allow multiple pragma Export) -------------- -- Os_Abort -- -------------- procedure Os_Abort renames Os_Exit; ---------- -- Stop -- ---------- procedure Stop renames Os_Exit; end System.Machine_Reset;
52.672727
78
0.41146
1d96e96f22971041d0372387d7d19404b563ba51
124
ads
Ada
type_lib.ads
oysteinlondal/Inverted-Pendulum
0a59e8d7bea31a255c1ca27c97430a688421f787
[ "MIT" ]
null
null
null
type_lib.ads
oysteinlondal/Inverted-Pendulum
0a59e8d7bea31a255c1ca27c97430a688421f787
[ "MIT" ]
2
2020-11-16T12:35:26.000Z
2020-11-16T12:35:31.000Z
type_lib.ads
oysteinlondal/Inverted-Pendulum
0a59e8d7bea31a255c1ca27c97430a688421f787
[ "MIT" ]
null
null
null
package Type_Lib is type RPM is new Natural range 1000 .. 2000; type Motor_Direction is (Left, Right); end Type_Lib;
31
47
0.725806
2f2db2977b401845bbf6e2ea4426daab1fe3140f
2,414
ads
Ada
source/types/adam-component_definition.ads
charlie5/aIDE
fab406dbcd9b72a4cb215ffebb05166c788d6365
[ "MIT" ]
3
2017-04-29T14:25:22.000Z
2017-09-29T10:15:28.000Z
source/types/adam-component_definition.ads
charlie5/aIDE
fab406dbcd9b72a4cb215ffebb05166c788d6365
[ "MIT" ]
null
null
null
source/types/adam-component_definition.ads
charlie5/aIDE
fab406dbcd9b72a4cb215ffebb05166c788d6365
[ "MIT" ]
null
null
null
with AdaM.Entity, AdaM.subtype_Indication, AdaM.access_Definition, Ada.Containers.Vectors, Ada.Streams; package AdaM.component_Definition is type Item is new Entity.item with private; -- View -- type View is access all Item'Class; procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self : in View); procedure View_read (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self : out View); for View'write use View_write; for View'read use View_read; -- Vector -- package Vectors is new ada.Containers.Vectors (Positive, View); subtype Vector is Vectors.Vector; -- Forge -- function new_Definition (is_subtype_Indication : in Boolean) return component_Definition.view; procedure free (Self : in out component_Definition.view); procedure destruct (Self : in out component_Definition.item); -- Attributes -- overriding function Id (Self : access Item) return AdaM.Id; overriding function Name (Self : in Item) return Identifier; procedure is_Aliased (Self : in out Item; Now : in Boolean := True); function is_Aliased (Self : in Item) return Boolean; -- procedure subtype_Indication_is (Self : out Item; Now : in subtype_Indication.view); -- procedure access_Definition_is (Self : out Item; Now : in access_Definition.view); function is_subtype_Indication (Self : in Item) return Boolean; function is_access_Definition (Self : in Item) return Boolean; function subtype_Indication (Self : in Item) return subtype_Indication.view; function access_Definition (Self : in Item) return access_Definition.view; -- procedure Type_is (Self : in out Item; Now : in AdaM.a_Type.view); -- function my_Type (Self : in Item) return AdaM.a_Type.view; -- function my_Type (Self : access Item) return access AdaM.a_Type.view; overriding function to_Source (Self : in Item) return text_Vectors.Vector; private type Item is new Entity.item with record is_Aliased : Boolean := False; subtype_Indication : AdaM.subtype_Indication.view; access_Definition : AdaM.access_Definition .view; end record; end AdaM.component_Definition;
28.069767
98
0.666529
1d14b5009e7711712cba85aecda0799aec41904f
1,920
adb
Ada
src/wiki-helpers-parser.adb
jquorning/ada-wiki
21dcbeb3897499ee4b4a85353f8a782e154c0a43
[ "Apache-2.0" ]
18
2015-10-26T21:32:08.000Z
2021-11-30T10:38:51.000Z
src/wiki-helpers-parser.adb
jquorning/ada-wiki
21dcbeb3897499ee4b4a85353f8a782e154c0a43
[ "Apache-2.0" ]
2
2018-03-18T08:22:06.000Z
2022-02-16T22:15:05.000Z
src/wiki-helpers-parser.adb
jquorning/ada-wiki
21dcbeb3897499ee4b4a85353f8a782e154c0a43
[ "Apache-2.0" ]
2
2019-04-05T17:10:34.000Z
2022-02-13T20:50:56.000Z
----------------------------------------------------------------------- -- wiki-helpers-parser -- Generic procedure for the wiki parser -- Copyright (C) 2016, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Wiki.Helpers; with Wiki.Streams; procedure Wiki.Helpers.Parser (Engine : in out Engine_Type; Content : in Element_Type; Doc : in out Wiki.Documents.Document) is type Wide_Input is new Wiki.Streams.Input_Stream with record Pos : Positive; Len : Natural; end record; overriding procedure Read (Buf : in out Wide_Input; Token : out Wiki.Strings.WChar; Is_Eof : out Boolean); procedure Read (Buf : in out Wide_Input; Token : out Wiki.Strings.WChar; Is_Eof : out Boolean) is begin if Buf.Pos <= Buf.Len then Element (Content, Buf.Pos, Token); Is_Eof := False; else Is_Eof := True; Token := Wiki.Helpers.CR; end if; end Read; Buffer : aliased Wide_Input; begin Buffer.Pos := 1; Buffer.Len := Length (Content); Parse (Engine, Buffer'Unchecked_Access, Doc); end Wiki.Helpers.Parser;
34.909091
76
0.586979
2f5c821a19cdc2505d1a01dc2e07a34ed59c4f12
4,098
ads
Ada
components/src/motion/lis3dsh/lis3dsh-spi.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
192
2016-06-01T18:32:04.000Z
2022-03-26T22:52:31.000Z
components/src/motion/lis3dsh/lis3dsh-spi.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
239
2016-05-26T20:02:01.000Z
2022-03-31T09:46:56.000Z
components/src/motion/lis3dsh/lis3dsh-spi.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
142
2016-06-05T08:12:20.000Z
2022-03-24T17:37:17.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of STMicroelectronics nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- -- -- -- This file is based on: -- -- -- -- @file lis3dsh.c -- -- @author MCD Application Team -- -- @version V1.1.0 -- -- @date 19-June-2014 -- -- @brief This file provides a set of functions needed to manage the -- -- LIS3DSH MEMS Accelerometer. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ -- This package provides a SPI-based I/O implementation for the LIS3DSH -- accelerometer. with HAL.SPI; use HAL.SPI; with HAL.GPIO; use HAL.GPIO; package LIS3DSH.SPI is type Three_Axis_Accelerometer_SPI (Port : not null Any_SPI_Port; Chip_Select : not null Any_GPIO_Point) is new Three_Axis_Accelerometer with private; overriding procedure IO_Write (This : in out Three_Axis_Accelerometer_SPI; Value : UInt8; WriteAddr : Register_Address); overriding procedure IO_Read (This : Three_Axis_Accelerometer_SPI; Value : out UInt8; ReadAddr : Register_Address); private type Three_Axis_Accelerometer_SPI (Port : not null Any_SPI_Port; Chip_Select : not null Any_GPIO_Point) is new Three_Axis_Accelerometer with null record; end LIS3DSH.SPI;
53.921053
78
0.483651
2f179e2785e1915828cb9c00a3e55fb201846e0e
9,233
adb
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-ztmoau.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-ztmoau.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-ztmoau.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . W I D E _ W I D E _ T E X T _ I O . M O D U L A R _ A U X -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Wide_Wide_Text_IO.Generic_Aux; use Ada.Wide_Wide_Text_IO.Generic_Aux; with System.Img_BIU; use System.Img_BIU; with System.Img_Uns; use System.Img_Uns; with System.Img_LLB; use System.Img_LLB; with System.Img_LLU; use System.Img_LLU; with System.Img_LLW; use System.Img_LLW; with System.Img_WIU; use System.Img_WIU; with System.Val_Uns; use System.Val_Uns; with System.Val_LLU; use System.Val_LLU; package body Ada.Wide_Wide_Text_IO.Modular_Aux is use System.Unsigned_Types; ----------------------- -- Local Subprograms -- ----------------------- procedure Load_Modular (File : File_Type; Buf : out String; Ptr : in out Natural); -- This is an auxiliary routine that is used to load an possibly signed -- modular literal value from the input file into Buf, starting at Ptr + 1. -- Ptr is left set to the last character stored. ------------- -- Get_LLU -- ------------- procedure Get_LLU (File : File_Type; Item : out Long_Long_Unsigned; Width : Field) is Buf : String (1 .. Field'Last); Stop : Integer := 0; Ptr : aliased Integer := 1; begin if Width /= 0 then Load_Width (File, Width, Buf, Stop); String_Skip (Buf, Ptr); else Load_Modular (File, Buf, Stop); end if; Item := Scan_Long_Long_Unsigned (Buf, Ptr'Access, Stop); Check_End_Of_Field (Buf, Stop, Ptr, Width); end Get_LLU; ------------- -- Get_Uns -- ------------- procedure Get_Uns (File : File_Type; Item : out Unsigned; Width : Field) is Buf : String (1 .. Field'Last); Stop : Integer := 0; Ptr : aliased Integer := 1; begin if Width /= 0 then Load_Width (File, Width, Buf, Stop); String_Skip (Buf, Ptr); else Load_Modular (File, Buf, Stop); end if; Item := Scan_Unsigned (Buf, Ptr'Access, Stop); Check_End_Of_Field (Buf, Stop, Ptr, Width); end Get_Uns; -------------- -- Gets_LLU -- -------------- procedure Gets_LLU (From : String; Item : out Long_Long_Unsigned; Last : out Positive) is Pos : aliased Integer; begin String_Skip (From, Pos); Item := Scan_Long_Long_Unsigned (From, Pos'Access, From'Last); Last := Pos - 1; exception when Constraint_Error => raise Data_Error; end Gets_LLU; -------------- -- Gets_Uns -- -------------- procedure Gets_Uns (From : String; Item : out Unsigned; Last : out Positive) is Pos : aliased Integer; begin String_Skip (From, Pos); Item := Scan_Unsigned (From, Pos'Access, From'Last); Last := Pos - 1; exception when Constraint_Error => raise Data_Error; end Gets_Uns; ------------------ -- Load_Modular -- ------------------ procedure Load_Modular (File : File_Type; Buf : out String; Ptr : in out Natural) is Hash_Loc : Natural; Loaded : Boolean; begin Load_Skip (File); -- Note: it is a bit strange to allow a minus sign here, but it seems -- consistent with the general behavior expected by the ACVC tests -- which is to scan past junk and then signal data error, see ACVC -- test CE3704F, case (6), which is for signed integer exponents, -- which seems a similar case. Load (File, Buf, Ptr, '+', '-'); Load_Digits (File, Buf, Ptr, Loaded); if Loaded then -- Deal with based case. We recognize either the standard '#' or the -- allowed alternative replacement ':' (see RM J.2(3)). Load (File, Buf, Ptr, '#', ':', Loaded); if Loaded then Hash_Loc := Ptr; Load_Extended_Digits (File, Buf, Ptr); Load (File, Buf, Ptr, Buf (Hash_Loc)); end if; Load (File, Buf, Ptr, 'E', 'e', Loaded); if Loaded then -- Note: it is strange to allow a minus sign, since the syntax -- does not, but that is what ACVC test CE3704F, case (6) wants -- for the signed case, and there seems no good reason to treat -- exponents differently for the signed and unsigned cases. Load (File, Buf, Ptr, '+', '-'); Load_Digits (File, Buf, Ptr); end if; end if; end Load_Modular; ------------- -- Put_LLU -- ------------- procedure Put_LLU (File : File_Type; Item : Long_Long_Unsigned; Width : Field; Base : Number_Base) is Buf : String (1 .. Field'Last); Ptr : Natural := 0; begin if Base = 10 and then Width = 0 then Set_Image_Long_Long_Unsigned (Item, Buf, Ptr); elsif Base = 10 then Set_Image_Width_Long_Long_Unsigned (Item, Width, Buf, Ptr); else Set_Image_Based_Long_Long_Unsigned (Item, Base, Width, Buf, Ptr); end if; Put_Item (File, Buf (1 .. Ptr)); end Put_LLU; ------------- -- Put_Uns -- ------------- procedure Put_Uns (File : File_Type; Item : Unsigned; Width : Field; Base : Number_Base) is Buf : String (1 .. Field'Last); Ptr : Natural := 0; begin if Base = 10 and then Width = 0 then Set_Image_Unsigned (Item, Buf, Ptr); elsif Base = 10 then Set_Image_Width_Unsigned (Item, Width, Buf, Ptr); else Set_Image_Based_Unsigned (Item, Base, Width, Buf, Ptr); end if; Put_Item (File, Buf (1 .. Ptr)); end Put_Uns; -------------- -- Puts_LLU -- -------------- procedure Puts_LLU (To : out String; Item : Long_Long_Unsigned; Base : Number_Base) is Buf : String (1 .. Field'Last); Ptr : Natural := 0; begin if Base = 10 then Set_Image_Width_Long_Long_Unsigned (Item, To'Length, Buf, Ptr); else Set_Image_Based_Long_Long_Unsigned (Item, Base, To'Length, Buf, Ptr); end if; if Ptr > To'Length then raise Layout_Error; else To (To'First .. To'First + Ptr - 1) := Buf (1 .. Ptr); end if; end Puts_LLU; -------------- -- Puts_Uns -- -------------- procedure Puts_Uns (To : out String; Item : Unsigned; Base : Number_Base) is Buf : String (1 .. Field'Last); Ptr : Natural := 0; begin if Base = 10 then Set_Image_Width_Unsigned (Item, To'Length, Buf, Ptr); else Set_Image_Based_Unsigned (Item, Base, To'Length, Buf, Ptr); end if; if Ptr > To'Length then raise Layout_Error; else To (To'First .. To'First + Ptr - 1) := Buf (1 .. Ptr); end if; end Puts_Uns; end Ada.Wide_Wide_Text_IO.Modular_Aux;
30.173203
79
0.506011
2f2b4ab2a392078422048cc1cfc766972b412070
6,171
ads
Ada
src/numerics.ads
sciencylab/lagrangian-solver
0f77265c1105658a27a9fa316bf5f046ac233774
[ "MIT" ]
null
null
null
src/numerics.ads
sciencylab/lagrangian-solver
0f77265c1105658a27a9fa316bf5f046ac233774
[ "MIT" ]
null
null
null
src/numerics.ads
sciencylab/lagrangian-solver
0f77265c1105658a27a9fa316bf5f046ac233774
[ "MIT" ]
null
null
null
with Ada.Numerics.Generic_Elementary_Functions, Ada.Numerics.Float_Random; with Ada.Numerics, Ada.Containers.Vectors, Ada.Text_IO; package Numerics is π : constant := Ada.Numerics.π; -------- Define types (Real, Int, Pos, Nat) ---------------------- type Real is new Long_Long_Float range Long_Long_Float'First .. Long_Long_Float'Last; subtype Pos is Integer range 0 .. Integer'Last; subtype Nat is Integer range 1 .. Integer'Last; type Sparse_Vector is private; function modulus (X, Y : in Real) return Real with Pre => Y > 0.0; -------- Define array types ----------------------------------- type Real_Vector is array (Nat range <>) of Real; type Real_Matrix is array (Nat range <>, Nat range <>) of Real; type Int_Array is array (Nat range <>) of Integer; type Int_Matrix is array (Nat range <>, Nat range <>) of Integer; package Real_Functions is new Ada.Numerics.Generic_Elementary_Functions (Real); ------- Define Real_IO and Int_IO packages ------------------------ package Int_IO is new Ada.Text_IO.Integer_IO (Integer); package Real_IO is new Ada.Text_IO.Float_IO (Real); -------- Define random variable function ----------------------- function Rand return Real; function Rand (N : in Nat) return Real_Vector; function Sparse (X : in Real_Vector; N : in Pos := 0; Tol : in Real := 10.0 * Real'Small) return Sparse_Vector; ----------- Real_Vector functions --------------------------- function "-" (X : in Real_Vector) return Real_Vector; function "+" (X : in Real_Vector; Y : in Real_Vector) return Real_Vector with Pre => X'Length = Y'Length; function "-" (X : in Real_Vector; Y : in Real_Vector) return Real_Vector with Pre => X'Length = Y'Length; function "*" (Left : in Real; Right : in Real_Vector) return Real_Vector; function "*" (Left : in Real_Vector; Right : in Real) return Real_Vector is (Right * Left); function "/" (Left : in Real_Vector; Right : in Real) return Real_Vector; ----------- Real_Vector functions --------------------------- function "*" (A : in Real_Matrix; X : in Real_Vector) return Real_Vector with Pre => A'Length (2) = X'Length; function Dot (X, Y : in Real_Vector) return Real with Pre => X'Length = Y'Length; ------- Sparse_Vector Functions ---------------------------------------- procedure Print (X : in Sparse_Vector); function Zero (N : in Pos) return Sparse_Vector; function One (I, N : in Nat) return Sparse_Vector; function To_Array (X : in Sparse_Vector) return Real_Vector; procedure Set_Length (X : in out Sparse_Vector; N : in Pos); procedure Set (Item : in out Sparse_Vector; I : in Nat; X : in Real) with Pre => I <= Length (Item); procedure Add (Item : in out Sparse_Vector; I : in Nat; X : in Real) with Pre => I <= Length (Item); function "+" (A, B : in Sparse_Vector) return Sparse_Vector; function "*" (A : in Real; B : in Sparse_Vector) return Sparse_Vector; function "*" (A : in Sparse_Vector; B : in Real) return Sparse_Vector is (B * A); function "/" (A : in Sparse_Vector; B : in Real) return Sparse_Vector is ((1.0 / B) * A); function "-" (A : in Sparse_Vector) return Sparse_Vector is ("*" (-1.0, A)); function "-" (A : in Sparse_Vector) return Real_Vector is (To_Array (-A)); function "-" (A, B : in Sparse_Vector) return Sparse_Vector is (A + (-B)); function "*" (A : in Real_Matrix; B : in Sparse_Vector) return Sparse_Vector; function Remove_1st_N (X : in Sparse_Vector; N : in Pos) return Sparse_Vector; ------- Norm -------------------------- function Norm (X : in Sparse_Vector) return Real; function Length (X : in Sparse_Vector) return Pos; function Norm (X : in Real_Vector) return Real; function Max_Norm (X : in Real_Vector) return Real; -------- Max and Abs_Max functions ------------------ function Max_Int_Array (Item : in Int_Array) return Integer; function Abs_Max_IA (Item : in Int_Array) return Integer; function Max_Real_Array (Item : in Real_Vector) return Real; function Abs_Max_RA (Item : in Real_Vector) return Real; function Max (Item : in Int_Array) return Integer renames Max_Int_Array; function Max (Item : in Real_Vector) return Real renames Max_Real_Array; function Abs_Max (Item : in Int_Array) return Integer renames Abs_Max_IA; function Abs_Max (Item : in Real_Vector) return Real renames Abs_Max_RA; ------- Dot Products --------------------------------- function Dot_Product (Left_I, Right_J : in Int_Array; Left_X, Right_Y : in Real_Vector) return Real with Pre => Left_I'Length = Left_X'Length and Right_J'Length = Right_Y'Length; function "or" (X, Y : in Sparse_Vector) return Sparse_Vector; private Gen : Ada.Numerics.Float_Random.Generator; ------- Define RVector and IVector packages ------------------------ package IV_Package is new Ada.Containers.Vectors (Nat, Integer, "="); package RV_Package is new Ada.Containers.Vectors (Nat, Real, "="); subtype IVector is IV_Package.Vector; subtype RVector is RV_Package.Vector; -- Vectorize & To_Array are needed in Triplet_To_Matrix procedure Set (X : in out RVector; To : in Real_Vector); procedure Set (X : in out IVector; To : in Int_Array); function Vectorize (Item : in Real_Vector) return RVector; function Vectorize (Item : in Int_Array) return IVector; function To_Array (Item : in RVector) return Real_Vector; function To_Array (Item : in IVector) return Int_Array; ----- Vector and Array functions procedure Set_Length (V : in out RVector; N : in Integer); function Length (X : in RVector) return Integer; function Max (X : in IVector) return Integer; function Max (X : in RVector) return Real; type Sparse_Vector is record NMax : Pos := 0; X : RVector; I : IVector; end record; end Numerics;
38.811321
82
0.621941
318aac7b653b7a6760388d3262e04885103e8c67
6,144
adb
Ada
llvm-gcc-4.2-2.9/gcc/ada/stand.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/stand.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/stand.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S T A N D -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992,1993,1994,1995 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System; use System; with Tree_IO; use Tree_IO; package body Stand is --------------- -- Tree_Read -- --------------- procedure Tree_Read is begin Tree_Read_Data (Standard_Entity'Address, Standard_Entity_Array_Type'Size / Storage_Unit); Tree_Read_Int (Int (Standard_Package_Node)); Tree_Read_Int (Int (Last_Standard_Node_Id)); Tree_Read_Int (Int (Last_Standard_List_Id)); Tree_Read_Int (Int (Standard_Void_Type)); Tree_Read_Int (Int (Standard_Exception_Type)); Tree_Read_Int (Int (Standard_A_String)); Tree_Read_Int (Int (Any_Id)); Tree_Read_Int (Int (Any_Type)); Tree_Read_Int (Int (Any_Access)); Tree_Read_Int (Int (Any_Array)); Tree_Read_Int (Int (Any_Boolean)); Tree_Read_Int (Int (Any_Character)); Tree_Read_Int (Int (Any_Composite)); Tree_Read_Int (Int (Any_Discrete)); Tree_Read_Int (Int (Any_Fixed)); Tree_Read_Int (Int (Any_Integer)); Tree_Read_Int (Int (Any_Numeric)); Tree_Read_Int (Int (Any_Real)); Tree_Read_Int (Int (Any_Scalar)); Tree_Read_Int (Int (Any_String)); Tree_Read_Int (Int (Universal_Integer)); Tree_Read_Int (Int (Universal_Real)); Tree_Read_Int (Int (Universal_Fixed)); Tree_Read_Int (Int (Standard_Integer_8)); Tree_Read_Int (Int (Standard_Integer_16)); Tree_Read_Int (Int (Standard_Integer_32)); Tree_Read_Int (Int (Standard_Integer_64)); Tree_Read_Int (Int (Abort_Signal)); Tree_Read_Int (Int (Standard_Op_Rotate_Left)); Tree_Read_Int (Int (Standard_Op_Rotate_Right)); Tree_Read_Int (Int (Standard_Op_Shift_Left)); Tree_Read_Int (Int (Standard_Op_Shift_Right)); Tree_Read_Int (Int (Standard_Op_Shift_Right_Arithmetic)); end Tree_Read; ---------------- -- Tree_Write -- ---------------- procedure Tree_Write is begin Tree_Write_Data (Standard_Entity'Address, Standard_Entity_Array_Type'Size / Storage_Unit); Tree_Write_Int (Int (Standard_Package_Node)); Tree_Write_Int (Int (Last_Standard_Node_Id)); Tree_Write_Int (Int (Last_Standard_List_Id)); Tree_Write_Int (Int (Standard_Void_Type)); Tree_Write_Int (Int (Standard_Exception_Type)); Tree_Write_Int (Int (Standard_A_String)); Tree_Write_Int (Int (Any_Id)); Tree_Write_Int (Int (Any_Type)); Tree_Write_Int (Int (Any_Access)); Tree_Write_Int (Int (Any_Array)); Tree_Write_Int (Int (Any_Boolean)); Tree_Write_Int (Int (Any_Character)); Tree_Write_Int (Int (Any_Composite)); Tree_Write_Int (Int (Any_Discrete)); Tree_Write_Int (Int (Any_Fixed)); Tree_Write_Int (Int (Any_Integer)); Tree_Write_Int (Int (Any_Numeric)); Tree_Write_Int (Int (Any_Real)); Tree_Write_Int (Int (Any_Scalar)); Tree_Write_Int (Int (Any_String)); Tree_Write_Int (Int (Universal_Integer)); Tree_Write_Int (Int (Universal_Real)); Tree_Write_Int (Int (Universal_Fixed)); Tree_Write_Int (Int (Standard_Integer_8)); Tree_Write_Int (Int (Standard_Integer_16)); Tree_Write_Int (Int (Standard_Integer_32)); Tree_Write_Int (Int (Standard_Integer_64)); Tree_Write_Int (Int (Abort_Signal)); Tree_Write_Int (Int (Standard_Op_Rotate_Left)); Tree_Write_Int (Int (Standard_Op_Rotate_Right)); Tree_Write_Int (Int (Standard_Op_Shift_Left)); Tree_Write_Int (Int (Standard_Op_Shift_Right)); Tree_Write_Int (Int (Standard_Op_Shift_Right_Arithmetic)); end Tree_Write; end Stand;
47.261538
78
0.566569
2ff1ccd51b4a4b13140e42d77c5d0a9ca80f08d2
9,669
adb
Ada
arbitrary/e_jacobi_eigen.adb
jscparker/math_packages
b112a90338014d5c2dfae3f7265ee30841fb6cfd
[ "ISC", "MIT" ]
30
2018-12-09T01:15:04.000Z
2022-03-20T16:14:54.000Z
arbitrary/e_jacobi_eigen.adb
jscparker/math_packages
b112a90338014d5c2dfae3f7265ee30841fb6cfd
[ "ISC", "MIT" ]
null
null
null
arbitrary/e_jacobi_eigen.adb
jscparker/math_packages
b112a90338014d5c2dfae3f7265ee30841fb6cfd
[ "ISC", "MIT" ]
null
null
null
----------------------------------------------------------------------- -- package body e_Jacobi_Eigen, extended precision Jacobi eigen-decomposition -- Copyright (C) 2008-2018 Jonathan S. Parker -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------- package body e_Jacobi_Eigen is Reciprocal_Epsilon : constant Real := One / e_Real_Model_Epsilon; --------------------------------- -- Get_Jacobi_Rotation_Factors -- --------------------------------- -- all underflows are OK here. -- no overflows are OK here. -- so we test for Q / P overflows by calculating P / Q procedure Get_Jacobi_Rotation_Factors (P, Q : in Real; s : out Real; tau : out Real; Delta_D : out Real) is t, Gamma : Real; -- function "/" (x, y : Real) return Real renames Divide; -- faster than stnd "/", but scarcely matters. begin s := Zero; tau := Zero; Delta_D := Zero; if Abs (Q) > e_Real_Safe_Min and then Abs (P) > e_Real_Safe_Min and then Abs (Q) < e_Real_Safe_Max and then Abs (P) < e_Real_Safe_Max then -- Following Gamma is usually the more accurate. Gamma := P / (Abs (Q) + Sqrt (P*P + Q*Q)); if Q < Zero then Gamma := -Gamma; end if; -- usual case overwhelmingly. If you scale matrix to unit Norm, -- then no overflows because Matrix norm is preserved, preventing -- large P, Q if they are not large to begin with. (So the above -- tests for < e_Real_Safe_Max would be unnecessary.) -- (Requires scaling of matrix prior to decomposition to be -- absolutely sure.) -- Should be able to do the following w/o any tests of p,q if don't care -- about quality of answer in P < e_Safe_Small, Q < e_Safe_Small limit. -- --Gamma := P / (Abs(Q) + Sqrt (P*P + Q*Q) + e_Safe_Small); --if Q < Zero then Gamma := -Gamma; end if; elsif Abs (Q) > Abs (P) then -- Abs (P) > 0 was a tested before arrival, which implies Abs (Q) > 0. t := P / Q; Gamma := t / (One + Sqrt (One + t*t)); -- Underflow OK; overflow not allowed. elsif Abs (P) >= Abs (Q) then t := Q / P; Gamma := One / (Abs (t) + Sqrt (One + t*t)); -- Underflow OK; overflow not allowed. if t < Zero then Gamma := -Gamma; end if; else return; -- must have hit some inf's. Use stnd rotation init'd above. end if; declare c : Real; begin c := Reciprocal_Sqrt (One + Gamma*Gamma); -- Cosine (ok) --c := Sqrt (One / (One + Gamma*Gamma)); -- Cosine s := c * Gamma; -- Sine tau := s / (One + c); -- -cos_minus_1_over_sin Delta_D := P * Gamma; end; end Get_Jacobi_Rotation_Factors; --------------------- -- Eigen_Decompose -- --------------------- procedure Eigen_Decompose (A : in out Matrix; Q_tr : out Matrix; Eigenvals : out Col_Vector; No_of_Sweeps_Performed : out Natural; Total_No_of_Rotations : out Natural; Start_Col : in Index := Index'First; Final_Col : in Index := Index'Last; Eigenvectors_Desired : in Boolean := False) is D : Col_Vector renames Eigenvals; Z, B : Col_Vector; Max_Allowed_No_of_Sweeps : constant Positive := 256; -- badly scaled need lots No_of_Preliminary_Sweeps : constant Positive := 14; --Reciprocal_Epsilon : constant Real := One / e_Real_Model_Epsilon; -- Good stnd setting for the effective eps is: Real'Epsilon * Two**(-2). -- Usually, Real'Epsilon := 2.0**(-50) for 15 digit Reals. Matrix_Size : constant Real_8 := Real_8(Final_Col) - Real_8(Start_Col) + 1.0; No_of_Off_Diag_Elements : constant Real_8 := 0.5*Matrix_Size*(Matrix_Size-1.0); Mean_Off_Diagonal_Element_Size : Real; s, g, h, tau : Real; -- Rutishauser variable names. Q, Delta_D : Real; Sum, Pivot, Threshold : Real; begin -- Initialize all out parameters. D renames Eigenvals. -- Q_tr starts as Identity; is rotated into set of Eigenvectors of A. Q_tr := (others => (others => Zero)); for j in Index loop Q_tr(j,j) := One; end loop; Z := (others => Zero); B := (others => Zero); D := (others => Zero); for j in Start_Col .. Final_Col loop -- assume A not all init D(j) := A(j,j); B(j) := A(j,j); end loop; No_of_Sweeps_Performed := 0; Total_No_of_Rotations := 0; if Matrix_Size <= 1.0 then return; end if; -- right answer for Size=1. Sweep: for Sweep_id in 1 .. Max_Allowed_No_of_Sweeps loop Sum := Zero; for N in Start_Col .. Final_Col-1 loop --sum off-diagonal elements for I in N+1 .. Final_Col loop Sum := Sum + Abs (A(N,I)); end loop; end loop; Mean_Off_Diagonal_Element_Size := Sum / (+No_of_Off_Diag_Elements); exit Sweep when Mean_Off_Diagonal_Element_Size < Min_Allowed_Real; if Sweep_id > No_of_Preliminary_Sweeps then Threshold := Zero; else Threshold := One * Mean_Off_Diagonal_Element_Size; end if; for N in Start_Col .. Final_Col-1 loop for I in N+1 .. Final_Col loop Pivot := A(N,I); -- Have to zero out sufficiently small A(I,N) to get convergence, -- ie, to get Off_Diag_Sum -> 0.0. -- After 4 sweeps all A(I,N) are small so that -- A(I,N) / Epsilon will never overflow. The test is -- A(I,N) / Epsilon <= Abs D(I) and A(I,N) / Epsilon <= Abs D(N). if (Sweep_id > No_of_Preliminary_Sweeps) and then (Reciprocal_Epsilon * Abs (Pivot) <= Abs D(N)) and then (Reciprocal_Epsilon * Abs (Pivot) <= Abs D(I)) then A(N,I) := Zero; elsif Abs (Pivot) > Threshold then Q := Half * (D(I) - D(N)); Get_Jacobi_Rotation_Factors (Pivot, Q, s, tau, Delta_D); -- Pivot=A(N,I) D(N) := D(N) - Delta_D; -- Locally D is only used for threshold test. D(I) := D(I) + Delta_D; Z(N) := Z(N) - Delta_D; -- Z is reinitialized to 0 each sweep, so Z Z(I) := Z(I) + Delta_D; -- sums the small d's 1st. Helps a tad. A(N,I) := Zero; for j in Start_Col .. N-1 loop g := A(j,N); h := A(j,I); A(j,N) := g-s*(h+g*tau); A(j,I) := h+s*(g-h*tau); end loop; for j in N+1 .. I-1 loop g := A(N,j); h := A(j,I); A(N,j) := g-s*(h+g*tau); A(j,I) := h+s*(g-h*tau); end loop; for j in I+1 .. Final_Col loop g := A(N,j); h := A(I,j); A(N,j) := g-s*(h+g*tau); A(I,j) := h+s*(g-h*tau); end loop; if Eigenvectors_Desired then for j in Start_Col .. Final_Col loop g := Q_tr(N,j); h := Q_tr(I,j); Q_tr(N,j) := g-s*(h+g*tau); Q_tr(I,j) := h+s*(g-h*tau); end loop; end if; Total_No_of_Rotations := Total_No_of_Rotations + 1; end if; -- if (Sweep_id > No_of_Preliminary_Sweeps) end loop; --I loop (Col) end loop; --N loop (Row) for j in Start_Col .. Final_Col loop -- assume A not all initialized B(j) := B(j) + Z(j); D(j) := B(j); Z(j) := Zero; end loop; end loop Sweep; --Sweep_id loop end Eigen_Decompose; --------------- -- Sort_Eigs -- --------------- procedure Sort_Eigs (Eigenvals : in out Col_Vector; Q_tr : in out Matrix; -- rows are the eigvectors Start_Col : in Index := Index'First; Final_Col : in Index := Index'Last; Sort_Eigvecs_Also : in Boolean := False) is Max_Eig, tmp : Real; Max_id : Index; begin if Start_Col < Final_Col then for i in Start_Col .. Final_Col-1 loop Max_Eig := Eigenvals(i); Max_id := i; for j in i+1 .. Final_Col loop if Eigenvals(j) > Max_Eig then Max_Eig := Eigenvals(j); Max_id := j; end if; end loop; tmp := Eigenvals(i); Eigenvals(i) := Max_Eig; Eigenvals(Max_id) := tmp; -- swap rows of Q_tr: if Sort_Eigvecs_Also then for k in Start_Col .. Final_Col loop tmp := Q_tr(i,k); Q_tr(i,k) := Q_tr(Max_id,k); Q_tr(Max_id,k) := tmp; end loop; end if; end loop; end if; end Sort_Eigs; end e_Jacobi_Eigen;
31.701639
84
0.533044
59f496c20e238415ebd81f3bd93dd5250d7b157f
1,939
ads
Ada
boards/stm32f746_discovery/src/full/adl_config.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
6
2017-05-28T04:37:11.000Z
2020-11-22T11:26:19.000Z
boards/stm32f746_discovery/src/full/adl_config.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
2
2019-08-30T10:57:40.000Z
2020-02-11T21:34:14.000Z
boards/stm32f746_discovery/src/full/adl_config.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
2
2017-02-07T19:42:02.000Z
2020-11-22T11:26:20.000Z
-- This package was generated by the Ada_Drivers_Library project wizard script package ADL_Config is Vendor : constant String := "STMicro"; -- From board definition Max_Mount_Points : constant := 2; -- From default value Max_Mount_Name_Length : constant := 128; -- From default value Runtime_Profile : constant String := "ravenscar-full"; -- From command line Device_Name : constant String := "STM32F746NGHx"; -- From board definition Device_Family : constant String := "STM32F7"; -- From board definition Has_Ravenscar_SFP_Runtime : constant String := "True"; -- From board definition Runtime_Name : constant String := "ravenscar-full-stm32f746disco"; -- From default value Has_Ravenscar_Full_Runtime : constant String := "True"; -- From board definition CPU_Core : constant String := "ARM Cortex-M7F"; -- From mcu definition Board : constant String := "STM32F746_Discovery"; -- From command line Has_ZFP_Runtime : constant String := "False"; -- From board definition Number_Of_Interrupts : constant := 0; -- From default value High_Speed_External_Clock : constant := 25000000; -- From board definition Use_Startup_Gen : constant Boolean := False; -- From command line Max_Path_Length : constant := 1024; -- From default value Runtime_Name_Suffix : constant String := "stm32f746disco"; -- From board definition Architecture : constant String := "ARM"; -- From board definition end ADL_Config;
88.136364
110
0.548221
0be9cabadf90235c3ca9a6bf26dc590e52026eea
27,743
ads
Ada
bb-runtimes/arm/stm32/stm32f7x/svd/i-stm32-usart.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/arm/stm32/stm32f7x/svd/i-stm32-usart.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/arm/stm32/stm32f7x/svd/i-stm32-usart.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
-- -- Copyright (C) 2017, AdaCore -- -- This spec has been automatically generated from STM32F7x.svd pragma Ada_2012; pragma Style_Checks (Off); with System; package Interfaces.STM32.USART is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Registers -- --------------- subtype CR1_UE_Field is Interfaces.STM32.Bit; subtype CR1_UESM_Field is Interfaces.STM32.Bit; subtype CR1_RE_Field is Interfaces.STM32.Bit; subtype CR1_TE_Field is Interfaces.STM32.Bit; subtype CR1_IDLEIE_Field is Interfaces.STM32.Bit; subtype CR1_RXNEIE_Field is Interfaces.STM32.Bit; subtype CR1_TCIE_Field is Interfaces.STM32.Bit; subtype CR1_TXEIE_Field is Interfaces.STM32.Bit; subtype CR1_PEIE_Field is Interfaces.STM32.Bit; subtype CR1_PS_Field is Interfaces.STM32.Bit; subtype CR1_PCE_Field is Interfaces.STM32.Bit; subtype CR1_WAKE_Field is Interfaces.STM32.Bit; subtype CR1_M0_Field is Interfaces.STM32.Bit; subtype CR1_MME_Field is Interfaces.STM32.Bit; subtype CR1_CMIE_Field is Interfaces.STM32.Bit; subtype CR1_OVER8_Field is Interfaces.STM32.Bit; -- CR1_DEDT array element subtype CR1_DEDT_Element is Interfaces.STM32.Bit; -- CR1_DEDT array type CR1_DEDT_Field_Array is array (0 .. 4) of CR1_DEDT_Element with Component_Size => 1, Size => 5; -- Type definition for CR1_DEDT type CR1_DEDT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- DEDT as a value Val : Interfaces.STM32.UInt5; when True => -- DEDT as an array Arr : CR1_DEDT_Field_Array; end case; end record with Unchecked_Union, Size => 5; for CR1_DEDT_Field use record Val at 0 range 0 .. 4; Arr at 0 range 0 .. 4; end record; -- CR1_DEAT array element subtype CR1_DEAT_Element is Interfaces.STM32.Bit; -- CR1_DEAT array type CR1_DEAT_Field_Array is array (0 .. 4) of CR1_DEAT_Element with Component_Size => 1, Size => 5; -- Type definition for CR1_DEAT type CR1_DEAT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- DEAT as a value Val : Interfaces.STM32.UInt5; when True => -- DEAT as an array Arr : CR1_DEAT_Field_Array; end case; end record with Unchecked_Union, Size => 5; for CR1_DEAT_Field use record Val at 0 range 0 .. 4; Arr at 0 range 0 .. 4; end record; subtype CR1_RTOIE_Field is Interfaces.STM32.Bit; subtype CR1_EOBIE_Field is Interfaces.STM32.Bit; subtype CR1_M1_Field is Interfaces.STM32.Bit; -- Control register 1 type CR1_Register is record -- USART enable UE : CR1_UE_Field := 16#0#; -- USART enable in Stop mode UESM : CR1_UESM_Field := 16#0#; -- Receiver enable RE : CR1_RE_Field := 16#0#; -- Transmitter enable TE : CR1_TE_Field := 16#0#; -- IDLE interrupt enable IDLEIE : CR1_IDLEIE_Field := 16#0#; -- RXNE interrupt enable RXNEIE : CR1_RXNEIE_Field := 16#0#; -- Transmission complete interrupt enable TCIE : CR1_TCIE_Field := 16#0#; -- interrupt enable TXEIE : CR1_TXEIE_Field := 16#0#; -- PE interrupt enable PEIE : CR1_PEIE_Field := 16#0#; -- Parity selection PS : CR1_PS_Field := 16#0#; -- Parity control enable PCE : CR1_PCE_Field := 16#0#; -- Receiver wakeup method WAKE : CR1_WAKE_Field := 16#0#; -- Word length M0 : CR1_M0_Field := 16#0#; -- Mute mode enable MME : CR1_MME_Field := 16#0#; -- Character match interrupt enable CMIE : CR1_CMIE_Field := 16#0#; -- Oversampling mode OVER8 : CR1_OVER8_Field := 16#0#; -- DEDT0 DEDT : CR1_DEDT_Field := (As_Array => False, Val => 16#0#); -- DEAT0 DEAT : CR1_DEAT_Field := (As_Array => False, Val => 16#0#); -- Receiver timeout interrupt enable RTOIE : CR1_RTOIE_Field := 16#0#; -- End of Block interrupt enable EOBIE : CR1_EOBIE_Field := 16#0#; -- Word length M1 : CR1_M1_Field := 16#0#; -- unspecified Reserved_29_31 : Interfaces.STM32.UInt3 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR1_Register use record UE at 0 range 0 .. 0; UESM at 0 range 1 .. 1; RE at 0 range 2 .. 2; TE at 0 range 3 .. 3; IDLEIE at 0 range 4 .. 4; RXNEIE at 0 range 5 .. 5; TCIE at 0 range 6 .. 6; TXEIE at 0 range 7 .. 7; PEIE at 0 range 8 .. 8; PS at 0 range 9 .. 9; PCE at 0 range 10 .. 10; WAKE at 0 range 11 .. 11; M0 at 0 range 12 .. 12; MME at 0 range 13 .. 13; CMIE at 0 range 14 .. 14; OVER8 at 0 range 15 .. 15; DEDT at 0 range 16 .. 20; DEAT at 0 range 21 .. 25; RTOIE at 0 range 26 .. 26; EOBIE at 0 range 27 .. 27; M1 at 0 range 28 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype CR2_ADDM7_Field is Interfaces.STM32.Bit; subtype CR2_LBDL_Field is Interfaces.STM32.Bit; subtype CR2_LBDIE_Field is Interfaces.STM32.Bit; subtype CR2_LBCL_Field is Interfaces.STM32.Bit; subtype CR2_CPHA_Field is Interfaces.STM32.Bit; subtype CR2_CPOL_Field is Interfaces.STM32.Bit; subtype CR2_CLKEN_Field is Interfaces.STM32.Bit; subtype CR2_STOP_Field is Interfaces.STM32.UInt2; subtype CR2_LINEN_Field is Interfaces.STM32.Bit; subtype CR2_SWAP_Field is Interfaces.STM32.Bit; subtype CR2_RXINV_Field is Interfaces.STM32.Bit; subtype CR2_TXINV_Field is Interfaces.STM32.Bit; subtype CR2_TAINV_Field is Interfaces.STM32.Bit; subtype CR2_MSBFIRST_Field is Interfaces.STM32.Bit; subtype CR2_ABREN_Field is Interfaces.STM32.Bit; -- CR2_ABRMOD array element subtype CR2_ABRMOD_Element is Interfaces.STM32.Bit; -- CR2_ABRMOD array type CR2_ABRMOD_Field_Array is array (0 .. 1) of CR2_ABRMOD_Element with Component_Size => 1, Size => 2; -- Type definition for CR2_ABRMOD type CR2_ABRMOD_Field (As_Array : Boolean := False) is record case As_Array is when False => -- ABRMOD as a value Val : Interfaces.STM32.UInt2; when True => -- ABRMOD as an array Arr : CR2_ABRMOD_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CR2_ABRMOD_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; subtype CR2_RTOEN_Field is Interfaces.STM32.Bit; subtype CR2_ADD0_3_Field is Interfaces.STM32.UInt4; subtype CR2_ADD4_7_Field is Interfaces.STM32.UInt4; -- Control register 2 type CR2_Register is record -- unspecified Reserved_0_3 : Interfaces.STM32.UInt4 := 16#0#; -- 7-bit Address Detection/4-bit Address Detection ADDM7 : CR2_ADDM7_Field := 16#0#; -- LIN break detection length LBDL : CR2_LBDL_Field := 16#0#; -- LIN break detection interrupt enable LBDIE : CR2_LBDIE_Field := 16#0#; -- unspecified Reserved_7_7 : Interfaces.STM32.Bit := 16#0#; -- Last bit clock pulse LBCL : CR2_LBCL_Field := 16#0#; -- Clock phase CPHA : CR2_CPHA_Field := 16#0#; -- Clock polarity CPOL : CR2_CPOL_Field := 16#0#; -- Clock enable CLKEN : CR2_CLKEN_Field := 16#0#; -- STOP bits STOP : CR2_STOP_Field := 16#0#; -- LIN mode enable LINEN : CR2_LINEN_Field := 16#0#; -- Swap TX/RX pins SWAP : CR2_SWAP_Field := 16#0#; -- RX pin active level inversion RXINV : CR2_RXINV_Field := 16#0#; -- TX pin active level inversion TXINV : CR2_TXINV_Field := 16#0#; -- Binary data inversion TAINV : CR2_TAINV_Field := 16#0#; -- Most significant bit first MSBFIRST : CR2_MSBFIRST_Field := 16#0#; -- Auto baud rate enable ABREN : CR2_ABREN_Field := 16#0#; -- ABRMOD0 ABRMOD : CR2_ABRMOD_Field := (As_Array => False, Val => 16#0#); -- Receiver timeout enable RTOEN : CR2_RTOEN_Field := 16#0#; -- Address of the USART node ADD0_3 : CR2_ADD0_3_Field := 16#0#; -- Address of the USART node ADD4_7 : CR2_ADD4_7_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register use record Reserved_0_3 at 0 range 0 .. 3; ADDM7 at 0 range 4 .. 4; LBDL at 0 range 5 .. 5; LBDIE at 0 range 6 .. 6; Reserved_7_7 at 0 range 7 .. 7; LBCL at 0 range 8 .. 8; CPHA at 0 range 9 .. 9; CPOL at 0 range 10 .. 10; CLKEN at 0 range 11 .. 11; STOP at 0 range 12 .. 13; LINEN at 0 range 14 .. 14; SWAP at 0 range 15 .. 15; RXINV at 0 range 16 .. 16; TXINV at 0 range 17 .. 17; TAINV at 0 range 18 .. 18; MSBFIRST at 0 range 19 .. 19; ABREN at 0 range 20 .. 20; ABRMOD at 0 range 21 .. 22; RTOEN at 0 range 23 .. 23; ADD0_3 at 0 range 24 .. 27; ADD4_7 at 0 range 28 .. 31; end record; subtype CR3_EIE_Field is Interfaces.STM32.Bit; subtype CR3_IREN_Field is Interfaces.STM32.Bit; subtype CR3_IRLP_Field is Interfaces.STM32.Bit; subtype CR3_HDSEL_Field is Interfaces.STM32.Bit; subtype CR3_NACK_Field is Interfaces.STM32.Bit; subtype CR3_SCEN_Field is Interfaces.STM32.Bit; subtype CR3_DMAR_Field is Interfaces.STM32.Bit; subtype CR3_DMAT_Field is Interfaces.STM32.Bit; subtype CR3_RTSE_Field is Interfaces.STM32.Bit; subtype CR3_CTSE_Field is Interfaces.STM32.Bit; subtype CR3_CTSIE_Field is Interfaces.STM32.Bit; subtype CR3_ONEBIT_Field is Interfaces.STM32.Bit; subtype CR3_OVRDIS_Field is Interfaces.STM32.Bit; subtype CR3_DDRE_Field is Interfaces.STM32.Bit; subtype CR3_DEM_Field is Interfaces.STM32.Bit; subtype CR3_DEP_Field is Interfaces.STM32.Bit; subtype CR3_SCARCNT_Field is Interfaces.STM32.UInt3; subtype CR3_WUS_Field is Interfaces.STM32.UInt2; subtype CR3_WUFIE_Field is Interfaces.STM32.Bit; -- Control register 3 type CR3_Register is record -- Error interrupt enable EIE : CR3_EIE_Field := 16#0#; -- Ir mode enable IREN : CR3_IREN_Field := 16#0#; -- Ir low-power IRLP : CR3_IRLP_Field := 16#0#; -- Half-duplex selection HDSEL : CR3_HDSEL_Field := 16#0#; -- Smartcard NACK enable NACK : CR3_NACK_Field := 16#0#; -- Smartcard mode enable SCEN : CR3_SCEN_Field := 16#0#; -- DMA enable receiver DMAR : CR3_DMAR_Field := 16#0#; -- DMA enable transmitter DMAT : CR3_DMAT_Field := 16#0#; -- RTS enable RTSE : CR3_RTSE_Field := 16#0#; -- CTS enable CTSE : CR3_CTSE_Field := 16#0#; -- CTS interrupt enable CTSIE : CR3_CTSIE_Field := 16#0#; -- One sample bit method enable ONEBIT : CR3_ONEBIT_Field := 16#0#; -- Overrun Disable OVRDIS : CR3_OVRDIS_Field := 16#0#; -- DMA Disable on Reception Error DDRE : CR3_DDRE_Field := 16#0#; -- Driver enable mode DEM : CR3_DEM_Field := 16#0#; -- Driver enable polarity selection DEP : CR3_DEP_Field := 16#0#; -- unspecified Reserved_16_16 : Interfaces.STM32.Bit := 16#0#; -- Smartcard auto-retry count SCARCNT : CR3_SCARCNT_Field := 16#0#; -- Wakeup from Stop mode interrupt flag selection WUS : CR3_WUS_Field := 16#0#; -- Wakeup from Stop mode interrupt enable WUFIE : CR3_WUFIE_Field := 16#0#; -- unspecified Reserved_23_31 : Interfaces.STM32.UInt9 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR3_Register use record EIE at 0 range 0 .. 0; IREN at 0 range 1 .. 1; IRLP at 0 range 2 .. 2; HDSEL at 0 range 3 .. 3; NACK at 0 range 4 .. 4; SCEN at 0 range 5 .. 5; DMAR at 0 range 6 .. 6; DMAT at 0 range 7 .. 7; RTSE at 0 range 8 .. 8; CTSE at 0 range 9 .. 9; CTSIE at 0 range 10 .. 10; ONEBIT at 0 range 11 .. 11; OVRDIS at 0 range 12 .. 12; DDRE at 0 range 13 .. 13; DEM at 0 range 14 .. 14; DEP at 0 range 15 .. 15; Reserved_16_16 at 0 range 16 .. 16; SCARCNT at 0 range 17 .. 19; WUS at 0 range 20 .. 21; WUFIE at 0 range 22 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; subtype BRR_DIV_Fraction_Field is Interfaces.STM32.UInt4; subtype BRR_DIV_Mantissa_Field is Interfaces.STM32.UInt12; -- Baud rate register type BRR_Register is record -- DIV_Fraction DIV_Fraction : BRR_DIV_Fraction_Field := 16#0#; -- DIV_Mantissa DIV_Mantissa : BRR_DIV_Mantissa_Field := 16#0#; -- unspecified Reserved_16_31 : Interfaces.STM32.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for BRR_Register use record DIV_Fraction at 0 range 0 .. 3; DIV_Mantissa at 0 range 4 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype GTPR_PSC_Field is Interfaces.STM32.Byte; subtype GTPR_GT_Field is Interfaces.STM32.Byte; -- Guard time and prescaler register type GTPR_Register is record -- Prescaler value PSC : GTPR_PSC_Field := 16#0#; -- Guard time value GT : GTPR_GT_Field := 16#0#; -- unspecified Reserved_16_31 : Interfaces.STM32.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for GTPR_Register use record PSC at 0 range 0 .. 7; GT at 0 range 8 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype RTOR_RTO_Field is Interfaces.STM32.UInt24; subtype RTOR_BLEN_Field is Interfaces.STM32.Byte; -- Receiver timeout register type RTOR_Register is record -- Receiver timeout value RTO : RTOR_RTO_Field := 16#0#; -- Block Length BLEN : RTOR_BLEN_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTOR_Register use record RTO at 0 range 0 .. 23; BLEN at 0 range 24 .. 31; end record; subtype RQR_ABRRQ_Field is Interfaces.STM32.Bit; subtype RQR_SBKRQ_Field is Interfaces.STM32.Bit; subtype RQR_MMRQ_Field is Interfaces.STM32.Bit; subtype RQR_RXFRQ_Field is Interfaces.STM32.Bit; subtype RQR_TXFRQ_Field is Interfaces.STM32.Bit; -- Request register type RQR_Register is record -- Write-only. Auto baud rate request ABRRQ : RQR_ABRRQ_Field := 16#0#; -- Write-only. Send break request SBKRQ : RQR_SBKRQ_Field := 16#0#; -- Write-only. Mute mode request MMRQ : RQR_MMRQ_Field := 16#0#; -- Write-only. Receive data flush request RXFRQ : RQR_RXFRQ_Field := 16#0#; -- Write-only. Transmit data flush request TXFRQ : RQR_TXFRQ_Field := 16#0#; -- unspecified Reserved_5_31 : Interfaces.STM32.UInt27 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RQR_Register use record ABRRQ at 0 range 0 .. 0; SBKRQ at 0 range 1 .. 1; MMRQ at 0 range 2 .. 2; RXFRQ at 0 range 3 .. 3; TXFRQ at 0 range 4 .. 4; Reserved_5_31 at 0 range 5 .. 31; end record; subtype ISR_PE_Field is Interfaces.STM32.Bit; subtype ISR_FE_Field is Interfaces.STM32.Bit; subtype ISR_NF_Field is Interfaces.STM32.Bit; subtype ISR_ORE_Field is Interfaces.STM32.Bit; subtype ISR_IDLE_Field is Interfaces.STM32.Bit; subtype ISR_RXNE_Field is Interfaces.STM32.Bit; subtype ISR_TC_Field is Interfaces.STM32.Bit; subtype ISR_TXE_Field is Interfaces.STM32.Bit; subtype ISR_LBDF_Field is Interfaces.STM32.Bit; subtype ISR_CTSIF_Field is Interfaces.STM32.Bit; subtype ISR_CTS_Field is Interfaces.STM32.Bit; subtype ISR_RTOF_Field is Interfaces.STM32.Bit; subtype ISR_EOBF_Field is Interfaces.STM32.Bit; subtype ISR_ABRE_Field is Interfaces.STM32.Bit; subtype ISR_ABRF_Field is Interfaces.STM32.Bit; subtype ISR_BUSY_Field is Interfaces.STM32.Bit; subtype ISR_CMF_Field is Interfaces.STM32.Bit; subtype ISR_SBKF_Field is Interfaces.STM32.Bit; subtype ISR_RWU_Field is Interfaces.STM32.Bit; subtype ISR_WUF_Field is Interfaces.STM32.Bit; subtype ISR_TEACK_Field is Interfaces.STM32.Bit; subtype ISR_REACK_Field is Interfaces.STM32.Bit; -- Interrupt & status register type ISR_Register is record -- Read-only. PE PE : ISR_PE_Field; -- Read-only. FE FE : ISR_FE_Field; -- Read-only. NF NF : ISR_NF_Field; -- Read-only. ORE ORE : ISR_ORE_Field; -- Read-only. IDLE IDLE : ISR_IDLE_Field; -- Read-only. RXNE RXNE : ISR_RXNE_Field; -- Read-only. TC TC : ISR_TC_Field; -- Read-only. TXE TXE : ISR_TXE_Field; -- Read-only. LBDF LBDF : ISR_LBDF_Field; -- Read-only. CTSIF CTSIF : ISR_CTSIF_Field; -- Read-only. CTS CTS : ISR_CTS_Field; -- Read-only. RTOF RTOF : ISR_RTOF_Field; -- Read-only. EOBF EOBF : ISR_EOBF_Field; -- unspecified Reserved_13_13 : Interfaces.STM32.Bit; -- Read-only. ABRE ABRE : ISR_ABRE_Field; -- Read-only. ABRF ABRF : ISR_ABRF_Field; -- Read-only. BUSY BUSY : ISR_BUSY_Field; -- Read-only. CMF CMF : ISR_CMF_Field; -- Read-only. SBKF SBKF : ISR_SBKF_Field; -- Read-only. RWU RWU : ISR_RWU_Field; -- Read-only. WUF WUF : ISR_WUF_Field; -- Read-only. TEACK TEACK : ISR_TEACK_Field; -- Read-only. REACK REACK : ISR_REACK_Field; -- unspecified Reserved_23_31 : Interfaces.STM32.UInt9; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ISR_Register use record PE at 0 range 0 .. 0; FE at 0 range 1 .. 1; NF at 0 range 2 .. 2; ORE at 0 range 3 .. 3; IDLE at 0 range 4 .. 4; RXNE at 0 range 5 .. 5; TC at 0 range 6 .. 6; TXE at 0 range 7 .. 7; LBDF at 0 range 8 .. 8; CTSIF at 0 range 9 .. 9; CTS at 0 range 10 .. 10; RTOF at 0 range 11 .. 11; EOBF at 0 range 12 .. 12; Reserved_13_13 at 0 range 13 .. 13; ABRE at 0 range 14 .. 14; ABRF at 0 range 15 .. 15; BUSY at 0 range 16 .. 16; CMF at 0 range 17 .. 17; SBKF at 0 range 18 .. 18; RWU at 0 range 19 .. 19; WUF at 0 range 20 .. 20; TEACK at 0 range 21 .. 21; REACK at 0 range 22 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; subtype ICR_PECF_Field is Interfaces.STM32.Bit; subtype ICR_FECF_Field is Interfaces.STM32.Bit; subtype ICR_NCF_Field is Interfaces.STM32.Bit; subtype ICR_ORECF_Field is Interfaces.STM32.Bit; subtype ICR_IDLECF_Field is Interfaces.STM32.Bit; subtype ICR_TCCF_Field is Interfaces.STM32.Bit; subtype ICR_LBDCF_Field is Interfaces.STM32.Bit; subtype ICR_CTSCF_Field is Interfaces.STM32.Bit; subtype ICR_RTOCF_Field is Interfaces.STM32.Bit; subtype ICR_EOBCF_Field is Interfaces.STM32.Bit; subtype ICR_CMCF_Field is Interfaces.STM32.Bit; subtype ICR_WUCF_Field is Interfaces.STM32.Bit; -- Interrupt flag clear register type ICR_Register is record -- Write-only. Parity error clear flag PECF : ICR_PECF_Field := 16#0#; -- Write-only. Framing error clear flag FECF : ICR_FECF_Field := 16#0#; -- Write-only. Noise detected clear flag NCF : ICR_NCF_Field := 16#0#; -- Write-only. Overrun error clear flag ORECF : ICR_ORECF_Field := 16#0#; -- Write-only. Idle line detected clear flag IDLECF : ICR_IDLECF_Field := 16#0#; -- unspecified Reserved_5_5 : Interfaces.STM32.Bit := 16#0#; -- Write-only. Transmission complete clear flag TCCF : ICR_TCCF_Field := 16#0#; -- unspecified Reserved_7_7 : Interfaces.STM32.Bit := 16#0#; -- Write-only. LIN break detection clear flag LBDCF : ICR_LBDCF_Field := 16#0#; -- Write-only. CTS clear flag CTSCF : ICR_CTSCF_Field := 16#0#; -- unspecified Reserved_10_10 : Interfaces.STM32.Bit := 16#0#; -- Write-only. Receiver timeout clear flag RTOCF : ICR_RTOCF_Field := 16#0#; -- Write-only. End of block clear flag EOBCF : ICR_EOBCF_Field := 16#0#; -- unspecified Reserved_13_16 : Interfaces.STM32.UInt4 := 16#0#; -- Write-only. Character match clear flag CMCF : ICR_CMCF_Field := 16#0#; -- unspecified Reserved_18_19 : Interfaces.STM32.UInt2 := 16#0#; -- Write-only. Wakeup from Stop mode clear flag WUCF : ICR_WUCF_Field := 16#0#; -- unspecified Reserved_21_31 : Interfaces.STM32.UInt11 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ICR_Register use record PECF at 0 range 0 .. 0; FECF at 0 range 1 .. 1; NCF at 0 range 2 .. 2; ORECF at 0 range 3 .. 3; IDLECF at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; TCCF at 0 range 6 .. 6; Reserved_7_7 at 0 range 7 .. 7; LBDCF at 0 range 8 .. 8; CTSCF at 0 range 9 .. 9; Reserved_10_10 at 0 range 10 .. 10; RTOCF at 0 range 11 .. 11; EOBCF at 0 range 12 .. 12; Reserved_13_16 at 0 range 13 .. 16; CMCF at 0 range 17 .. 17; Reserved_18_19 at 0 range 18 .. 19; WUCF at 0 range 20 .. 20; Reserved_21_31 at 0 range 21 .. 31; end record; subtype RDR_RDR_Field is Interfaces.STM32.UInt9; -- Receive data register type RDR_Register is record -- Read-only. Receive data value RDR : RDR_RDR_Field; -- unspecified Reserved_9_31 : Interfaces.STM32.UInt23; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RDR_Register use record RDR at 0 range 0 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; subtype TDR_TDR_Field is Interfaces.STM32.UInt9; -- Transmit data register type TDR_Register is record -- Transmit data value TDR : TDR_TDR_Field := 16#0#; -- unspecified Reserved_9_31 : Interfaces.STM32.UInt23 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for TDR_Register use record TDR at 0 range 0 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Universal synchronous asynchronous receiver transmitter type USART_Peripheral is record -- Control register 1 CR1 : aliased CR1_Register; -- Control register 2 CR2 : aliased CR2_Register; -- Control register 3 CR3 : aliased CR3_Register; -- Baud rate register BRR : aliased BRR_Register; -- Guard time and prescaler register GTPR : aliased GTPR_Register; -- Receiver timeout register RTOR : aliased RTOR_Register; -- Request register RQR : aliased RQR_Register; -- Interrupt & status register ISR : aliased ISR_Register; -- Interrupt flag clear register ICR : aliased ICR_Register; -- Receive data register RDR : aliased RDR_Register; -- Transmit data register TDR : aliased TDR_Register; end record with Volatile; for USART_Peripheral use record CR1 at 16#0# range 0 .. 31; CR2 at 16#4# range 0 .. 31; CR3 at 16#8# range 0 .. 31; BRR at 16#C# range 0 .. 31; GTPR at 16#10# range 0 .. 31; RTOR at 16#14# range 0 .. 31; RQR at 16#18# range 0 .. 31; ISR at 16#1C# range 0 .. 31; ICR at 16#20# range 0 .. 31; RDR at 16#24# range 0 .. 31; TDR at 16#28# range 0 .. 31; end record; -- Universal synchronous asynchronous receiver transmitter UART4_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40004C00#); -- Universal synchronous asynchronous receiver transmitter UART5_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40005000#); -- Universal synchronous asynchronous receiver transmitter UART7_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40007800#); -- Universal synchronous asynchronous receiver transmitter UART8_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40007C00#); -- Universal synchronous asynchronous receiver transmitter USART1_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40011000#); -- Universal synchronous asynchronous receiver transmitter USART2_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40004400#); -- Universal synchronous asynchronous receiver transmitter USART3_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40004800#); -- Universal synchronous asynchronous receiver transmitter USART6_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40011400#); end Interfaces.STM32.USART;
36.312827
75
0.591428
598c292f16309e510faeb591dd7d7ccf3b358645
801
ads
Ada
gnu/src/gdb/gdb/testsuite/gdb.ada/ref_tick_size/pck.ads
ghsecuritylab/ellcc-mirror
b03a4afac74d50cf0987554b8c0cd8209bcb92a2
[ "BSD-2-Clause" ]
null
null
null
gnu/src/gdb/gdb/testsuite/gdb.ada/ref_tick_size/pck.ads
ghsecuritylab/ellcc-mirror
b03a4afac74d50cf0987554b8c0cd8209bcb92a2
[ "BSD-2-Clause" ]
null
null
null
gnu/src/gdb/gdb/testsuite/gdb.ada/ref_tick_size/pck.ads
ghsecuritylab/ellcc-mirror
b03a4afac74d50cf0987554b8c0cd8209bcb92a2
[ "BSD-2-Clause" ]
null
null
null
-- Copyright 2008-2015 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with System; package Pck is procedure Do_Nothing (A : System.Address); end Pck;
34.826087
73
0.735331
4d80e7655e117dd1720b0b9055da63edef615655
105
ads
Ada
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/disp1_pkg.ads
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/disp1_pkg.ads
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
null
null
null
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/disp1_pkg.ads
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
package Disp1_Pkg is type I1 is interface; type DT_I1 is new I1 with null record; end Disp1_Pkg;
15
41
0.733333
125b730f15ce60e76a6a4e061ee10614b3f6a509
14,183
adb
Ada
src/portscan.adb
kraileth/ravenadm
02bb13117bafc8887e0c90a4effc63ffcdc90642
[ "0BSD" ]
18
2017-02-28T08:43:17.000Z
2022-03-22T21:55:56.000Z
src/portscan.adb
kraileth/ravenadm
02bb13117bafc8887e0c90a4effc63ffcdc90642
[ "0BSD" ]
49
2017-10-28T11:18:05.000Z
2022-01-16T16:23:32.000Z
src/portscan.adb
kraileth/ravenadm
02bb13117bafc8887e0c90a4effc63ffcdc90642
[ "0BSD" ]
5
2017-09-06T14:47:57.000Z
2021-11-25T08:31:10.000Z
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Strings.Hash; with Ada.Characters.Latin_1; with Ada.Directories; with Parameters; with Utilities; with GNAT.Traceback.Symbolic; package body PortScan is package LAT renames Ada.Characters.Latin_1; package DIR renames Ada.Directories; package UTL renames Utilities; package TRC renames GNAT.Traceback; -------------------------------------------------------------------------------------------- -- port_hash -------------------------------------------------------------------------------------------- function port_hash (key : HT.Text) return CON.Hash_Type is begin return Ada.Strings.Hash (HT.USS (key)); end port_hash; -------------------------------------------------------------------------------------------- -- block_ekey -------------------------------------------------------------------------------------------- function block_hash (key : port_index) return CON.Hash_Type is preresult : constant CON.Hash_Type := CON.Hash_Type (key); use type CON.Hash_Type; begin -- Equivalent to mod 128 return preresult and 2#1111111#; end block_hash; -------------------------------------------------------------------------------------------- -- block_ekey -------------------------------------------------------------------------------------------- function block_ekey (left, right : port_index) return Boolean is begin return left = right; end block_ekey; -------------------------------------- -- "<" function for ranking_crate -- -------------------------------------- function "<" (L, R : queue_record) return Boolean is begin if L.reverse_score = R.reverse_score then return R.ap_index > L.ap_index; end if; return L.reverse_score > R.reverse_score; end "<"; -------------------------------------------------------------------------------------------- -- get_bucket -------------------------------------------------------------------------------------------- function get_bucket (id : port_id) return String is begin if id = port_match_failed or else id > last_port then return "XX"; end if; return all_ports (id).bucket; end get_bucket; -------------------------------------------------------------------------------------------- -- get_port_variant #1 -------------------------------------------------------------------------------------------- function get_port_variant (PR : port_record) return String is use type portkey_crate.Cursor; begin if PR.key_cursor = portkey_crate.No_Element then return "get_port_variant: invalid key_cursor"; end if; return HT.USS (portkey_crate.Key (PR.key_cursor)); end get_port_variant; -------------------------------------------------------------------------------------------- -- get_port_variant #2 -------------------------------------------------------------------------------------------- function get_port_variant (id : port_id) return String is begin if id = port_match_failed or else id > last_port then return "Invalid port ID"; end if; return get_port_variant (all_ports (id)); end get_port_variant; -------------------------------------------------------------------------------------------- -- ignore_reason -------------------------------------------------------------------------------------------- function ignore_reason (id : port_id) return String is begin if id = port_match_failed or else id > last_port then return "Invalid port ID"; end if; return HT.USS (all_ports (id).ignore_reason); end ignore_reason; -------------------------------------------------------------------------------------------- -- valid_port_id -------------------------------------------------------------------------------------------- function valid_port_id (id : port_id) return Boolean is begin return id /= port_match_failed; end valid_port_id; -------------------------------------------------------------------------------------------- -- wipe_make_queue -------------------------------------------------------------------------------------------- procedure wipe_make_queue is begin for j in scanners'Range loop make_queue (j).Clear; end loop; end wipe_make_queue; -------------------------------------------------------------------------------------------- -- reset_ports_tree -------------------------------------------------------------------------------------------- procedure reset_ports_tree is begin for k in dim_all_ports'Range loop declare rec : port_record renames all_ports (k); begin rec.sequence_id := 0; rec.key_cursor := portkey_crate.No_Element; rec.ignore_reason := HT.blank; rec.pkgversion := HT.blank; rec.port_variant := HT.blank; rec.port_namebase := HT.blank; rec.bucket := "00"; rec.unkind_custom := False; rec.ignored := False; rec.scanned := False; rec.rev_scanned := False; rec.unlist_failed := False; rec.work_locked := False; rec.scan_locked := False; rec.use_procfs := False; rec.reverse_score := 0; rec.run_deps.Clear; rec.blocked_by.Clear; rec.blocks.Clear; rec.all_reverse.Clear; rec.options.Clear; rec.subpackages.Clear; end; end loop; ports_keys.Clear; rank_queue.Clear; lot_number := 1; lot_counter := 0; last_port := 0; prescanned := False; wipe_make_queue; for m in scanners'Range loop mq_progress (m) := 0; end loop; end reset_ports_tree; -------------------------------------------------------------------------------------------- -- queue_is_empty -------------------------------------------------------------------------------------------- function queue_is_empty return Boolean is begin return rank_queue.Is_Empty; end queue_is_empty; -------------------------------------------------------------------------------------------- -- queue_is_empty -------------------------------------------------------------------------------------------- function original_queue_size return Natural is begin return Natural (original_queue_len); end original_queue_size; -------------------------------------------------------------------------------------------- -- queue_length -------------------------------------------------------------------------------------------- function queue_length return Integer is begin return Integer (rank_queue.Length); end queue_length; -------------------------------------------------------------------------------------------- -- calculate_package_name -------------------------------------------------------------------------------------------- function calculate_package_name (id : port_id; subpackage : String) return String is namebase : constant String := HT.USS (all_ports (id).port_namebase); variant : constant String := HT.USS (all_ports (id).port_variant); pkgversion : constant String := HT.USS (all_ports (id).pkgversion); begin return namebase & "-" & subpackage & "-" & variant & "-" & pkgversion; end calculate_package_name; -------------------------------------------------------------------------------------------- -- convert_depend_origin_to_portkey -------------------------------------------------------------------------------------------- function convert_depend_origin_to_portkey (origin : String) return String is -- expected format: namebase:subpackage:variant numcolons : Natural := HT.count_char (origin, LAT.Colon); begin if numcolons < 2 then return "error"; end if; declare namebase : String := HT.specific_field (origin, 1, ":"); variant : String := HT.specific_field (origin, 3, ":"); begin return namebase & LAT.Colon & variant; end; end convert_depend_origin_to_portkey; -------------------------------------------------------------------------------------------- -- subpackage_from_pkgname -------------------------------------------------------------------------------------------- function subpackage_from_pkgname (pkgname : String) return String is -- expected format: namebase-subpackage-variant-version.tzst -- support namebase-subpackage-variant too numcolons : Natural := HT.count_char (pkgname, LAT.Hyphen); begin if numcolons < 3 then return "error"; end if; return HT.tail (HT.head (HT.head (pkgname, "-"), "-"), "-"); end subpackage_from_pkgname; -------------------------------------------------------------------------------------------- -- scan_progress -------------------------------------------------------------------------------------------- function scan_progress return String is type percent is delta 0.01 digits 5; complete : port_index := 0; pc : percent; maximum : Float := Float (last_port + 1); begin for k in scanners'Range loop complete := complete + mq_progress (k); end loop; pc := percent (100.0 * Float (complete) / maximum); return " progress:" & pc'Img & "% " & LAT.CR; end scan_progress; -------------------------------------------------------------------------------------------- -- insert_into_portlist -------------------------------------------------------------------------------------------- procedure insert_into_portlist (port_variant : String) is pv_text : HT.Text := HT.SUS (port_variant); begin if not portlist.Contains (pv_text) then portlist.Append (pv_text); dupelist.Append (pv_text); end if; end insert_into_portlist; -------------------------------------------------------------------------------------------- -- jail_port_binutils_specified -------------------------------------------------------------------------------------------- function jail_port_binutils_specified return Boolean is bukey : HT.Text := HT.SUS (default_binutils); buver : constant String := HT.USS (all_ports (ports_keys.Element (bukey)).pkgversion); begin return portlist.Contains (bukey) and then buver = binutils_version; end jail_port_binutils_specified; -------------------------------------------------------------------------------------------- -- jail_port_compiler_specified -------------------------------------------------------------------------------------------- function jail_port_compiler_specified return Boolean is compkey : HT.Text := HT.SUS (default_compiler & LAT.Colon & variant_standard); compver : constant String := HT.USS (all_ports (ports_keys.Element (compkey)).pkgversion); begin return portlist.Contains (compkey) and then compver = compiler_version; end jail_port_compiler_specified; -------------------------------------------------------------------------------------------- -- requires_procfs -------------------------------------------------------------------------------------------- function requires_procfs (id : port_id) return Boolean is begin return all_ports (id).use_procfs; end requires_procfs; -------------------------------------------------------------------------------------------- -- build_request_length -------------------------------------------------------------------------------------------- function build_request_length return Integer is begin return Integer (dupelist.Length); end build_request_length; -------------------------------------------------------------------------------------------- -- get_buildsheet_from_origin_list -------------------------------------------------------------------------------------------- function get_buildsheet_from_origin_list (index : Positive) return String is procedure search (position : string_crate.Cursor); conspiracy : constant String := HT.USS (Parameters.configuration.dir_conspiracy); unkindness : constant String := HT.USS (Parameters.configuration.dir_profile) & "/unkindness"; counter : Natural := 0; answer : HT.Text; procedure search (position : string_crate.Cursor) is begin counter := counter + 1; if counter = index then declare namebase : String := HT.part_1 (HT.USS (string_crate.Element (position)), ":"); bsheetname : String := "/bucket_" & UTL.bucket (namebase) & "/" & namebase; begin if DIR.Exists (unkindness & bsheetname) then answer := HT.SUS (unkindness & bsheetname); else answer := HT.SUS (conspiracy & bsheetname); end if; end; end if; end search; begin dupelist.Iterate (search'Access); return HT.USS (answer); end get_buildsheet_from_origin_list; -------------------------------------------------------------------------------------------- -- dump_stack -------------------------------------------------------------------------------------------- procedure dump_stack (media : TIO.File_Type) is trace : TRC.Tracebacks_Array (1 .. 2_000); trlen : Natural; begin TIO.Put_Line (media, "Dump of stack:"); TRC.Call_Chain (trace, trlen); TIO.Put_Line (media, TRC.Symbolic.Symbolic_Traceback (trace (1 .. trlen))); end dump_stack; end PortScan;
37.521164
96
0.425932
2f6f1149198945c9e9d13c2e0a3ebb8d5db61f85
3,311
ads
Ada
tools-src/gnu/gcc/gcc/ada/a-wtcstr.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
80
2015-01-02T10:14:04.000Z
2021-06-07T06:29:49.000Z
tools-src/gnu/gcc/gcc/ada/a-wtcstr.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
9
2015-05-14T11:03:12.000Z
2018-01-04T07:12:58.000Z
tools-src/gnu/gcc/gcc/ada/a-wtcstr.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
69
2015-01-02T10:45:56.000Z
2021-09-06T07:52:13.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- A D A . W I D E _ T E X T _ I O . C _ S T R E A M S -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992,1993,1994,1995,1996 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides an interface between Ada.Wide_Text_IO and the -- C streams. This allows sharing of a stream between Ada and C or C++, -- as well as allowing the Ada program to operate directly on the stream. with Interfaces.C_Streams; package Ada.Wide_Text_IO.C_Streams is package ICS renames Interfaces.C_Streams; function C_Stream (F : File_Type) return ICS.FILEs; -- Obtain stream from existing open file procedure Open (File : in out File_Type; Mode : in File_Mode; C_Stream : in ICS.FILEs; Form : in String := ""); -- Create new file from existing stream end Ada.Wide_Text_IO.C_Streams;
58.087719
78
0.459378
fb67bf0b69d843f6006ce1c11085bd9a4db4c823
11,767
adb
Ada
src/asf-components-html-messages.adb
jquorning/ada-asf
ddc697c5dfa4e22c57c6958f4cff27e14d02ce98
[ "Apache-2.0" ]
12
2015-01-18T23:02:20.000Z
2022-03-25T15:30:30.000Z
src/asf-components-html-messages.adb
jquorning/ada-asf
ddc697c5dfa4e22c57c6958f4cff27e14d02ce98
[ "Apache-2.0" ]
3
2021-01-06T09:44:02.000Z
2022-02-04T20:20:53.000Z
src/asf-components-html-messages.adb
jquorning/ada-asf
ddc697c5dfa4e22c57c6958f4cff27e14d02ce98
[ "Apache-2.0" ]
4
2016-04-12T05:29:00.000Z
2022-01-24T23:53:59.000Z
----------------------------------------------------------------------- -- html.messages -- Faces messages -- Copyright (C) 2011, 2012, 2013, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with ASF.Utils; with ASF.Applications.Messages; with ASF.Components.Base; -- The <b>ASF.Components.Html.Messages</b> package implements the <b>h:message</b> -- and <b>h:messages</b> components. package body ASF.Components.Html.Messages is use ASF.Components.Base; use ASF.Applications.Messages; MSG_ATTRIBUTE_NAMES : Util.Strings.String_Set.Set; FATAL_ATTRIBUTE_NAMES : Util.Strings.String_Set.Set; ERROR_ATTRIBUTE_NAMES : Util.Strings.String_Set.Set; WARN_ATTRIBUTE_NAMES : Util.Strings.String_Set.Set; INFO_ATTRIBUTE_NAMES : Util.Strings.String_Set.Set; -- ------------------------------ -- Check whether the UI component whose name is given in <b>Name</b> has some messages -- associated with it. -- ------------------------------ function Has_Message (Name : in Util.Beans.Objects.Object) return Util.Beans.Objects.Object is Context : constant ASF.Contexts.Faces.Faces_Context_Access := ASF.Contexts.Faces.Current; begin if Context = null then return Util.Beans.Objects.To_Object (False); end if; declare Id : constant String := Util.Beans.Objects.To_String (Name); Msgs : constant ASF.Applications.Messages.Vectors.Cursor := Context.Get_Messages (Id); begin return Util.Beans.Objects.To_Object (Applications.Messages.Vectors.Has_Element (Msgs)); end; end Has_Message; -- ------------------------------ -- Write a single message enclosed by the tag represented by <b>Tag</b>. -- ------------------------------ procedure Write_Message (UI : in UIHtmlComponent'Class; Message : in ASF.Applications.Messages.Message; Mode : in Message_Mode; Show_Detail : in Boolean; Show_Summary : in Boolean; Context : in out Faces_Context'Class) is Writer : constant Response_Writer_Access := Context.Get_Response_Writer; begin case Mode is when SPAN_NO_STYLE => Writer.Start_Element ("span"); when SPAN => Writer.Start_Element ("span"); UI.Render_Attributes (Context, MSG_ATTRIBUTE_NAMES, Writer); when LIST => Writer.Start_Element ("li"); when TABLE => Writer.Start_Element ("tr"); end case; case Get_Severity (Message) is when FATAL => UI.Render_Attributes (Context, FATAL_ATTRIBUTE_NAMES, Writer, Write_Id => Mode /= SPAN_NO_STYLE); when ERROR => UI.Render_Attributes (Context, ERROR_ATTRIBUTE_NAMES, Writer, Write_Id => Mode /= SPAN_NO_STYLE); when WARN => UI.Render_Attributes (Context, WARN_ATTRIBUTE_NAMES, Writer, Write_Id => Mode /= SPAN_NO_STYLE); when INFO | NONE => UI.Render_Attributes (Context, INFO_ATTRIBUTE_NAMES, Writer, Write_Id => Mode /= SPAN_NO_STYLE); end case; if Mode = TABLE then Writer.Start_Element ("td"); end if; if Show_Summary then Writer.Write_Text (Get_Summary (Message)); end if; if Show_Detail then Writer.Write_Text (Get_Detail (Message)); end if; case Mode is when SPAN | SPAN_NO_STYLE => Writer.End_Element ("span"); when LIST => Writer.End_Element ("li"); when TABLE => Writer.End_Element ("td"); Writer.End_Element ("tr"); end case; end Write_Message; -- ------------------------------ -- Render a list of messages each of them being enclosed by the <b>Tag</b> element. -- ------------------------------ procedure Write_Messages (UI : in UIHtmlComponent'Class; Mode : in Message_Mode; Context : in out Faces_Context'Class; Messages : in out ASF.Applications.Messages.Vectors.Cursor) is procedure Process_Message (Message : in ASF.Applications.Messages.Message); Show_Detail : constant Boolean := UI.Get_Attribute ("showDetail", Context, False); Show_Summary : constant Boolean := UI.Get_Attribute ("showSummary", Context, True); procedure Process_Message (Message : in ASF.Applications.Messages.Message) is begin Write_Message (UI, Message, Mode, Show_Detail, Show_Summary, Context); end Process_Message; begin while ASF.Applications.Messages.Vectors.Has_Element (Messages) loop Vectors.Query_Element (Messages, Process_Message'Access); Vectors.Next (Messages); end loop; end Write_Messages; -- ------------------------------ -- Encode the begining of the <b>h:message</b> component. -- ------------------------------ procedure Encode_Begin (UI : in UIMessage; Context : in out Faces_Context'Class) is begin if not UI.Is_Rendered (Context) then return; end if; declare Name : constant Util.Beans.Objects.Object := UI.Get_Attribute (Context, "for"); Messages : ASF.Applications.Messages.Vectors.Cursor; begin -- No specification of 'for' attribute, render the global messages. if Util.Beans.Objects.Is_Null (Name) then Messages := Context.Get_Messages (""); else declare Id : constant String := Util.Beans.Objects.To_String (Name); Target : constant UIComponent_Access := UI.Find (Id => Id); begin -- If the component does not exist, report an error in the logs. if Target = null then UI.Log_Error ("Cannot find component '{0}'", Id); else Messages := Context.Get_Messages (Id); end if; end; end if; -- If we have some message, render the first one (as specified by <h:message>). if ASF.Applications.Messages.Vectors.Has_Element (Messages) then declare Show_Detail : constant Boolean := UI.Get_Attribute ("showDetail", Context, True); Show_Summary : constant Boolean := UI.Get_Attribute ("showSummary", Context, False); begin Write_Message (UI, ASF.Applications.Messages.Vectors.Element (Messages), SPAN, Show_Detail, Show_Summary, Context); end; end if; end; end Encode_Begin; -- Encode the end of the <b>h:message</b> component. procedure Encode_End (UI : in UIMessage; Context : in out Faces_Context'Class) is begin null; end Encode_End; -- ------------------------------ -- Encode the begining of the <b>h:message</b> component. -- ------------------------------ procedure Encode_Begin (UI : in UIMessages; Context : in out Faces_Context'Class) is begin if UI.Is_Rendered (Context) then declare Name : constant Util.Beans.Objects.Object := UI.Get_Attribute (Context, "for"); Messages : ASF.Applications.Messages.Vectors.Cursor; begin -- No specification of 'for' attribute, render the global messages. if Util.Beans.Objects.Is_Null (Name) then if UI.Get_Attribute ("globalOnly", Context) then Messages := Context.Get_Messages (""); end if; else declare Id : constant String := Util.Beans.Objects.To_String (Name); Target : constant UIComponent_Access := UI.Find (Id => Id); begin -- If the component does not exist, report an error in the logs. if Target = null then UI.Log_Error ("Cannot find component '{0}'", Id); else Messages := Context.Get_Messages (Id); end if; end; end if; -- If we have some message, render them. if ASF.Applications.Messages.Vectors.Has_Element (Messages) then declare Writer : constant Response_Writer_Access := Context.Get_Response_Writer; Layout : constant String := Util.Beans.Objects.To_String (UI.Get_Attribute (Context, "layout")); begin if Layout = "table" then Writer.Start_Element ("table"); UI.Render_Attributes (Context, MSG_ATTRIBUTE_NAMES, Writer); Write_Messages (UI, TABLE, Context, Messages); Writer.End_Element ("table"); else Writer.Start_Element ("ul"); UI.Render_Attributes (Context, MSG_ATTRIBUTE_NAMES, Writer); Write_Messages (UI, LIST, Context, Messages); Writer.End_Element ("ul"); end if; end; end if; end; end if; end Encode_Begin; -- Encode the end of the <b>h:message</b> component. procedure Encode_End (UI : in UIMessages; Context : in out Faces_Context'Class) is begin null; end Encode_End; FATAL_CLASS_ATTR : aliased constant String := "fatalClass"; FATAL_STYLE_CLASS_ATTR : aliased constant String := "fatalStyle"; ERROR_CLASS_ATTR : aliased constant String := "errorClass"; ERROR_STYLE_CLASS_ATTR : aliased constant String := "errorStyle"; WARN_CLASS_ATTR : aliased constant String := "warnClass"; WARN_STYLE_CLASS_ATTR : aliased constant String := "warnStyle"; INFO_CLASS_ATTR : aliased constant String := "infoClass"; INFO_STYLE_CLASS_ATTR : aliased constant String := "infoStyle"; begin ASF.Utils.Set_Text_Attributes (MSG_ATTRIBUTE_NAMES); -- ASF.Utils.Set_Text_Attributes (WARN_ATTRIBUTE_NAMES); -- ASF.Utils.Set_Text_Attributes (INFO_ATTRIBUTE_NAMES); -- -- ASF.Utils.Set_Text_Attributes (FATAL_ATTRIBUTE_NAMES); FATAL_ATTRIBUTE_NAMES.Insert (FATAL_CLASS_ATTR'Access); FATAL_ATTRIBUTE_NAMES.Insert (FATAL_STYLE_CLASS_ATTR'Access); ERROR_ATTRIBUTE_NAMES.Insert (ERROR_CLASS_ATTR'Access); ERROR_ATTRIBUTE_NAMES.Insert (ERROR_STYLE_CLASS_ATTR'Access); WARN_ATTRIBUTE_NAMES.Insert (WARN_CLASS_ATTR'Access); WARN_ATTRIBUTE_NAMES.Insert (WARN_STYLE_CLASS_ATTR'Access); INFO_ATTRIBUTE_NAMES.Insert (INFO_CLASS_ATTR'Access); INFO_ATTRIBUTE_NAMES.Insert (INFO_STYLE_CLASS_ATTR'Access); end ASF.Components.Html.Messages;
39.888136
99
0.579757
50facadb9f0730cab6c7efeb92f0e75d309d11a9
4,750
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3303a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3303a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3303a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- CE3303A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- OBJECTIVE: -- CHECK THAT SET_LINE_LENGTH, SET_PAGE_LENGTH, LINE_LENGTH, AND -- PAGE_LENGTH RAISE STATUS_ERROR WHEN APPLIED TO A CLOSED FILE. -- HISTORY: -- ABW 08/26/82 -- SPS 09/16/82 -- JLH 08/19/87 ADDED AN ATTEMPT TO CREATE AN EXTERNAL FILE; -- ADDED CHECKS TO THE SAME FOUR CASES WHICH EXIST -- IN TEST AGAINST ATTEMPTED CREATE. WITH REPORT; USE REPORT; WITH TEXT_IO; USE TEXT_IO; PROCEDURE CE3303A IS FILE : FILE_TYPE; FIVE : COUNT := COUNT(IDENT_INT(5)); C : COUNT; ITEM : CHARACTER := 'A'; BEGIN TEST ("CE3303A" , "CHECK THAT SET_LINE_LENGTH, " & "SET_PAGE_LENGTH, LINE_LENGTH, AND " & "PAGE_LENGTH RAISE STATUS_ERROR " & "WHEN APPLIED TO A CLOSED FILE"); -- FILE NONEXISTANT BEGIN SET_LINE_LENGTH (FILE, FIVE); FAILED ("STATUS_ERROR NOT RAISED FOR SET_LINE_LENGTH - 1"); EXCEPTION WHEN STATUS_ERROR => NULL; WHEN OTHERS => FAILED ("OTHER EXCEPTION RAISED FOR SET_LINE_LENGTH " & "- 1"); END; BEGIN SET_PAGE_LENGTH (FILE, FIVE); FAILED ("STATUS_ERROR NOT RAISED FOR SET_PAGE_LENGTH - 1"); EXCEPTION WHEN STATUS_ERROR => NULL; WHEN OTHERS => FAILED ("OTHER EXCEPTION RAISED FOR SET_PAGE_LENGTH " & "- 1"); END; BEGIN C := LINE_LENGTH (FILE); FAILED ("STATUS_ERROR NOT RAISED FOR LINE_LENGTH - 1"); EXCEPTION WHEN STATUS_ERROR => NULL; WHEN OTHERS => FAILED ("OTHER EXCEPTION RAISED FOR LINE_LENGTH - 1"); END; BEGIN C := PAGE_LENGTH (FILE); FAILED ("STATUS_ERROR NOT RAISED FOR PAGE_LENGTH - 1"); EXCEPTION WHEN STATUS_ERROR => NULL; WHEN OTHERS => FAILED ("OTHER EXCEPTION RAISED FOR PAGE_LENGTH - 1"); END; BEGIN CREATE (FILE, OUT_FILE); PUT (FILE, ITEM); CLOSE (FILE); EXCEPTION WHEN USE_ERROR => NULL; END; BEGIN SET_LINE_LENGTH (FILE, FIVE); FAILED ("STATUS_ERROR NOT RAISED FOR SET_LINE_LENGTH - 2"); EXCEPTION WHEN STATUS_ERROR => NULL; WHEN OTHERS => FAILED ("OTHER EXCEPTION RAISED FOR SET_LINE_LENGTH " & "- 2"); END; BEGIN SET_PAGE_LENGTH (FILE, FIVE); FAILED ("STATUS_ERROR NOT RAISED FOR SET_PAGE_LENGTH - 2"); EXCEPTION WHEN STATUS_ERROR => NULL; WHEN OTHERS => FAILED ("OTHER EXCEPTION RAISED FOR SET_PAGE_LENGTH " & "- 2"); END; BEGIN C := LINE_LENGTH (FILE); FAILED ("STATUS_ERROR NOT RAISED FOR LINE_LENGTH - 2"); EXCEPTION WHEN STATUS_ERROR => NULL; WHEN OTHERS => FAILED ("OTHER EXCEPTION RAISED FOR LINE_LENGTH - 2"); END; BEGIN C := PAGE_LENGTH (FILE); FAILED ("STATUS_ERROR NOT RAISED FOR PAGE_LENGTH - 2"); EXCEPTION WHEN STATUS_ERROR => NULL; WHEN OTHERS => FAILED ("OTHER EXCEPTION RAISED FOR PAGE_LENGTH - 2"); END; RESULT; END CE3303A;
31.045752
79
0.562316
2f8f0ec5a1cd8ad96ad1556a3d29870862af19d4
3,921
ads
Ada
tools/scitools/conf/understand/ada/ada05/s-atacco.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada05/s-atacco.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada05/s-atacco.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . A D D R E S S _ T O _ A C C E S S _ C O N V E R S I O N S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- -- -- -- -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ generic type Object (<>) is limited private; package System.Address_To_Access_Conversions is pragma Preelaborate; pragma Elaborate_Body; -- This pragma Elaborate_Body is there to ensure the requirement of what is -- at the moment a dummy null body. The reason this null body is there is -- that we used to have a real body, and it causes bootstrap problems with -- old compilers if we try to remove the corresponding file. pragma Compile_Time_Warning (Object'Unconstrained_Array, "Object is unconstrained array type" & ASCII.LF & "To_Pointer results may not have bounds"); -- Capture constrained status, suppressing warnings, since this is -- an obsolescent feature to use Constrained in this way (RM J.4). pragma Warnings (Off); Xyz : Boolean := Object'Constrained; pragma Warnings (On); type Object_Pointer is access all Object; for Object_Pointer'Size use Standard'Address_Size; pragma No_Strict_Aliasing (Object_Pointer); -- Strictly speaking, this routine should not be used to generate pointers -- to other than proper values of the proper type, but in practice, this -- is done all the time. This pragma stops the compiler from doing some -- optimizations that may cause unexpected results based on the assumption -- of no strict aliasing. function To_Pointer (Value : Address) return Object_Pointer; function To_Address (Value : Object_Pointer) return Address; pragma Import (Intrinsic, To_Pointer); pragma Import (Intrinsic, To_Address); end System.Address_To_Access_Conversions;
50.269231
79
0.538128
1c94f627d73fb0cb777428dff0e43299ef08cd49
4,576
ads
Ada
source/league/matreshka-json_documents.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/league/matreshka-json_documents.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/league/matreshka-json_documents.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2013, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with Matreshka.Atomics.Counters; with Matreshka.JSON_Types; package Matreshka.JSON_Documents is pragma Preelaborate; type Shared_JSON_Document is limited record Counter : Matreshka.Atomics.Counters.Counter; Array_Value : Matreshka.JSON_Types.Shared_JSON_Array_Access; Object_Value : Matreshka.JSON_Types.Shared_JSON_Object_Access; end record; type Shared_JSON_Document_Access is access all Shared_JSON_Document; Empty_Shared_JSON_Document : aliased Shared_JSON_Document := (Counter => <>, Array_Value => null, Object_Value => null); procedure Reference (Self : not null Shared_JSON_Document_Access); -- Increments internal reference counter. procedure Dereference (Self : in out Shared_JSON_Document_Access); -- Decrements internal reference counter and deallocates shared document -- when counter reach zero. Sets Self to null. procedure Mutate (Self : in out not null Shared_JSON_Document_Access); -- Mutate object: new shared object is allocated when reference counter is -- greater than one, reference counter of original object is decremented -- and original value is copied. Otherwise, shared object is unchanged. end Matreshka.JSON_Documents;
61.013333
78
0.497596
0610c77427c2019a65265139d0285e91ea010ddc
71
ads
Ada
PMOO/ADA/LAB2/PARTE_2/listas_enteros.ads
usainzg/EHU
ada8fae57566e76a9a0bc3d6de906cde167828a7
[ "MIT" ]
null
null
null
PMOO/ADA/LAB2/PARTE_2/listas_enteros.ads
usainzg/EHU
ada8fae57566e76a9a0bc3d6de906cde167828a7
[ "MIT" ]
null
null
null
PMOO/ADA/LAB2/PARTE_2/listas_enteros.ads
usainzg/EHU
ada8fae57566e76a9a0bc3d6de906cde167828a7
[ "MIT" ]
null
null
null
with Listas; package Listas_Enteros is new Listas(Elemento => Integer);
35.5
58
0.802817
2f6caf358543b10c727e69b49ebbbcd0747d8191
3,104
ads
Ada
source/server/ada_lsp-documents.ads
reznikmm/ada_lsp
b0e2666f758d6e46b973b5d7e4b9a7ba66c46157
[ "MIT" ]
11
2017-10-18T18:22:04.000Z
2022-01-01T12:22:23.000Z
source/server/ada_lsp-documents.ads
reznikmm/ada_lsp
b0e2666f758d6e46b973b5d7e4b9a7ba66c46157
[ "MIT" ]
null
null
null
source/server/ada_lsp-documents.ads
reznikmm/ada_lsp
b0e2666f758d6e46b973b5d7e4b9a7ba66c46157
[ "MIT" ]
1
2019-09-14T23:13:33.000Z
2019-09-14T23:13:33.000Z
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- private with Ada.Containers.Hashed_Sets; private with Incr.Nodes.Hash; with LSP.Messages; with LSP.Types; with Ada_LSP.Ada_Parser_Data; limited with Ada_LSP.Completions; with Incr.Documents; with Incr.Lexers.Incremental; with Incr.Nodes.Tokens; with Incr.Parsers.Incremental; with Incr.Version_Trees; package Ada_LSP.Documents is type Document is new Incr.Documents.Document with private; type Document_Access is access all Ada_LSP.Documents.Document; type Constant_Document_Access is access constant Ada_LSP.Documents.Document; not overriding procedure Initialize (Self : in out Document; Item : LSP.Messages.TextDocumentItem); not overriding procedure Update (Self : aliased in out Document; Parser : Incr.Parsers.Incremental.Incremental_Parser; Lexer : Incr.Lexers.Incremental.Incremental_Lexer_Access; Provider : access Ada_LSP.Ada_Parser_Data.Provider'Class); -- Reparse document not overriding procedure Apply_Changes (Self : aliased in out Document; Vector : LSP.Messages.TextDocumentContentChangeEvent_Vector); not overriding procedure Get_Errors (Self : Document; Errors : out LSP.Messages.Diagnostic_Vector); not overriding procedure Get_Symbols (Self : Document; Result : out LSP.Messages.SymbolInformation_Vector); not overriding procedure Get_Completion_Context (Self : Document; Place : LSP.Messages.Position; Result : in out Ada_LSP.Completions.Context); private package Node_Sets is new Ada.Containers.Hashed_Sets (Element_Type => Incr.Nodes.Node_Access, Hash => Incr.Nodes.Hash, Equivalent_Elements => Incr.Nodes."=", "=" => Incr.Nodes."="); type Document is new Incr.Documents.Document with record URI : LSP.Messages.DocumentUri; Symbols : Node_Sets.Set; Reference : Incr.Version_Trees.Version; Factory : aliased Ada_LSP.Ada_Parser_Data.Node_Factory (Document'Unchecked_Access); end record; not overriding procedure Find_Token (Self : Document; Line : LSP.Types.Line_Number; Column : LSP.Types.UTF_16_Index; Time : Incr.Version_Trees.Version; Token : out Incr.Nodes.Tokens.Token_Access; Offset : out Positive; Extra : out LSP.Types.UTF_16_Index); -- Find Token spanning over given Line:Column. -- Set Offset to corresponding index in Token.Text (Time). -- If Line exceeds total line count return null Token. -- If Column exceeds line length return last Token in the line and set -- Extra to exceed count. not overriding procedure Update_Symbols (Self : in out Document; Provider : access Ada_LSP.Ada_Parser_Data.Provider'Class; Reference : Incr.Version_Trees.Version; Node : Incr.Nodes.Node_Access); end Ada_LSP.Documents;
33.376344
79
0.689755
069a63a5f35225699c35dd290902f4dc80024960
3,168
ads
Ada
orka_simd/src/x86/gnat/orka-simd-sse2-doubles-compare.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
52
2016-07-30T23:00:28.000Z
2022-02-05T11:54:55.000Z
orka_simd/src/x86/gnat/orka-simd-sse2-doubles-compare.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
79
2016-08-01T18:36:48.000Z
2022-02-27T12:14:20.000Z
orka_simd/src/x86/gnat/orka-simd-sse2-doubles-compare.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
4
2018-04-28T22:36:26.000Z
2020-11-14T23:00:29.000Z
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 onox <denkpadje@gmail.com> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. package Orka.SIMD.SSE2.Doubles.Compare is pragma Pure; function "=" (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpeqpd"; function ">=" (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpgepd"; function ">" (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpgtpd"; function "<=" (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmplepd"; function "<" (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpltpd"; function "/=" (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpneqpd"; function Not_Greater_Or_Equal (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpngepd"; function Not_Greater_Than (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpngtpd"; function Not_Less_Equal (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpnlepd"; function Not_Less_Than (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpnltpd"; function Not_Nan (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpordpd"; -- True if neither of the elements in Left and Right are Nan, false otherwise function Nan (Left, Right : m128d) return m128d with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cmpunordpd"; -- True if either or both elements in Left and Right are Nan, false otherwise function Is_True (Elements : m128d; Position : Index_2D) return Boolean; -- Return true if an element at the given position is not zero, false otherwise. -- -- A comparison using one of the operators above may result in elements -- consisting of all 1's. Trying to directly read such an element by -- using an index (like 'Elements (X)' for example) may result -- in a Constraint_Error. Use this function to check if an element is -- not zero after comparison using one of the operators above. end Orka.SIMD.SSE2.Doubles.Compare;
46.588235
88
0.724432
06626d1a9e84aeec9fac01a52112769963da4b73
4,777
ads
Ada
tests/src/usb_testing-class_stub.ads
Fabien-Chouteau/usb_embedded
1adf5e9d74d6408ae355dd7cf0311a3529f8a260
[ "BSD-3-Clause" ]
14
2021-04-22T14:56:07.000Z
2022-03-07T15:32:09.000Z
tests/src/usb_testing-class_stub.ads
Fabien-Chouteau/usb_embedded
1adf5e9d74d6408ae355dd7cf0311a3529f8a260
[ "BSD-3-Clause" ]
2
2021-09-24T21:33:55.000Z
2021-11-19T13:46:58.000Z
tests/src/usb_testing-class_stub.ads
Fabien-Chouteau/usb_embedded
1adf5e9d74d6408ae355dd7cf0311a3529f8a260
[ "BSD-3-Clause" ]
3
2021-09-24T20:53:31.000Z
2022-03-04T17:37:01.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- USB Device Class stub for testing with System; with HAL; use HAL; with USB; with USB.Device; use USB.Device; with USB.HAL.Device; use USB.HAL.Device; with USB_Testing.Output; use USB_Testing.Output; package USB_Testing.Class_Stub is type Device_Class_Stub (Output : not null Text_Output_Acc; Number : Positive) is new USB.Device.USB_Device_Class with private; overriding function Initialize (This : in out Device_Class_Stub; Dev : in out USB_Device_Stack'Class; Interface_Index : USB.Interface_Id) return Init_Result; overriding procedure Get_Class_Info (This : in out Device_Class_Stub; Number_Of_Interfaces : out USB.Interface_Id; Config_Descriptor_Length : out Natural); overriding procedure Fill_Config_Descriptor (This : in out Device_Class_Stub; Data : out UInt8_Array); overriding function Configure (This : in out Device_Class_Stub; UDC : in out USB_Device_Controller'Class; Index : UInt16) return USB.Setup_Request_Answer; overriding function Setup_Read_Request (This : in out Device_Class_Stub; Req : USB.Setup_Data; Buf : out System.Address; Len : out USB.Buffer_Len) return USB.Setup_Request_Answer; overriding function Setup_Write_Request (This : in out Device_Class_Stub; Req : USB.Setup_Data; Data : UInt8_Array) return USB.Setup_Request_Answer; overriding procedure Transfer_Complete (This : in out Device_Class_Stub; UDC : in out USB_Device_Controller'Class; EP : USB.EP_Addr; CNT : UInt11); private type Device_Class_Stub (Output : not null Text_Output_Acc; Number : Positive) is new USB.Device.USB_Device_Class with record Interface_Index : USB.Interface_Id; Ep : USB.EP_Id; end record; end USB_Testing.Class_Stub;
47.77
78
0.527737
2f5f604d7d0e9b3f5a0fc0bd8a3bb550df6b9f18
18,909
adb
Ada
3-mid/opengl/private/gid/gid-headers.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
20
2015-11-04T09:23:59.000Z
2022-01-14T10:21:42.000Z
3-mid/opengl/private/gid/gid-headers.adb
charlie5/lace-alire
9ace9682cf4daac7adb9f980c2868d6225b8111c
[ "0BSD" ]
2
2015-11-04T17:05:56.000Z
2015-12-08T03:16:13.000Z
3-mid/opengl/private/gid/gid-headers.adb
charlie5/lace-alire
9ace9682cf4daac7adb9f980c2868d6225b8111c
[ "0BSD" ]
1
2015-12-07T12:53:52.000Z
2015-12-07T12:53:52.000Z
--------------------------------- -- GID - Generic Image Decoder -- --------------------------------- -- -- Private child of GID, with helpers for identifying -- image formats and reading header informations. -- with GID.Buffering, GID.Color_tables, GID.Decoding_JPG, GID.Decoding_PNG; with Ada.Exceptions, Ada.Unchecked_Deallocation; package body GID.Headers is use Ada.Exceptions; ------------------------------------------------------- -- The very first: read signature to identify format -- ------------------------------------------------------- procedure Load_signature ( image : in out Image_descriptor; try_tga : Boolean:= False ) is use Bounded_255; c, d: Character; FITS_challenge: String(1..5); -- without the initial GIF_challenge : String(1..5); -- without the initial PNG_challenge : String(1..7); -- without the initial PNG_signature: constant String:= "PNG" & ASCII.CR & ASCII.LF & ASCII.SUB & ASCII.LF; procedure Dispose is new Ada.Unchecked_Deallocation(Color_table, p_Color_table); begin -- Some cleanup Dispose(image.palette); image.next_frame:= 0.0; image.display_orientation:= Unchanged; -- Character'Read(image.stream, c); image.first_byte:= Character'Pos(c); case c is when 'B' => Character'Read(image.stream, c); if c='M' then image.detailed_format:= To_Bounded_String("BMP"); image.format:= BMP; return; end if; when 'S' => String'Read(image.stream, FITS_challenge); if FITS_challenge = "IMPLE" then image.detailed_format:= To_Bounded_String("FITS"); image.format:= FITS; return; end if; when 'G' => String'Read(image.stream, GIF_challenge); if GIF_challenge = "IF87a" or GIF_challenge = "IF89a" then image.detailed_format:= To_Bounded_String('G' & GIF_challenge & ", "); image.format:= GIF; return; end if; when 'I' | 'M' => Character'Read(image.stream, d); if c=d then if c = 'I' then image.detailed_format:= To_Bounded_String("TIFF, little-endian"); else image.detailed_format:= To_Bounded_String("TIFF, big-endian"); end if; image.format:= TIFF; return; end if; when Character'Val(16#FF#) => Character'Read(image.stream, c); if c=Character'Val(16#D8#) then -- SOI (Start of Image) segment marker (FFD8) image.detailed_format:= To_Bounded_String("JPEG"); image.format:= JPEG; return; end if; when Character'Val(16#89#) => String'Read(image.stream, PNG_challenge); if PNG_challenge = PNG_signature then image.detailed_format:= To_Bounded_String("PNG"); image.format:= PNG; return; end if; when others => if try_tga then image.detailed_format:= To_Bounded_String("TGA"); image.format:= TGA; return; else raise unknown_image_format; end if; end case; raise unknown_image_format; end Load_signature; generic type Number is mod <>; procedure Read_Intel_x86_number( from : in Stream_Access; n : out Number ); pragma Inline(Read_Intel_x86_number); generic type Number is mod <>; procedure Big_endian_number( from : in out Input_buffer; n : out Number ); pragma Inline(Big_endian_number); procedure Read_Intel_x86_number( from : in Stream_Access; n : out Number ) is b: U8; m: Number:= 1; begin n:= 0; for i in 1..Number'Size/8 loop U8'Read(from, b); n:= n + m * Number(b); m:= m * 256; end loop; end Read_Intel_x86_number; procedure Big_endian_number( from : in out Input_buffer; n : out Number ) is b: U8; begin n:= 0; for i in 1..Number'Size/8 loop Buffering.Get_Byte(from, b); n:= n * 256 + Number(b); end loop; end Big_endian_number; procedure Read_Intel is new Read_Intel_x86_number( U16 ); procedure Read_Intel is new Read_Intel_x86_number( U32 ); procedure Big_endian is new Big_endian_number( U32 ); ---------------------------------------------------------- -- Loading of various format's headers (past signature) -- ---------------------------------------------------------- ---------------- -- BMP header -- ---------------- procedure Load_BMP_header (image: in out Image_descriptor) is n, dummy: U32; pragma Warnings(off, dummy); w, dummy16: U16; pragma Warnings(off, dummy16); begin -- Pos= 3, read the file size Read_Intel(image.stream, dummy); -- Pos= 7, read four bytes, unknown Read_Intel(image.stream, dummy); -- Pos= 11, read four bytes offset, file top to bitmap data. -- For 256 colors, this is usually 36 04 00 00 Read_Intel(image.stream, dummy); -- Pos= 15. The beginning of Bitmap information header. -- Data expected: 28H, denoting 40 byte header Read_Intel(image.stream, dummy); -- Pos= 19. Bitmap width, in pixels. Four bytes Read_Intel(image.stream, n); image.width:= Natural(n); -- Pos= 23. Bitmap height, in pixels. Four bytes Read_Intel(image.stream, n); image.height:= Natural(n); -- Pos= 27, skip two bytes. Data is number of Bitmap planes. Read_Intel(image.stream, dummy16); -- perform the skip -- Pos= 29, Number of bits per pixel -- Value 8, denoting 256 color, is expected Read_Intel(image.stream, w); case w is when 1 | 4 | 8 | 24 => null; when others => Raise_exception( unsupported_image_subformat'Identity, "bit depth =" & U16'Image(w) ); end case; image.bits_per_pixel:= Integer(w); -- Pos= 31, read four bytes Read_Intel(image.stream, n); -- Type of compression used -- BI_RLE8 = 1 -- BI_RLE4 = 2 if n /= 0 then Raise_exception( unsupported_image_subformat'Identity, "RLE compression" ); end if; -- Read_Intel(image.stream, dummy); -- Pos= 35, image size Read_Intel(image.stream, dummy); -- Pos= 39, horizontal resolution Read_Intel(image.stream, dummy); -- Pos= 43, vertical resolution Read_Intel(image.stream, n); -- Pos= 47, number of palette colors if image.bits_per_pixel <= 8 then if n = 0 then image.palette:= new Color_Table(0..2**image.bits_per_pixel-1); else image.palette:= new Color_Table(0..Natural(n)-1); end if; end if; Read_Intel(image.stream, dummy); -- Pos= 51, number of important colors -- Pos= 55 (36H), - start of palette Color_tables.Load_palette(image); end Load_BMP_header; procedure Load_FITS_header (image: in out Image_descriptor) is begin raise known_but_unsupported_image_format; end Load_FITS_header; ---------------- -- GIF header -- ---------------- procedure Load_GIF_header (image: in out Image_descriptor) is -- GIF - logical screen descriptor screen_width, screen_height : U16; packed, background, aspect_ratio_code : U8; global_palette: Boolean; begin Read_Intel(image.stream, screen_width); Read_Intel(image.stream, screen_height); image.width:= Natural(screen_width); image.height:= Natural(screen_height); image.transparency:= True; -- cannot exclude transparency at this level. U8'Read(image.stream, packed); -- Global Color Table Flag 1 Bit -- Color Resolution 3 Bits -- Sort Flag 1 Bit -- Size of Global Color Table 3 Bits global_palette:= (packed and 16#80#) /= 0; image.bits_per_pixel:= Natural((packed and 16#7F#)/16#10#) + 1; -- Indicative: -- iv) [...] This value should be set to indicate the -- richness of the original palette U8'Read(image.stream, background); U8'Read(image.stream, aspect_ratio_code); Buffering.Attach_stream(image.buffer, image.stream); if global_palette then image.subformat_id:= 1+(Natural(packed and 16#07#)); -- palette's bits per pixels, usually <= image's -- -- if image.subformat_id > image.bits_per_pixel then -- Raise_exception( -- error_in_image_data'Identity, -- "GIF: global palette has more colors than the image" & -- image.subformat_id'img & image.bits_per_pixel'img -- ); -- end if; image.palette:= new Color_Table(0..2**(image.subformat_id)-1); Color_tables.Load_palette(image); end if; end Load_GIF_header; ----------------- -- JPEG header -- ----------------- procedure Load_JPEG_header (image: in out Image_descriptor) is -- http://en.wikipedia.org/wiki/JPEG use GID.Decoding_JPG, GID.Buffering, Bounded_255; sh: Segment_head; b: U8; begin -- We have already passed the SOI (Start of Image) segment marker (FFD8). image.JPEG_stuff.restart_interval:= 0; Attach_stream(image.buffer, image.stream); loop Read(image, sh); case sh.kind is when DHT => -- Huffman Table Read_DHT(image, Natural(sh.length)); when DQT => Read_DQT(image, Natural(sh.length)); when DRI => -- Restart Interval Read_DRI(image); when SOF_0 .. SOF_15 => Read_SOF(image, sh); exit; -- we've got header-style informations, then it's time to quit when APP_1 => Read_EXIF(image, Natural(sh.length)); when others => -- Skip segment data for i in 1..sh.length loop Get_Byte(image.buffer, b); end loop; end case; end loop; end Load_JPEG_header; ---------------- -- PNG header -- ---------------- procedure Load_PNG_header (image: in out Image_descriptor) is use Decoding_PNG, Buffering; ch: Chunk_head; n, dummy: U32; pragma Warnings(off, dummy); b, color_type: U8; palette: Boolean:= False; begin Buffering.Attach_stream(image.buffer, image.stream); Read(image, ch); if ch.kind /= IHDR then Raise_exception( error_in_image_data'Identity, "Expected 'IHDR' chunk as first chunk in PNG stream" ); end if; Big_endian(image.buffer, n); if n = 0 then Raise_exception( error_in_image_data'Identity, "PNG image with zero width" ); end if; image.width:= Natural(n); Big_endian(image.buffer, n); if n = 0 then Raise_exception( error_in_image_data'Identity, "PNG image with zero height" ); end if; image.height:= Natural(n); Get_Byte(image.buffer, b); image.bits_per_pixel:= Integer(b); Get_Byte(image.buffer, color_type); image.subformat_id:= Integer(color_type); case color_type is when 0 => -- Greyscale image.greyscale:= True; case image.bits_per_pixel is when 1 | 2 | 4 | 8 | 16 => null; when others => Raise_exception( error_in_image_data'Identity, "PNG, type 0 (greyscale): wrong bit-per-channel depth" ); end case; when 2 => -- RGB TrueColor case image.bits_per_pixel is when 8 | 16 => image.bits_per_pixel:= 3 * image.bits_per_pixel; when others => Raise_exception( error_in_image_data'Identity, "PNG, type 2 (RGB): wrong bit-per-channel depth" ); end case; when 3 => -- RGB with palette palette:= True; case image.bits_per_pixel is when 1 | 2 | 4 | 8 => null; when others => Raise_exception( error_in_image_data'Identity, "PNG, type 3: wrong bit-per-channel depth" ); end case; when 4 => -- Grey & Alpha image.greyscale:= True; image.transparency:= True; case image.bits_per_pixel is when 8 | 16 => image.bits_per_pixel:= 2 * image.bits_per_pixel; when others => Raise_exception( error_in_image_data'Identity, "PNG, type 4 (Greyscale & Alpha): wrong bit-per-channel depth" ); end case; when 6 => -- RGBA image.transparency:= True; case image.bits_per_pixel is when 8 | 16 => image.bits_per_pixel:= 4 * image.bits_per_pixel; when others => Raise_exception( error_in_image_data'Identity, "PNG, type 6 (RGBA): wrong bit-per-channel depth" ); end case; when others => Raise_exception( error_in_image_data'Identity, "Unknown PNG color type" ); end case; Get_Byte(image.buffer, b); if b /= 0 then Raise_exception( error_in_image_data'Identity, "Unknown PNG compression; ISO/IEC 15948:2003" & " knows only 'method 0' (deflate)" ); end if; Get_Byte(image.buffer, b); if b /= 0 then Raise_exception( error_in_image_data'Identity, "Unknown PNG filtering; ISO/IEC 15948:2003 knows only 'method 0'" ); end if; Get_Byte(image.buffer, b); image.interlaced:= b = 1; -- Adam7 Big_endian(image.buffer, dummy); -- Chunk's CRC if palette then loop Read(image, ch); case ch.kind is when IEND => Raise_exception( error_in_image_data'Identity, "PNG: there must be a palette, found IEND" ); when PLTE => if ch.length rem 3 /= 0 then Raise_exception( error_in_image_data'Identity, "PNG: palette chunk byte length must be a multiple of 3" ); end if; image.palette:= new Color_Table(0..Integer(ch.length/3)-1); Color_tables.Load_palette(image); Big_endian(image.buffer, dummy); -- Chunk's CRC exit; when others => -- skip chunk data and CRC for i in 1..ch.length + 4 loop Get_Byte(image.buffer, b); end loop; end case; end loop; end if; end Load_PNG_header; ------------------------ -- TGA (Targa) header -- ------------------------ procedure Load_TGA_header (image: in out Image_descriptor) is -- TGA FILE HEADER, p.6 -- image_ID_length: U8; -- Field 1 color_map_type : U8; -- Field 2 image_type : U8; -- Field 3 -- Color Map Specification - Field 4 first_entry_index : U16; -- Field 4.1 color_map_length : U16; -- Field 4.2 color_map_entry_size: U8; -- Field 4.3 -- Image Specification - Field 5 x_origin: U16; y_origin: U16; image_width: U16; image_height: U16; pixel_depth: U8; tga_image_descriptor: U8; -- dummy: U8; base_image_type: Integer; begin -- Read the header image_ID_length:= image.first_byte; U8'Read(image.stream, color_map_type); U8'Read(image.stream, image_type); -- Color Map Specification - Field 4 Read_Intel(image.stream, first_entry_index); Read_Intel(image.stream, color_map_length); U8'Read(image.stream, color_map_entry_size); -- Image Specification - Field 5 Read_Intel(image.stream, x_origin); Read_Intel(image.stream, y_origin); Read_Intel(image.stream, image_width); Read_Intel(image.stream, image_height); U8'Read(image.stream, pixel_depth); U8'Read(image.stream, tga_image_descriptor); -- Done. -- -- Image type: -- 1 = 8-bit palette style -- 2 = Direct [A]RGB image -- 3 = grayscale -- 9 = RLE version of Type 1 -- 10 = RLE version of Type 2 -- 11 = RLE version of Type 3 -- base_image_type:= U8'Pos(image_type and 7); image.RLE_encoded:= (image_type and 8) /= 0; -- if color_map_type /= 0 then image.palette:= new Color_Table( Integer(first_entry_index).. Integer(first_entry_index)+Integer(color_map_length)-1 ); image.subformat_id:= Integer(color_map_entry_size); case image.subformat_id is -- = palette's bit depth when 8 => -- Grey null; when 15 | 16 => -- RGB 3*5 bit | RGBA 3*3+1 bit null; when 24 | 32 => -- RGB 3*8 bit | RGBA 4*8 bit null; when others => Raise_exception( error_in_image_data'Identity, "TGA color map (palette): wrong bit depth:" & Integer'Image(image.subformat_id) ); end case; end if; -- image.greyscale:= False; -- ev. overridden later case base_image_type is when 1 => image.greyscale:= color_map_entry_size = 8; when 2 => null; when 3 => image.greyscale:= True; when others => Raise_exception( unsupported_image_subformat'Identity, "TGA type =" & Integer'Image(base_image_type) ); end case; image.width := U16'Pos(image_width); image.height := U16'Pos(image_height); image.bits_per_pixel := U8'Pos(pixel_depth); -- Make sure we are loading a supported TGA_type case image.bits_per_pixel is when 32 | 24 | 16 | 15 | 8 => null; when others => Raise_exception( unsupported_image_subformat'Identity, "TGA bits per pixels =" & Integer'Image(image.bits_per_pixel) ); end case; image.flag_1:= (tga_image_descriptor and 32) /= 0; -- top first -- *** Image and color map data -- * Image ID for i in 1..image_ID_length loop U8'Read( image.stream, dummy ); end loop; -- * Color map data (palette) Color_tables.Load_palette(image); -- * Image data: Read by Load_image_contents. end Load_TGA_header; procedure Load_TIFF_header (image: in out Image_descriptor) is begin raise known_but_unsupported_image_format; end Load_TIFF_header; end;
32.323077
81
0.562219
2f50b4414bad2ac3f12bc385b76bdf07c698f9fc
853
adb
Ada
Read Only/gdb-7.12.1/gdb/testsuite/gdb.ada/pp-rec-component/foo.adb
samyvic/OS-Project
1622bc1641876584964effd91d65ef02e92728e1
[ "Apache-2.0" ]
null
null
null
Read Only/gdb-7.12.1/gdb/testsuite/gdb.ada/pp-rec-component/foo.adb
samyvic/OS-Project
1622bc1641876584964effd91d65ef02e92728e1
[ "Apache-2.0" ]
null
null
null
Read Only/gdb-7.12.1/gdb/testsuite/gdb.ada/pp-rec-component/foo.adb
samyvic/OS-Project
1622bc1641876584964effd91d65ef02e92728e1
[ "Apache-2.0" ]
null
null
null
-- Copyright 2014-2017 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is Before : Time_T := (Secs => 1384395743); begin Do_Nothing (Before'Address); -- BREAK end Foo;
37.086957
73
0.726846
2f485aeb28fbbc1126b130e46832405ecf08a7d0
8,807
ads
Ada
src/stemmer.ads
stcarrez/ada-stemmer
08f540a33d471a9823d8f1a88ce2a2c4d40faaec
[ "Apache-2.0" ]
3
2020-05-11T21:21:17.000Z
2020-05-17T02:16:08.000Z
src/stemmer.ads
stcarrez/ada-stemmer
08f540a33d471a9823d8f1a88ce2a2c4d40faaec
[ "Apache-2.0" ]
null
null
null
src/stemmer.ads
stcarrez/ada-stemmer
08f540a33d471a9823d8f1a88ce2a2c4d40faaec
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- stemmer -- Multi-language stemmer with Snowball generator -- Copyright (C) 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- package Stemmer with SPARK_Mode is WORD_MAX_LENGTH : constant := 1024; type Context_Type is abstract tagged private; -- Apply the stemming algorithm on the word initialized in the context. procedure Stem (Context : in out Context_Type; Result : out Boolean) is abstract; -- Stem the word and return True if it was reduced. procedure Stem_Word (Context : in out Context_Type'Class; Word : in String; Result : out Boolean) with Global => null, Pre => Word'Length < WORD_MAX_LENGTH; -- Get the stem or the input word unmodified. function Get_Result (Context : in Context_Type'Class) return String with Global => null, Post => Get_Result'Result'Length < WORD_MAX_LENGTH; private type Mask_Type is mod 2**32; -- A 32-bit character value that was read from UTF-8 sequence. -- A modular value is used because shift and logical arithmetic is necessary. type Utf8_Type is mod 2**32; -- Index of the Grouping_Array. The index comes from the 32-bit character value -- minus a starting offset. We don't expect large tables and we check against -- a maximum value. subtype Grouping_Index is Utf8_Type range 0 .. 16384; type Grouping_Array is array (Grouping_Index range <>) of Boolean with Pack; subtype Among_Index is Natural range 0 .. 65535; subtype Among_Start_Index is Among_Index range 1 .. Among_Index'Last; subtype Operation_Index is Natural range 0 .. 65535; subtype Result_Index is Integer range -1 .. WORD_MAX_LENGTH - 1; subtype Char_Index is Result_Index range 0 .. Result_Index'Last; type Among_Type is record First : Among_Start_Index; Last : Among_Index; Substring_I : Integer; Result : Integer; Operation : Operation_Index; end record; type Among_Array_Type is array (Natural range <>) of Among_Type; function Eq_S (Context : in Context_Type'Class; S : in String) return Char_Index with Global => null, Pre => S'Length > 0, Post => Eq_S'Result = 0 or Eq_S'Result = S'Length; function Eq_S_Backward (Context : in Context_Type'Class; S : in String) return Char_Index with Global => null, Pre => S'Length > 0, Post => Eq_S_Backward'Result = 0 or Eq_S_Backward'Result = S'Length; procedure Find_Among (Context : in out Context_Type'Class; Amongs : in Among_Array_Type; Pattern : in String; Execute : access procedure (Ctx : in out Context_Type'Class; Operation : in Operation_Index; Status : out Boolean); Result : out Integer) with Global => null, Pre => Pattern'Length > 0 and Amongs'Length > 0; procedure Find_Among_Backward (Context : in out Context_Type'Class; Amongs : in Among_Array_Type; Pattern : in String; Execute : access procedure (Ctx : in out Context_Type'Class; Operation : in Operation_Index; Status : out Boolean); Result : out Integer) with Global => null, Pre => Pattern'Length > 0 and Amongs'Length > 0; function Skip_Utf8 (Context : in Context_Type'Class) return Result_Index with Global => null; function Skip_Utf8 (Context : in Context_Type'Class; N : in Positive) return Result_Index with Global => null; function Skip_Utf8_Backward (Context : in Context_Type'Class) return Result_Index with Global => null; function Skip_Utf8_Backward (Context : in Context_Type'Class; N : in Positive) return Result_Index with Global => null; procedure Get_Utf8 (Context : in Context_Type'Class; Value : out Utf8_Type; Count : out Natural); procedure Get_Utf8_Backward (Context : in Context_Type'Class; Value : out Utf8_Type; Count : out Natural); function Length (Context : in Context_Type'Class) return Natural; function Length_Utf8 (Context : in Context_Type'Class) return Natural; function Check_Among (Context : in Context_Type'Class; Pos : in Char_Index; Shift : in Natural; Mask : in Mask_Type) return Boolean; procedure Out_Grouping (Context : in out Context_Type'Class; S : in Grouping_Array; Min : in Utf8_Type; Max : in Utf8_Type; Repeat : in Boolean; Result : out Result_Index); procedure Out_Grouping_Backward (Context : in out Context_Type'Class; S : in Grouping_Array; Min : in Utf8_Type; Max : in Utf8_Type; Repeat : in Boolean; Result : out Result_Index); procedure In_Grouping (Context : in out Context_Type'Class; S : in Grouping_Array; Min : in Utf8_Type; Max : in Utf8_Type; Repeat : in Boolean; Result : out Result_Index); procedure In_Grouping_Backward (Context : in out Context_Type'Class; S : in Grouping_Array; Min : in Utf8_Type; Max : in Utf8_Type; Repeat : in Boolean; Result : out Result_Index); procedure Replace (Context : in out Context_Type'Class; C_Bra : in Char_Index; C_Ket : in Char_Index; S : in String; Adjustment : out Integer) with Global => null, Pre => C_Bra >= Context.Lb and C_Ket >= C_Bra and C_Ket <= Context.L; procedure Slice_Del (Context : in out Context_Type'Class) with Global => null, Pre => Context.Bra >= Context.Lb and Context.Ket >= Context.Bra and Context.Ket <= Context.L; procedure Slice_From (Context : in out Context_Type'Class; Text : in String) with Global => null, Pre => Context.Bra >= Context.Lb and Context.Ket >= Context.Bra and Context.Ket <= Context.L and Context.L - Context.Lb + Text'Length + Context.Ket - Context.Bra < Context.P'Length; function Slice_To (Context : in Context_Type'Class) return String; procedure Insert (Context : in out Context_Type'Class; C_Bra : in Char_Index; C_Ket : in Char_Index; S : in String) with Global => null, Pre => C_Bra >= Context.Lb and C_Ket >= C_Bra and C_Ket <= Context.L; -- The context indexes follow the C paradigm: they start at 0 for the first character. -- This is necessary because several algorithms rely on this when they compare the -- cursor position ('C') or setup some markers from the cursor. type Context_Type is abstract tagged record C : Char_Index := 0; L : Char_Index := 0; Lb : Char_Index := 0; Bra : Char_Index := 0; Ket : Char_Index := 0; P : String (1 .. WORD_MAX_LENGTH); end record; end Stemmer;
42.752427
93
0.556489
31eb64a465c6f29cc09fb5e7a83af022a0ccccdb
8,875
ads
Ada
src/inverter_pwm.ads
JCGobbi/Nucleo-STM32H743ZI
bb0b5a66e9ac8b3dbe381f9909df5ed5d77dad1c
[ "BSD-3-Clause" ]
null
null
null
src/inverter_pwm.ads
JCGobbi/Nucleo-STM32H743ZI
bb0b5a66e9ac8b3dbe381f9909df5ed5d77dad1c
[ "BSD-3-Clause" ]
null
null
null
src/inverter_pwm.ads
JCGobbi/Nucleo-STM32H743ZI
bb0b5a66e9ac8b3dbe381f9909df5ed5d77dad1c
[ "BSD-3-Clause" ]
null
null
null
with STM32.GPIO; use STM32.GPIO; with STM32.Timers; use STM32.Timers; with STM32.PWM; use STM32.PWM; with STM_Board; use STM_Board; with Inverter_ADC; use Inverter_ADC; package Inverter_PWM is ----------------- -- Definitions -- ----------------- type PWM_Phase is (A, B); -- Each phase of a full bridge circuit. type PWM_Alignment is (Edge, -- Positive edge Center -- Center of positive part ); -- Describes where on the PWM waveform the signals shall be aligned. -- The final maximum amplitude for the sine voltage is defined by the -- maximum sine table value, that is 10_000. -- Considering that the battery nominal voltage is 12 Volts, this will -- be the peak AC value, which corresponds to a primary AC RMS voltage -- of 12 V / sqrt(2) = 8.485 V. -- With a minimum battery voltage of 10 V, the minimum AC RMS voltage -- will be 10 V / sqrt(2) = 7.07 V. -- The transformer voltage ratio between the primary and secondary, for -- a maximum output voltage of 230 V RMS, will be 230 V / 7.07 V = 32.5, -- so the turns ratio of the transformer will be (Ns / Np) = 33. subtype Table_Amplitude is Integer range 0 .. 10_000; -- Values inside 14 bits (0 - 16_384). subtype Duty_Cycle is Float range 0.0 .. 100.0; -- The upload frequency of the duty cycle is defined by the number of points -- for each semi-sinusoid. -- For 50 Hz we have 2 half senoids * 50 Hz * 250 points = 25000 Hz. -- For 60 Hz we have 2 half senoids * 60 Hz * 250 points = 30000 Hz. -- For 400 Hz we have 2 half senoids * 400 Hz * 250 points = 200000 Hz. PWM_Frequency_Hz : Frequency_Hz := 30_000.0; -- for 60 Hz -- STM32H743 operates at 400 MHz with 200 MHz into Prescaler. -- With 200 MHz and (20 - 1) for prescaler we have 10 MHz for counter -- period, that have values of 400, 333 and 50 for 25, 30 and 200 KHz. -- For 50 Hz we have 200 MHz / 25 kHz = 8000 ticks by each 25 kHz period, -- so the minimum duty cycle is 100 / 8000 = 0.0125 %. -- For 60 Hz we have 200 MHz / 30 kHz = 6667 ticks by each 30 kHz period, -- so the minimum duty cycle is 100 / 6667 = 0.0150 %. -- For 400 Hz we have 200 MHz / 200 kHz = 1000 ticks by each 200 kHz period, -- so the minimum duty cycle is 100 / 1000 = 0.1000 %. subtype Deadtime_Range is Float range 0.0 .. 400.0e-9; -- Maximum deadtime permissible is 126 us. -- Maximum deadtime chosen is 1% of the PWM_Frequency_Hz = 0.01/25_000. PWM_Deadtime : constant Deadtime_Range := 166.7e-9; -- The delay exists in the rising edges. -- It depends on the electronic circuit rise and fall times. -- 166.7e-9 * 30 kHz * 100 = 0.5% of the total period, -- 0.5% of 8000 ticks = 40 ticks. ----------------------------- -- Procedures and function -- ----------------------------- procedure Initialize_PWM (Frequency : Frequency_Hz; Deadtime : Deadtime_Range; Alignment : PWM_Alignment); -- Initialize the timer peripheral for PWM. -- Each phase needs to be enabled manually after this. procedure Enable_Phase (This : PWM_Phase) with inline; -- Enable PWM generation for the specified phase. procedure Disable_Phase (This : PWM_Phase) with inline; -- Disable PWM generation for the specified phase. procedure Start_PWM with Pre => Is_Initialized; -- Start the generation of sinusoid wave by enabling interrupt. procedure Stop_PWM with Pre => Is_Initialized; -- Stop the generation of sinusoid wave by disabling interrupt. function Get_Duty_Resolution return Duty_Cycle; -- Return the minimum step that the duty can be changed, in percent. procedure Set_Duty_Cycle (This : PWM_Phase; Value : Duty_Cycle); -- Sets the duty cycle in percent for the specified phase. procedure Set_Duty_Cycle (This : PWM_Phase; Amplitude : Table_Amplitude; Gain : Gain_Range); -- Sets the duty cycle for the specified phase. procedure Set_PWM_Gate_Power (Enabled : in Boolean) with Pre => (if Enabled = False then STM_Board.Is_Initialized else Is_Initialized and STM_Board.Is_Initialized); -- Enable or disable the output of the gate drivers. procedure Reset_Sine_Step; -- Set the sine table step counter to the last position of the -- table, or 250, whose amplitude value is 0. procedure Safe_State; -- Forces the inverter into a state that is considered safe. -- Typically this disables the PWM generation (all switches off), and -- turns off the power to the gate drivers. function Is_Initialized return Boolean; -- Returns True if the board specifics are initialized. private Initialized : Boolean := False; subtype Sine_Step_Range is Natural range 1 .. 250; -- Number of steps for the half sine table. Sine_Step : Sine_Step_Range := 250; -- The table last step value is 0. -- The table for sine generation is produced knowing the number of points -- to complete 1/4 sine period. The semi-sinusoid, or 1/2 sine period is -- completed with these same points in reverse order. -- The equation which defines each point is: -- -- D = A * sin(pi/2 * x/N) -- D = Duty cycle at a given discrete point; -- A = Signal amplitude of the maximum duty cycle. We adopt 10_000. -- pi/2 = 1/4 of the sine period -- x = Step number -- N = Number of points = 125 -- Sine table with 125 points from 0 to 10000, in direct and reverse order -- to create a semi-sinusoid with 250 points. Sine_Table : constant array (Sine_Step_Range) of Table_Amplitude := (126, 251, 377, 502, 628, 753, 879, 1004, 1129, 1253, 1378, 1502, 1626, 1750, 1874, 1997, 2120, 2243, 2365, 2487, 2608, 2730, 2850, 2970, 3090, 3209, 3328, 3446, 3564, 3681, 3798, 3914, 4029, 4144, 4258, 4371, 4484, 4596, 4707, 4818, 4927, 5036, 5144, 5252, 5358, 5464, 5569, 5673, 5776, 5878, 5979, 6079, 6179, 6277, 6374, 6471, 6566, 6660, 6753, 6845, 6937, 7026, 7115, 7203, 7290, 7375, 7459, 7543, 7624, 7705, 7785, 7863, 7940, 8016, 8090, 8163, 8235, 8306, 8375, 8443, 8510, 8575, 8639, 8702, 8763, 8823, 8881, 8938, 8994, 9048, 9101, 9152, 9202, 9251, 9298, 9343, 9387, 9430, 9471, 9511, 9549, 9585, 9620, 9654, 9686, 9716, 9745, 9773, 9799, 9823, 9846, 9867, 9887, 9905, 9921, 9936, 9950, 9961, 9972, 9980, 9987, 9993, 9997, 9999, 10000, 9999, 9997, 9993, 9987, 9980, 9972, 9961, 9950, 9936, 9921, 9905, 9887, 9867, 9846, 9823, 9799, 9773, 9745, 9716, 9686, 9654, 9620, 9585, 9549, 9511, 9471, 9430, 9387, 9343, 9298, 9251, 9202, 9152, 9101, 9048, 8994, 8938, 8881, 8823, 8763, 8702, 8639, 8575, 8510, 8443, 8375, 8306, 8235, 8163, 8090, 8016, 7940, 7863, 7785, 7705, 7624, 7543, 7459, 7375, 7290, 7203, 7115, 7026, 6937, 6845, 6753, 6660, 6566, 6471, 6374, 6277, 6179, 6079, 5979, 5878, 5776, 5673, 5569, 5464, 5358, 5252, 5144, 5036, 4927, 4818, 4707, 4596, 4484, 4371, 4258, 4144, 4029, 3914, 3798, 3681, 3564, 3446, 3328, 3209, 3090, 2970, 2850, 2730, 2608, 2487, 2365, 2243, 2120, 1997, 1874, 1750, 1626, 1502, 1378, 1253, 1129, 1004, 879, 753, 628, 502, 377, 251, 126, 0); PWM_Timer_Ref : access Timer := PWM_Timer'Access; Modulators : array (PWM_Phase'Range) of PWM_Modulator; type Gate_Setting is record Channel : Timer_Channel; Pin_H : GPIO_Point; Pin_L : GPIO_Point; Pin_AF : STM32.GPIO_Alternate_Function; end record; type Gate_Settings is array (PWM_Phase'Range) of Gate_Setting; Gate_Phase_Settings : constant Gate_Settings := ((A) => Gate_Setting'(Channel => PWM_A_Channel, Pin_H => PWM_A_H_Pin, Pin_L => PWM_A_L_Pin, Pin_AF => PWM_A_GPIO_AF), (B) => Gate_Setting'(Channel => PWM_B_Channel, Pin_H => PWM_B_H_Pin, Pin_L => PWM_B_L_Pin, Pin_AF => PWM_B_GPIO_AF)); protected PWM_Handler is pragma Interrupt_Priority (PWM_ISR_Priority); private Counter : Integer := 0; -- For testing the output. Semi_Senoid : Boolean := False; -- Defines False = 1'st half sinusoid, True = 2'nd half sinusoid. procedure PWM_ISR_Handler with Attach_Handler => PWM_Interrupt; end PWM_Handler; end Inverter_PWM;
40.898618
80
0.618704
2fd5ddef1bc0182783ad4337a864479755152307
4,216
ads
Ada
source/amf/ocl/amf-ocl-real_literal_exps.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/ocl/amf-ocl-real_literal_exps.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/ocl/amf-ocl-real_literal_exps.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012-2013, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.OCL.Numeric_Literal_Exps; package AMF.OCL.Real_Literal_Exps is pragma Preelaborate; type OCL_Real_Literal_Exp is limited interface and AMF.OCL.Numeric_Literal_Exps.OCL_Numeric_Literal_Exp; type OCL_Real_Literal_Exp_Access is access all OCL_Real_Literal_Exp'Class; for OCL_Real_Literal_Exp_Access'Storage_Size use 0; not overriding function Get_Real_Symbol (Self : not null access constant OCL_Real_Literal_Exp) return AMF.Real is abstract; -- Getter of RealLiteralExp::realSymbol. -- not overriding procedure Set_Real_Symbol (Self : not null access OCL_Real_Literal_Exp; To : AMF.Real) is abstract; -- Setter of RealLiteralExp::realSymbol. -- end AMF.OCL.Real_Literal_Exps;
58.555556
78
0.451139
593347808cef3361c9406dab541f6cbebd25b664
3,016
adb
Ada
HdGfxLib/glue/gma.adb
jam3st/edk2
d477ef9975cc6cdf1fca4d221c3064c2f2d804e8
[ "BSD-2-Clause" ]
1
2019-02-05T09:50:07.000Z
2019-02-05T09:50:07.000Z
HdGfxLib/glue/gma.adb
jam3st/edk2
d477ef9975cc6cdf1fca4d221c3064c2f2d804e8
[ "BSD-2-Clause" ]
null
null
null
HdGfxLib/glue/gma.adb
jam3st/edk2
d477ef9975cc6cdf1fca4d221c3064c2f2d804e8
[ "BSD-2-Clause" ]
null
null
null
with HW.GFX; with HW.GFX.Framebuffer_Filler; with HW.GFX.GMA; with HW.GFX.GMA.Display_Probing; use HW.GFX; use HW.GFX.GMA; use HW.GFX.GMA.Display_Probing; with HW.Debug; with HW.Debug_Sink; with GMA.Mainboard; package body GMA is fb_valid : boolean := false; linear_fb_addr : word64; fb : Framebuffer_Type; function fill_lb_framebuffer (framebuffer : in out lb_framebuffer) return Interfaces.C.int is use type word64; use type Interfaces.C.int; begin if fb_valid then framebuffer := ( physical_address => linear_fb_addr, x_resolution => Word64(fb.Width), y_resolution => Word64(fb.Height), bpp => 32 ); Debug.Put ("fill_lb_framebuffer at "); Debug.Put_Word64(linear_fb_addr); Debug.Put (" and is "); Debug.Put_Int32(fb.Width); Debug.Put (" x "); Debug.Put_Int32(fb.Height); Debug.Put_Line (""); return 0; else return -1; end if; end fill_lb_framebuffer; ---------------------------------------------------------------------------- procedure gfxinit (lightup_ok : out Interfaces.C.int) is use type pos32; use type word64; ports : Port_List; configs : Pipe_Configs; success : boolean; min_h : pos16 := pos16'last; min_v : pos16 := pos16'last; begin lightup_ok := 0; HW.GFX.GMA.Initialize (Success => success); if success then ports := Mainboard.ports; HW.GFX.GMA.Display_Probing.Scan_Ports (configs, ports); if configs (Primary).Port /= Disabled then for i in Pipe_Index loop exit when configs (i).Port = Disabled; min_h := pos16'min (min_h, configs (i).Mode.H_Visible); min_v := pos16'min (min_v, configs (i).Mode.V_Visible); end loop; fb := configs (Primary).Framebuffer; fb.Width := Width_Type (min_h); fb.Height := Height_Type (min_v); fb.Stride := Div_Round_Up (fb.Width, 16) * 16; fb.V_Stride := fb.Height; for i in Pipe_Index loop exit when configs (i).Port = Disabled; configs (i).Framebuffer := fb; end loop; HW.GFX.GMA.Dump_Configs (configs); HW.GFX.GMA.Setup_Default_FB (FB => fb, Clear => true, Success => success); if success then HW.GFX.GMA.Update_Outputs (configs); HW.GFX.GMA.Map_Linear_FB (linear_fb_addr, fb); fb_valid := linear_fb_addr /= 0; lightup_ok := (if fb_valid then 1 else 0); end if; end if; end if; end gfxinit; procedure test_debugprint is begin HW.Debug_Sink.Put("\ngma test debug printt ok\n"); end test_debugprint; end GMA;
24.92562
79
0.536141
1d46f832b7b135001da9f85dd5bd14d09a5c6ab0
41
ada
Ada
bugs/bug20.ada
daveshields/AdaEd
57daecfb7ccadfd9aaf13b4d54f51065affbe599
[ "BSD-4-Clause", "BSD-3-Clause" ]
3
2019-05-11T04:11:33.000Z
2021-04-18T14:55:43.000Z
bugs/bug20.ada
daveshields/AdaEd
57daecfb7ccadfd9aaf13b4d54f51065affbe599
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
bugs/bug20.ada
daveshields/AdaEd
57daecfb7ccadfd9aaf13b4d54f51065affbe599
[ "BSD-4-Clause", "BSD-3-Clause" ]
2
2016-10-29T22:52:56.000Z
2021-04-18T14:55:45.000Z
package p is type t is private; end p;
10.25
20
0.682927
1dcb53b8436bba04b130c95ebb25082cfff7a226
323
ads
Ada
src/_test/fixtures/apsepp_test_node_barrier-create_test_reporter.ads
thierr26/ada-apsepp
6eb87079ea57707db4ee1e2215fa170af66b1913
[ "MIT" ]
null
null
null
src/_test/fixtures/apsepp_test_node_barrier-create_test_reporter.ads
thierr26/ada-apsepp
6eb87079ea57707db4ee1e2215fa170af66b1913
[ "MIT" ]
null
null
null
src/_test/fixtures/apsepp_test_node_barrier-create_test_reporter.ads
thierr26/ada-apsepp
6eb87079ea57707db4ee1e2215fa170af66b1913
[ "MIT" ]
null
null
null
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. function Apsepp_Test_Node_Barrier.Create_Test_Reporter (Barrier : Test_Node_Barrier_Access; Char_Name_Image : Char_Name_Image_Func; Tag_To_Char : Tag_To_Char_Func) return Test_Reporter_W_Barrier;
40.375
70
0.780186
2fb581b0a2170acebae44c1176932a75d141e91a
10,364
adb
Ada
src/gl/implementation/gl-buffers.adb
Roldak/OpenGLAda
6807605b7321249d71286fa25231bdfd537d3eac
[ "MIT" ]
79
2015-04-20T23:10:02.000Z
2022-03-04T13:50:56.000Z
src/gl/implementation/gl-buffers.adb
Roldak/OpenGLAda
6807605b7321249d71286fa25231bdfd537d3eac
[ "MIT" ]
126
2015-09-10T10:41:34.000Z
2022-03-20T11:25:40.000Z
src/gl/implementation/gl-buffers.adb
Roldak/OpenGLAda
6807605b7321249d71286fa25231bdfd537d3eac
[ "MIT" ]
20
2015-03-17T07:15:57.000Z
2022-02-02T17:12:11.000Z
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Ada.Unchecked_Conversion; with GL.API; with GL.Enums.Getter; with GL.Low_Level.Enums; package body GL.Buffers is use type Culling.Face_Selector; procedure Clear (Bits : Buffer_Bits) is use type Low_Level.Bitfield; function Convert is new Ada.Unchecked_Conversion (Source => Buffer_Bits, Target => Low_Level.Bitfield); Raw_Bits : constant Low_Level.Bitfield := Convert (Bits) and 2#0100011100000000#; begin API.Clear (Raw_Bits); Raise_Exception_On_OpenGL_Error; end Clear; procedure Set_Active_Buffer (Selector : Explicit_Color_Buffer_Selector) is begin API.Draw_Buffer (Selector); Raise_Exception_On_OpenGL_Error; end Set_Active_Buffer; procedure Set_Active_Buffers (List : Explicit_Color_Buffer_List) is begin API.Draw_Buffers (List'Length, List); Raise_Exception_On_OpenGL_Error; end Set_Active_Buffers; procedure Set_Color_Clear_Value (Value : Colors.Color) is begin API.Clear_Color (Value (Colors.R), Value (Colors.G), Value (Colors.B), Value (Colors.A)); Raise_Exception_On_OpenGL_Error; end Set_Color_Clear_Value; function Color_Clear_Value return Colors.Color is Value : Colors.Color; begin API.Get_Color (Enums.Getter.Color_Clear_Value, Value); Raise_Exception_On_OpenGL_Error; return Value; end Color_Clear_Value; procedure Set_Depth_Clear_Value (Value : Depth) is begin API.Clear_Depth (Value); Raise_Exception_On_OpenGL_Error; end Set_Depth_Clear_Value; function Depth_Clear_Value return Depth is Value : aliased Double; begin API.Get_Double (Enums.Getter.Depth_Clear_Value, Value'Access); Raise_Exception_On_OpenGL_Error; return Value; end Depth_Clear_Value; procedure Set_Stencil_Clear_Value (Value : Stencil_Index) is begin API.Clear_Stencil (Value); Raise_Exception_On_OpenGL_Error; end Set_Stencil_Clear_Value; function Stencil_Clear_Value return Stencil_Index is Value : aliased Stencil_Index; begin API.Get_Integer (Enums.Getter.Stencil_Clear_Value, Value'Access); Raise_Exception_On_OpenGL_Error; return Value; end Stencil_Clear_Value; procedure Set_Accum_Clear_Value (Value : Colors.Color) is begin API.Clear_Accum (Value (Colors.R), Value (Colors.G), Value (Colors.B), Value (Colors.A)); Raise_Exception_On_OpenGL_Error; end Set_Accum_Clear_Value; function Accum_Clear_Value return Colors.Color is Value : Colors.Color; begin API.Get_Color (Enums.Getter.Accum_Clear_Value, Value); Raise_Exception_On_OpenGL_Error; return Value; end Accum_Clear_Value; procedure Set_Depth_Function (Func : Compare_Function) is begin API.Depth_Func (Func); Raise_Exception_On_OpenGL_Error; end Set_Depth_Function; function Depth_Function return Compare_Function is Value : aliased Compare_Function; begin API.Get_Compare_Function (Enums.Getter.Depth_Func, Value'Access); Raise_Exception_On_OpenGL_Error; return Value; end Depth_Function; procedure Depth_Mask (Enabled : Boolean) is begin API.Depth_Mask (Low_Level.Bool (Enabled)); Raise_Exception_On_OpenGL_Error; end Depth_Mask; function Depth_Mask return Boolean is Value : aliased Low_Level.Bool; begin API.Get_Boolean (Enums.Getter.Depth_Writemask, Value'Access); Raise_Exception_On_OpenGL_Error; return Boolean (Value); end Depth_Mask; procedure Set_Stencil_Function (Func : Compare_Function; Ref : Int; Mask : UInt) is Face : constant Culling.Face_Selector := Culling.Front_And_Back; begin Set_Stencil_Function (Face, Func, Ref, Mask); end Set_Stencil_Function; procedure Set_Stencil_Function (Face : Culling.Face_Selector; Func : Compare_Function; Ref : Int; Mask : UInt) is begin API.Stencil_Func_Separate (Face, Func, Ref, Mask); Raise_Exception_On_OpenGL_Error; end Set_Stencil_Function; function Stencil_Function (Face : Single_Face_Selector) return Compare_Function is Value : aliased Compare_Function; begin if Face = Culling.Front then API.Get_Compare_Function (Enums.Getter.Stencil_Func, Value'Access); else API.Get_Compare_Function (Enums.Getter.Stencil_Back_Func, Value'Access); end if; Raise_Exception_On_OpenGL_Error; return Value; end Stencil_Function; function Stencil_Reference_Value (Face : Single_Face_Selector) return Int is Value : aliased Int; begin if Face = Culling.Front then API.Get_Integer (Enums.Getter.Stencil_Ref, Value'Access); else API.Get_Integer (Enums.Getter.Stencil_Back_Ref, Value'Access); end if; Raise_Exception_On_OpenGL_Error; return Value; end Stencil_Reference_Value; function Stencil_Value_Mask (Face : Single_Face_Selector) return UInt is Value : aliased UInt; begin if Face = Culling.Front then API.Get_Unsigned_Integer (Enums.Getter.Stencil_Value_Mask, Value'Access); else API.Get_Unsigned_Integer (Enums.Getter.Stencil_Back_Value_Mask, Value'Access); end if; Raise_Exception_On_OpenGL_Error; return Value; end Stencil_Value_Mask; procedure Set_Stencil_Operation (Stencil_Fail : Buffers.Stencil_Action; Depth_Fail : Buffers.Stencil_Action; Depth_Pass : Buffers.Stencil_Action) is Face : constant Culling.Face_Selector := Culling.Front_And_Back; begin Set_Stencil_Operation (Face, Stencil_Fail, Depth_Fail, Depth_Pass); end Set_Stencil_Operation; procedure Set_Stencil_Operation (Face : Culling.Face_Selector; Stencil_Fail : Buffers.Stencil_Action; Depth_Fail : Buffers.Stencil_Action; Depth_Pass : Buffers.Stencil_Action) is begin API.Stencil_Op_Separate (Face, Stencil_Fail, Depth_Fail, Depth_Pass); Raise_Exception_On_OpenGL_Error; end Set_Stencil_Operation; function Stencil_Operation_Stencil_Fail (Face : Single_Face_Selector) return Buffers.Stencil_Action is Value : aliased Buffers.Stencil_Action; begin if Face = Culling.Front then API.Get_Stencil_Action (Enums.Getter.Stencil_Fail, Value'Access); else API.Get_Stencil_Action (Enums.Getter.Stencil_Back_Fail, Value'Access); end if; Raise_Exception_On_OpenGL_Error; return Value; end Stencil_Operation_Stencil_Fail; function Stencil_Operation_Depth_Fail (Face : Single_Face_Selector) return Buffers.Stencil_Action is Value : aliased Buffers.Stencil_Action; begin if Face = Culling.Front then API.Get_Stencil_Action (Enums.Getter.Stencil_Pass_Depth_Fail, Value'Access); else API.Get_Stencil_Action (Enums.Getter.Stencil_Back_Pass_Depth_Fail, Value'Access); end if; Raise_Exception_On_OpenGL_Error; return Value; end Stencil_Operation_Depth_Fail; function Stencil_Operation_Depth_Pass (Face : Single_Face_Selector) return Buffers.Stencil_Action is Value : aliased Buffers.Stencil_Action; begin if Face = Culling.Front then API.Get_Stencil_Action (Enums.Getter.Stencil_Pass_Depth_Pass, Value'Access); else API.Get_Stencil_Action (Enums.Getter.Stencil_Back_Pass_Depth_Pass, Value'Access); end if; Raise_Exception_On_OpenGL_Error; return Value; end Stencil_Operation_Depth_Pass; procedure Set_Stencil_Mask (Value : UInt) is Face : constant Culling.Face_Selector := Culling.Front_And_Back; begin Set_Stencil_Mask (Face, Value); end Set_Stencil_Mask; procedure Set_Stencil_Mask (Face : Culling.Face_Selector; Value : UInt) is begin API.Stencil_Mask_Separate (Face, Value); Raise_Exception_On_OpenGL_Error; end Set_Stencil_Mask; function Stencil_Mask (Face : Single_Face_Selector) return UInt is Value : aliased UInt; begin if Face = Culling.Front then API.Get_Unsigned_Integer (Enums.Getter.Stencil_Writemask, Value'Access); else API.Get_Unsigned_Integer (Enums.Getter.Stencil_Back_Writemask, Value'Access); end if; Raise_Exception_On_OpenGL_Error; return Value; end Stencil_Mask; procedure Clear_Color_Buffers (Selector : Base_Color_Buffer_Selector; Value : Colors.Color) is begin API.Clear_Buffer (Selector, 0, Value); Raise_Exception_On_OpenGL_Error; end Clear_Color_Buffers; procedure Clear_Draw_Buffer (Index : Draw_Buffer_Index; Value : Colors.Color) is begin API.Clear_Draw_Buffer (Low_Level.Enums.Color, Index, Value); Raise_Exception_On_OpenGL_Error; end Clear_Draw_Buffer; procedure Clear_Depth_Buffer (Value : Depth) is Aliased_Value : aliased constant Depth := Value; begin API.Clear_Buffer_Depth (Low_Level.Enums.Depth_Buffer, 0, Aliased_Value'Unchecked_Access); Raise_Exception_On_OpenGL_Error; end Clear_Depth_Buffer; procedure Clear_Stencil_Buffer (Value : Stencil_Index) is Aliased_Value : aliased constant Stencil_Index := Value; begin API.Clear_Buffer_Stencil (Low_Level.Enums.Stencil, 0, Aliased_Value'Unchecked_Access); Raise_Exception_On_OpenGL_Error; end Clear_Stencil_Buffer; procedure Clear_Depth_And_Stencil_Buffer (Depth_Value : Depth; Stencil_Value : Stencil_Index) is begin API.Clear_Buffer_Depth_Stencil (Low_Level.Enums.Depth_Stencil, 0, Depth_Value, Stencil_Value); Raise_Exception_On_OpenGL_Error; end Clear_Depth_And_Stencil_Buffer; end GL.Buffers;
35.251701
105
0.692493
1dd3aec2fc465f5557db0edebdfc9924e2183b49
8,426
ads
Ada
source/sql/sql-queries.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/sql/sql-queries.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/sql/sql-queries.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- SQL Database Access -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2013, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ pragma Ada_2012; private with Ada.Finalization; with League.Holders; with League.Strings; private with Matreshka.Internals.SQL_Drivers.Dummy; package SQL.Queries is type SQL_Query is tagged private; procedure Bind_Value (Self : in out SQL_Query'Class; Name : League.Strings.Universal_String; Value : League.Holders.Holder; Direction : Parameter_Directions := In_Parameter); -- Set the placeholder Name to be bound to value Value in the prepared -- statement. -- -- XXX Add description of Direction and how to set value to NULL. function Bound_Value (Self : SQL_Query'Class; Name : League.Strings.Universal_String) return League.Holders.Holder; function Error_Message (Self : SQL_Query'Class) return League.Strings.Universal_String; function Execute (Self : in out SQL_Query'Class) return Boolean; -- Executes a previously prepared SQL query. Returns True if the query -- executed successfully; otherwise returns False. -- -- After the query is executed, the query is positioned on an invalid -- record and must be navigated to a valid record before data values can be -- retrieved. -- -- Note that the last error for this query is reset when Execute is called. procedure Execute (Self : in out SQL_Query'Class); -- Executes a previously prepared SQL query. Raises SQL_Error when query -- is not executed successfully. -- -- After the query is executed, the query is positioned on an invalid -- record and must be navigated to a valid record before data values can be -- retrieved. -- -- Note that the last error for this query is reset when Execute is called. procedure Finish (Self : in out SQL_Query'Class); -- Instruct the database driver that no more data will be fetched from this -- query until it is re-executed. There is normally no need to call this -- function, but it may be helpful in order to free resources such as locks -- or cursors if you intend to re-use the query at a later time. -- -- Sets the query to inactive. Bound values retain their values. function Is_Active (Self : SQL_Query'Class) return Boolean; -- Returns True if the query is active. An active SQL_Query is one that has -- been executed successfully but not yet finished with. When you are -- finished with an active query, you can make make the query inactive by -- calling Finish, or you can delete the SQL_Query instance. -- -- Note: Of particular interest is an active query that is a SELECT -- statement. For some databases that support transactions, an active query -- that is a SELECT statement can cause a Commit or a Rollback to fail, so -- before committing or rolling back, you should make your active SELECT -- statement query inactive using one of the ways listed above. function Is_Valid (Self : SQL_Query'Class) return Boolean; -- Returns True if the query is currently positioned on a valid record; -- otherwise returns false. function Next (Self : in out SQL_Query'Class) return Boolean; function Prepare (Self : in out SQL_Query'Class; Query : League.Strings.Universal_String) return Boolean; -- Prepares the SQL query query for execution. Returns True if the query is -- prepared successfully; otherwise returns False. -- -- The query may contain placeholders for binding values. Both Oracle style -- colon-name (e.g., :surname), and ODBC style (?) placeholders are -- supported; but they cannot be mixed in the same query. -- -- Portability note: Some databases choose to delay preparing a query until -- it is executed the first time. In this case, preparing a syntactically -- wrong query succeeds, but every consecutive Execute will fail. procedure Prepare (Self : in out SQL_Query'Class; Query : League.Strings.Universal_String); -- Prepares the SQL query query for execution. Raises SQL_Error if query is -- not prepared successfully. -- -- The query may contain placeholders for binding values. Both Oracle style -- colon-name (e.g., :surname), and ODBC style (?) placeholders are -- supported; but they cannot be mixed in the same query. -- -- Portability note: Some databases choose to delay preparing a query until -- it is executed the first time. In this case, preparing a syntactically -- wrong query succeeds, but every consecutive Execute will fail. -- function Previous (Self : in out SQL_Query'Class) return Boolean; -- procedure Previous (Self : in out SQL_Query'Class); function Value (Self : SQL_Query'Class; Index : Positive) return League.Holders.Holder; private type SQL_Query is new Ada.Finalization.Controlled with record Data : Matreshka.Internals.SQL_Drivers.Query_Access := Matreshka.Internals.SQL_Drivers.Dummy.Empty_Query'Access; end record; overriding procedure Adjust (Self : in out SQL_Query); overriding procedure Finalize (Self : in out SQL_Query); end SQL.Queries;
51.066667
79
0.586755
59e06e261c7253a8199ddc981b3ef3a094b68ae6
53,308
adb
Ada
gcc-gcc-7_3_0-release/gcc/ada/a-witeio.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/a-witeio.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/a-witeio.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . W I D E _ T E X T _ I O -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Streams; use Ada.Streams; with Interfaces.C_Streams; use Interfaces.C_Streams; with System.CRTL; with System.File_IO; with System.WCh_Cnv; use System.WCh_Cnv; with System.WCh_Con; use System.WCh_Con; with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; pragma Elaborate_All (System.File_IO); -- Needed because of calls to Chain_File in package body elaboration package body Ada.Wide_Text_IO is package FIO renames System.File_IO; subtype AP is FCB.AFCB_Ptr; function To_FCB is new Ada.Unchecked_Conversion (File_Mode, FCB.File_Mode); function To_TIO is new Ada.Unchecked_Conversion (FCB.File_Mode, File_Mode); use type FCB.File_Mode; use type System.CRTL.size_t; WC_Encoding : Character; pragma Import (C, WC_Encoding, "__gl_wc_encoding"); -- Default wide character encoding Err_Name : aliased String := "*stderr" & ASCII.NUL; In_Name : aliased String := "*stdin" & ASCII.NUL; Out_Name : aliased String := "*stdout" & ASCII.NUL; -- Names of standard files -- -- Use "preallocated" strings to avoid calling "new" during the elaboration -- of the run time. This is needed in the tasking case to avoid calling -- Task_Lock too early. A filename is expected to end with a null character -- in the runtime, here the null characters are added just to have a -- correct filename length. -- -- Note: the names for these files are bogus, and probably it would be -- better for these files to have no names, but the ACVC tests insist. -- We use names that are bound to fail in open etc. Null_Str : aliased constant String := ""; -- Used as form string for standard files ----------------------- -- Local Subprograms -- ----------------------- function Get_Wide_Char_Immed (C : Character; File : File_Type) return Wide_Character; -- This routine is identical to Get_Wide_Char, except that the reads are -- done in Get_Immediate mode (i.e. without waiting for a line return). function Getc_Immed (File : File_Type) return int; -- This routine is identical to Getc, except that the read is done in -- Get_Immediate mode (i.e. without waiting for a line return). procedure Putc (ch : int; File : File_Type); -- Outputs the given character to the file, which has already been checked -- for being in output status. Device_Error is raised if the character -- cannot be written. procedure Set_WCEM (File : in out File_Type); -- Called by Open and Create to set the wide character encoding method for -- the file, processing a WCEM form parameter if one is present. File is -- IN OUT because it may be closed in case of an error. procedure Terminate_Line (File : File_Type); -- If the file is in Write_File or Append_File mode, and the current line -- is not terminated, then a line terminator is written using New_Line. -- Note that there is no Terminate_Page routine, because the page mark at -- the end of the file is implied if necessary. procedure Ungetc (ch : int; File : File_Type); -- Pushes back character into stream, using ungetc. The caller has checked -- that the file is in read status. Device_Error is raised if the character -- cannot be pushed back. An attempt to push back and end of file character -- (EOF) is ignored. ------------------- -- AFCB_Allocate -- ------------------- function AFCB_Allocate (Control_Block : Wide_Text_AFCB) return FCB.AFCB_Ptr is pragma Unreferenced (Control_Block); begin return new Wide_Text_AFCB; end AFCB_Allocate; ---------------- -- AFCB_Close -- ---------------- procedure AFCB_Close (File : not null access Wide_Text_AFCB) is begin -- If the file being closed is one of the current files, then close -- the corresponding current file. It is not clear that this action -- is required (RM A.10.3(23)) but it seems reasonable, and besides -- ACVC test CE3208A expects this behavior. if File_Type (File) = Current_In then Current_In := null; elsif File_Type (File) = Current_Out then Current_Out := null; elsif File_Type (File) = Current_Err then Current_Err := null; end if; Terminate_Line (File_Type (File)); end AFCB_Close; --------------- -- AFCB_Free -- --------------- procedure AFCB_Free (File : not null access Wide_Text_AFCB) is type FCB_Ptr is access all Wide_Text_AFCB; FT : FCB_Ptr := FCB_Ptr (File); procedure Free is new Ada.Unchecked_Deallocation (Wide_Text_AFCB, FCB_Ptr); begin Free (FT); end AFCB_Free; ----------- -- Close -- ----------- procedure Close (File : in out File_Type) is begin FIO.Close (AP (File)'Unrestricted_Access); end Close; --------- -- Col -- --------- -- Note: we assume that it is impossible in practice for the column -- to exceed the value of Count'Last, i.e. no check is required for -- overflow raising layout error. function Col (File : File_Type) return Positive_Count is begin FIO.Check_File_Open (AP (File)); return File.Col; end Col; function Col return Positive_Count is begin return Col (Current_Out); end Col; ------------ -- Create -- ------------ procedure Create (File : in out File_Type; Mode : File_Mode := Out_File; Name : String := ""; Form : String := "") is Dummy_File_Control_Block : Wide_Text_AFCB; pragma Warnings (Off, Dummy_File_Control_Block); -- Yes, we know this is never assigned a value, only the tag -- is used for dispatching purposes, so that's expected. begin FIO.Open (File_Ptr => AP (File), Dummy_FCB => Dummy_File_Control_Block, Mode => To_FCB (Mode), Name => Name, Form => Form, Amethod => 'W', Creat => True, Text => True); File.Self := File; Set_WCEM (File); end Create; ------------------- -- Current_Error -- ------------------- function Current_Error return File_Type is begin return Current_Err; end Current_Error; function Current_Error return File_Access is begin return Current_Err.Self'Access; end Current_Error; ------------------- -- Current_Input -- ------------------- function Current_Input return File_Type is begin return Current_In; end Current_Input; function Current_Input return File_Access is begin return Current_In.Self'Access; end Current_Input; -------------------- -- Current_Output -- -------------------- function Current_Output return File_Type is begin return Current_Out; end Current_Output; function Current_Output return File_Access is begin return Current_Out.Self'Access; end Current_Output; ------------ -- Delete -- ------------ procedure Delete (File : in out File_Type) is begin FIO.Delete (AP (File)'Unrestricted_Access); end Delete; ----------------- -- End_Of_File -- ----------------- function End_Of_File (File : File_Type) return Boolean is ch : int; begin FIO.Check_Read_Status (AP (File)); if File.Before_Wide_Character then return False; elsif File.Before_LM then if File.Before_LM_PM then return Nextc (File) = EOF; end if; else ch := Getc (File); if ch = EOF then return True; elsif ch /= LM then Ungetc (ch, File); return False; else -- ch = LM File.Before_LM := True; end if; end if; -- Here we are just past the line mark with Before_LM set so that we -- do not have to try to back up past the LM, thus avoiding the need -- to back up more than one character. ch := Getc (File); if ch = EOF then return True; elsif ch = PM and then File.Is_Regular_File then File.Before_LM_PM := True; return Nextc (File) = EOF; -- Here if neither EOF nor PM followed end of line else Ungetc (ch, File); return False; end if; end End_Of_File; function End_Of_File return Boolean is begin return End_Of_File (Current_In); end End_Of_File; ----------------- -- End_Of_Line -- ----------------- function End_Of_Line (File : File_Type) return Boolean is ch : int; begin FIO.Check_Read_Status (AP (File)); if File.Before_Wide_Character then return False; elsif File.Before_LM then return True; else ch := Getc (File); if ch = EOF then return True; else Ungetc (ch, File); return (ch = LM); end if; end if; end End_Of_Line; function End_Of_Line return Boolean is begin return End_Of_Line (Current_In); end End_Of_Line; ----------------- -- End_Of_Page -- ----------------- function End_Of_Page (File : File_Type) return Boolean is ch : int; begin FIO.Check_Read_Status (AP (File)); if not File.Is_Regular_File then return False; elsif File.Before_Wide_Character then return False; elsif File.Before_LM then if File.Before_LM_PM then return True; end if; else ch := Getc (File); if ch = EOF then return True; elsif ch /= LM then Ungetc (ch, File); return False; else -- ch = LM File.Before_LM := True; end if; end if; -- Here we are just past the line mark with Before_LM set so that we -- do not have to try to back up past the LM, thus avoiding the need -- to back up more than one character. ch := Nextc (File); return ch = PM or else ch = EOF; end End_Of_Page; function End_Of_Page return Boolean is begin return End_Of_Page (Current_In); end End_Of_Page; ----------- -- Flush -- ----------- procedure Flush (File : File_Type) is begin FIO.Flush (AP (File)); end Flush; procedure Flush is begin Flush (Current_Out); end Flush; ---------- -- Form -- ---------- function Form (File : File_Type) return String is begin return FIO.Form (AP (File)); end Form; --------- -- Get -- --------- procedure Get (File : File_Type; Item : out Wide_Character) is C : Character; begin FIO.Check_Read_Status (AP (File)); if File.Before_Wide_Character then File.Before_Wide_Character := False; Item := File.Saved_Wide_Character; -- Ada.Text_IO checks Before_LM_PM here, shouldn't we do the same??? else Get_Character (File, C); Item := Get_Wide_Char (C, File); end if; end Get; procedure Get (Item : out Wide_Character) is begin Get (Current_In, Item); end Get; procedure Get (File : File_Type; Item : out Wide_String) is begin for J in Item'Range loop Get (File, Item (J)); end loop; end Get; procedure Get (Item : out Wide_String) is begin Get (Current_In, Item); end Get; ------------------- -- Get_Character -- ------------------- procedure Get_Character (File : File_Type; Item : out Character) is ch : int; begin if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; File.Col := 1; if File.Before_LM_PM then File.Line := 1; File.Page := File.Page + 1; File.Before_LM_PM := False; else File.Line := File.Line + 1; end if; end if; loop ch := Getc (File); if ch = EOF then raise End_Error; elsif ch = LM then File.Line := File.Line + 1; File.Col := 1; elsif ch = PM and then File.Is_Regular_File then File.Page := File.Page + 1; File.Line := 1; else Item := Character'Val (ch); File.Col := File.Col + 1; return; end if; end loop; end Get_Character; ------------------- -- Get_Immediate -- ------------------- procedure Get_Immediate (File : File_Type; Item : out Wide_Character) is ch : int; begin FIO.Check_Read_Status (AP (File)); if File.Before_Wide_Character then File.Before_Wide_Character := False; Item := File.Saved_Wide_Character; elsif File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; Item := Wide_Character'Val (LM); else ch := Getc_Immed (File); if ch = EOF then raise End_Error; else Item := Get_Wide_Char_Immed (Character'Val (ch), File); end if; end if; end Get_Immediate; procedure Get_Immediate (Item : out Wide_Character) is begin Get_Immediate (Current_In, Item); end Get_Immediate; procedure Get_Immediate (File : File_Type; Item : out Wide_Character; Available : out Boolean) is ch : int; begin FIO.Check_Read_Status (AP (File)); Available := True; if File.Before_Wide_Character then File.Before_Wide_Character := False; Item := File.Saved_Wide_Character; elsif File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; Item := Wide_Character'Val (LM); else -- Shouldn't we use getc_immediate_nowait here, like Text_IO??? ch := Getc_Immed (File); if ch = EOF then raise End_Error; else Item := Get_Wide_Char_Immed (Character'Val (ch), File); end if; end if; end Get_Immediate; procedure Get_Immediate (Item : out Wide_Character; Available : out Boolean) is begin Get_Immediate (Current_In, Item, Available); end Get_Immediate; -------------- -- Get_Line -- -------------- procedure Get_Line (File : File_Type; Item : out Wide_String; Last : out Natural) is begin FIO.Check_Read_Status (AP (File)); Last := Item'First - 1; -- Immediate exit for null string, this is a case in which we do not -- need to test for end of file and we do not skip a line mark under -- any circumstances. if Last >= Item'Last then return; end if; -- Here we have at least one character, if we are immediately before -- a line mark, then we will just skip past it storing no characters. if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; -- Otherwise we need to read some characters else -- If we are at the end of file now, it means we are trying to -- skip a file terminator and we raise End_Error (RM A.10.7(20)) if Nextc (File) = EOF then raise End_Error; end if; -- Loop through characters in string loop -- Exit the loop if read is terminated by encountering line mark -- Note that the use of Skip_Line here ensures we properly deal -- with setting the page and line numbers. if End_Of_Line (File) then Skip_Line (File); return; end if; -- Otherwise store the character, note that we know that ch is -- something other than LM or EOF. It could possibly be a page -- mark if there is a stray page mark in the middle of a line, but -- this is not an official page mark in any case, since official -- page marks can only follow a line mark. The whole page business -- is pretty much nonsense anyway, so we do not want to waste -- time trying to make sense out of non-standard page marks in -- the file. This means that the behavior of Get_Line is different -- from repeated Get of a character, but that's too bad. We -- only promise that page numbers etc make sense if the file -- is formatted in a standard manner. -- Note: we do not adjust the column number because it is quicker -- to adjust it once at the end of the operation than incrementing -- it each time around the loop. Last := Last + 1; Get (File, Item (Last)); -- All done if the string is full, this is the case in which -- we do not skip the following line mark. We need to adjust -- the column number in this case. if Last = Item'Last then File.Col := File.Col + Count (Item'Length); return; end if; -- Exit from the loop if we are at the end of file. This happens -- if we have a last line that is not terminated with a line mark. -- In this case we consider that there is an implied line mark; -- this is a non-standard file, but we will treat it nicely. exit when Nextc (File) = EOF; end loop; end if; end Get_Line; procedure Get_Line (Item : out Wide_String; Last : out Natural) is begin Get_Line (Current_In, Item, Last); end Get_Line; function Get_Line (File : File_Type) return Wide_String is Buffer : Wide_String (1 .. 500); Last : Natural; function Get_Rest (S : Wide_String) return Wide_String; -- This is a recursive function that reads the rest of the line and -- returns it. S is the part read so far. -------------- -- Get_Rest -- -------------- function Get_Rest (S : Wide_String) return Wide_String is -- Each time we allocate a buffer the same size as what we have -- read so far. This limits us to a logarithmic number of calls -- to Get_Rest and also ensures only a linear use of stack space. Buffer : Wide_String (1 .. S'Length); Last : Natural; begin Get_Line (File, Buffer, Last); declare R : constant Wide_String := S & Buffer (1 .. Last); begin if Last < Buffer'Last then return R; else return Get_Rest (R); end if; end; end Get_Rest; -- Start of processing for Get_Line begin Get_Line (File, Buffer, Last); if Last < Buffer'Last then return Buffer (1 .. Last); else return Get_Rest (Buffer (1 .. Last)); end if; end Get_Line; function Get_Line return Wide_String is begin return Get_Line (Current_In); end Get_Line; ------------------- -- Get_Wide_Char -- ------------------- function Get_Wide_Char (C : Character; File : File_Type) return Wide_Character is function In_Char return Character; -- Function used to obtain additional characters it the wide character -- sequence is more than one character long. function WC_In is new Char_Sequence_To_Wide_Char (In_Char); ------------- -- In_Char -- ------------- function In_Char return Character is ch : constant Integer := Getc (File); begin if ch = EOF then raise End_Error; else return Character'Val (ch); end if; end In_Char; -- Start of processing for Get_Wide_Char begin FIO.Check_Read_Status (AP (File)); return WC_In (C, File.WC_Method); end Get_Wide_Char; ------------------------- -- Get_Wide_Char_Immed -- ------------------------- function Get_Wide_Char_Immed (C : Character; File : File_Type) return Wide_Character is function In_Char return Character; -- Function used to obtain additional characters it the wide character -- sequence is more than one character long. function WC_In is new Char_Sequence_To_Wide_Char (In_Char); ------------- -- In_Char -- ------------- function In_Char return Character is ch : constant Integer := Getc_Immed (File); begin if ch = EOF then raise End_Error; else return Character'Val (ch); end if; end In_Char; -- Start of processing for Get_Wide_Char_Immed begin FIO.Check_Read_Status (AP (File)); return WC_In (C, File.WC_Method); end Get_Wide_Char_Immed; ---------- -- Getc -- ---------- function Getc (File : File_Type) return int is ch : int; begin ch := fgetc (File.Stream); if ch = EOF and then ferror (File.Stream) /= 0 then raise Device_Error; else return ch; end if; end Getc; ---------------- -- Getc_Immed -- ---------------- function Getc_Immed (File : File_Type) return int is ch : int; end_of_file : int; procedure getc_immediate (stream : FILEs; ch : out int; end_of_file : out int); pragma Import (C, getc_immediate, "getc_immediate"); begin FIO.Check_Read_Status (AP (File)); if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; ch := LM; else getc_immediate (File.Stream, ch, end_of_file); if ferror (File.Stream) /= 0 then raise Device_Error; elsif end_of_file /= 0 then return EOF; end if; end if; return ch; end Getc_Immed; ------------------------------- -- Initialize_Standard_Files -- ------------------------------- procedure Initialize_Standard_Files is begin Standard_Err.Stream := stderr; Standard_Err.Name := Err_Name'Access; Standard_Err.Form := Null_Str'Unrestricted_Access; Standard_Err.Mode := FCB.Out_File; Standard_Err.Is_Regular_File := is_regular_file (fileno (stderr)) /= 0; Standard_Err.Is_Temporary_File := False; Standard_Err.Is_System_File := True; Standard_Err.Text_Encoding := Default_Text; Standard_Err.Access_Method := 'T'; Standard_Err.Self := Standard_Err; Standard_Err.WC_Method := Default_WCEM; Standard_In.Stream := stdin; Standard_In.Name := In_Name'Access; Standard_In.Form := Null_Str'Unrestricted_Access; Standard_In.Mode := FCB.In_File; Standard_In.Is_Regular_File := is_regular_file (fileno (stdin)) /= 0; Standard_In.Is_Temporary_File := False; Standard_In.Is_System_File := True; Standard_In.Text_Encoding := Default_Text; Standard_In.Access_Method := 'T'; Standard_In.Self := Standard_In; Standard_In.WC_Method := Default_WCEM; Standard_Out.Stream := stdout; Standard_Out.Name := Out_Name'Access; Standard_Out.Form := Null_Str'Unrestricted_Access; Standard_Out.Mode := FCB.Out_File; Standard_Out.Is_Regular_File := is_regular_file (fileno (stdout)) /= 0; Standard_Out.Is_Temporary_File := False; Standard_Out.Is_System_File := True; Standard_Out.Text_Encoding := Default_Text; Standard_Out.Access_Method := 'T'; Standard_Out.Self := Standard_Out; Standard_Out.WC_Method := Default_WCEM; FIO.Make_Unbuffered (AP (Standard_Out)); FIO.Make_Unbuffered (AP (Standard_Err)); end Initialize_Standard_Files; ------------- -- Is_Open -- ------------- function Is_Open (File : File_Type) return Boolean is begin return FIO.Is_Open (AP (File)); end Is_Open; ---------- -- Line -- ---------- -- Note: we assume that it is impossible in practice for the line to exceed -- the value of Count'Last, i.e. no check is required for overflow raising -- layout error. function Line (File : File_Type) return Positive_Count is begin FIO.Check_File_Open (AP (File)); return File.Line; end Line; function Line return Positive_Count is begin return Line (Current_Out); end Line; ----------------- -- Line_Length -- ----------------- function Line_Length (File : File_Type) return Count is begin FIO.Check_Write_Status (AP (File)); return File.Line_Length; end Line_Length; function Line_Length return Count is begin return Line_Length (Current_Out); end Line_Length; ---------------- -- Look_Ahead -- ---------------- procedure Look_Ahead (File : File_Type; Item : out Wide_Character; End_Of_Line : out Boolean) is ch : int; -- Start of processing for Look_Ahead begin FIO.Check_Read_Status (AP (File)); -- If we are logically before a line mark, we can return immediately if File.Before_LM then End_Of_Line := True; Item := Wide_Character'Val (0); -- If we are before a wide character, just return it (this can happen -- if there are two calls to Look_Ahead in a row). elsif File.Before_Wide_Character then End_Of_Line := False; Item := File.Saved_Wide_Character; -- otherwise we must read a character from the input stream else ch := Getc (File); if ch = LM or else ch = EOF or else (ch = EOF and then File.Is_Regular_File) then End_Of_Line := True; Ungetc (ch, File); Item := Wide_Character'Val (0); -- Case where character obtained does not represent the start of an -- encoded sequence so it stands for itself and we can unget it with -- no difficulty. elsif not Is_Start_Of_Encoding (Character'Val (ch), File.WC_Method) then End_Of_Line := False; Ungetc (ch, File); Item := Wide_Character'Val (ch); -- For the start of an encoding, we read the character using the -- Get_Wide_Char routine. It will occupy more than one byte so we -- can't put it back with ungetc. Instead we save it in the control -- block, setting a flag that everyone interested in reading -- characters must test before reading the stream. else Item := Get_Wide_Char (Character'Val (ch), File); End_Of_Line := False; File.Saved_Wide_Character := Item; File.Before_Wide_Character := True; end if; end if; end Look_Ahead; procedure Look_Ahead (Item : out Wide_Character; End_Of_Line : out Boolean) is begin Look_Ahead (Current_In, Item, End_Of_Line); end Look_Ahead; ---------- -- Mode -- ---------- function Mode (File : File_Type) return File_Mode is begin return To_TIO (FIO.Mode (AP (File))); end Mode; ---------- -- Name -- ---------- function Name (File : File_Type) return String is begin return FIO.Name (AP (File)); end Name; -------------- -- New_Line -- -------------- procedure New_Line (File : File_Type; Spacing : Positive_Count := 1) is begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not Spacing'Valid then raise Constraint_Error; end if; FIO.Check_Write_Status (AP (File)); for K in 1 .. Spacing loop -- We use Put here (rather than Putc) so that we get the proper -- behavior on windows for output of Wide_String to the console. Put (File, Wide_Character'Val (LM)); File.Line := File.Line + 1; if File.Page_Length /= 0 and then File.Line > File.Page_Length then -- Same situation as above, use Put instead of Putc Put (File, Wide_Character'Val (PM)); File.Line := 1; File.Page := File.Page + 1; end if; end loop; File.Col := 1; end New_Line; procedure New_Line (Spacing : Positive_Count := 1) is begin New_Line (Current_Out, Spacing); end New_Line; -------------- -- New_Page -- -------------- procedure New_Page (File : File_Type) is begin FIO.Check_Write_Status (AP (File)); if File.Col /= 1 or else File.Line = 1 then Putc (LM, File); end if; Putc (PM, File); File.Page := File.Page + 1; File.Line := 1; File.Col := 1; end New_Page; procedure New_Page is begin New_Page (Current_Out); end New_Page; ----------- -- Nextc -- ----------- function Nextc (File : File_Type) return int is ch : int; begin ch := fgetc (File.Stream); if ch = EOF then if ferror (File.Stream) /= 0 then raise Device_Error; end if; else if ungetc (ch, File.Stream) = EOF then raise Device_Error; end if; end if; return ch; end Nextc; ---------- -- Open -- ---------- procedure Open (File : in out File_Type; Mode : File_Mode; Name : String; Form : String := "") is Dummy_File_Control_Block : Wide_Text_AFCB; pragma Warnings (Off, Dummy_File_Control_Block); -- Yes, we know this is never assigned a value, only the tag -- is used for dispatching purposes, so that's expected. begin FIO.Open (File_Ptr => AP (File), Dummy_FCB => Dummy_File_Control_Block, Mode => To_FCB (Mode), Name => Name, Form => Form, Amethod => 'W', Creat => False, Text => True); File.Self := File; Set_WCEM (File); end Open; ---------- -- Page -- ---------- -- Note: we assume that it is impossible in practice for the page -- to exceed the value of Count'Last, i.e. no check is required for -- overflow raising layout error. function Page (File : File_Type) return Positive_Count is begin FIO.Check_File_Open (AP (File)); return File.Page; end Page; function Page return Positive_Count is begin return Page (Current_Out); end Page; ----------------- -- Page_Length -- ----------------- function Page_Length (File : File_Type) return Count is begin FIO.Check_Write_Status (AP (File)); return File.Page_Length; end Page_Length; function Page_Length return Count is begin return Page_Length (Current_Out); end Page_Length; --------- -- Put -- --------- procedure Put (File : File_Type; Item : Wide_Character) is wide_text_translation_required : Integer; pragma Import (C, wide_text_translation_required, "__gnat_wide_text_translation_required"); -- Text translation is required on Windows only. This means that the -- console is doing translation and we do not want to do any encoding -- here. If this variable is not 0 we output the character via fputwc. procedure Out_Char (C : Character); -- Procedure to output one character of a wide character sequence procedure WC_Out is new Wide_Char_To_Char_Sequence (Out_Char); -------------- -- Out_Char -- -------------- procedure Out_Char (C : Character) is begin Putc (Character'Pos (C), File); end Out_Char; Discard : int; -- Start of processing for Put begin FIO.Check_Write_Status (AP (File)); if wide_text_translation_required /= 0 or else File.Text_Encoding in Non_Default_Text_Content_Encoding then set_mode (fileno (File.Stream), File.Text_Encoding); Discard := fputwc (Wide_Character'Pos (Item), File.Stream); else WC_Out (Item, File.WC_Method); end if; File.Col := File.Col + 1; end Put; procedure Put (Item : Wide_Character) is begin Put (Current_Out, Item); end Put; --------- -- Put -- --------- procedure Put (File : File_Type; Item : Wide_String) is begin for J in Item'Range loop Put (File, Item (J)); end loop; end Put; procedure Put (Item : Wide_String) is begin Put (Current_Out, Item); end Put; -------------- -- Put_Line -- -------------- procedure Put_Line (File : File_Type; Item : Wide_String) is begin Put (File, Item); New_Line (File); end Put_Line; procedure Put_Line (Item : Wide_String) is begin Put (Current_Out, Item); New_Line (Current_Out); end Put_Line; ---------- -- Putc -- ---------- procedure Putc (ch : int; File : File_Type) is begin if fputc (ch, File.Stream) = EOF then raise Device_Error; end if; end Putc; ---------- -- Read -- ---------- -- This is the primitive Stream Read routine, used when a Text_IO file -- is treated directly as a stream using Text_IO.Streams.Stream. procedure Read (File : in out Wide_Text_AFCB; Item : out Stream_Element_Array; Last : out Stream_Element_Offset) is Discard_ch : int; pragma Unreferenced (Discard_ch); begin -- Need to deal with Before_Wide_Character ??? if File.Mode /= FCB.In_File then raise Mode_Error; end if; -- Deal with case where our logical and physical position do not match -- because of being after an LM or LM-PM sequence when in fact we are -- logically positioned before it. if File.Before_LM then -- If we are before a PM, then it is possible for a stream read -- to leave us after the LM and before the PM, which is a bit -- odd. The easiest way to deal with this is to unget the PM, -- so we are indeed positioned between the characters. This way -- further stream read operations will work correctly, and the -- effect on text processing is a little weird, but what can -- be expected if stream and text input are mixed this way? if File.Before_LM_PM then Discard_ch := ungetc (PM, File.Stream); File.Before_LM_PM := False; end if; File.Before_LM := False; Item (Item'First) := Stream_Element (Character'Pos (ASCII.LF)); if Item'Length = 1 then Last := Item'Last; else Last := Item'First + Stream_Element_Offset (fread (buffer => Item'Address, index => size_t (Item'First + 1), size => 1, count => Item'Length - 1, stream => File.Stream)); end if; return; end if; -- Now we do the read. Since this is a text file, it is normally in -- text mode, but stream data must be read in binary mode, so we -- temporarily set binary mode for the read, resetting it after. -- These calls have no effect in a system (like Unix) where there is -- no distinction between text and binary files. set_binary_mode (fileno (File.Stream)); Last := Item'First + Stream_Element_Offset (fread (Item'Address, 1, Item'Length, File.Stream)) - 1; if Last < Item'Last then if ferror (File.Stream) /= 0 then raise Device_Error; end if; end if; set_text_mode (fileno (File.Stream)); end Read; ----------- -- Reset -- ----------- procedure Reset (File : in out File_Type; Mode : File_Mode) is begin -- Don't allow change of mode for current file (RM A.10.2(5)) if (File = Current_In or else File = Current_Out or else File = Current_Error) and then To_FCB (Mode) /= File.Mode then raise Mode_Error; end if; Terminate_Line (File); FIO.Reset (AP (File)'Unrestricted_Access, To_FCB (Mode)); File.Page := 1; File.Line := 1; File.Col := 1; File.Line_Length := 0; File.Page_Length := 0; File.Before_LM := False; File.Before_LM_PM := False; end Reset; procedure Reset (File : in out File_Type) is begin Terminate_Line (File); FIO.Reset (AP (File)'Unrestricted_Access); File.Page := 1; File.Line := 1; File.Col := 1; File.Line_Length := 0; File.Page_Length := 0; File.Before_LM := False; File.Before_LM_PM := False; end Reset; ------------- -- Set_Col -- ------------- procedure Set_Col (File : File_Type; To : Positive_Count) is ch : int; begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not To'Valid then raise Constraint_Error; end if; FIO.Check_File_Open (AP (File)); if To = File.Col then return; end if; if Mode (File) >= Out_File then if File.Line_Length /= 0 and then To > File.Line_Length then raise Layout_Error; end if; if To < File.Col then New_Line (File); end if; while File.Col < To loop Put (File, ' '); end loop; else loop ch := Getc (File); if ch = EOF then raise End_Error; elsif ch = LM then File.Line := File.Line + 1; File.Col := 1; elsif ch = PM and then File.Is_Regular_File then File.Page := File.Page + 1; File.Line := 1; File.Col := 1; elsif To = File.Col then Ungetc (ch, File); return; else File.Col := File.Col + 1; end if; end loop; end if; end Set_Col; procedure Set_Col (To : Positive_Count) is begin Set_Col (Current_Out, To); end Set_Col; --------------- -- Set_Error -- --------------- procedure Set_Error (File : File_Type) is begin FIO.Check_Write_Status (AP (File)); Current_Err := File; end Set_Error; --------------- -- Set_Input -- --------------- procedure Set_Input (File : File_Type) is begin FIO.Check_Read_Status (AP (File)); Current_In := File; end Set_Input; -------------- -- Set_Line -- -------------- procedure Set_Line (File : File_Type; To : Positive_Count) is begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not To'Valid then raise Constraint_Error; end if; FIO.Check_File_Open (AP (File)); if To = File.Line then return; end if; if Mode (File) >= Out_File then if File.Page_Length /= 0 and then To > File.Page_Length then raise Layout_Error; end if; if To < File.Line then New_Page (File); end if; while File.Line < To loop New_Line (File); end loop; else while To /= File.Line loop Skip_Line (File); end loop; end if; end Set_Line; procedure Set_Line (To : Positive_Count) is begin Set_Line (Current_Out, To); end Set_Line; --------------------- -- Set_Line_Length -- --------------------- procedure Set_Line_Length (File : File_Type; To : Count) is begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not To'Valid then raise Constraint_Error; end if; FIO.Check_Write_Status (AP (File)); File.Line_Length := To; end Set_Line_Length; procedure Set_Line_Length (To : Count) is begin Set_Line_Length (Current_Out, To); end Set_Line_Length; ---------------- -- Set_Output -- ---------------- procedure Set_Output (File : File_Type) is begin FIO.Check_Write_Status (AP (File)); Current_Out := File; end Set_Output; --------------------- -- Set_Page_Length -- --------------------- procedure Set_Page_Length (File : File_Type; To : Count) is begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not To'Valid then raise Constraint_Error; end if; FIO.Check_Write_Status (AP (File)); File.Page_Length := To; end Set_Page_Length; procedure Set_Page_Length (To : Count) is begin Set_Page_Length (Current_Out, To); end Set_Page_Length; -------------- -- Set_WCEM -- -------------- procedure Set_WCEM (File : in out File_Type) is Start : Natural; Stop : Natural; begin File.WC_Method := WCEM_Brackets; FIO.Form_Parameter (File.Form.all, "wcem", Start, Stop); if Start = 0 then File.WC_Method := WCEM_Brackets; else if Stop = Start then for J in WC_Encoding_Letters'Range loop if File.Form (Start) = WC_Encoding_Letters (J) then File.WC_Method := J; return; end if; end loop; end if; Close (File); raise Use_Error with "invalid WCEM form parameter"; end if; end Set_WCEM; --------------- -- Skip_Line -- --------------- procedure Skip_Line (File : File_Type; Spacing : Positive_Count := 1) is ch : int; begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not Spacing'Valid then raise Constraint_Error; end if; FIO.Check_Read_Status (AP (File)); for L in 1 .. Spacing loop if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; else ch := Getc (File); -- If at end of file now, then immediately raise End_Error. Note -- that we can never be positioned between a line mark and a page -- mark, so if we are at the end of file, we cannot logically be -- before the implicit page mark that is at the end of the file. -- For the same reason, we do not need an explicit check for a -- page mark. If there is a FF in the middle of a line, the file -- is not in canonical format and we do not care about the page -- numbers for files other than ones in canonical format. if ch = EOF then raise End_Error; end if; -- If not at end of file, then loop till we get to an LM or EOF. -- The latter case happens only in non-canonical files where the -- last line is not terminated by LM, but we don't want to blow -- up for such files, so we assume an implicit LM in this case. loop exit when ch = LM or else ch = EOF; ch := Getc (File); end loop; end if; -- We have got past a line mark, now, for a regular file only, -- see if a page mark immediately follows this line mark and -- if so, skip past the page mark as well. We do not do this -- for non-regular files, since it would cause an undesirable -- wait for an additional character. File.Col := 1; File.Line := File.Line + 1; if File.Before_LM_PM then File.Page := File.Page + 1; File.Line := 1; File.Before_LM_PM := False; elsif File.Is_Regular_File then ch := Getc (File); -- Page mark can be explicit, or implied at the end of the file if (ch = PM or else ch = EOF) and then File.Is_Regular_File then File.Page := File.Page + 1; File.Line := 1; else Ungetc (ch, File); end if; end if; end loop; File.Before_Wide_Character := False; end Skip_Line; procedure Skip_Line (Spacing : Positive_Count := 1) is begin Skip_Line (Current_In, Spacing); end Skip_Line; --------------- -- Skip_Page -- --------------- procedure Skip_Page (File : File_Type) is ch : int; begin FIO.Check_Read_Status (AP (File)); -- If at page mark already, just skip it if File.Before_LM_PM then File.Before_LM := False; File.Before_LM_PM := False; File.Page := File.Page + 1; File.Line := 1; File.Col := 1; return; end if; -- This is a bit tricky, if we are logically before an LM then -- it is not an error if we are at an end of file now, since we -- are not really at it. if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; ch := Getc (File); -- Otherwise we do raise End_Error if we are at the end of file now else ch := Getc (File); if ch = EOF then raise End_Error; end if; end if; -- Now we can just rumble along to the next page mark, or to the -- end of file, if that comes first. The latter case happens when -- the page mark is implied at the end of file. loop exit when ch = EOF or else (ch = PM and then File.Is_Regular_File); ch := Getc (File); end loop; File.Page := File.Page + 1; File.Line := 1; File.Col := 1; File.Before_Wide_Character := False; end Skip_Page; procedure Skip_Page is begin Skip_Page (Current_In); end Skip_Page; -------------------- -- Standard_Error -- -------------------- function Standard_Error return File_Type is begin return Standard_Err; end Standard_Error; function Standard_Error return File_Access is begin return Standard_Err'Access; end Standard_Error; -------------------- -- Standard_Input -- -------------------- function Standard_Input return File_Type is begin return Standard_In; end Standard_Input; function Standard_Input return File_Access is begin return Standard_In'Access; end Standard_Input; --------------------- -- Standard_Output -- --------------------- function Standard_Output return File_Type is begin return Standard_Out; end Standard_Output; function Standard_Output return File_Access is begin return Standard_Out'Access; end Standard_Output; -------------------- -- Terminate_Line -- -------------------- procedure Terminate_Line (File : File_Type) is begin FIO.Check_File_Open (AP (File)); -- For file other than In_File, test for needing to terminate last line if Mode (File) /= In_File then -- If not at start of line definition need new line if File.Col /= 1 then New_Line (File); -- For files other than standard error and standard output, we -- make sure that an empty file has a single line feed, so that -- it is properly formatted. We avoid this for the standard files -- because it is too much of a nuisance to have these odd line -- feeds when nothing has been written to the file. elsif (File /= Standard_Err and then File /= Standard_Out) and then (File.Line = 1 and then File.Page = 1) then New_Line (File); end if; end if; end Terminate_Line; ------------ -- Ungetc -- ------------ procedure Ungetc (ch : int; File : File_Type) is begin if ch /= EOF then if ungetc (ch, File.Stream) = EOF then raise Device_Error; end if; end if; end Ungetc; ----------- -- Write -- ----------- -- This is the primitive Stream Write routine, used when a Text_IO file -- is treated directly as a stream using Text_IO.Streams.Stream. procedure Write (File : in out Wide_Text_AFCB; Item : Stream_Element_Array) is pragma Warnings (Off, File); -- Because in this implementation we don't need IN OUT, we only read Siz : constant size_t := Item'Length; begin if File.Mode = FCB.In_File then raise Mode_Error; end if; -- Now we do the write. Since this is a text file, it is normally in -- text mode, but stream data must be written in binary mode, so we -- temporarily set binary mode for the write, resetting it after. -- These calls have no effect in a system (like Unix) where there is -- no distinction between text and binary files. set_binary_mode (fileno (File.Stream)); if fwrite (Item'Address, 1, Siz, File.Stream) /= Siz then raise Device_Error; end if; set_text_mode (fileno (File.Stream)); end Write; begin -- Initialize Standard Files for J in WC_Encoding_Method loop if WC_Encoding = WC_Encoding_Letters (J) then Default_WCEM := J; end if; end loop; Initialize_Standard_Files; FIO.Chain_File (AP (Standard_In)); FIO.Chain_File (AP (Standard_Out)); FIO.Chain_File (AP (Standard_Err)); end Ada.Wide_Text_IO;
27.101169
79
0.556746
1db23e854fba77eb4eff443b1d5e26682b80be79
3,681
ads
Ada
llvm-gcc-4.2-2.9/gcc/ada/s-pack56.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/s-pack56.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/s-pack56.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 5 6 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Handling of packed arrays with Component_Size = 56 package System.Pack_56 is pragma Preelaborate; Bits : constant := 56; type Bits_56 is mod 2 ** Bits; for Bits_56'Size use Bits; function Get_56 (Arr : System.Address; N : Natural) return Bits_56; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. procedure Set_56 (Arr : System.Address; N : Natural; E : Bits_56); -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. function GetU_56 (Arr : System.Address; N : Natural) return Bits_56; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. This version -- is used when Arr may represent an unaligned address. procedure SetU_56 (Arr : System.Address; N : Natural; E : Bits_56); -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. This version -- is used when Arr may represent an unaligned address end System.Pack_56;
58.428571
78
0.499593
314fa85048f4c1cc2aa99065447edcea271f662b
1,536
adb
Ada
regtests/keystore-testsuite.adb
thierr26/ada-keystore
25099a9df3ce9b48a401148eb1b84442011759a0
[ "Apache-2.0" ]
null
null
null
regtests/keystore-testsuite.adb
thierr26/ada-keystore
25099a9df3ce9b48a401148eb1b84442011759a0
[ "Apache-2.0" ]
null
null
null
regtests/keystore-testsuite.adb
thierr26/ada-keystore
25099a9df3ce9b48a401148eb1b84442011759a0
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- keystore-testsuite -- Testsuite for keystore -- Copyright (C) 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Keystore.Files.Tests; with Keystore.IO.Tests; with Keystore.Tests; with Keystore.Tools.Tests; with Keystore.Passwords.Tests; with Keystore.GPG_Tests; package body Keystore.Testsuite is Tests : aliased Util.Tests.Test_Suite; function Suite return Util.Tests.Access_Test_Suite is begin Keystore.Passwords.Tests.Add_Tests (Tests'Access); Keystore.IO.Tests.Add_Tests (Tests'Access); Keystore.Files.Tests.Add_Tests (Tests'Access); Keystore.Tools.Tests.Add_Tests (Tests'Access); Keystore.Tests.Add_Tests (Tests'Access); Keystore.GPG_Tests.Add_Tests (Tests'Access); return Tests'Access; end Suite; end Keystore.Testsuite;
37.463415
76
0.673177
29303a361a9629e4b57da78a70bb28fad1fcdf98
2,550
ads
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-exnint.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-exnint.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-exnint.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . E X N _ I N T -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Integer exponentiation (checks off) package System.Exn_Int is pragma Pure; function Exn_Integer (Left : Integer; Right : Natural) return Integer; end System.Exn_Int;
63.75
78
0.39098
2fa4c035ed27656564205b0ca9f0b9846ef8e0e7
1,976
ads
Ada
ada-calendar.ads
mgrojo/adalib
dc1355a5b65c2843e702ac76252addb2caf3c56b
[ "BSD-3-Clause" ]
15
2018-07-08T07:09:19.000Z
2021-11-21T09:58:55.000Z
ada-calendar.ads
mgrojo/adalib
dc1355a5b65c2843e702ac76252addb2caf3c56b
[ "BSD-3-Clause" ]
4
2019-11-17T20:04:33.000Z
2021-08-29T21:24:55.000Z
ada-calendar.ads
mgrojo/adalib
dc1355a5b65c2843e702ac76252addb2caf3c56b
[ "BSD-3-Clause" ]
3
2020-04-23T11:17:11.000Z
2021-08-29T19:31:09.000Z
-- Standard Ada library specification -- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual --------------------------------------------------------------------------- package Ada.Calendar is type Time is private; subtype Year_Number is Integer range 1901 .. 2399; subtype Month_Number is Integer range 1 .. 12; subtype Day_Number is Integer range 1 .. 31; subtype Day_Duration is Duration range 0.0 .. 86_400.0; function Clock return Time; function Year (Date : Time) return Year_Number; function Month (Date : Time) return Month_Number; function Day (Date : Time) return Day_Number; function Seconds(Date : Time) return Day_Duration; procedure Split (Date : in Time; Year : out Year_Number; Month : out Month_Number; Day : out Day_Number; Seconds : out Day_Duration); function Time_Of(Year : Year_Number; Month : Month_Number; Day : Day_Number; Seconds : Day_Duration := 0.0) return Time; function "+" (Left : Time; Right : Duration) return Time; function "+" (Left : Duration; Right : Time) return Time; function "-" (Left : Time; Right : Duration) return Time; function "-" (Left : Time; Right : Time) return Duration; function "<" (Left, Right : Time) return Boolean; function "<="(Left, Right : Time) return Boolean; function ">" (Left, Right : Time) return Boolean; function ">="(Left, Right : Time) return Boolean; Time_Error : exception; private pragma Import (Ada, Time); end Ada.Calendar;
34.666667
75
0.599696
4d410f5d77c98c641c48878cd0f54dd33d0e6585
29,902
adb
Ada
src/libriscv-instructions.adb
Fabien-Chouteau/libriscv
eed3ddf24a9682a95f9d315650b753577853eb92
[ "BSD-3-Clause" ]
null
null
null
src/libriscv-instructions.adb
Fabien-Chouteau/libriscv
eed3ddf24a9682a95f9d315650b753577853eb92
[ "BSD-3-Clause" ]
null
null
null
src/libriscv-instructions.adb
Fabien-Chouteau/libriscv
eed3ddf24a9682a95f9d315650b753577853eb92
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, Fabien Chouteau -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with LibRISCV.CSR; with ESF; package body LibRISCV.Instructions with SPARK_Mode => On is function Shift_Right (Value : Word; Amount : Natural) return Word; pragma Import (Intrinsic, Shift_Right); ------------ -- Decode -- ------------ function Decode (Raw : Word) return Instruction is function Opcode return Raw_Opcode is (Raw_Opcode (Raw and 2#111_1111#)); function RD return GPR_Id is (GPR_Id (Shift_Right (Raw, 7) and 2#11111#)); function RS1 return GPR_Id is (GPR_Id (Shift_Right (Raw, 15) and 2#11111#)); function RS2 return GPR_Id is (GPR_Id (Shift_Right (Raw, 20) and 2#11111#)); function Funct3 return Raw_Funct3 is (Raw_Funct3 (Shift_Right (Raw, 12) and 2#111#)); function Imm12 return Raw_Imm12 is (Raw_Imm12 (Shift_Right (Raw, 20) and 2#1111_1111_1111#)); function Imm12_S return Raw_Imm12 is I_11_5, I_4_0 : Word; begin I_11_5 := Shift_Right (Raw, 25) and 2#111_1111#; I_4_0 := Shift_Right (Raw, 7) and 2#1_1111#; return Raw_Imm12 (Shift_Left (I_11_5, 5) or I_4_0); end Imm12_S; function Imm13_B return Raw_Imm13 is I_12, I_10_5, I_4_1, I_11 : Word; begin I_12 := Shift_Right (Raw, 31) and 2#1#; I_10_5 := Shift_Right (Raw, 25) and 2#11_1111#; I_4_1 := Shift_Right (Raw, 8) and 2#1111#; I_11 := Shift_Right (Raw, 7) and 2#1#; return Raw_Imm13 (Shift_Left (I_12, 12) or Shift_Left (I_10_5, 5) or Shift_Left (I_4_1, 1) or Shift_Left (I_11, 11)); end Imm13_B; function Funct7 return Raw_Funct7 is (Raw_Funct7 (Shift_Right (Raw, 25) and 2#111_1111#)); function Imm32_U return Word is (Raw and 16#FF_FF_F0_00#); function Imm21_J return Raw_Imm21 is I_20, I_10_1, I_11, I_19_12 : Word; Res : Raw_Imm21; begin I_20 := Shift_Right (Raw, 31) and 2#1#; I_10_1 := Shift_Right (Raw, 21) and 2#11_1111_1111#; I_11 := Shift_Right (Raw, 20) and 2#1#; I_19_12 := Shift_Right (Raw, 12) and 2#1111_1111#; Res := Raw_Imm21 (Shift_Left (I_20, 20) or Shift_Left (I_19_12, 12) or Shift_Left (I_11, 11) or Shift_Left (I_10_1, 1)); return Res; end Imm21_J; Invalid_Insn : constant Instruction := (Kind => Invalid, Raw => Raw); begin case Opcode is when OP_LUI => return (Insn_LUI, RD, Imm32_U); when OP_AUIPC => return (Insn_AUIPC, RD, Imm32_U); when OP_JAL => return (Insn_JAL, RD, Imm21_J); when OP_JALR => if Funct3 /= Funct3_JALR then return Invalid_Insn; else return (Insn_JALR, RD, RS1, Imm12); end if; when OP_Branch => return (case Funct3 is when Funct3_BEQ => (Insn_BEQ, RS1, RS2, Imm13_B), when Funct3_BNE => (Insn_BNE, RS1, RS2, Imm13_B), when Funct3_BLT => (Insn_BLT, RS1, RS2, Imm13_B), when Funct3_BGE => (Insn_BGE, RS1, RS2, Imm13_B), when Funct3_BLTU => (Insn_BLTU, RS1, RS2, Imm13_B), when Funct3_BGEU => (Insn_BGEU, RS1, RS2, Imm13_B), when others => Invalid_Insn); when OP_Load => return (case Funct3 is when Funct3_LB => (Insn_LB, RD, RS1, Imm12), when Funct3_LH => (Insn_LH, RD, RS1, Imm12), when Funct3_LW => (Insn_LW, RD, RS1, Imm12), when Funct3_LBU => (Insn_LBU, RD, RS1, Imm12), when Funct3_LHU => (Insn_LHU, RD, RS1, Imm12), when others => Invalid_Insn); when OP_Store => return (case Funct3 is when Funct3_SB => (Insn_SB, RS1, RS2, Imm12_S), when Funct3_SH => (Insn_SH, RS1, RS2, Imm12_S), when Funct3_SW => (Insn_SW, RS1, RS2, Imm12_S), when others => Invalid_Insn); when OP_OP_IMM => return (case Funct3 is when Funct3_ADDI => (Insn_ADDI, RD, RS1, Imm12), when Funct3_SLTI => (Insn_SLTI, RD, RS1, Imm12), when Funct3_SLTIU => (Insn_SLTIU, RD, RS1, Imm12), when Funct3_XORI => (Insn_XORI, RD, RS1, Imm12), when Funct3_ORI => (Insn_ORI, RD, RS1, Imm12), when Funct3_ANDI => (Insn_ANDI, RD, RS1, Imm12), when Funct3_SLLI => (case Funct7 is when Funct7_SLLI => (Insn_SLLI, RD, RS1, Imm12), when others => Invalid_Insn), when Funct3_SRLI => (case Funct7 is when Funct7_SRLI => (Insn_SRLI, RD, RS1, Imm12), when Funct7_SRAI => (Insn_SRAI, RD, RS1, Imm12), when others => Invalid_Insn)); when OP_OP => return (case Funct3 is when Funct3_ADD_SUB => (case Funct7 is when Funct7_ADD => (Insn_ADD, RD, RS1, RS2), when Funct7_SUB => (Insn_SUB, RD, RS1, RS2), when others => Invalid_Insn), when Funct3_SLL => (case Funct7 is when Funct7_SLL => (Insn_SLL, RD, RS1, RS2), when others => Invalid_Insn), when Funct3_SLT => (case Funct7 is when Funct7_SLT => (Insn_SLT, RD, RS1, RS2), when others => Invalid_Insn), when Funct3_SLTU => (case Funct7 is when Funct7_SLTU => (Insn_SLTU, RD, RS1, RS2), when others => Invalid_Insn), when Funct3_XOR => (case Funct7 is when Funct7_XOR => (Insn_XOR, RD, RS1, RS2), when others => Invalid_Insn), when Funct3_OR => (case Funct7 is when Funct7_OR => (Insn_OR, RD, RS1, RS2), when others => Invalid_Insn), when Funct3_AND => (case Funct7 is when Funct7_AND => (Insn_AND, RD, RS1, RS2), when others => Invalid_Insn), when Funct3_SR => (case Funct7 is when Funct7_SRL => (Insn_SRL, RD, RS1, RS2), when Funct7_SRA => (Insn_SRA, RD, RS1, RS2), when others => Invalid_Insn)); when OP_Misc_Mem => if RD = 0 and then RS1 = 0 then return (case Funct3 is when Funct3_FENCE => (Insn_FENCE, RD, RS1, Imm12), when Funct3_FENCE_I => (Insn_FENCE_I, RD, RS1, Imm12), when others => Invalid_Insn); else return Invalid_Insn; end if; when OP_System => if Funct3 = Funct3_PRIV then if RD = 0 and then RS1 = 0 then return (case Imm12 is when 2#0000000_00000# => (Insn_ECALL, RD, RS1, Imm12), when 2#0000000_00001# => (Insn_EBREAK, RD, RS1, Imm12), when 2#0000000_00010# => (Insn_URET, RD, RS1, Imm12), when 2#0001000_00010# => (Insn_SRET, RD, RS1, Imm12), when 2#0011000_00010# => (Insn_MRET, RD, RS1, Imm12), when others => Invalid_Insn); else return Invalid_Insn; end if; else return (case Funct3 is when Funct3_CSRRW => (Insn_CSRRW, RD, RS1, Imm12), when Funct3_CSRRS => (Insn_CSRRS, RD, RS1, Imm12), when Funct3_CSRRC => (Insn_CSRRC, RD, RS1, Imm12), when Funct3_CSRRWI => (Insn_CSRRWI, RD, RS1, Imm12), when Funct3_CSRRSI => (Insn_CSRRSI, RD, RS1, Imm12), when Funct3_CSRRCI => (Insn_CSRRCI, RD, RS1, Imm12), when others => Invalid_Insn); end if; when others => return Invalid_Insn; end case; end Decode; ------------ -- Encode -- ------------ function Encode (Insn : Instruction) return Word is begin case Insn.Kind is when Invalid => return Insn.Raw; when R_Insn_Kind => return Encode_R (Insn); when I_Insn_Kind => return Encode_I (Insn); when S_Insn_Kind => return Encode_S (Insn); when B_Insn_Kind => return Encode_B (Insn); when U_Insn_Kind => return Encode_U (Insn); when J_Insn_Kind => return Encode_J (Insn); end case; end Encode; ---------------- -- Add_Opcode -- ---------------- procedure Add_Opcode (Raw : in out Word; Op : Raw_Opcode) is begin -- Clear Raw := Raw and not (2#111_1111#); -- Set Raw := Raw or Word (Op); end Add_Opcode; ---------------- -- Add_Funct3 -- ---------------- procedure Add_Funct3 (Raw : in out Word; Funct : Raw_Funct3) is begin -- Clear Raw := Raw and not (2#111_0000_0000_0000#); -- Set Raw := Raw or Shift_Left (Word (Funct), 12); end Add_Funct3; ---------------- -- Add_Funct7 -- ---------------- procedure Add_Funct7 (Raw : in out Word; Funct : Raw_Funct7) is begin -- Clear Raw := Raw and not (2#1111_1110_0000_0000_0000_0000_0000_0000#); -- Set Raw := Raw or Shift_Left (Word (Funct), 25); end Add_Funct7; ------------ -- Add_RD -- ------------ procedure Add_RD (Raw : in out Word; Id : GPR_Id) is begin -- Clear Raw := Raw and not (2#1111_1000_0000#); -- Set Raw := Raw or Shift_Left (Word (Id), 7); end Add_RD; ------------- -- Add_RS1 -- ------------- procedure Add_RS1 (Raw : in out Word; Id : GPR_Id) is begin -- Clear Raw := Raw and not (2#1111_1000_0000_0000_0000#); -- Set Raw := Raw or Shift_Left (Word (Id), 15); end Add_RS1; ------------- -- Add_RS2 -- ------------- procedure Add_RS2 (Raw : in out Word; Id : GPR_Id) is begin -- Clear Raw := Raw and not (2#1_1111_0000_0000_0000_0000_0000#); -- Set Raw := Raw or Shift_Left (Word (Id), 20); end Add_RS2; ----------------- -- Add_Imm13_B -- ----------------- procedure Add_Imm13_B (Raw : in out Word; Imm : Raw_Imm13) is I_12, I_10_5, I_4_1, I_11 : Word; begin -- Clear Raw := Raw and not (2#1111_1110_0000_0000_0001_1111_1000_0000#); I_12 := Shift_Right (Word (Imm), 12) and 2#1#; I_10_5 := Shift_Right (Word (Imm), 5) and 2#11_1111#; I_4_1 := Shift_Right (Word (Imm), 1) and 2#1111#; I_11 := Shift_Right (Word (Imm), 11) and 2#1#; -- Set Raw := Raw or ((Shift_Left (I_12, 31) or Shift_Left (I_10_5, 25) or Shift_Left (I_4_1, 8) or Shift_Left (I_11, 7))); end Add_Imm13_B; ----------------- -- Add_Imm12_I -- ----------------- procedure Add_Imm12_I (Raw : in out Word; Imm : Raw_Imm12) is begin -- Clear Raw := Raw and not (2#1111_1111_1111_0000_0000_0000_0000_0000#); -- Set Raw := Raw or (Shift_Left (Word (Imm), 20)); end Add_Imm12_I; ----------------- -- Add_Imm12_S -- ----------------- procedure Add_Imm12_S (Raw : in out Word; Imm : Raw_Imm12) is I_4_0, I_11_5 : Word; begin -- Clear Raw := Raw and not (2#1111_1110_0000_0000_0000_1111_1000_0000#); I_4_0 := Word (Imm) and 2#1_1111#; I_11_5 := Shift_Right (Word (Imm), 5) and 2#11_1111#; -- Set Raw := Raw or ((Shift_Left (I_11_5, 25) or Shift_Left (I_4_0, 7))); end Add_Imm12_S; ----------------- -- Add_Imm21_J -- ----------------- procedure Add_Imm21_J (Raw : in out Word; Imm : Raw_Imm21) is I_20, I_10_1, I_19_12, I_11 : Word; begin -- Clear Raw := Raw and not (2#1111_1110_0000_0000_0001_1111_1000_0000#); I_20 := Shift_Right (Word (Imm), 20) and 2#1#; I_10_1 := Shift_Right (Word (Imm), 1) and 2#11_1111_1111#; I_19_12 := Shift_Right (Word (Imm), 12) and 2#1111_1111#; I_11 := Shift_Right (Word (Imm), 11) and 2#1#; -- Set Raw := Raw or ((Shift_Left (I_20, 31) or Shift_Left (I_10_1, 21) or Shift_Left (I_19_12, 12) or Shift_Left (I_11, 20))); end Add_Imm21_J; -------------- -- Encode_R -- -------------- function Encode_R (Insn : Instruction) return Word is Raw : Word := 0; begin Add_RD (Raw, Insn.R_RD); Add_RS1 (Raw, Insn.R_RS1); Add_RS2 (Raw, Insn.R_RS2); Add_Opcode (Raw, OP_OP); Add_Funct3 (Raw, (case Insn.Kind is when Insn_ADD | Insn_SUB => Funct3_ADD_SUB, when Insn_SLL => Funct3_SLL, when Insn_SLT => Funct3_SLT, when Insn_SLTU => Funct3_SLTU, when Insn_XOR => Funct3_XOR, when Insn_SRL | Insn_SRA => Funct3_SR, when Insn_OR => Funct3_OR, when Insn_AND => Funct3_AND, when others => raise Program_Error)); Add_Funct7 (Raw, (case Insn.Kind is when Insn_ADD => Funct7_ADD, when Insn_SUB => Funct7_SUB, when Insn_SLL => Funct7_SLL, when Insn_SLT => Funct7_SLT, when Insn_SLTU => Funct7_SLTU, when Insn_XOR => Funct7_XOR, when Insn_SRL => Funct7_SRL, when Insn_SRA => Funct7_SRA, when Insn_OR => Funct7_OR, when Insn_AND => Funct7_AND, when others => raise Program_Error)); return Raw; end Encode_R; -------------- -- Encode_I -- -------------- function Encode_I (Insn : Instruction) return Word is Raw : Word := 0; begin Add_RD (Raw, Insn.I_RD); Add_RS1 (Raw, Insn.I_RS1); -- Ensure correct Imm some special instructions case Insn.Kind is when Insn_FENCE_I | Insn_ECALL => Add_Imm12_I (Raw, 0); when Insn_EBREAK => Add_Imm12_I (Raw, 1); when others => Add_Imm12_I (Raw, Insn.I_Imm); end case; Add_Opcode (Raw, (case Insn.Kind is when Insn_SLLI => OP_OP_IMM, when Insn_SRLI => OP_OP_IMM, when Insn_SRAI => OP_OP_IMM, when Insn_ADDI => OP_OP_IMM, when Insn_SLTI => OP_OP_IMM, when Insn_SLTIU => OP_OP_IMM, when Insn_XORI => OP_OP_IMM, when Insn_ORI => OP_OP_IMM, when Insn_ANDI => OP_OP_IMM, when Insn_JALR => OP_JALR, when Insn_LB => OP_Load, when Insn_LH => OP_Load, when Insn_LW => OP_Load, when Insn_LBU => OP_Load, when Insn_LHU => OP_Load, when Insn_FENCE => OP_Misc_Mem, when Insn_FENCE_I => OP_Misc_Mem, when Insn_ECALL => OP_System, when Insn_EBREAK => OP_System, when Insn_CSRRW => OP_System, when Insn_CSRRS => OP_System, when Insn_CSRRC => OP_System, when Insn_CSRRWI => OP_System, when Insn_CSRRSI => OP_System, when Insn_CSRRCI => OP_System, when Insn_URET => OP_System, when Insn_SRET => OP_System, when Insn_MRET => OP_System, when others => raise Program_Error)); Add_Funct3 (Raw, (case Insn.Kind is when Insn_SLLI => Funct3_SLLI, when Insn_SRLI => Funct3_SRLI, when Insn_SRAI => Funct3_SR, when Insn_ADDI => Funct3_ADDI, when Insn_SLTI => Funct3_SLTI, when Insn_SLTIU => Funct3_SLTIU, when Insn_XORI => Funct3_XORI, when Insn_ORI => Funct3_ORI, when Insn_ANDI => Funct3_ANDI, when Insn_JALR => Funct3_JALR, when Insn_LB => Funct3_LB, when Insn_LH => Funct3_LH, when Insn_LW => Funct3_LW, when Insn_LBU => Funct3_LBU, when Insn_LHU => Funct3_LHU, when Insn_FENCE => Funct3_FENCE, when Insn_FENCE_I => Funct3_FENCE_I, when Insn_ECALL => Funct3_ECALL, when Insn_EBREAK => Funct3_EBREAK, when Insn_CSRRW => Funct3_CSRRW, when Insn_CSRRS => Funct3_CSRRS, when Insn_CSRRC => Funct3_CSRRC, when Insn_CSRRWI => Funct3_CSRRWI, when Insn_CSRRSI => Funct3_CSRRSI, when Insn_CSRRCI => Funct3_CSRRCI, when Insn_URET => Funct3_PRIV, when Insn_SRET => Funct3_PRIV, when Insn_MRET => Funct3_PRIV, when others => raise Program_Error)); return Raw; end Encode_I; -------------- -- Encode_S -- -------------- function Encode_S (Insn : Instruction) return Word is Raw : Word := 0; begin Add_RS1 (Raw, Insn.S_RS1); Add_RS2 (Raw, Insn.S_RS2); Add_Imm12_S (Raw, Insn.S_Imm); Add_Opcode (Raw, OP_Store); Add_Funct3 (Raw, (case Insn.Kind is when Insn_SB => Funct3_SB, when Insn_SH => Funct3_SH, when Insn_SW => Funct3_SW, when others => raise Program_Error)); return Raw; end Encode_S; -------------- -- Encode_B -- -------------- function Encode_B (Insn : Instruction) return Word is Raw : Word := 0; begin Add_RS1 (Raw, Insn.B_RS1); Add_RS2 (Raw, Insn.B_RS2); Add_Opcode (Raw, OP_Branch); Add_Imm13_B (Raw, Insn.B_Imm); Add_Funct3 (Raw, (case Insn.Kind is when Insn_BEQ => Funct3_BEQ, when Insn_BNE => Funct3_BNE, when Insn_BLT => Funct3_BLT, when Insn_BGE => Funct3_BGE, when Insn_BLTU => Funct3_BLTU, when Insn_BGEU => Funct3_BGEU, when others => raise Program_Error)); return Raw; end Encode_B; -------------- -- Encode_U -- -------------- function Encode_U (Insn : Instruction) return Word is Raw : Word := Insn.U_Imm; begin Add_RD (Raw, Insn.U_RD); Add_Opcode (Raw, (case Insn.Kind is when Insn_LUI => OP_LUI, when Insn_AUIPC => OP_AUIPC, when others => raise Program_Error)); return Raw; end Encode_U; -------------- -- Encode_J -- -------------- function Encode_J (Insn : Instruction) return Word is Raw : Word := 0; begin Add_RD (Raw, Insn.J_RD); Add_Imm21_J (Raw, Insn.J_Imm); Add_Opcode (Raw, (case Insn.Kind is when Insn_JAL => OP_JAL, when others => raise Program_Error)); return Raw; end Encode_J; --------- -- Img -- --------- function Img (Insn : Instruction; Addr : Address) return String is use ESF; begin if Insn.Kind in Insn_CSRRW .. Insn_CSRRC then return Fmt ("0x\s\t\s\t\s, \s, \s", Hex (Addr), Img (Insn.Kind), Img (Insn.I_RD), CSR.Img (CSR.Id (Insn.I_Imm)), Img (Insn.I_RS1)); elsif Insn.Kind in Insn_CSRRWI .. Insn_CSRRCI then return Fmt ("0x\s\t\s\t\s, \s, \s", Hex (Addr), Img (Insn.Kind), Img (Insn.I_RD), CSR.Img (CSR.Id (Insn.I_Imm)), Insn.I_RS1'Img); else case Insn.Kind is when Invalid => return Fmt ("0x\s\tinvalid 0x\s", Hex (Addr), Hex (Insn.Raw)); when R_Insn_Kind => return Fmt ("0x\s\t\s\t\s, \s, \s", Hex (Addr), Img (Insn.Kind), Img (Insn.R_RD), Img (Insn.R_RS1), Img (Insn.R_RS2)); when I_Insn_Kind => if Insn.Kind in Insn_FENCE | Insn_FENCE_I | Insn_ECALL | Insn_EBREAK | Insn_URET | Insn_MRET | Insn_SRET then return Fmt ("0x\s\t\s", Hex (Addr), Img (Insn.Kind)); else return Fmt ("0x\s\t\s\t\s, \s, \s", Hex (Addr), Img (Insn.Kind), Img (Insn.I_RD), Img (Insn.I_RS1), Insn.I_Imm'Img); end if; when S_Insn_Kind => return Fmt ("0x\s\t\s\t\s, \s(\s)", Hex (Addr), Img (Insn.Kind), Img (Insn.S_RS2), Sign_Extend (Insn.S_Imm).S'Img, Img (Insn.S_RS1)); when B_Insn_Kind => return Fmt ("0x\s\t\s\t\s, \s, \s", Hex (Addr), Img (Insn.Kind), Img (Insn.B_RS1), Img (Insn.B_RS2), Sign_Extend (Insn.B_Imm).S'Img); when U_Insn_Kind => return Fmt ("0x\s\t\s\t\s, \s", Hex (Addr), Img (Insn.Kind), Img (Insn.U_RD), Insn.U_Imm'Img); when J_Insn_Kind => return Fmt ("0x\s\t\s\t\s, \s", Hex (Addr), Img (Insn.Kind), Img (Insn.J_RD), Sign_Extend (Insn.J_Imm).S'Img); end case; end if; end Img; --------- -- Img -- --------- function Img (Kind : Insn_Kind) return String is (case Kind is when Invalid => "invalid", when Insn_ADD => "add", when Insn_SUB => "sub", when Insn_SLL => "sll", when Insn_SLT => "slt", when Insn_SLTU => "sltu", when Insn_XOR => "xor", when Insn_SRL => "srl", when Insn_SRA => "sra", when Insn_OR => "or", when Insn_AND => "and", when Insn_BEQ => "beq", when Insn_BNE => "bne", when Insn_BLT => "blt", when Insn_BGE => "bge", when Insn_BLTU => "bltu", when Insn_BGEU => "bgeu", when Insn_SB => "sb", when Insn_SH => "sh", when Insn_SW => "sw", when Insn_SLLI => "slli", when Insn_SRLI => "srli", when Insn_SRAI => "srai", when Insn_JALR => "jalr", when Insn_LB => "lb", when Insn_LH => "lh", when Insn_LW => "lw", when Insn_LBU => "lbu", when Insn_LHU => "lhu", when Insn_ADDI => "addi", when Insn_SLTI => "slti", when Insn_SLTIU => "sltiu", when Insn_XORI => "xori", when Insn_ORI => "ori", when Insn_ANDI => "andi", when Insn_FENCE => "fence", when Insn_FENCE_I => "fence.i", when Insn_ECALL => "ecall", when Insn_EBREAK => "ebreak", when Insn_CSRRW => "csrrw", when Insn_CSRRS => "csrrs", when Insn_CSRRC => "csrrc", when Insn_CSRRWI => "csrrwi", when Insn_CSRRSI => "csrrsi", when Insn_CSRRCI => "csrrci", when Insn_URET => "uret", when Insn_SRET => "sret", when Insn_MRET => "mret", when Insn_LUI => "lui", when Insn_AUIPC => "auipc", when Insn_JAL => "jal" ); ----------------- -- Sign_Extend -- ----------------- function Sign_Extend (Imm : Raw_Imm12) return Register is U : U_Register; begin if (Imm and 2#1000_0000_0000#) /= 0 then U := 16#FF_FF_F8_00# or U_Register (Imm); else U := U_Register (Imm); end if; return (Signed => False, U => U); end Sign_Extend; ----------------- -- Sign_Extend -- ----------------- function Sign_Extend (Imm : Raw_Imm13) return Register is U : U_Register; begin if (Imm and 2#1_0000_0000_0000#) /= 0 then U := 16#FF_FF_E0_00# or U_Register (Imm); else U := U_Register (Imm); end if; return (Signed => False, U => U); end Sign_Extend; ----------------- -- Sign_Extend -- ----------------- function Sign_Extend (Imm : Raw_Imm21) return Register is U : U_Register; begin if (Imm and 2#1_0000_0000_0000_0000_0000#) /= 0 then U := 16#FF_E0_00_00# or U_Register (Imm); else U := U_Register (Imm); end if; return (Signed => False, U => U); end Sign_Extend; end LibRISCV.Instructions;
35.303424
79
0.457026
599ebd3089e049e7ceb3c23e055ce47579dfe754
23,624
adb
Ada
tools-src/gnu/gcc/gcc/ada/s-fatgen.adb
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
80
2015-01-02T10:14:04.000Z
2021-06-07T06:29:49.000Z
tools-src/gnu/gcc/gcc/ada/s-fatgen.adb
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
9
2015-05-14T11:03:12.000Z
2018-01-04T07:12:58.000Z
tools-src/gnu/gcc/gcc/ada/s-fatgen.adb
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
69
2015-01-02T10:45:56.000Z
2021-09-06T07:52:13.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . F A T _ G E N -- -- -- -- B o d y -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-2001 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- The implementation here is portable to any IEEE implementation. It does -- not handle non-binary radix, and also assumes that model numbers and -- machine numbers are basically identical, which is not true of all possible -- floating-point implementations. On a non-IEEE machine, this body must be -- specialized appropriately, or better still, its generic instantiations -- should be replaced by efficient machine-specific code. with Ada.Unchecked_Conversion; use Ada; with System; package body System.Fat_Gen is Float_Radix : constant T := T (T'Machine_Radix); Float_Radix_Inv : constant T := 1.0 / Float_Radix; Radix_To_M_Minus_1 : constant T := Float_Radix ** (T'Machine_Mantissa - 1); pragma Assert (T'Machine_Radix = 2); -- This version does not handle radix 16 -- Constants for Decompose and Scaling Rad : constant T := T (T'Machine_Radix); Invrad : constant T := 1.0 / Rad; subtype Expbits is Integer range 0 .. 6; -- 2 ** (2 ** 7) might overflow. how big can radix-16 exponents get? Log_Power : constant array (Expbits) of Integer := (1, 2, 4, 8, 16, 32, 64); R_Power : constant array (Expbits) of T := (Rad ** 1, Rad ** 2, Rad ** 4, Rad ** 8, Rad ** 16, Rad ** 32, Rad ** 64); R_Neg_Power : constant array (Expbits) of T := (Invrad ** 1, Invrad ** 2, Invrad ** 4, Invrad ** 8, Invrad ** 16, Invrad ** 32, Invrad ** 64); ----------------------- -- Local Subprograms -- ----------------------- procedure Decompose (XX : T; Frac : out T; Expo : out UI); -- Decomposes a floating-point number into fraction and exponent parts function Gradual_Scaling (Adjustment : UI) return T; -- Like Scaling with a first argument of 1.0, but returns the smallest -- denormal rather than zero when the adjustment is smaller than -- Machine_Emin. Used for Succ and Pred. -------------- -- Adjacent -- -------------- function Adjacent (X, Towards : T) return T is begin if Towards = X then return X; elsif Towards > X then return Succ (X); else return Pred (X); end if; end Adjacent; ------------- -- Ceiling -- ------------- function Ceiling (X : T) return T is XT : constant T := Truncation (X); begin if X <= 0.0 then return XT; elsif X = XT then return X; else return XT + 1.0; end if; end Ceiling; ------------- -- Compose -- ------------- function Compose (Fraction : T; Exponent : UI) return T is Arg_Frac : T; Arg_Exp : UI; begin Decompose (Fraction, Arg_Frac, Arg_Exp); return Scaling (Arg_Frac, Exponent); end Compose; --------------- -- Copy_Sign -- --------------- function Copy_Sign (Value, Sign : T) return T is Result : T; function Is_Negative (V : T) return Boolean; pragma Import (Intrinsic, Is_Negative); begin Result := abs Value; if Is_Negative (Sign) then return -Result; else return Result; end if; end Copy_Sign; --------------- -- Decompose -- --------------- procedure Decompose (XX : T; Frac : out T; Expo : out UI) is X : T := T'Machine (XX); begin if X = 0.0 then Frac := X; Expo := 0; -- More useful would be defining Expo to be T'Machine_Emin - 1 or -- T'Machine_Emin - T'Machine_Mantissa, which would preserve -- monotonicity of the exponent function ??? -- Check for infinities, transfinites, whatnot. elsif X > T'Safe_Last then Frac := Invrad; Expo := T'Machine_Emax + 1; elsif X < T'Safe_First then Frac := -Invrad; Expo := T'Machine_Emax + 2; -- how many extra negative values? else -- Case of nonzero finite x. Essentially, we just multiply -- by Rad ** (+-2**N) to reduce the range. declare Ax : T := abs X; Ex : UI := 0; -- Ax * Rad ** Ex is invariant. begin if Ax >= 1.0 then while Ax >= R_Power (Expbits'Last) loop Ax := Ax * R_Neg_Power (Expbits'Last); Ex := Ex + Log_Power (Expbits'Last); end loop; -- Ax < Rad ** 64 for N in reverse Expbits'First .. Expbits'Last - 1 loop if Ax >= R_Power (N) then Ax := Ax * R_Neg_Power (N); Ex := Ex + Log_Power (N); end if; -- Ax < R_Power (N) end loop; -- 1 <= Ax < Rad Ax := Ax * Invrad; Ex := Ex + 1; else -- 0 < ax < 1 while Ax < R_Neg_Power (Expbits'Last) loop Ax := Ax * R_Power (Expbits'Last); Ex := Ex - Log_Power (Expbits'Last); end loop; -- Rad ** -64 <= Ax < 1 for N in reverse Expbits'First .. Expbits'Last - 1 loop if Ax < R_Neg_Power (N) then Ax := Ax * R_Power (N); Ex := Ex - Log_Power (N); end if; -- R_Neg_Power (N) <= Ax < 1 end loop; end if; if X > 0.0 then Frac := Ax; else Frac := -Ax; end if; Expo := Ex; end; end if; end Decompose; -------------- -- Exponent -- -------------- function Exponent (X : T) return UI is X_Frac : T; X_Exp : UI; begin Decompose (X, X_Frac, X_Exp); return X_Exp; end Exponent; ----------- -- Floor -- ----------- function Floor (X : T) return T is XT : constant T := Truncation (X); begin if X >= 0.0 then return XT; elsif XT = X then return X; else return XT - 1.0; end if; end Floor; -------------- -- Fraction -- -------------- function Fraction (X : T) return T is X_Frac : T; X_Exp : UI; begin Decompose (X, X_Frac, X_Exp); return X_Frac; end Fraction; --------------------- -- Gradual_Scaling -- --------------------- function Gradual_Scaling (Adjustment : UI) return T is Y : T; Y1 : T; Ex : UI := Adjustment; begin if Adjustment < T'Machine_Emin then Y := 2.0 ** T'Machine_Emin; Y1 := Y; Ex := Ex - T'Machine_Emin; while Ex <= 0 loop Y := T'Machine (Y / 2.0); if Y = 0.0 then return Y1; end if; Ex := Ex + 1; Y1 := Y; end loop; return Y1; else return Scaling (1.0, Adjustment); end if; end Gradual_Scaling; ------------------ -- Leading_Part -- ------------------ function Leading_Part (X : T; Radix_Digits : UI) return T is L : UI; Y, Z : T; begin if Radix_Digits >= T'Machine_Mantissa then return X; else L := Exponent (X) - Radix_Digits; Y := Truncation (Scaling (X, -L)); Z := Scaling (Y, L); return Z; end if; end Leading_Part; ------------- -- Machine -- ------------- -- The trick with Machine is to force the compiler to store the result -- in memory so that we do not have extra precision used. The compiler -- is clever, so we have to outwit its possible optimizations! We do -- this by using an intermediate pragma Volatile location. function Machine (X : T) return T is Temp : T; pragma Volatile (Temp); begin Temp := X; return Temp; end Machine; ----------- -- Model -- ----------- -- We treat Model as identical to Machine. This is true of IEEE and other -- nice floating-point systems, but not necessarily true of all systems. function Model (X : T) return T is begin return Machine (X); end Model; ---------- -- Pred -- ---------- -- Subtract from the given number a number equivalent to the value of its -- least significant bit. Given that the most significant bit represents -- a value of 1.0 * radix ** (exp - 1), the value we want is obtained by -- shifting this by (mantissa-1) bits to the right, i.e. decreasing the -- exponent by that amount. -- Zero has to be treated specially, since its exponent is zero function Pred (X : T) return T is X_Frac : T; X_Exp : UI; begin if X = 0.0 then return -Succ (X); else Decompose (X, X_Frac, X_Exp); -- A special case, if the number we had was a positive power of -- two, then we want to subtract half of what we would otherwise -- subtract, since the exponent is going to be reduced. if X_Frac = 0.5 and then X > 0.0 then return X - Gradual_Scaling (X_Exp - T'Machine_Mantissa - 1); -- Otherwise the exponent stays the same else return X - Gradual_Scaling (X_Exp - T'Machine_Mantissa); end if; end if; end Pred; --------------- -- Remainder -- --------------- function Remainder (X, Y : T) return T is A : T; B : T; Arg : T; P : T; Arg_Frac : T; P_Frac : T; Sign_X : T; IEEE_Rem : T; Arg_Exp : UI; P_Exp : UI; K : UI; P_Even : Boolean; begin if X > 0.0 then Sign_X := 1.0; Arg := X; else Sign_X := -1.0; Arg := -X; end if; P := abs Y; if Arg < P then P_Even := True; IEEE_Rem := Arg; P_Exp := Exponent (P); else Decompose (Arg, Arg_Frac, Arg_Exp); Decompose (P, P_Frac, P_Exp); P := Compose (P_Frac, Arg_Exp); K := Arg_Exp - P_Exp; P_Even := True; IEEE_Rem := Arg; for Cnt in reverse 0 .. K loop if IEEE_Rem >= P then P_Even := False; IEEE_Rem := IEEE_Rem - P; else P_Even := True; end if; P := P * 0.5; end loop; end if; -- That completes the calculation of modulus remainder. The final -- step is get the IEEE remainder. Here we need to compare Rem with -- (abs Y) / 2. We must be careful of unrepresentable Y/2 value -- caused by subnormal numbers if P_Exp >= 0 then A := IEEE_Rem; B := abs Y * 0.5; else A := IEEE_Rem * 2.0; B := abs Y; end if; if A > B or else (A = B and then not P_Even) then IEEE_Rem := IEEE_Rem - abs Y; end if; return Sign_X * IEEE_Rem; end Remainder; -------------- -- Rounding -- -------------- function Rounding (X : T) return T is Result : T; Tail : T; begin Result := Truncation (abs X); Tail := abs X - Result; if Tail >= 0.5 then Result := Result + 1.0; end if; if X > 0.0 then return Result; elsif X < 0.0 then return -Result; -- For zero case, make sure sign of zero is preserved else return X; end if; end Rounding; ------------- -- Scaling -- ------------- -- Return x * rad ** adjustment quickly, -- or quietly underflow to zero, or overflow naturally. function Scaling (X : T; Adjustment : UI) return T is begin if X = 0.0 or else Adjustment = 0 then return X; end if; -- Nonzero x. essentially, just multiply repeatedly by Rad ** (+-2**n). declare Y : T := X; Ex : UI := Adjustment; -- Y * Rad ** Ex is invariant begin if Ex < 0 then while Ex <= -Log_Power (Expbits'Last) loop Y := Y * R_Neg_Power (Expbits'Last); Ex := Ex + Log_Power (Expbits'Last); end loop; -- -64 < Ex <= 0 for N in reverse Expbits'First .. Expbits'Last - 1 loop if Ex <= -Log_Power (N) then Y := Y * R_Neg_Power (N); Ex := Ex + Log_Power (N); end if; -- -Log_Power (N) < Ex <= 0 end loop; -- Ex = 0 else -- Ex >= 0 while Ex >= Log_Power (Expbits'Last) loop Y := Y * R_Power (Expbits'Last); Ex := Ex - Log_Power (Expbits'Last); end loop; -- 0 <= Ex < 64 for N in reverse Expbits'First .. Expbits'Last - 1 loop if Ex >= Log_Power (N) then Y := Y * R_Power (N); Ex := Ex - Log_Power (N); end if; -- 0 <= Ex < Log_Power (N) end loop; -- Ex = 0 end if; return Y; end; end Scaling; ---------- -- Succ -- ---------- -- Similar computation to that of Pred: find value of least significant -- bit of given number, and add. Zero has to be treated specially since -- the exponent can be zero, and also we want the smallest denormal if -- denormals are supported. function Succ (X : T) return T is X_Frac : T; X_Exp : UI; X1, X2 : T; begin if X = 0.0 then X1 := 2.0 ** T'Machine_Emin; -- Following loop generates smallest denormal loop X2 := T'Machine (X1 / 2.0); exit when X2 = 0.0; X1 := X2; end loop; return X1; else Decompose (X, X_Frac, X_Exp); -- A special case, if the number we had was a negative power of -- two, then we want to add half of what we would otherwise add, -- since the exponent is going to be reduced. if X_Frac = 0.5 and then X < 0.0 then return X + Gradual_Scaling (X_Exp - T'Machine_Mantissa - 1); -- Otherwise the exponent stays the same else return X + Gradual_Scaling (X_Exp - T'Machine_Mantissa); end if; end if; end Succ; ---------------- -- Truncation -- ---------------- -- The basic approach is to compute -- T'Machine (RM1 + N) - RM1. -- where N >= 0.0 and RM1 = radix ** (mantissa - 1) -- This works provided that the intermediate result (RM1 + N) does not -- have extra precision (which is why we call Machine). When we compute -- RM1 + N, the exponent of N will be normalized and the mantissa shifted -- shifted appropriately so the lower order bits, which cannot contribute -- to the integer part of N, fall off on the right. When we subtract RM1 -- again, the significant bits of N are shifted to the left, and what we -- have is an integer, because only the first e bits are different from -- zero (assuming binary radix here). function Truncation (X : T) return T is Result : T; begin Result := abs X; if Result >= Radix_To_M_Minus_1 then return Machine (X); else Result := Machine (Radix_To_M_Minus_1 + Result) - Radix_To_M_Minus_1; if Result > abs X then Result := Result - 1.0; end if; if X > 0.0 then return Result; elsif X < 0.0 then return -Result; -- For zero case, make sure sign of zero is preserved else return X; end if; end if; end Truncation; ----------------------- -- Unbiased_Rounding -- ----------------------- function Unbiased_Rounding (X : T) return T is Abs_X : constant T := abs X; Result : T; Tail : T; begin Result := Truncation (Abs_X); Tail := Abs_X - Result; if Tail > 0.5 then Result := Result + 1.0; elsif Tail = 0.5 then Result := 2.0 * Truncation ((Result / 2.0) + 0.5); end if; if X > 0.0 then return Result; elsif X < 0.0 then return -Result; -- For zero case, make sure sign of zero is preserved else return X; end if; end Unbiased_Rounding; ----------- -- Valid -- ----------- function Valid (X : access T) return Boolean is IEEE_Emin : constant Integer := T'Machine_Emin - 1; IEEE_Emax : constant Integer := T'Machine_Emax - 1; IEEE_Bias : constant Integer := -(IEEE_Emin - 1); subtype IEEE_Exponent_Range is Integer range IEEE_Emin - 1 .. IEEE_Emax + 1; -- The implementation of this floating point attribute uses -- a representation type Float_Rep that allows direct access to -- the exponent and mantissa parts of a floating point number. -- The Float_Rep type is an array of Float_Word elements. This -- representation is chosen to make it possible to size the -- type based on a generic parameter. -- The following conditions must be met for all possible -- instantiations of the attributes package: -- - T'Size is an integral multiple of Float_Word'Size -- - The exponent and sign are completely contained in a single -- component of Float_Rep, named Most_Significant_Word (MSW). -- - The sign occupies the most significant bit of the MSW -- and the exponent is in the following bits. -- Unused bits (if any) are in the least significant part. type Float_Word is mod 2**32; type Rep_Index is range 0 .. 7; Rep_Last : constant Rep_Index := (T'Size - 1) / Float_Word'Size; type Float_Rep is array (Rep_Index range 0 .. Rep_Last) of Float_Word; Most_Significant_Word : constant Rep_Index := Rep_Last * Standard'Default_Bit_Order; -- Finding the location of the Exponent_Word is a bit tricky. -- In general we assume Word_Order = Bit_Order. -- This expression needs to be refined for VMS. Exponent_Factor : constant Float_Word := 2**(Float_Word'Size - 1) / Float_Word (IEEE_Emax - IEEE_Emin + 3) * Boolean'Pos (T'Size /= 96) + Boolean'Pos (T'Size = 96); -- Factor that the extracted exponent needs to be divided by -- to be in range 0 .. IEEE_Emax - IEEE_Emin + 2. -- Special kludge: Exponent_Factor is 0 for x86 double extended -- as GCC adds 16 unused bits to the type. Exponent_Mask : constant Float_Word := Float_Word (IEEE_Emax - IEEE_Emin + 2) * Exponent_Factor; -- Value needed to mask out the exponent field. -- This assumes that the range IEEE_Emin - 1 .. IEEE_Emax + 1 -- contains 2**N values, for some N in Natural. function To_Float is new Unchecked_Conversion (Float_Rep, T); type Float_Access is access all T; function To_Address is new Unchecked_Conversion (Float_Access, System.Address); XA : constant System.Address := To_Address (Float_Access (X)); R : Float_Rep; pragma Import (Ada, R); for R'Address use XA; -- R is a view of the input floating-point parameter. Note that we -- must avoid copying the actual bits of this parameter in float -- form (since it may be a signalling NaN. E : constant IEEE_Exponent_Range := Integer ((R (Most_Significant_Word) and Exponent_Mask) / Exponent_Factor) - IEEE_Bias; -- Mask/Shift T to only get bits from the exponent -- Then convert biased value to integer value. SR : Float_Rep; -- Float_Rep representation of significant of X.all begin if T'Denorm then -- All denormalized numbers are valid, so only invalid numbers -- are overflows and NaN's, both with exponent = Emax + 1. return E /= IEEE_Emax + 1; end if; -- All denormalized numbers except 0.0 are invalid -- Set exponent of X to zero, so we end up with the significand, which -- definitely is a valid number and can be converted back to a float. SR := R; SR (Most_Significant_Word) := (SR (Most_Significant_Word) and not Exponent_Mask) + Float_Word (IEEE_Bias) * Exponent_Factor; return (E in IEEE_Emin .. IEEE_Emax) or else ((E = IEEE_Emin - 1) and then abs To_Float (SR) = 1.0); end Valid; end System.Fat_Gen;
28.224612
79
0.503979
1de5746294a3374383dbdc59bdc16045233c3e93
1,115
adb
Ada
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/mi_catch_ex/foo.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
31
2018-08-01T21:25:24.000Z
2022-02-14T07:52:34.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/mi_catch_ex/foo.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
40
2018-12-03T19:48:52.000Z
2021-03-10T06:34:26.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/mi_catch_ex/foo.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
20
2018-11-16T21:19:22.000Z
2021-10-18T23:08:24.000Z
-- Copyright 2007-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. procedure Foo is begin begin raise Constraint_Error; -- SPOT1 exception when others => null; end; begin raise Program_Error; -- SPOT2 exception when others => null; end; begin pragma Assert (False); -- SPOT3 null; exception when others => null; end; raise Constraint_Error; -- SPOT4 end Foo;
25.340909
73
0.669955
4d3bede68957198dcfd4cb342131e9c4396c4bd7
619
ads
Ada
examples/stm32f1/bootloader/flash.ads
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
1
2021-04-06T07:57:56.000Z
2021-04-06T07:57:56.000Z
examples/stm32f1/bootloader/flash.ads
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
null
null
null
examples/stm32f1/bootloader/flash.ads
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
2
2018-05-29T13:59:31.000Z
2019-02-03T19:48:08.000Z
with Interfaces; use Interfaces; package Flash is pragma Preelaborate; procedure Init with Inline_Always; procedure Unlock with Inline_Always; procedure Lock with Inline_Always; procedure Enable_Erase with Inline_Always; procedure Enable_Write with Inline_Always; procedure Write (Addr : Unsigned_32; Value : Unsigned_16) with Inline_Always; function Read (Addr : Unsigned_32) return Unsigned_16 with Inline_Always; procedure Erase (Addr : Unsigned_32) with Inline_Always; procedure Wait_Until_Ready with Inline_Always; end Flash;
22.925926
60
0.720517
292baed30a3535ef4bdcf79e12bd4ec5cc366b20
12,228
adb
Ada
src/words_engine/words_engine-roman_numerals_package.adb
finleyexp/whitakers-words
9c07fe7e96ac15dc3262b82a37f6ea69947f458b
[ "FTL" ]
204
2015-06-12T21:22:55.000Z
2022-03-28T10:50:16.000Z
src/words_engine/words_engine-roman_numerals_package.adb
finleyexp/whitakers-words
9c07fe7e96ac15dc3262b82a37f6ea69947f458b
[ "FTL" ]
98
2015-06-15T22:17:04.000Z
2021-10-01T18:17:55.000Z
src/words_engine/words_engine-roman_numerals_package.adb
finleyexp/whitakers-words
9c07fe7e96ac15dc3262b82a37f6ea69947f458b
[ "FTL" ]
50
2015-06-16T22:42:24.000Z
2021-12-29T16:53:08.000Z
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired) -- -- Copyright William A. Whitaker (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission is hereby freely given for any and all use of program -- and data. You can sell it as your own, but at least tell me. -- -- This version is distributed without obligation, but the developer -- would appreciate comments and suggestions. -- -- All parts of the WORDS system, source code and data files, are made freely -- available to anyone who wishes to use them, for whatever purpose. with Latin_Utils.Strings_Package; use Latin_Utils.Strings_Package; with Latin_Utils.Inflections_Package; use Latin_Utils.Inflections_Package; package body Words_Engine.Roman_Numerals_Package is function A_Roman_Digit (Char : Character) return Boolean is begin case Char is when 'M' | 'm' | 'D' | 'd' | 'C' | 'c' | 'L' | 'l' | 'X' | 'x' | 'V' | 'v' | 'I' | 'i' => return True; --when 'U' | 'u' => return TRUE; -- possible but unlikely when others => return False; end case; end A_Roman_Digit; function Value (Char : Character) return Natural is begin case Char is when 'M' | 'm' => return 1000; when 'D' | 'd' => return 500; when 'C' | 'c' => return 100; when 'L' | 'l' => return 50; when 'X' | 'x' => return 10; --when 'U' | 'u' => return 5; -- possible but unlikely when 'V' | 'v' => return 5; when 'I' | 'i' => return 1; when others => return 0; end case; end Value; function Only_Roman_Digits (S : String) return Boolean is begin for I in S'Range loop if not A_Roman_Digit (S (I)) then return False; end if; end loop; return True; end Only_Roman_Digits; function Roman_Number (St : String) return Natural is -- Determines and returns the value of a Roman numeral, or 0 if invalid Total : Natural := 0; Invalid : exception; J : Integer := 0; S : constant String := Upper_Case (St); begin if Only_Roman_Digits (S) then -- --NUMERALS IN A STRING ARE ADDED: CC = 200 ; CCX = 210. --ONE NUMERAL TO THE LEFT of A LARGER NUMERAL IS SUBTRACTED FROM --THAT NUMBER: IX = 9 -- --SUBTRACT ONLY A SINGLE LETTER FROM A SINGLE NUMERAL. --VIII FOR 8, NOT IIX; 19 IS XIX, NOT IXX. -- --SUBTRACT ONLY POWERS of TEN, SUCH AS I, X, or C. --NOT VL FOR 45, BUT XLV. -- --DON'T SUBTRACT A LETTER FROM ANOTHER LETTER MORE THAN TEN TIMES --GREATER. --ONLY SUBTRACT I FROM V or X, and X FROM L or C. --NOT IL FOR 49, BUT XLIX. MIM is ILLEGAL. -- --ONLY IF ANY NUMERAL PRECEDING IS AT LEAST TEN TIMES LARGER. --NOT VIX FOR 14, BUT XIV. --NOT IIX, BUT VIII. --ONLY IF ANY NUMERAL FOLLOWING IS SMALLER. --NOT XCL FOR 140, BUT CXL. -- J := S'Last; Evaluate : while J >= S'First loop -- --Legal in the Ones position -- I -- II -- III -- IIII IV -- V -- VI -- VII -- VIII -- VIIII IX -- -- -- Ones if S (J) = 'I' then Total := Total + 1; J := J - 1; exit Evaluate when J < S'First; while S (J) = 'I' loop Total := Total + 1; if Total >= 5 then raise Invalid; end if; J := J - 1; exit Evaluate when J < S'First; end loop; end if; if S (J) = 'V' then Total := Total + 5; J := J - 1; exit Evaluate when J < S'First; if S (J) = 'I' and Total = 5 then Total := Total - 1; J := J - 1; exit Evaluate when J < S'First; end if; if S (J) = 'I' or S (J) = 'V' then raise Invalid; end if; end if; -- --Legal in the tens position -- X -- XX -- XXX -- XXXX XL -- L -- LX -- LXX -- LXXX -- LXXXX XC -- -- Tens if S (J) = 'X' then Total := Total + 10; J := J - 1; exit Evaluate when J < S'First; while S (J) = 'X' loop Total := Total + 10; if Total >= 50 then raise Invalid; end if; J := J - 1; exit Evaluate when J < S'First; end loop; if S (J) = 'I' and Total = 10 then Total := Total - 1; J := J - 1; exit Evaluate when J < S'First; end if; if S (J) = 'I' or S (J) = 'V' then raise Invalid; end if; end if; if S (J) = 'L' then Total := Total + 50; J := J - 1; exit Evaluate when J < S'First; if S (J) = 'X' and Total <= 59 then Total := Total - 10; J := J - 1; exit Evaluate when J < S'First; end if; if S (J) = 'I' or S (J) = 'V' or S (J) = 'X' or S (J) = 'L' then raise Invalid; end if; if S (J) = 'C' then Total := Total + 100; J := J - 1; exit Evaluate when J < S'First; if S (J) = 'X' and Total = 100 then Total := Total - 10; J := J - 1; exit Evaluate when J < S'First; end if; end if; if S (J) = 'I' or S (J) = 'V' or S (J) = 'X' or S (J) = 'L' then raise Invalid; end if; end if; if S (J) = 'C' then Total := Total + 100; J := J - 1; exit Evaluate when J < S'First; while S (J) = 'C' loop Total := Total + 100; if Total >= 500 then raise Invalid; end if; J := J - 1; exit Evaluate when J < S'First; end loop; if S (J) = 'X' and Total <= 109 then Total := Total - 10; J := J - 1; exit Evaluate when J < S'First; end if; if S (J) = 'I' or S (J) = 'V' or S (J) = 'X' or S (J) = 'L' then raise Invalid; end if; end if; if S (J) = 'D' then Total := Total + 500; J := J - 1; exit Evaluate when J < S'First; if S (J) = 'C' and Total <= 599 then Total := Total - 100; J := J - 1; exit Evaluate when J < S'First; end if; if S (J) = 'M' then Total := Total + 1000; J := J - 1; exit Evaluate when J < S'First; end if; if S (J) = 'C' and Total <= 1099 then Total := Total - 100; J := J - 1; exit Evaluate when J < S'First; end if; if S (J) = 'I' or S (J) = 'V' or S (J) = 'X' or S (J) = 'L' or S (J) = 'C' or S (J) = 'D' then raise Invalid; end if; end if; if S (J) = 'M' then Total := Total + 1000; J := J - 1; exit Evaluate when J < S'First; while S (J) = 'M' loop Total := Total + 1000; if Total >= 5000 then raise Invalid; end if; J := J - 1; exit Evaluate when J < S'First; end loop; if S (J) = 'C' and Total <= 1099 then Total := Total - 100; J := J - 1; exit Evaluate when J < S'First; end if; if S (J) = 'I' or S (J) = 'V' or S (J) = 'X' or S (J) = 'L' or S (J) = 'C' or S (J) = 'D' then raise Invalid; end if; end if; end loop Evaluate; end if; -- On Only Roman digits return Total; exception when Invalid => return 0; when Constraint_Error => return 0; end Roman_Number; procedure Roman_Numerals (Input_Word : String; Pa : in out Parse_Array; Pa_Last : in out Integer; Xp : in out Explanations) is W : constant String := Trim (Input_Word); Roman_Number_W : constant Integer := Roman_Number (W); begin if Only_Roman_Digits (W) and then (Roman_Number_W /= 0) then Pa_Last := Pa_Last + 1; Pa (Pa_Last) := (Stem => Head (W, Max_Stem_Size), IR => ( Qual => ( Pofs => Num, Num => ( Decl => (2, 0), Of_Case => X, Number => X, Gender => X, Sort => Card)), Key => 0, Ending => Null_Ending_Record, Age => X, Freq => A), D_K => Rrr, MNPC => Null_MNPC); Xp.Rrr_Meaning := Head (Integer'Image (Roman_Number_W) & " as a ROMAN NUMERAL;", Max_Meaning_Size); else null; -- Is not ROMAN NUMERAL, so go on and try something else end if; end Roman_Numerals; function Bad_Roman_Number (S : String) return Natural is -- Determines and returns the value of a Roman numeral, or 0 if invalid -- This seems to allow all of Caesar's. Actually there are no rules -- if you look at some of the 12-15 century stuff Total : Integer := 0; Decremented_From : Integer := 0; begin -- Already known that all the Characters may be valid numerals -- Loop over the String to check validity, start with second place --PUT_LINE (" In function BAD_ROMAN_NUMBER "); --PUT_LINE (" BEFORE LOOP S = " & S); Total := Value (S (S'Last)); Decremented_From := Value (S (S'Last)); for I in reverse S'First .. S'Last - 1 loop if Value (S (I)) < Value (S (I + 1)) then -- Decrement Total := Total - Value (S (I)); Decremented_From := Value (S (I + 1)); elsif Value (S (I)) = Value (S (I + 1)) then if Value (S (I)) < Decremented_From then Total := Total - Value (S (I)); -- IIX = 8 ! else Total := Total + Value (S (I)); end if; elsif Value (S (I)) > Value (S (I + 1)) then Total := Total + Value (S (I)); Decremented_From := Value (S (I + 1)); end if; end loop; if Total > 0 then return Total; else return 0; end if; exception when others => return 0; end Bad_Roman_Number; end Words_Engine.Roman_Numerals_Package;
31.761039
78
0.42002
2fd95459cf93a58bbd9980f3f03fe94f80207663
10,054
adb
Ada
src/atlas-applications.adb
stcarrez/atlas
712e6c99ebf2d6742f493b74bef9275205df98c6
[ "Apache-2.0" ]
7
2016-05-01T13:19:01.000Z
2020-03-18T14:47:27.000Z
src/atlas-applications.adb
stcarrez/atlas
712e6c99ebf2d6742f493b74bef9275205df98c6
[ "Apache-2.0" ]
3
2018-06-06T15:52:11.000Z
2020-03-11T14:03:46.000Z
src/atlas-applications.adb
stcarrez/atlas
712e6c99ebf2d6742f493b74bef9275205df98c6
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- atlas -- atlas applications ----------------------------------------------------------------------- -- Copyright (C) 2012, 2013, 2014, 2015, 2016, 2017, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with GNAT.MD5; with Util.Log.Loggers; with Util.Beans.Basic; with Util.Strings.Transforms; with EL.Functions; with ASF.Applications.Main; with ADO.Queries; with ADO.Sessions; with AWA.Services.Contexts; with Atlas.Applications.Models; -- with Atlas.XXX.Module; package body Atlas.Applications is package ASC renames AWA.Services.Contexts; use AWA.Applications; type User_Stat_Info_Access is access all Atlas.Applications.Models.User_Stat_Info; Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Atlas"); procedure Set_Functions (Mapper : in out EL.Functions.Function_Mapper'Class); function Create_User_Stat_Bean return Util.Beans.Basic.Readonly_Bean_Access; -- ------------------------------ -- Create the user statistics bean which indicates what feature the user has used. -- ------------------------------ function Create_User_Stat_Bean return Util.Beans.Basic.Readonly_Bean_Access is use type ASC.Service_Context_Access; Ctx : constant ASC.Service_Context_Access := ASC.Current; Result : User_Stat_Info_Access; begin if Ctx /= null then declare List : Atlas.Applications.Models.User_Stat_Info_List_Bean; Session : ADO.Sessions.Session := ASC.Get_Session (Ctx); User : constant ADO.Identifier := Ctx.Get_User_Identifier; Query : ADO.Queries.Context; begin Query.Set_Query (Atlas.Applications.Models.Query_User_Stat); Query.Bind_Param ("user_id", User); Atlas.Applications.Models.List (List, Session, Query); Result := new Atlas.Applications.Models.User_Stat_Info; Result.all := List.List.Element (1); end; else Result := new Atlas.Applications.Models.User_Stat_Info; Result.Post_Count := 0; Result.Document_Count := 0; Result.Question_Count := 0; Result.Answer_Count := 0; end if; return Result.all'Access; end Create_User_Stat_Bean; -- ------------------------------ -- Given an Email address, return the Gravatar link to the user image. -- (See http://en.gravatar.com/site/implement/hash/ and -- http://en.gravatar.com/site/implement/images/) -- ------------------------------ function Get_Gravatar_Link (Email : in String) return String is E : constant String := Util.Strings.Transforms.To_Lower_Case (Email); C : constant GNAT.MD5.Message_Digest := GNAT.MD5.Digest (E); begin return "http://www.gravatar.com/avatar/" & C; end Get_Gravatar_Link; -- ------------------------------ -- EL function to convert an Email address to a Gravatar image. -- ------------------------------ function To_Gravatar_Link (Email : in Util.Beans.Objects.Object) return Util.Beans.Objects.Object is Link : constant String := Get_Gravatar_Link (Util.Beans.Objects.To_String (Email)); begin return Util.Beans.Objects.To_Object (Link); end To_Gravatar_Link; procedure Set_Functions (Mapper : in out EL.Functions.Function_Mapper'Class) is begin Mapper.Set_Function (Name => "gravatar", Namespace => ATLAS_NS_URI, Func => To_Gravatar_Link'Access); end Set_Functions; -- ------------------------------ -- Initialize the ASF components provided by the application. -- This procedure is called by <b>Initialize</b>. -- It should register the component factories used by the application. -- ------------------------------ overriding procedure Initialize_Components (App : in out Application) is procedure Register is new ASF.Applications.Main.Register_Functions (Set_Functions); begin App.Self := App'Unchecked_Access; App.Set_Global ("contextPath", CONTEXT_PATH); Register (App); AWA.Applications.Application (App).Initialize_Components; App.Add_Converter (Name => "smartDateConverter", Converter => App.Self.Rel_Date_Converter'Access); App.Add_Converter (Name => "sizeConverter", Converter => App.Self.Size_Converter'Access); App.Register_Class (Name => "Atlas.Applications.User_Stat_Bean", Handler => Create_User_Stat_Bean'Access); end Initialize_Components; -- ------------------------------ -- Initialize the servlets provided by the application. -- This procedure is called by <b>Initialize</b>. -- It should register the application servlets. -- ------------------------------ overriding procedure Initialize_Servlets (App : in out Application) is begin Log.Info ("Initializing application servlets..."); AWA.Applications.Application (App).Initialize_Servlets; App.Add_Servlet (Name => "faces", Server => App.Self.Faces'Access); App.Add_Servlet (Name => "files", Server => App.Self.Files'Access); App.Add_Servlet (Name => "ajax", Server => App.Self.Ajax'Access); App.Add_Servlet (Name => "measures", Server => App.Self.Measures'Access); App.Add_Servlet (Name => "auth", Server => App.Self.Auth'Access); App.Add_Servlet (Name => "verify-auth", Server => App.Self.Verify_Auth'Access); end Initialize_Servlets; -- ------------------------------ -- Initialize the filters provided by the application. -- This procedure is called by <b>Initialize</b>. -- It should register the application filters. -- ------------------------------ overriding procedure Initialize_Filters (App : in out Application) is begin Log.Info ("Initializing application filters..."); AWA.Applications.Application (App).Initialize_Filters; App.Add_Filter (Name => "dump", Filter => App.Self.Dump'Access); App.Add_Filter (Name => "measures", Filter => App.Self.Measures'Access); App.Add_Filter (Name => "service", Filter => App.Self.Service_Filter'Access); App.Add_Filter (Name => "no-cache", Filter => App.Self.No_Cache'Access); end Initialize_Filters; -- ------------------------------ -- Initialize the AWA modules provided by the application. -- This procedure is called by <b>Initialize</b>. -- It should register the modules used by the application. -- ------------------------------ overriding procedure Initialize_Modules (App : in out Application) is begin Log.Info ("Initializing application modules..."); Register (App => App.Self.all'Access, Name => AWA.Users.Modules.NAME, URI => "user", Module => App.User_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Workspaces.Modules.NAME, URI => "workspaces", Module => App.Workspace_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Mail.Modules.NAME, Module => App.Mail_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Counters.Modules.NAME, Module => App.Counter_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Jobs.Modules.NAME, Module => App.Job_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Tags.Modules.NAME, Module => App.Tag_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Comments.Modules.NAME, Module => App.Comment_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Blogs.Modules.NAME, Module => App.Blog_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Storages.Modules.NAME, Module => App.Storage_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Images.Modules.NAME, Module => App.Image_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Votes.Modules.NAME, Module => App.Vote_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Questions.Modules.NAME, Module => App.Question_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Wikis.Modules.NAME, Module => App.Wiki_Module'Access); Register (App => App.Self.all'Access, Name => AWA.Wikis.Previews.NAME, Module => App.Preview_Module'Access); Register (App => App.Self.all'Access, Name => Atlas.Microblog.Modules.NAME, Module => App.Microblog_Module'Access); Register (App => App.Self.all'Access, Name => Atlas.Reviews.Modules.NAME, Module => App.Review_Module'Access); end Initialize_Modules; end Atlas.Applications;
40.37751
89
0.591108