aboutsummaryrefslogtreecommitdiffstats
path: root/iirs_utils.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-10-29 20:36:29 +0100
committerTristan Gingold <tgingold@free.fr>2014-10-29 20:36:29 +0100
commite5071f1a02f16a369c504944934042fbfb09e5dc (patch)
tree1b891a41c024a308274c380c8189e3213085a7e8 /iirs_utils.ads
parent236a876a8448b89061bb71869c36a68aea0199c3 (diff)
downloadghdl-e5071f1a02f16a369c504944934042fbfb09e5dc.tar.gz
ghdl-e5071f1a02f16a369c504944934042fbfb09e5dc.tar.bz2
ghdl-e5071f1a02f16a369c504944934042fbfb09e5dc.zip
Add support for package interface.
Diffstat (limited to 'iirs_utils.ads')
-rw-r--r--iirs_utils.ads7
1 files changed, 7 insertions, 0 deletions
diff --git a/iirs_utils.ads b/iirs_utils.ads
index e77e5723e..a588ab870 100644
--- a/iirs_utils.ads
+++ b/iirs_utils.ads
@@ -63,6 +63,9 @@ package Iirs_Utils is
-- an interface, even if the formal is a name.
function Get_Association_Interface (Assoc : Iir) return Iir;
+ -- Duplicate enumeration literal LIT.
+ function Copy_Enumeration_Literal (Lit : Iir) return Iir;
+
-- Make TARGETS depends on UNIT.
-- UNIT must be either a design unit or a entity_aspect_entity.
procedure Add_Dependence (Target: Iir_Design_Unit; Unit: Iir);
@@ -89,6 +92,10 @@ package Iirs_Utils is
procedure Create_Range_Constraint_For_Enumeration_Type
(Def : Iir_Enumeration_Type_Definition);
+ -- Return the node containing the Callees_List (ie the subprogram body if
+ -- SUBPRG is a subprogram spec, SUBPRG if SUBPRG is a process).
+ function Get_Callees_List_Holder (Subprg : Iir) return Iir;
+
-- Clear flag of TOP and all of its callees.
procedure Clear_Seen_Flag (Top : Iir);