Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
compiler_cfg_test.cc File Reference

Tests for Compiler_CFG.H. More...

#include <gtest/gtest.h>
#include <Compiler_HIR_Lowering_MVP.H>
#include <Compiler_CFG.H>
#include <Compiler_Parser.H>
Include dependency graph for compiler_cfg_test.cc:

Go to the source code of this file.

Functions

 TEST (CompilerCFG, LowersLinearFunctionAndTopLevelDeterministically)
 
 TEST (CompilerCFG, LowersIfElseIntoBranchAndJoinBlocks)
 
 TEST (CompilerCFG, LowersWhileLoopWithContinue)
 
 TEST (CompilerCFG, ValidatorWarnsAboutUnreachableBlocks)
 
 TEST (CompilerCFG, ValidatorRejectsReturnToNonCanonicalExitBlock)
 

Detailed Description

Tests for Compiler_CFG.H.

Definition in file compiler_cfg_test.cc.

Function Documentation

◆ TEST() [1/5]

TEST ( CompilerCFG  ,
LowersIfElseIntoBranchAndJoinBlocks   
)

◆ TEST() [2/5]

TEST ( CompilerCFG  ,
LowersLinearFunctionAndTopLevelDeterministically   
)

◆ TEST() [3/5]

TEST ( CompilerCFG  ,
LowersWhileLoopWithContinue   
)

◆ TEST() [4/5]

◆ TEST() [5/5]

TEST ( CompilerCFG  ,
ValidatorWarnsAboutUnreachableBlocks   
)