struct TargetLowering::TargetLoweringOpt

Declaration

struct TargetLowering::TargetLoweringOpt { /* full declaration omitted */ };

Description

A convenience struct that encapsulates a DAG, and two SDValues for returning information from TargetLowering to its clients that want to combine.

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3066

Member Variables

public llvm::SelectionDAG& DAG
public bool LegalTys
public bool LegalOps
public llvm::SDValue Old
public llvm::SDValue New

Method Overview

Methods

bool CombineTo(llvm::SDValue O, llvm::SDValue N)

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3080

Parameters

llvm::SDValue O
llvm::SDValue N

bool LegalOperations() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3078

bool LegalTypes() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3077

TargetLoweringOpt(llvm::SelectionDAG& InDAG,
                  bool LT,
                  bool LO)

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3073

Parameters

llvm::SelectionDAG& InDAG
bool LT
bool LO