Searched refs:getVariableValues (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/ |
D | SnippetGeneratorTest.cpp | 89 ASSERT_THAT(IT.getVariableValues(), SizeIs(1)); // Imm. in TEST_F() 90 EXPECT_THAT(IT.getVariableValues()[0], IsInvalid()) << "Immediate is not set"; in TEST_F() 112 ASSERT_THAT(IT.getVariableValues(), SizeIs(2)); in TEST_F() 113 EXPECT_THAT(IT.getVariableValues()[0], IsInvalid()) << "Operand 1 is not set"; in TEST_F() 114 EXPECT_THAT(IT.getVariableValues()[1], IsInvalid()) << "Operand 2 is not set"; in TEST_F() 134 ASSERT_THAT(IT.getVariableValues(), SizeIs(3)); in TEST_F() 135 EXPECT_THAT(IT.getVariableValues(), in TEST_F() 177 ASSERT_THAT(IT.getVariableValues(), SizeIs(2)); in TEST_F() 178 EXPECT_THAT(IT.getVariableValues(), in TEST_F() 198 ASSERT_THAT(IT.getVariableValues(), SizeIs(0)); in TEST_F() [all …]
|
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/PowerPC/ |
D | SnippetGeneratorTest.cpp | 73 ASSERT_THAT(IT.getVariableValues(), SizeIs(3)); in TEST_F() 74 EXPECT_THAT(IT.getVariableValues(), in TEST_F() 103 ASSERT_THAT(IT.getVariableValues(), SizeIs(4)); in TEST_F() 104 EXPECT_THAT(IT.getVariableValues()[2], IsInvalid()) << "Operand 1 is not set"; in TEST_F() 105 EXPECT_THAT(IT.getVariableValues()[3], IsInvalid()) << "Operand 2 is not set"; in TEST_F() 129 ASSERT_THAT(IT.getVariableValues(), SizeIs(3)); in TEST_F() 130 EXPECT_EQ(IT.getVariableValues()[1].getReg(), PPC::X1); in TEST_F() 131 EXPECT_EQ(IT.getVariableValues()[2].getReg(), PPC::X13); in TEST_F()
|
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/Mips/ |
D | SnippetGeneratorTest.cpp | 73 ASSERT_THAT(IT.getVariableValues(), SizeIs(3)); in TEST_F() 74 EXPECT_THAT(IT.getVariableValues(), in TEST_F() 121 ASSERT_THAT(IT.getVariableValues(), SizeIs(3)); in TEST_F() 122 EXPECT_EQ(IT.getVariableValues()[0].getReg(), 0u); in TEST_F() 123 EXPECT_EQ(IT.getVariableValues()[2].getImm(), 0); in TEST_F()
|
/external/llvm-project/llvm/tools/llvm-exegesis/lib/ |
D | CodeTemplate.h | 40 ArrayRef<MCOperand> getVariableValues() const { return VariableValues; } in getVariableValues() function
|