Skip to content

Commit

Permalink
Update names in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arshajii committed Jan 12, 2023
1 parent bf8db7f commit fc70c83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/advanced/ir.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ In other words, a simple form of constant folding that only looks at addition on
The resulting pass would like this:

``` cpp
#include "codon/sir/transform/pass.h"
#include "codon/cir/transform/pass.h"

using namespace codon::ir;

Expand Down Expand Up @@ -206,7 +206,7 @@ Assume we want our pass to insert a call to `validate()` after each assignment t
and the argument passed to `foo()`. We would do something like the following:

``` cpp
#include "codon/sir/transform/pass.h"
#include "codon/cir/transform/pass.h"

using namespace codon::ir;

Expand Down Expand Up @@ -267,8 +267,8 @@ would subclass `CustomType`. Let's look at an example where we extend CIR to add
``` cpp
using namespace codon::ir;

#include "codon/sir/dsl/nodes.h"
#include "codon/sir/llvm/llvisitor.h"
#include "codon/cir/dsl/nodes.h"
#include "codon/cir/llvm/llvisitor.h"

class Builder : public dsl::codegen::TypeBuilder {
public:
Expand Down
4 changes: 2 additions & 2 deletions docs/intro/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ to help provide a sense of where to look first:
- [`codon/`](https://github.com/exaloop/codon/tree/develop/codon): compiler code
- [`codon/parser/`](https://github.com/exaloop/codon/tree/develop/codon/parser):
parser and type checker code: this is the first step of compilation
- [`codon/sir/`](https://github.com/exaloop/codon/tree/develop/codon/sir):
- [`codon/cir/`](https://github.com/exaloop/codon/tree/develop/codon/cir):
Codon IR and optimizations: the second step of compilation
- [`codon/sir/llvm/`](https://github.com/exaloop/codon/tree/develop/codon/sir/llvm):
- [`codon/cir/llvm/`](https://github.com/exaloop/codon/tree/develop/codon/cir/llvm):
conversion from Codon IR to LLVM IR and machine code: the last step of compilation
- [`codon/runtime/`](https://github.com/exaloop/codon/tree/develop/codon/runtime):
runtime library: used during execution
Expand Down

0 comments on commit fc70c83

Please sign in to comment.