Home
last modified time | relevance | path

Searched refs:TestPrinter (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/unittests/CodeGen/
DAsmPrinterDwarfTest.cpp33 TestPrinter = std::move(ExpectedTestPrinter.get()); in setupTestPrinter()
40 return TestPrinter != nullptr; in init()
43 std::unique_ptr<TestAsmPrinter> TestPrinter; member in __anon56a29bc00111::AsmPrinterFixtureBase
56 Val = TestPrinter->getCtx().createTempSymbol(); in init()
57 Sec = TestPrinter->getCtx().getELFSection(".tst", ELF::SHT_PROGBITS, 0); in init()
59 TestPrinter->getMS().SwitchSection(Sec); in init()
60 TestPrinter->getMS().emitLabel(Val); in init()
73 EXPECT_CALL(TestPrinter->getMS(), EmitCOFFSecRel32(Val, 0)); in TEST_F()
74 TestPrinter->getAP()->emitDwarfSymbolReference(Val, false); in TEST_F()
81 EXPECT_CALL(TestPrinter->getMS(), in TEST_F()
[all …]
DDIETest.cpp33 TestPrinter = std::move(ExpectedTestPrinter.get()); in SetUp()
38 std::unique_ptr<TestAsmPrinter> TestPrinter; member in __anon989112590111::DIEFixtureBase
44 if (!TestPrinter) in SetUp()
47 Val = MCConstantExpr::create(42, TestPrinter->getCtx()); in SetUp()
54 if (!TestPrinter) in TEST_P()
58 EXPECT_EQ(Size, Tst.SizeOf(TestPrinter->getAP(), Form)); in TEST_P()
62 if (!TestPrinter) in TEST_P()
66 EXPECT_CALL(TestPrinter->getMS(), emitValueImpl(Val, Size, _)); in TEST_P()
67 Tst.emitValue(TestPrinter->getAP(), Form); in TEST_P()
83 if (!TestPrinter) in SetUp()
[all …]
DTestAsmPrinter.cpp39 std::unique_ptr<TestAsmPrinter> TestPrinter(new TestAsmPrinter); in create() local
41 TestPrinter->init(TheTarget, TripleStr, DwarfVersion, DwarfFormat)) in create()
44 return std::move(TestPrinter); in create()
DDIEHashTest.cpp32 std::unique_ptr<TestAsmPrinter> TestPrinter; member in __anona180f17d0111::DIEHashTest
38 TestPrinter = std::move(ExpectedTestPrinter.get()); in setupTestPrinter()
49 if (!TestPrinter) in getAsmPrinter()
51 return TestPrinter ? TestPrinter->getAP() : nullptr; in getAsmPrinter()