Enzyme main
Loading...
Searching...
No Matches
BaseType.h File Reference
#include "llvm/ADT/StringRef.h"
#include <string>
Include dependency graph for BaseType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  BaseType {
  Integer , Float , Pointer , Anything ,
  Unknown
}
 Categories of potential types. More...
 

Functions

static std::string to_string (BaseType t)
 Convert Basetype to string.
 
static BaseType parseBaseType (llvm::StringRef str)
 Convert string to BaseType.
 

Enumeration Type Documentation

◆ BaseType

enum class BaseType
strong

Categories of potential types.

Enumerator
Integer 
Float 
Pointer 
Anything 
Unknown 

Definition at line 32 of file BaseType.h.

Function Documentation

◆ parseBaseType()

static BaseType parseBaseType ( llvm::StringRef str)
inlinestatic

Convert string to BaseType.

Definition at line 64 of file BaseType.h.

References Anything, Float, Integer, Pointer, str(), and Unknown.

Referenced by ConcreteType::ConcreteType().

◆ to_string()

static std::string to_string ( BaseType t)
inlinestatic

Convert Basetype to string.

Definition at line 46 of file BaseType.h.

References Anything, Float, Integer, Pointer, and Unknown.