25#ifndef ENZYME_TYPE_ANALYSIS_BASE_TYPE_H
26#define ENZYME_TYPE_ANALYSIS_BASE_TYPE_H 1
28#include "llvm/ADT/StringRef.h"
59 assert(0 &&
"unknown inttype");
60 return "<Invalid IntType>";
71 if (
str ==
"Anything")
75 assert(0 &&
"Unknown BaseType string");
static BaseType parseBaseType(llvm::StringRef str)
Convert string to BaseType.
static std::string to_string(BaseType t)
Convert Basetype to string.
BaseType
Categories of potential types.
static std::string str(AugmentedStruct c)