LLVM: lib/Target/CSKY/CSKYISelDAGToDAG.cpp File Reference (original) (raw)

#include "[CSKY.h](CSKY%5F8h%5Fsource.html)"
#include "[CSKYSubtarget.h](CSKYSubtarget%5F8h%5Fsource.html)"
#include "[CSKYTargetMachine.h](CSKYTargetMachine%5F8h%5Fsource.html)"
#include "[MCTargetDesc/CSKYMCTargetDesc.h](CSKYMCTargetDesc%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/MachineFrameInfo.h](MachineFrameInfo%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/SelectionDAG.h](SelectionDAG%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/SelectionDAGISel.h](SelectionDAGISel%5F8h%5Fsource.html)"
#include "CSKYGenDAGISel.inc"

Go to the source code of this file.

Macros
#define DEBUG_TYPE "csky-isel"
#define PASS_NAME "CSKY DAG->DAG Pattern Instruction Selection"
Functions
static SDValue InvertCarryFlag (const CSKYSubtarget *Subtarget, SelectionDAG *DAG, SDLoc Dl, SDValue OldCarry)

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "csky-isel"

Definition at line 23 of file CSKYISelDAGToDAG.cpp.

PASS_NAME

#define PASS_NAME "CSKY DAG->DAG Pattern Instruction Selection"

Definition at line 24 of file CSKYISelDAGToDAG.cpp.

Function Documentation

InvertCarryFlag()

SDValue InvertCarryFlag ( const CSKYSubtarget * Subtarget, SelectionDAG * DAG, SDLoc Dl, SDValue OldCarry ) static

Definition at line 334 of file CSKYISelDAGToDAG.cpp.

References llvm::SelectionDAG::getMachineNode(), llvm::SelectionDAG::getTargetConstant(), llvm::SDValue::getValueType(), llvm::CSKYSubtarget::has2E3(), llvm::CSKYSubtarget::hasE2(), and SDValue().