LLVM
8.0.1
|
Classes | |
struct | And |
Matching combinators. More... | |
struct | And< Pred, Preds... > |
struct | BinaryOp_match |
struct | bind_helper |
struct | bind_helper< const ConstantFP * > |
struct | bind_helper< LLT > |
struct | bind_helper< MachineInstr * > |
struct | bind_ty |
struct | CheckType |
struct | ConstantMatch |
struct | OneUse_match |
struct | operand_type_match |
struct | Or |
struct | Or< Pred, Preds... > |
struct | UnaryOp_match |
Functions | |
template<typename Reg , typename Pattern > | |
bool | mi_match (Reg R, MachineRegisterInfo &MRI, Pattern &&P) |
template<typename SubPat > | |
OneUse_match< SubPat > | m_OneUse (const SubPat &SP) |
ConstantMatch | m_ICst (int64_t &Cst) |
operand_type_match | m_Reg () |
template<typename... Preds> | |
And< Preds... > | m_all_of (Preds &&... preds) |
template<typename... Preds> | |
Or< Preds... > | m_any_of (Preds &&... preds) |
bind_ty< unsigned > | m_Reg (unsigned &R) |
bind_ty< MachineInstr * > | m_MInstr (MachineInstr *&MI) |
bind_ty< LLT > | m_Type (LLT &Ty) |
bind_ty< const ConstantFP * > | m_GFCst (const ConstantFP *&C) |
template<typename LHS , typename RHS > | |
BinaryOp_match< LHS, RHS, TargetOpcode::G_ADD, true > | m_GAdd (const LHS &L, const RHS &R) |
template<typename LHS , typename RHS > | |
BinaryOp_match< LHS, RHS, TargetOpcode::G_SUB > | m_GSub (const LHS &L, const RHS &R) |
template<typename LHS , typename RHS > | |
BinaryOp_match< LHS, RHS, TargetOpcode::G_MUL, true > | m_GMul (const LHS &L, const RHS &R) |
template<typename LHS , typename RHS > | |
BinaryOp_match< LHS, RHS, TargetOpcode::G_FADD, true > | m_GFAdd (const LHS &L, const RHS &R) |
template<typename LHS , typename RHS > | |
BinaryOp_match< LHS, RHS, TargetOpcode::G_FMUL, true > | m_GFMul (const LHS &L, const RHS &R) |
template<typename LHS , typename RHS > | |
BinaryOp_match< LHS, RHS, TargetOpcode::G_FSUB, false > | m_GFSub (const LHS &L, const RHS &R) |
template<typename LHS , typename RHS > | |
BinaryOp_match< LHS, RHS, TargetOpcode::G_AND, true > | m_GAnd (const LHS &L, const RHS &R) |
template<typename LHS , typename RHS > | |
BinaryOp_match< LHS, RHS, TargetOpcode::G_OR, true > | m_GOr (const LHS &L, const RHS &R) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_ANYEXT > | m_GAnyExt (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_SEXT > | m_GSExt (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_ZEXT > | m_GZExt (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_FPEXT > | m_GFPExt (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_TRUNC > | m_GTrunc (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_BITCAST > | m_GBitcast (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_PTRTOINT > | m_GPtrToInt (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_INTTOPTR > | m_GIntToPtr (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_FPTRUNC > | m_GFPTrunc (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_FABS > | m_GFabs (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::G_FNEG > | m_GFNeg (const SrcTy &Src) |
template<typename SrcTy > | |
UnaryOp_match< SrcTy, TargetOpcode::COPY > | m_Copy (SrcTy &&Src) |
CheckType | m_SpecificType (LLT Ty) |
And<Preds...> llvm::MIPatternMatch::m_all_of | ( | Preds &&... | preds | ) |
Definition at line 111 of file MIPatternMatch.h.
Referenced by llvm::LegalizationArtifactCombiner::tryCombineAnyExt().
Or<Preds...> llvm::MIPatternMatch::m_any_of | ( | Preds &&... | preds | ) |
Definition at line 115 of file MIPatternMatch.h.
Referenced by llvm::LegalizationArtifactCombiner::tryCombineAnyExt().
|
inline |
Definition at line 319 of file MIPatternMatch.h.
Referenced by llvm::LegalizationArtifactCombiner::tryCombineInstruction().
|
inline |
Definition at line 196 of file MIPatternMatch.h.
|
inline |
Definition at line 232 of file MIPatternMatch.h.
|
inline |
Definition at line 260 of file MIPatternMatch.h.
Referenced by llvm::LegalizationArtifactCombiner::tryCombineAnyExt().
|
inline |
Definition at line 286 of file MIPatternMatch.h.
|
inline |
Definition at line 309 of file MIPatternMatch.h.
|
inline |
Definition at line 214 of file MIPatternMatch.h.
|
inline |
Definition at line 170 of file MIPatternMatch.h.
References C, and llvm::MCID::Commutable.
|
inline |
Definition at line 220 of file MIPatternMatch.h.
|
inline |
Definition at line 314 of file MIPatternMatch.h.
|
inline |
Definition at line 275 of file MIPatternMatch.h.
|
inline |
Definition at line 304 of file MIPatternMatch.h.
|
inline |
Definition at line 226 of file MIPatternMatch.h.
|
inline |
Definition at line 298 of file MIPatternMatch.h.
|
inline |
Definition at line 208 of file MIPatternMatch.h.
|
inline |
Definition at line 237 of file MIPatternMatch.h.
|
inline |
Definition at line 292 of file MIPatternMatch.h.
|
inline |
Definition at line 265 of file MIPatternMatch.h.
Referenced by llvm::LegalizationArtifactCombiner::tryCombineAnyExt().
|
inline |
Definition at line 201 of file MIPatternMatch.h.
|
inline |
Definition at line 280 of file MIPatternMatch.h.
Referenced by llvm::LegalizationArtifactCombiner::tryCombineAnyExt(), llvm::LegalizationArtifactCombiner::tryCombineSExt(), and llvm::LegalizationArtifactCombiner::tryCombineZExt().
|
inline |
Definition at line 270 of file MIPatternMatch.h.
Referenced by llvm::LegalizationArtifactCombiner::tryCombineAnyExt().
|
inline |
Definition at line 57 of file MIPatternMatch.h.
|
inline |
Definition at line 166 of file MIPatternMatch.h.
References MI.
Referenced by llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable >::match(), llvm::MIPatternMatch::UnaryOp_match< SrcTy, Opcode >::match(), and llvm::LegalizationArtifactCombiner::tryCombineAnyExt().
|
inline |
Definition at line 41 of file MIPatternMatch.h.
Referenced by llvm::SelectionDAGBuilder::FindMergedConditions().
|
inline |
Definition at line 165 of file MIPatternMatch.h.
Definition at line 333 of file MIPatternMatch.h.
Definition at line 167 of file MIPatternMatch.h.
bool llvm::MIPatternMatch::mi_match | ( | Reg | R, |
MachineRegisterInfo & | MRI, | ||
Pattern && | P | ||
) |
Definition at line 25 of file MIPatternMatch.h.
References P.
Referenced by llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable >::match(), llvm::MIPatternMatch::UnaryOp_match< SrcTy, Opcode >::match(), llvm::LegalizationArtifactCombiner::tryCombineAnyExt(), llvm::LegalizationArtifactCombiner::tryCombineInstruction(), llvm::LegalizationArtifactCombiner::tryCombineSExt(), and llvm::LegalizationArtifactCombiner::tryCombineZExt().