reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
98 return Op.SourcePreds[0].matches({}, Src); 130 for (const auto &Pred : makeArrayRef(OpDesc->SourcePreds).slice(1))unittests/FuzzMutate/OperationsTest.cpp
293 EXPECT_TRUE(GEPOp.SourcePreds[0].matches({}, UndefValue::get(Int8PtrTy))); 294 EXPECT_TRUE(GEPOp.SourcePreds[1].matches({UndefValue::get(Int8PtrTy)}, 323 ASSERT_FALSE(Descr.SourcePreds[0].matches({}, &*BB.begin())); 326 ASSERT_TRUE(Descr.SourcePreds[0].matches({}, &*std::next(BB.begin()))); 352 EXPECT_TRUE(EVOp.SourcePreds[0].matches({}, SVal)); 353 EXPECT_FALSE(EVOp.SourcePreds[0].matches({}, OVal)); 354 EXPECT_TRUE(EVOp.SourcePreds[0].matches({}, AVal)); 355 EXPECT_FALSE(EVOp.SourcePreds[0].matches({}, VVal)); 356 EXPECT_TRUE(IVOp.SourcePreds[0].matches({}, SVal)); 357 EXPECT_FALSE(IVOp.SourcePreds[0].matches({}, OVal)); 358 EXPECT_TRUE(IVOp.SourcePreds[0].matches({}, AVal)); 359 EXPECT_FALSE(IVOp.SourcePreds[0].matches({}, VVal)); 362 EXPECT_FALSE(EVOp.SourcePreds[0].matches({}, ZAVal)); 363 EXPECT_FALSE(IVOp.SourcePreds[0].matches({}, ZAVal)); 367 EVOp.SourcePreds[1].matches({SVal}, ConstantInt::get(Int32Ty, 0))); 369 EVOp.SourcePreds[1].matches({SVal}, ConstantInt::get(Int32Ty, 1))); 371 EVOp.SourcePreds[1].matches({SVal}, ConstantInt::get(Int32Ty, 2))); 373 EVOp.SourcePreds[1].matches({OVal}, ConstantInt::get(Int32Ty, 0))); 375 EVOp.SourcePreds[1].matches({OVal}, ConstantInt::get(Int32Ty, 65536))); 377 EVOp.SourcePreds[1].matches({AVal}, ConstantInt::get(Int32Ty, 0))); 379 EVOp.SourcePreds[1].matches({AVal}, ConstantInt::get(Int32Ty, 3))); 381 EVOp.SourcePreds[1].matches({AVal}, ConstantInt::get(Int32Ty, 4))); 384 EVOp.SourcePreds[1].generate({SVal}, {}), 389 EXPECT_TRUE(IVOp.SourcePreds[1].matches({SVal}, UndefValue::get(Int8PtrTy))); 390 EXPECT_TRUE(IVOp.SourcePreds[1].matches({SVal}, UndefValue::get(Int32Ty))); 391 EXPECT_FALSE(IVOp.SourcePreds[1].matches({SVal}, UndefValue::get(Int64Ty))); 392 EXPECT_FALSE(IVOp.SourcePreds[2].matches({SVal, UndefValue::get(Int32Ty)}, 394 EXPECT_TRUE(IVOp.SourcePreds[2].matches({SVal, UndefValue::get(Int32Ty)}, 397 EXPECT_THAT(IVOp.SourcePreds[1].generate({SVal}, {}), 400 IVOp.SourcePreds[2].generate({SVal, ConstantInt::get(Int32Ty, 0)}, {}),unittests/FuzzMutate/RandomIRBuilderTest.cpp
73 ASSERT_TRUE(Descr.SourcePreds[0].matches(Srcs, Insts[1])); 75 ASSERT_TRUE(Descr.SourcePreds[1].matches(Srcs, Insts[1])); 81 Value *LastSrc = IB.newSource(BB, Insts, Srcs, Descr.SourcePreds[2]); 82 ASSERT_TRUE(Descr.SourcePreds[2].matches(Srcs, LastSrc)); 113 ASSERT_TRUE(IVDescr.SourcePreds[0].matches({}, Src)); 126 BB, &*BB.begin(), Srcs, IVDescr.SourcePreds[2]); 127 ASSERT_TRUE(IVDescr.SourcePreds[2].matches(Srcs, Src)); 190 ASSERT_TRUE(Descr.SourcePreds[0].matches({}, Source)); 197 Srcs[1] = IB.findOrCreateSource(BB, {Source}, Srcs, Descr.SourcePreds[1]); 198 IB.findOrCreateSource(BB, {}, Srcs, Descr.SourcePreds[2]); 293 Value *V = IB.findOrCreateSource(BB, {Alloca}, {}, Descr.SourcePreds[0]);