• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IntelLabs / ParallelAccelerator.jl / 964 / 2
0%
master: 0%

Build:
DEFAULT BRANCH: master
Ran 18 Dec 2016 09:55PM UTC
Files 21
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Dec 2016 09:25PM UTC coverage: 44.498% (-2.3%) from 46.765%
PROSPECT_DEV_MODE=1 TEST_SUITE=pa-examples

push

travis-ci

DrTodd13
Adding some support to recreate loop structures and if statements in the generated C code and thus usuaully eliminating most gotos and labels in the generated code.
This is turned off by default for now.  To enable, call setRecreateLoops(true) and setRecreateConds(true).
In support of this, the following was done:
  1) Added information to the global lstate to record which blocks are heads, back edges and exit blocks of loop.
  2) Added information to the global lstate to record "if"/conditional follow nodes and the block targets of conditionals.
  3) Added getLoopInfo to locate all loop block information and conditional block information and fill out lstate fields.
  4) For conditional follow nodes, used the smallest (in basic block function order) basic block that inverse dominates the conditional block.
  5) For labelnodes, generate nothing for loop exit nodes and generate "while (1) {" for loop head labels.
     For label in conditional follow set, generate an ending curly brace based on how many conditionals terminate at that follownode.
     For blocks that are conditional jump targets, generate nothing.
  6) For goto nodes, if the goto is to a loop head, generate an ending curly brace for the loop.
     For jumps to a follow node, generate "} else {".
  7) For gotoifnot nodes, if goto label is in loop exit set, create "if (condition) break" to exit the while(1) loop.
     If goto label is in conditional jump targets, generate "if (condition) {"

4683 of 10524 relevant lines covered (44.5%)

558.86 hits per line

Source Files on job 964.2 (PROSPECT_DEV_MODE=1 TEST_SUITE=pa-examples)
  • Tree
  • List 0
  • Changed 15
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 964
  • Travis Job 964.2
  • 3afb3112 on github
  • Prev Job for PROSPECT_DEV_MODE=1 TEST_SUITE=pa-examples on master (#962.17)
  • Next Job for PROSPECT_DEV_MODE=1 TEST_SUITE=pa-examples on master (#965.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc