LLVM  15.0.0git
Classes | Namespaces
TypeSwitch.h File Reference
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Casting.h"
Include dependency graph for TypeSwitch.h:

Go to the source code of this file.


class  llvm::detail::TypeSwitchBase< DerivedT, T >
class  llvm::TypeSwitch< T, ResultT >
 This class implements a switch-like dispatch statement for a value of 'T' using dyn_cast functionality. More...
class  llvm::TypeSwitch< T, void >
 Specialization of TypeSwitch for void returning callables. More...


 This is an optimization pass for GlobalISel generic memory operations.

Detailed Description

This file implements the TypeSwitch template, which mimics a switch() statement whose cases are type names.

Definition in file TypeSwitch.h.