gem5  v20.1.0.0
Classes | Functions | Variables
bitunion.test.cc File Reference
#include <gtest/gtest.h>
#include <cassert>
#include <iostream>
#include <type_traits>
#include "base/bitunion.hh"
#include "base/cprintf.hh"

Go to the source code of this file.

Classes

class  BitUnionData
 

Functions

EmptyEight emptyEight (0)
 
 TEST_F (BitUnionData, NormalBitfield)
 
 TEST_F (BitUnionData, SingleBitfield)
 
 TEST_F (BitUnionData, ReadOnlyBitfield)
 
 TEST_F (BitUnionData, WriteOnlyBitfield)
 
 TEST_F (BitUnionData, SubBitUnions)
 
 TEST_F (BitUnionData, SignedBitfields)
 
 TEST_F (BitUnionData, InsideStruct)
 
 TEST_F (BitUnionData, InsideFunction)
 
 TEST_F (BitUnionData, BitfieldToBitfieldAssignment)
 
 TEST_F (BitUnionData, Operators)
 
 TEST_F (BitUnionData, Custom)
 
 TEST_F (BitUnionData, Templating)
 
 TEST_F (BitUnionData, Output)
 

Variables

EmptySixtyFour emptySixtyFour = 0
 
EmptyThirtyTwo emptyThirtyTwo
 
EmptySixteen emptySixteen
 

Function Documentation

◆ emptyEight()

EmptyEight emptyEight ( )

◆ TEST_F() [1/13]

TEST_F ( BitUnionData  ,
BitfieldToBitfieldAssignment   
)

Definition at line 222 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [2/13]

TEST_F ( BitUnionData  ,
Custom   
)

Definition at line 245 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [3/13]

TEST_F ( BitUnionData  ,
InsideFunction   
)

Definition at line 217 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [4/13]

TEST_F ( BitUnionData  ,
InsideStruct   
)

Definition at line 209 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [5/13]

TEST_F ( BitUnionData  ,
NormalBitfield   
)

Definition at line 155 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [6/13]

TEST_F ( BitUnionData  ,
Operators   
)

Definition at line 232 of file bitunion.test.cc.

References EXPECT_EQ, and EXPECT_TRUE.

◆ TEST_F() [7/13]

TEST_F ( BitUnionData  ,
Output   
)

Definition at line 272 of file bitunion.test.cc.

References EXPECT_EQ, and ArmISA::ss.

◆ TEST_F() [8/13]

TEST_F ( BitUnionData  ,
ReadOnlyBitfield   
)

Definition at line 173 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [9/13]

TEST_F ( BitUnionData  ,
SignedBitfields   
)

Definition at line 198 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [10/13]

TEST_F ( BitUnionData  ,
SingleBitfield   
)

Definition at line 165 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [11/13]

TEST_F ( BitUnionData  ,
SubBitUnions   
)

Definition at line 186 of file bitunion.test.cc.

References EXPECT_EQ, and PowerISA::xe.

◆ TEST_F() [12/13]

TEST_F ( BitUnionData  ,
Templating   
)

Definition at line 253 of file bitunion.test.cc.

References BitUnion, EndBitUnion(), EXPECT_EQ, EXPECT_FALSE, and EXPECT_TRUE.

◆ TEST_F() [13/13]

TEST_F ( BitUnionData  ,
WriteOnlyBitfield   
)

Definition at line 180 of file bitunion.test.cc.

References EXPECT_EQ.

Variable Documentation

◆ emptySixteen

EmptySixteen emptySixteen

Definition at line 133 of file bitunion.test.cc.

◆ emptySixtyFour

EmptySixtyFour emptySixtyFour = 0

Definition at line 131 of file bitunion.test.cc.

◆ emptyThirtyTwo

EmptyThirtyTwo emptyThirtyTwo

Definition at line 132 of file bitunion.test.cc.


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17