LLVM API Documentation

Public Member Functions | Public Attributes
llvm::TargetLowering::DAGCombinerInfo Struct Reference

#include <TargetLowering.h>

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

List of all members.

Public Member Functions

 DAGCombinerInfo (SelectionDAG &dag, CombineLevel level, bool cl, void *dc)
bool isBeforeLegalize () const
bool isBeforeLegalizeOps () const
bool isAfterLegalizeVectorOps () const
CombineLevel getDAGCombineLevel ()
bool isCalledByLegalizer () const
void AddToWorklist (SDNode *N)
void RemoveFromWorklist (SDNode *N)
SDValue CombineTo (SDNode *N, const std::vector< SDValue > &To, bool AddTo=true)
SDValue CombineTo (SDNode *N, SDValue Res, bool AddTo=true)
SDValue CombineTo (SDNode *N, SDValue Res0, SDValue Res1, bool AddTo=true)
void CommitTargetLoweringOpt (const TargetLoweringOpt &TLO)

Public Attributes

void * DC
CombineLevel Level
bool CalledByLegalizer
SelectionDAGDAG

Detailed Description

Definition at line 2037 of file TargetLowering.h.


Constructor & Destructor Documentation

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

Definition at line 2044 of file TargetLowering.h.


Member Function Documentation

SDValue TargetLowering::DAGCombinerInfo::CombineTo ( SDNode N,
const std::vector< SDValue > &  To,
bool  AddTo = true 
)

Definition at line 445 of file DAGCombiner.cpp.

Definition at line 451 of file DAGCombiner.cpp.

Definition at line 2052 of file TargetLowering.h.

References Level.

Referenced by llvm::SITargetLowering::PerformDAGCombine().

Definition at line 2049 of file TargetLowering.h.

References llvm::AfterLegalizeDAG.

Definition at line 435 of file DAGCombiner.cpp.


Member Data Documentation

Definition at line 2040 of file TargetLowering.h.

Referenced by isCalledByLegalizer().

Definition at line 2038 of file TargetLowering.h.

Referenced by AddToWorklist().

Definition at line 2039 of file TargetLowering.h.

Referenced by getDAGCombineLevel().


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