LLVM API Documentation

llvm::TargetLowering::DAGCombinerInfo Struct Reference

#include <TargetLowering.h>

Collaboration diagram for llvm::TargetLowering::DAGCombinerInfo:
[legend]

List of all members.

Public Member Functions

 DAGCombinerInfo (SelectionDAG &dag, bool bl, bool cl, void *dc)
bool isBeforeLegalize () const
bool isCalledByLegalizer () const
void AddToWorklist (SDNode *N)
SDValue CombineTo (SDNode *N, const std::vector< SDValue > &To)
SDValue CombineTo (SDNode *N, SDValue Res)
SDValue CombineTo (SDNode *N, SDValue Res0, SDValue Res1)
void CommitTargetLoweringOpt (const TargetLoweringOpt &TLO)

Public Attributes

void * DC
bool BeforeLegalize
bool CalledByLegalizer
SelectionDAG & DAG


Detailed Description

Definition at line 767 of file TargetLowering.h.


Constructor & Destructor Documentation

llvm::TargetLowering::DAGCombinerInfo::DAGCombinerInfo ( SelectionDAG &  dag,
bool  bl,
bool  cl,
void *  dc 
) [inline]

Definition at line 774 of file TargetLowering.h.


Member Function Documentation

bool llvm::TargetLowering::DAGCombinerInfo::isBeforeLegalize (  )  const [inline]

Definition at line 777 of file TargetLowering.h.

References BeforeLegalize.

Referenced by llvm::TargetLowering::SimplifySetCC().

bool llvm::TargetLowering::DAGCombinerInfo::isCalledByLegalizer (  )  const [inline]

Definition at line 778 of file TargetLowering.h.

References CalledByLegalizer.

Referenced by llvm::TargetLowering::SimplifySetCC().

void TargetLowering::DAGCombinerInfo::AddToWorklist ( SDNode *  N  ) 

SDValue TargetLowering::DAGCombinerInfo::CombineTo ( SDNode *  N,
const std::vector< SDValue > &  To 
)

Definition at line 294 of file DAGCombiner.cpp.

References DC.

Referenced by llvm::PPCTargetLowering::PerformDAGCombine(), and PerformFMRRDCombine().

SDValue TargetLowering::DAGCombinerInfo::CombineTo ( SDNode *  N,
SDValue  Res 
)

Definition at line 299 of file DAGCombiner.cpp.

References DC.

SDValue TargetLowering::DAGCombinerInfo::CombineTo ( SDNode *  N,
SDValue  Res0,
SDValue  Res1 
)

Definition at line 305 of file DAGCombiner.cpp.

References DC.

void TargetLowering::DAGCombinerInfo::CommitTargetLoweringOpt ( const TargetLoweringOpt &  TLO  ) 

Definition at line 310 of file DAGCombiner.cpp.

References DC.

Referenced by PerformBTCombine(), and PerformBuildVectorCombine().


Member Data Documentation

Definition at line 768 of file TargetLowering.h.

Referenced by AddToWorklist(), CombineTo(), and CommitTargetLoweringOpt().

Definition at line 769 of file TargetLowering.h.

Referenced by isBeforeLegalize().

Definition at line 770 of file TargetLowering.h.

Referenced by isCalledByLegalizer().


The documentation for this struct was generated from the following files: