Lines Matching defs:Mapping
53 SlotMapping Mapping;
54 auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping);
59 ASSERT_EQ(Mapping.GlobalValues.size(), 1u);
60 EXPECT_TRUE(isa<GlobalVariable>(Mapping.GlobalValues[0]));
62 EXPECT_EQ(Mapping.MetadataNodes.size(), 2u);
63 EXPECT_EQ(Mapping.MetadataNodes.count(0), 1u);
64 EXPECT_EQ(Mapping.MetadataNodes.count(42), 1u);
65 EXPECT_EQ(Mapping.MetadataNodes.count(1), 0u);
136 SlotMapping Mapping;
137 auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping);
144 Error, M, &Mapping);
150 Error, M, &Mapping);