-
Notifications
You must be signed in to change notification settings - Fork 15
Code Generate Pass #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
b2f928c
feat: implement PE-based instruction organization in GenerateCodePass
n0thingNoob 6065d28
docs: add generated-instructions.json example output
n0thingNoob a73637e
feat: enhance GenerateCodePass with PE instruction organization and r…
n0thingNoob 3f9f560
merge: resolve conflicts and sync GenerateCodePass from main
n0thingNoob 131bb17
example json file output from test.mlir
n0thingNoob 1bd9c99
Add Generated_Code folder with test results and fix GenerateCodePass …
n0thingNoob 1f0802e
Update GenerateCodePass: output files to Generated_Code folder and im…
n0thingNoob 5813cd1
fix some small issue, still working on file check and visualized demo
n0thingNoob d0647e6
add protection for potential segmentation fault
n0thingNoob 655f089
add File Check to the test_code_generate.mlir
n0thingNoob 0364a85
test file
n0thingNoob 3608638
add FileCheck to test file
n0thingNoob 9eff3ee
revise test and codegenpass
n0thingNoob 3d54593
revise the code generate file name
n0thingNoob cf32fa0
fix direction calculate
n0thingNoob f8c206b
Fix send and recv direction
n0thingNoob 55e1ab3
change json instruction name
n0thingNoob 9f7ad5a
change the json format
n0thingNoob 3310dd9
json output revision
n0thingNoob e52e8ca
optimized the size of each function and comments
n0thingNoob f6141eb
Delete test/codegenerate/test/codegenerate directory
n0thingNoob 472a758
Delete test/codegenerate/Output directory
n0thingNoob 20960af
Delete test/codegenerate/test.mlir
n0thingNoob c2e4397
change the entry constraints
n0thingNoob c322ef9
change the entry constraints
n0thingNoob 1b7cc83
Remove unwanted files from tracking
n0thingNoob 68cef63
Merge remote-tracking branch 'origin/main' into architecture_spec
n0thingNoob 4dfb72c
Delete include/ArchitectureSpec/architecture.json
n0thingNoob 0a15e50
Delete include/ArchitectureSpec/yaml2json.py
n0thingNoob 25fa21c
modify to generate yaml
n0thingNoob fe60db6
modify gencodepass to generate yaml
n0thingNoob be4b0db
modify the yaml generate
n0thingNoob 71601b4
Merge remote-tracking branch 'origin/architecture_spec' into architec…
n0thingNoob 385c352
Delete branch_for_test.mlir
n0thingNoob 7e6fec5
Delete generated-instructions.yaml
n0thingNoob 7d8e74b
Delete test/test_filecheck.mlir
n0thingNoob b3999b1
Delete test/test_generate_code.mlir
n0thingNoob ce48ba2
Delete test/mapped.mlir
n0thingNoob c4dff99
fix the id and coordinate problems
n0thingNoob ec58fb0
Replace test/codegenerate with test/code_gen (shorter name)
n0thingNoob 5c46520
Merge main branch
n0thingNoob f3edf39
new version of generate code
n0thingNoob 32eada6
rebuild the codegenerate pass
n0thingNoob 2b9b55b
fix small format bug
n0thingNoob 13411cc
backup
n0thingNoob 7c7beb3
Merge main branch updates into architecture_spec
n0thingNoob ca4f813
Refactor GenerateCodePass and update test case
n0thingNoob fb224fc
revise the variable and function name, split runOnOperation with smal…
n0thingNoob cea312b
optimize the code, modified some variable names and function names
n0thingNoob 37b19b8
Reduce times of walking through all IR
n0thingNoob 691404b
reivse some comments and helper function
n0thingNoob b9276a3
FIX small output mistake
n0thingNoob 131d533
FIX small mistake
n0thingNoob b5754c8
Modify comments, variables, testcase
n0thingNoob 5b0bffc
Merge branch 'main' into architecture_spec
n0thingNoob 74ffd8b
Delete test/code_gen/README.md
n0thingNoob 3671c38
Create README.md for test
n0thingNoob 1d11598
Update README.md
n0thingNoob 2dc7929
Update README.md
n0thingNoob 730c5e4
fix failed test
n0thingNoob File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,4 +25,5 @@ add_mlir_library( | |
| MLIRTransforms | ||
| MLIRNeura | ||
| ${dialect_libs} | ||
| LLVMSupport | ||
| ) | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.