1
2
3
4
5
6
7
8
9
10
|
#include "verify.h"
#include "builtins/builtins.h"
namespace goose::verify
{
bool Func::checkLoop( const llr::BasicBlock& bb, queue< const BasicBlock* >& parentWorkQueue )
{
return true;
}
}
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "verify.h"
#include "builtins/builtins.h"
namespace goose::verify
{
bool Func::checkLoop( const llr::BasicBlock& bb, queue< const BasicBlock* >& parentWorkQueue )
{
if( ms_TraceMode )
cout << " == Checking loop " << bb.index() << endl;
// Just try to unroll the loop a few times for now so we can check that
// everything gets linker together properly
m_remapper.beginLoopUnrolling( bb.index() );
buildZ3Expressions( bb, &parentWorkQueue );
m_remapper.nextLoopIteration();
buildZ3Expressions( bb, &parentWorkQueue );
m_remapper.nextLoopIteration();
buildZ3Expressions( bb, &parentWorkQueue );
m_remapper.endLoopUnrolling();
if( ms_TraceMode )
cout << " == Finished checking loop " << bb.index() << endl;
return true;
}
}
|