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

References

tools/llvm-stress/llvm-stress.cpp
  422     if (Ty->isVectorTy()) {
  424       case 0: if (Ty->isIntOrIntVectorTy())
  425                 return PT->push_back(ConstantVector::getAllOnesValue(Ty));
  427       case 1: if (Ty->isIntOrIntVectorTy())
  428                 return PT->push_back(ConstantVector::getNullValue(Ty));
  432     if (Ty->isFloatingPointTy()) {
  439       APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits));
  440       APFloat RandomFloat(Ty->getFltSemantics(), RandomInt);
  443         return PT->push_back(ConstantFP::getNullValue(Ty));
  444       return PT->push_back(ConstantFP::get(Ty->getContext(), RandomFloat));
  447     if (Ty->isIntegerTy()) {
  451             Ty, APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits())));
  451             Ty, APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits())));
  454             Ty, APInt::getNullValue(Ty->getPrimitiveSizeInBits())));
  454             Ty, APInt::getNullValue(Ty->getPrimitiveSizeInBits())));
  460         PT->push_back(ConstantInt::get(Ty, getRandom()));