LLVM API Documentation

PIC16ISelLowering.cpp File Reference

#include "PIC16ISelLowering.h"
#include "PIC16TargetObjectFile.h"
#include "PIC16TargetMachine.h"
#include "llvm/DerivedTypes.h"
#include "llvm/GlobalValue.h"
#include "llvm/Function.h"
#include "llvm/CallingConv.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/ErrorHandling.h"

Include dependency graph for PIC16ISelLowering.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "pic16-lower"

Functions

static const char * getIntrinsicName (unsigned opcode)
static const char * getStdLibCallName (unsigned opcode)
static SDValue getOutFlag (SDValue &Op)
static SDValue getChain (SDValue &Op)
static void PopulateResults (SDValue N, SmallVectorImpl< SDValue > &Results)
static PIC16CC::CondCodes IntCCToPIC16CC (ISD::CondCode CC)
static void LookThroughSetCC (SDValue &LHS, SDValue &RHS, ISD::CondCode CC, unsigned &SPCC)


Define Documentation

#define DEBUG_TYPE   "pic16-lower"

Definition at line 14 of file PIC16ISelLowering.cpp.


Function Documentation

static SDValue getChain ( SDValue &  Op  )  [static]

static const char* getIntrinsicName ( unsigned  opcode  )  [static]

static SDValue getOutFlag ( SDValue &  Op  )  [static]

static const char* getStdLibCallName ( unsigned  opcode  )  [static]

static PIC16CC::CondCodes IntCCToPIC16CC ( ISD::CondCode  CC  )  [static]

static void LookThroughSetCC ( SDValue &  LHS,
SDValue &  RHS,
ISD::CondCode  CC,
unsigned &  SPCC 
) [static]

static void PopulateResults ( SDValue  N,
SmallVectorImpl< SDValue > &  Results 
) [static]

PopulateResults - Helper function to LowerOperation. If a node wants to return multiple results after lowering, it stuffs them into an array of SDValue called Results.

Definition at line 358 of file PIC16ISelLowering.cpp.

References llvm::SDValue::getNumOperands(), llvm::SDValue::getOpcode(), llvm::SDValue::getOperand(), llvm::ISD::MERGE_VALUES, and llvm::SmallVectorImpl< T >::push_back().

Referenced by llvm::PIC16TargetLowering::ReplaceNodeResults().