LLVM 22.0.0git
Functions
SDNodeInfo.cpp File Reference
#include "llvm/CodeGen/SDNodeInfo.h"
#include "llvm/CodeGen/SelectionDAGNodes.h"

Go to the source code of this file.

Functions

static void reportNodeError (const SelectionDAG &DAG, const SDNode *N, const Twine &Msg)
 
static void checkResultType (const SelectionDAG &DAG, const SDNode *N, unsigned ResIdx, EVT ExpectedVT)
 
static void checkOperandType (const SelectionDAG &DAG, const SDNode *N, unsigned OpIdx, EVT ExpectedVT)
 

Function Documentation

◆ checkOperandType()

static void checkOperandType ( const SelectionDAG DAG,
const SDNode N,
unsigned  OpIdx,
EVT  ExpectedVT 
)
static

Definition at line 33 of file SDNodeInfo.cpp.

References llvm::EVT::getEVTString(), N, OpIdx, and reportNodeError().

Referenced by llvm::SDNodeInfo::verifyNode().

◆ checkResultType()

static void checkResultType ( const SelectionDAG DAG,
const SDNode N,
unsigned  ResIdx,
EVT  ExpectedVT 
)
static

Definition at line 23 of file SDNodeInfo.cpp.

References llvm::EVT::getEVTString(), N, and reportNodeError().

Referenced by llvm::SDNodeInfo::verifyNode().

◆ reportNodeError()

static void reportNodeError ( const SelectionDAG DAG,
const SDNode N,
const Twine Msg 
)
static

Definition at line 14 of file SDNodeInfo.cpp.

References N, and llvm::report_fatal_error().

Referenced by checkOperandType(), checkResultType(), and llvm::SDNodeInfo::verifyNode().