LLVM: llvm::fuzzerop Namespace Reference (original) (raw)

Classes
struct OpDescriptor
A description of some operation we can build while fuzzing IR. More...
class SourcePred
A matcher/generator for finding suitable values for the next source in an operation's partially completed argument list. More...
Functions
static SourcePred onlyType (Type *Only)
static SourcePred anyType ()
static SourcePred anyIntType ()
static SourcePred anyIntOrVecIntType ()
static SourcePred boolOrVecBoolType ()
static SourcePred anyFloatType ()
static SourcePred anyFloatOrVecFloatType ()
static SourcePred anyPtrType ()
static SourcePred sizedPtrType ()
static SourcePred matchFirstLengthWAnyType ()
static SourcePred matchSecondType ()
Match values that have the same type as the first source.
static SourcePred anyAggregateType ()
static SourcePred anyVectorType ()
static SourcePred matchFirstType ()
Match values that have the same type as the first source.
static SourcePred matchScalarOfFirstType ()
Match values that have the first source's scalar type.
LLVM_ABI void makeConstantsWithType (Type *T, std::vector< Constant * > &Cs)
LLVM_ABI std::vector< Constant * > makeConstantsWithType (Type *T)
LLVM_ABI OpDescriptor selectDescriptor (unsigned Weight)
Descriptors for individual operations.
LLVM_ABI OpDescriptor fnegDescriptor (unsigned Weight)
LLVM_ABI OpDescriptor binOpDescriptor (unsigned Weight, Instruction::BinaryOps Op)
LLVM_ABI OpDescriptor cmpOpDescriptor (unsigned Weight, Instruction::OtherOps CmpOp, CmpInst::Predicate Pred)
LLVM_ABI OpDescriptor splitBlockDescriptor (unsigned Weight)
LLVM_ABI OpDescriptor gepDescriptor (unsigned Weight)
LLVM_ABI OpDescriptor extractValueDescriptor (unsigned Weight)
LLVM_ABI OpDescriptor insertValueDescriptor (unsigned Weight)
LLVM_ABI OpDescriptor extractElementDescriptor (unsigned Weight)
LLVM_ABI OpDescriptor insertElementDescriptor (unsigned Weight)
LLVM_ABI OpDescriptor shuffleVectorDescriptor (unsigned Weight)

anyAggregateType()

SourcePred llvm::fuzzerop::anyAggregateType ( ) inlinestatic

anyFloatOrVecFloatType()

SourcePred llvm::fuzzerop::anyFloatOrVecFloatType ( ) inlinestatic

anyFloatType()

SourcePred llvm::fuzzerop::anyFloatType ( ) inlinestatic

anyIntOrVecIntType()

SourcePred llvm::fuzzerop::anyIntOrVecIntType ( ) inlinestatic

anyIntType()

SourcePred llvm::fuzzerop::anyIntType ( ) inlinestatic

anyPtrType()

SourcePred llvm::fuzzerop::anyPtrType ( ) inlinestatic

anyType()

SourcePred llvm::fuzzerop::anyType ( ) inlinestatic

anyVectorType()

SourcePred llvm::fuzzerop::anyVectorType ( ) inlinestatic

binOpDescriptor()

boolOrVecBoolType()

SourcePred llvm::fuzzerop::boolOrVecBoolType ( ) inlinestatic

cmpOpDescriptor()

extractElementDescriptor()

extractValueDescriptor()

fnegDescriptor()

gepDescriptor()

insertElementDescriptor()

insertValueDescriptor()

makeConstantsWithType() [1/2]

std::vector< Constant * > llvm::fuzzerop::makeConstantsWithType ( Type * T )

makeConstantsWithType() [2/2]

void llvm::fuzzerop::makeConstantsWithType ( Type * T,
std::vector< Constant * > & Cs )

Populate a small list of potentially interesting constants of a given type.

Definition at line 20 of file OpDescriptor.cpp.

References llvm::dyn_cast(), llvm::PoisonValue::get(), llvm::UndefValue::get(), llvm::APFloat::getInf(), llvm::APFloat::getLargest(), llvm::APInt::getMaxValue(), llvm::APInt::getMinValue(), llvm::APFloat::getNaN(), llvm::APInt::getOneBitSet(), llvm::APInt::getSignedMaxValue(), llvm::APInt::getSignedMinValue(), llvm::APFloat::getSmallest(), llvm::ConstantVector::getSplat(), llvm::APFloat::getZero(), makeConstantsWithType(), T, and UseUndef.

Referenced by makeConstantsWithType(), makeConstantsWithType(), matchFirstLengthWAnyType(), matchFirstType(), matchScalarInAggregate(), matchScalarOfFirstType(), matchSecondType(), onlyType(), and llvm::fuzzerop::SourcePred::SourcePred().

matchFirstLengthWAnyType()

SourcePred llvm::fuzzerop::matchFirstLengthWAnyType ( ) inlinestatic

matchFirstType()

SourcePred llvm::fuzzerop::matchFirstType ( ) inlinestatic

matchScalarOfFirstType()

SourcePred llvm::fuzzerop::matchScalarOfFirstType ( ) inlinestatic

matchSecondType()

SourcePred llvm::fuzzerop::matchSecondType ( ) inlinestatic

onlyType()

selectDescriptor()

shuffleVectorDescriptor()

sizedPtrType()

SourcePred llvm::fuzzerop::sizedPtrType ( ) inlinestatic

splitBlockDescriptor()