8000 support loops in generating extension by can-lehmann · Pull Request #156 · can-lehmann/metajit.cpp · GitHub
[go: up one dir, main page]

Skip to content

support loops in generating extension - #156

Merged
can-lehmann merged 5 commits into
mainfrom
can-genext-loops
Oct 31, 2026
Merged

can-lehmann merged 5 commits into
mainfrom
can-genext-loops

Conversation

@can-lehmann
Copy link
Copy Markdown
Owner

No description provided.

@github-actions
Copy link
Copy Markdown

Coverage

File Lines Functions Branches
bitprovenance.hpp 🟢 100.00% 🟢 100.00% 🟡 82.13%
codeheap.hpp 🔴 65.38% 🟢 100.00% 🔴 62.50%
genext.hpp 🟡 74.16% 🟡 87.50% 🟡 75.82%
jitir.hpp 🟡 72.18% 🟡 79.74% 🟡 72.41%
jitir_llvmapi.hpp 🔴 54.74% 🟡 80.00% 🔴 50.00%
llvmgen.hpp 🟢 90.51% 🟢 90.00% 🟡 79.47%
lowerllvm.hpp 🔴 69.57% 🟡 87.50% 🔴 50.49%
x86gen.hpp 🟡 88.80% 🟡 84.57% 🟡 82.54%
x86insts.inc.hpp 🟡 79.67% - -
TOTAL 🟡 75.60% 🟡 81.55% 🟡 76.73%
Diff Coverage

Diff Coverage

Diff: origin/main...HEAD, staged and unstaged changes

  • genext.hpp (100%)
  • jitir.hpp (97.3%): Missing lines 8243,8246

Summary

  • Total: 106 lines
  • Missing: 2 lines
  • Coverage: 98%

jitir.hpp

Lines 8239-8250

  8239           for (Inst* inst : *block) {
  8240             if (dynmatch(PromoteInst, promote, inst)) {
  8241               _groups[inst] = ALWAYS;
  8242             } else if (dynmatch(AssumeConstInst, assume_const, inst)) {
! 8243               _groups[inst] = ALWAYS;
  8244             } else if (dynmatch(LoadInst, load, inst)) {
  8245               if (load->flags().has(LoadFlags::Pure)) {
! 8246                 _groups[inst] = at(load->ptr());
  8247               } else {
  8248                 _groups[inst] = inst->name() + 1;
  8249               }
  8250             } else if (inst->has_side_effect() || inst->is_terminator()) {

@github-actions
Copy link
Copy Markdown

Coverage

File Lines Functions Branches
bitprovenance.hpp 🟢 100.00% 🟢 100.00% 🟡 82.13%
codeheap.hpp 🔴 65.38% 🟢 100.00% 🔴 62.50%
genext.hpp 🟡 74.16% 🟡 87.50% 🟡 75.82%
jitir.hpp 🟡 72.18% 🟡 79.74% 🟡 72.41%
jitir_llvmapi.hpp 🔴 54.74% 🟡 80.00% 🔴 50.00%
llvmgen.hpp 🟢 90.51% 🟢 90.00% 🟡 79.47%
lowerllvm.hpp 🔴 69.57% 🟡 87.50% 🔴 50.49%
x86gen.hpp 🟡 88.80% 🟡 84.57% 🟡 82.54%
x86insts.inc.hpp 🟡 79.67% - -
TOTAL 🟡 75.60% 🟡 81.55% 🟡 76.73%
Diff Coverage

Diff Coverage

Diff: origin/main...HEAD, staged and unstaged changes

  • genext.hpp (100%)
  • jitir.hpp (97.3%): Missing lines 8243,8246

Summary

  • Total: 106 lines
  • Missing: 2 lines
  • Coverage: 98%

jitir.hpp

Lines 8239-8250

  8239           for (Inst* inst : *block) {
  8240             if (dynmatch(PromoteInst, promote, inst)) {
  8241               _groups[inst] = ALWAYS;
  8242             } else if (dynmatch(AssumeConstInst, assume_const, inst)) {
! 8243               _groups[inst] = ALWAYS;
  8244             } else if (dynmatch(LoadInst, load, inst)) {
  8245               if (load->flags().has(LoadFlags::Pure)) {
! 8246                 _groups[inst] = at(load->ptr());
  8247               } else {
  8248                 _groups[inst] = inst->name() + 1;
  8249               }
  8250             } else if (inst->has_side_effect() || inst->is_terminator()) {

1 similar comment
@github-actions
Copy link
Copy Markdown

Coverage

File Lines Functions Branches
bitprovenance.hpp 🟢 100.00% 🟢 100.00% 🟡 82.13%
codeheap.hpp 🔴 65.38% 🟢 100.00% 🔴 62.50%
genext.hpp 🟡 74.16% 🟡 87.50% 🟡 75.82%
jitir.hpp 🟡 72.18% 🟡 79.74% 🟡 72.41%
jitir_llvmapi.hpp 🔴 54.74% 🟡 80.00% 🔴 50.00%
llvmgen.hpp 🟢 90.51% 🟢 90.00% 🟡 79.47%
lowerllvm.hpp 🔴 69.57% 🟡 87.50% 🔴 50.49%
x86gen.hpp 🟡 88.80% 🟡 84.57% 🟡 82.54%
x86insts.inc.hpp 🟡 79.67% - -
TOTAL 🟡 75.60% 🟡 81.55% 🟡 76.73%
Diff Coverage

Diff Coverage

Diff: origin/main...HEAD, staged and unstaged changes

  • genext.hpp (100%)
  • jitir.hpp (97.3%): Missing lines 8243,8246

Summary

  • Total: 106 lines
  • Missing: 2 lines
  • Coverage: 98%

jitir.hpp

Lines 8239-8250

  8239           for (Inst* inst : *block) {
  8240             if (dynmatch(PromoteInst, promote, inst)) {
  8241               _groups[inst] = ALWAYS;
  8242             } else if (dynmatch(AssumeConstInst, assume_const, inst)) {
! 8243               _groups[inst] = ALWAYS;
  8244             } else if (dynmatch(LoadInst, load, inst)) {
  8245               if (load->flags().has(LoadFlags::Pure)) {
! 8246                 _groups[inst] = at(load->ptr());
  8247               } else {
  8248                 _groups[inst] = inst->name() + 1;
  8249               }
  8250             } else if (inst->has_side_effect() || inst->is_terminator()) {

@can-lehmann
can-lehmann merged commit c81209c into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0