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

Tests for Compiler_IR.H. More...

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

Go to the source code of this file.

Functions

 TEST (CompilerIR, LowersLinearFunctionAndTopLevelDeterministically)
 
 TEST (CompilerIR, ResolvesGlobalSlotsInsideFunctions)
 
 TEST (CompilerIR, LowersIfElseAndLoopsIntoExplicitBlocks)
 
 TEST (CompilerIR, ValidatorWarnsAboutUnreachableBlocks)
 
 TEST (CompilerIR, ValidatorRejectsReturnPointingToNonExitBlock)
 

Detailed Description

Tests for Compiler_IR.H.

Definition in file compiler_ir_test.cc.

Function Documentation

◆ TEST() [1/5]

TEST ( CompilerIR  ,
LowersIfElseAndLoopsIntoExplicitBlocks   
)

◆ TEST() [2/5]

TEST ( CompilerIR  ,
LowersLinearFunctionAndTopLevelDeterministically   
)

◆ TEST() [3/5]

TEST ( CompilerIR  ,
ResolvesGlobalSlotsInsideFunctions   
)

◆ TEST() [4/5]

◆ TEST() [5/5]

TEST ( CompilerIR  ,
ValidatorWarnsAboutUnreachableBlocks   
)