Changeset c92bdcc for src/CodeGen
- Timestamp:
- May 10, 2024, 4:06:07 PM (8 weeks ago)
- Branches:
- master
- Children:
- 0f612d2
- Parents:
- 41c8312
- Location:
- src/CodeGen
- Files:
-
- 3 edited
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cpp
r41c8312 rc92bdcc 17 17 18 18 #include "AST/Print.hpp" 19 #include "OperatorTable.h "// for OperatorInfo, operatorLookup20 #include "CodeGen/GenType.h "// for genType19 #include "OperatorTable.hpp" // for OperatorInfo, operatorLookup 20 #include "CodeGen/GenType.hpp" // for genType 21 21 #include "Common/ToString.hpp" // for toString 22 #include "Common/UniqueName.h "// for UniqueName22 #include "Common/UniqueName.hpp" // for UniqueName 23 23 24 24 namespace CodeGen { -
src/CodeGen/CodeGenerator.hpp
r41c8312 rc92bdcc 20 20 #include "AST/Fwd.hpp" 21 21 #include "AST/Pass.hpp" // for WithGuards, WithShortCircuiting, ... 22 #include "CodeGen/Options.h "// for Options23 #include "Common/Indenter.h "// for Indenter22 #include "CodeGen/Options.hpp" // for Options 23 #include "Common/Indenter.hpp" // for Indenter 24 24 25 25 -
src/CodeGen/FixMain.cpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // FixMain.c c-- Tools to change a Cforall main into a C main.7 // FixMain.cpp -- Tools to change a Cforall main into a C main. 8 8 // 9 9 // Author : Thierry Delisle … … 14 14 // 15 15 16 #include "FixMain.h "16 #include "FixMain.hpp" 17 17 18 #include <cassert> // for assert, assertf19 #include <fstream> // for operator<<, basic_ostream::operator<<20 #include <list> // for list21 #include <string> // for operator<<18 #include <cassert> // for assert, assertf 19 #include <fstream> // for operator<<, basic_ostream::oper... 20 #include <list> // for list 21 #include <string> // for operator<< 22 22 23 23 #include "AST/Decl.hpp" … … 25 25 #include "AST/Type.hpp" 26 26 #include "AST/Vector.hpp" 27 #include "Common/SemanticError.h " // for SemanticError28 #include "CodeGen/GenType.h " // for GenType29 #include "SymTab/Mangler.h "27 #include "Common/SemanticError.hpp" // for SemanticError 28 #include "CodeGen/GenType.hpp" // for GenType 29 #include "SymTab/Mangler.hpp" 30 30 31 31 namespace CodeGen { -
src/CodeGen/FixMain.hpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // FixMain.h -- Tools to change a Cforall main into a C main.7 // FixMain.hpp -- Tools to change a Cforall main into a C main. 8 8 // 9 9 // Author : Thierry Delisle -
src/CodeGen/FixNames.cpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // FixNames.c c-- Adjustments to typed declarations.7 // FixNames.cpp -- Adjustments to typed declarations. 8 8 // 9 9 // Author : Richard C. Bilson … … 14 14 // 15 15 16 #include "FixNames.h "16 #include "FixNames.hpp" 17 17 18 #include <memory> // for unique_ptr19 #include <string> // for string, operator!=, operator==18 #include <memory> // for unique_ptr 19 #include <string> // for string, operator!=, operator== 20 20 21 21 #include "AST/Chain.hpp" 22 22 #include "AST/Expr.hpp" 23 23 #include "AST/Pass.hpp" 24 #include "Common/SemanticError.h " // for SemanticError25 #include "FixMain.h " // for FixMain26 #include "SymTab/Mangler.h " // for Mangler24 #include "Common/SemanticError.hpp" // for SemanticError 25 #include "FixMain.hpp" // for FixMain 26 #include "SymTab/Mangler.hpp" // for Mangler 27 27 #include "CompilationState.hpp" 28 28 -
src/CodeGen/FixNames.hpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // FixNames.h -- Adjustments to typed declarations.7 // FixNames.hpp -- Adjustments to typed declarations. 8 8 // 9 9 // Author : Richard C. Bilson -
src/CodeGen/GenType.cpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // GenType.c c--7 // GenType.cpp -- 8 8 // 9 9 // Author : Richard C. Bilson … … 13 13 // Update Count : 24 14 14 // 15 #include "GenType.h" 15 16 #include "GenType.hpp" 16 17 17 18 #include <cassert> // for assert, assertf … … 22 23 #include "AST/Vector.hpp" // for vector 23 24 #include "CodeGenerator.hpp" // for CodeGenerator 24 #include "Common/UniqueName.h "// for UniqueName25 #include "Common/UniqueName.hpp" // for UniqueName 25 26 26 27 namespace CodeGen { -
src/CodeGen/GenType.hpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // GenType.h --7 // GenType.hpp -- 8 8 // 9 9 // Author : Richard C. Bilson … … 18 18 #include <string> // for string 19 19 20 #include "CodeGen/Options.h " // for Options20 #include "CodeGen/Options.hpp" // for Options 21 21 22 22 namespace ast { -
src/CodeGen/Generate.cpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Generate.c c--7 // Generate.cpp -- 8 8 // 9 9 // Author : Richard C. Bilson … … 13 13 // Update Count : 9 14 14 // 15 #include "Generate.h "15 #include "Generate.hpp" 16 16 17 17 #include <iostream> // for ostream, endl, operator<< … … 20 20 21 21 #include "CodeGenerator.hpp" // for CodeGenerator, doSemicolon, ... 22 #include "GenType.h "// for genPrettyType22 #include "GenType.hpp" // for genPrettyType 23 23 24 24 using namespace std; -
src/CodeGen/Generate.hpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Generate.h --7 // Generate.hpp -- 8 8 // 9 9 // Author : Richard C. Bilson -
src/CodeGen/LinkOnce.cpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // LinkOnce.c c-- Translate the cfa_linkonce attribute.7 // LinkOnce.cpp -- Translate the cfa_linkonce attribute. 8 8 // 9 9 // Author : Andrew Beach … … 14 14 // 15 15 16 #include "LinkOnce.h "16 #include "LinkOnce.hpp" 17 17 18 18 #include <algorithm> -
src/CodeGen/LinkOnce.hpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // LinkOnce.h -- Translate the cfa_linkonce attribute.7 // LinkOnce.hpp -- Translate the cfa_linkonce attribute. 8 8 // 9 9 // Author : Andrew Beach -
src/CodeGen/OperatorTable.cpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // OperatorTable.c c--7 // OperatorTable.cpp -- 8 8 // 9 9 // Author : Richard C. Bilson … … 14 14 // 15 15 16 #include "OperatorTable.h "16 #include "OperatorTable.hpp" 17 17 18 18 #include <cassert> // for assert -
src/CodeGen/OperatorTable.hpp
r41c8312 rc92bdcc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // OperatorTable.h --7 // OperatorTable.hpp -- 8 8 // 9 9 // Author : Richard C. Bilson -
src/CodeGen/module.mk
r41c8312 rc92bdcc 18 18 CodeGen/CodeGenerator.cpp \ 19 19 CodeGen/CodeGenerator.hpp \ 20 CodeGen/GenType.c c\21 CodeGen/GenType.h \22 CodeGen/OperatorTable.c c\23 CodeGen/OperatorTable.h 20 CodeGen/GenType.cpp \ 21 CodeGen/GenType.hpp \ 22 CodeGen/OperatorTable.cpp \ 23 CodeGen/OperatorTable.hpp 24 24 25 25 SRC += $(SRC_CODEGEN) \ 26 CodeGen/Generate.c c\27 CodeGen/Generate.h \28 CodeGen/FixMain.c c\29 CodeGen/FixMain.h \30 CodeGen/FixNames.c c\31 CodeGen/FixNames.h \32 CodeGen/LinkOnce.c c\33 CodeGen/LinkOnce.h \34 CodeGen/Options.h 26 CodeGen/Generate.cpp \ 27 CodeGen/Generate.hpp \ 28 CodeGen/FixMain.cpp \ 29 CodeGen/FixMain.hpp \ 30 CodeGen/FixNames.cpp \ 31 CodeGen/FixNames.hpp \ 32 CodeGen/LinkOnce.cpp \ 33 CodeGen/LinkOnce.hpp \ 34 CodeGen/Options.hpp 35 35 36 36 SRCDEMANGLE += $(SRC_CODEGEN)
Note: See TracChangeset
for help on using the changeset viewer.