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

References

include/llvm/IR/ModuleSummaryIndex.h
  863   TypeTestResolution TTRes;
include/llvm/IR/ModuleSummaryIndexYAML.h
   19   static void enumeration(IO &io, TypeTestResolution::Kind &value) {
   20     io.enumCase(value, "Unsat", TypeTestResolution::Unsat);
   21     io.enumCase(value, "ByteArray", TypeTestResolution::ByteArray);
   22     io.enumCase(value, "Inline", TypeTestResolution::Inline);
   23     io.enumCase(value, "Single", TypeTestResolution::Single);
   24     io.enumCase(value, "AllOnes", TypeTestResolution::AllOnes);
   29   static void mapping(IO &io, TypeTestResolution &res) {
include/llvm/Support/YAMLTraits.h
  313   using Signature_enumeration = void (*)(class IO&, T&);
  322     (sizeof(test<ScalarEnumerationTraits<T>>(nullptr)) == 1);
  329   using Signature_bitset = void (*)(class IO&, T&);
  337   static bool const value = (sizeof(test<ScalarBitSetTraits<T>>(nullptr)) == 1);
  344   using Signature_input = StringRef (*)(StringRef, void*, T&);
  345   using Signature_output = void (*)(const T&, void*, raw_ostream&);
  357       (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
  364   using Signature_input = StringRef (*)(StringRef, void *, T &);
  365   using Signature_output = void (*)(const T &, void *, raw_ostream &);
  375       (sizeof(test<BlockScalarTraits<T>>(nullptr, nullptr)) == 1);
  380   using Signature_input = StringRef (*)(StringRef, StringRef, void *, T &);
  381   using Signature_output = void (*)(const T &, void *, raw_ostream &,
  383   using Signature_mustQuote = QuotingType (*)(const T &, StringRef);
  393       (sizeof(test<TaggedScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
  412   using Signature_mapping = void (*)(class IO &, T &);
  419   static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
  438   using Signature_validate = StringRef (*)(class IO &, T &);
  445   static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
  452   using Signature_size = size_t (*)(class IO&, T&);
  460   static bool const value =  (sizeof(test<SequenceTraits<T>>(nullptr)) == 1);
  467   using Signature_input = void (*)(IO &io, StringRef key, T &v);
  476       (sizeof(test<CustomMappingTraits<T>>(nullptr)) == 1);
  516   using Signature_size = size_t (*)(class IO &, T &);
  524   static bool const value = (sizeof(test<DocumentListTraits<T>>(nullptr))==1);
  528   using Signature_getKind = NodeKind (*)(const T &);
  535   static bool const value = (sizeof(test<PolymorphicTraits<T>>(nullptr)) == 1);
  859   template <typename T> void mapOptional(const char *Key, T &Val) {
  886   typename std::enable_if<!has_SequenceTraits<T>::value, void>::type
  887   mapOptionalWithContext(const char *Key, T &Val, Context &Ctx) {
  941   void processKey(const char *Key, T &Val, bool Required, Context &Ctx) {
  957 void doMapping(IO &io, T &Val, Context &Ctx) {
  961 template <typename T> void doMapping(IO &io, T &Val, EmptyContext &Ctx) {
  962   MappingTraits<T>::mapping(io, Val);
 1078 typename std::enable_if<unvalidatedMappingTraits<T, Context>::value, void>::type
 1079 yamlize(IO &io, T &Val, bool, Context &Ctx) {
 1080   if (has_FlowTraits<MappingTraits<T>>::value) {
lib/AsmParser/LLParser.cpp
 7635 bool LLParser::ParseTypeTestResolution(TypeTestResolution &TTRes) {
 7645     TTRes.TheKind = TypeTestResolution::Unsat;
 7648     TTRes.TheKind = TypeTestResolution::ByteArray;
 7651     TTRes.TheKind = TypeTestResolution::Inline;
 7654     TTRes.TheKind = TypeTestResolution::Single;
 7657     TTRes.TheKind = TypeTestResolution::AllOnes;
lib/AsmParser/LLParser.h
  377     bool ParseTypeTestResolution(TypeTestResolution &TTRes);
lib/IR/AsmWriter.cpp
 2422   void printTypeTestResolution(const TypeTestResolution &TTRes);
 2763 static const char *getTTResKindName(TypeTestResolution::Kind K) {
 2765   case TypeTestResolution::Unsat:
 2767   case TypeTestResolution::ByteArray:
 2769   case TypeTestResolution::Inline:
 2771   case TypeTestResolution::Single:
 2773   case TypeTestResolution::AllOnes:
 2779 void AssemblyWriter::printTypeTestResolution(const TypeTestResolution &TTRes) {
lib/Transforms/IPO/LowerTypeTests.cpp
  415     TypeTestResolution::Kind TheKind = TypeTestResolution::Unsat;
  415     TypeTestResolution::Kind TheKind = TypeTestResolution::Unsat;
  663   if (TIL.TheKind == TypeTestResolution::Inline) {
  730   if (TIL.TheKind == TypeTestResolution::Unsat)
  746   if (TIL.TheKind == TypeTestResolution::Single)
  772   if (TIL.TheKind == TypeTestResolution::AllOnes)
  903   TypeTestResolution &TTRes =
  921   if (TIL.TheKind != TypeTestResolution::Unsat)
  924   if (TIL.TheKind == TypeTestResolution::ByteArray ||
  925       TIL.TheKind == TypeTestResolution::Inline ||
  926       TIL.TheKind == TypeTestResolution::AllOnes) {
  931     if (TIL.TheKind == TypeTestResolution::Inline)
  937   if (TIL.TheKind == TypeTestResolution::ByteArray) {
  945   if (TIL.TheKind == TypeTestResolution::Inline)
  956   const TypeTestResolution &TTRes = TidSummary->TTRes;
 1002   if (TIL.TheKind != TypeTestResolution::Unsat)
 1005   if (TIL.TheKind == TypeTestResolution::ByteArray ||
 1006       TIL.TheKind == TypeTestResolution::Inline ||
 1007       TIL.TheKind == TypeTestResolution::AllOnes) {
 1013   if (TIL.TheKind == TypeTestResolution::ByteArray) {
 1018   if (TIL.TheKind == TypeTestResolution::Inline)
 1130       TIL.TheKind = (BSI.BitSize == 1) ? TypeTestResolution::Single
 1131                                        : TypeTestResolution::AllOnes;
 1133       TIL.TheKind = TypeTestResolution::Inline;
 1138         TIL.TheKind = TypeTestResolution::Unsat;
 1143       TIL.TheKind = TypeTestResolution::ByteArray;