reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/FuzzMutate/OperationsTest.cpp
  336   Type *StructTy = StructType::create(Ctx, {Int8PtrTy, Int32Ty});
  340   Type *VectorTy = VectorType::get(Int32Ty, 2);
  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)));
  385       ElementsAre(ConstantInt::get(Int32Ty, 0), ConstantInt::get(Int32Ty, 1)));
  385       ElementsAre(ConstantInt::get(Int32Ty, 0), ConstantInt::get(Int32Ty, 1)));
  390   EXPECT_TRUE(IVOp.SourcePreds[1].matches({SVal}, UndefValue::get(Int32Ty)));
  392   EXPECT_FALSE(IVOp.SourcePreds[2].matches({SVal, UndefValue::get(Int32Ty)},
  393                                            ConstantInt::get(Int32Ty, 0)));
  394   EXPECT_TRUE(IVOp.SourcePreds[2].matches({SVal, UndefValue::get(Int32Ty)},
  395                                           ConstantInt::get(Int32Ty, 1)));
  398               Each(AnyOf(HasType(Int32Ty), HasType(Int8PtrTy))));
  400       IVOp.SourcePreds[2].generate({SVal, ConstantInt::get(Int32Ty, 0)}, {}),
  401       ElementsAre(ConstantInt::get(Int32Ty, 1)));