LLVM
8.0.1
|
Container class for CodeGen predicate results. More...
#include "llvm/CodeGen/GlobalISel/InstructionSelector.h"
Public Member Functions | |
PredicateBitsetImpl ()=default | |
PredicateBitsetImpl (const std::bitset< MaxPredicates > &B) | |
PredicateBitsetImpl (std::initializer_list< unsigned > Init) | |
Container class for CodeGen predicate results.
This is convenient because std::bitset does not have a constructor with an initializer list of set bits.
Each InstructionSelector subclass should define a PredicateBitset class with: const unsigned MAX_SUBTARGET_PREDICATES = 192; using PredicateBitset = PredicateBitsetImpl<MAX_SUBTARGET_PREDICATES>; and updating the constant to suit the target. Tablegen provides a suitable definition for the predicates in use in <Target>GenGlobalISel.inc when GET_GLOBALISEL_PREDICATE_BITSET is defined.
Definition at line 57 of file InstructionSelector.h.
|
default |
|
inline |
Definition at line 62 of file InstructionSelector.h.
|
inline |
Definition at line 65 of file InstructionSelector.h.
References I.