ADTast-experimental
Last change
on this file since cb69fba was
5bf3976,
checked in by Andrew Beach <ajbeach@…>, 22 months ago
|
Header Clean-Up: Created new headers for new AST typeops and moved declarations.
|
-
Property mode set to
100644
|
File size:
920 bytes
|
Line | |
---|
1 | // |
---|
2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo |
---|
3 | // |
---|
4 | // The contents of this file are covered under the licence agreement in the |
---|
5 | // file "LICENCE" distributed with Cforall. |
---|
6 | // |
---|
7 | // PolyCost.hpp -- |
---|
8 | // |
---|
9 | // Author : Andrew Beach |
---|
10 | // Created On : Tue Jan 17 16:45:00 2023 |
---|
11 | // Last Modified By : Andrew Beach |
---|
12 | // Last Modified On : Tue Jan 17 16:45:00 2023 |
---|
13 | // Update Count : 0 |
---|
14 | // |
---|
15 | |
---|
16 | #pragma once |
---|
17 | |
---|
18 | class Type; |
---|
19 | namespace SymTab { |
---|
20 | class Indexer; |
---|
21 | } |
---|
22 | namespace ast { |
---|
23 | class SymbolTable; |
---|
24 | class Type; |
---|
25 | class TypeEnvironment; |
---|
26 | } |
---|
27 | |
---|
28 | namespace ResolvExpr { |
---|
29 | |
---|
30 | class TypeEnvironment; |
---|
31 | |
---|
32 | int polyCost( Type * type, |
---|
33 | const TypeEnvironment & env, const SymTab::Indexer & indexer ); |
---|
34 | int polyCost( const ast::Type * type, |
---|
35 | const ast::SymbolTable & symtab, const ast::TypeEnvironment & env ); |
---|
36 | |
---|
37 | } |
---|
38 | |
---|
39 | // Local Variables: // |
---|
40 | // tab-width: 4 // |
---|
41 | // mode: c++ // |
---|
42 | // compile-command: "make install" // |
---|
43 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.