Home | History | Annotate | Download | only in MSP430

Lines Matching refs:Op

187 SDValue MSP430TargetLowering::LowerOperation(SDValue Op,
189 switch (Op.getOpcode()) {
192 case ISD::SRA: return LowerShifts(Op, DAG);
193 case ISD::GlobalAddress: return LowerGlobalAddress(Op, DAG);
194 case ISD::BlockAddress: return LowerBlockAddress(Op, DAG);
195 case ISD::ExternalSymbol: return LowerExternalSymbol(Op, DAG);
196 case ISD::SETCC: return LowerSETCC(Op, DAG);
197 case ISD::BR_CC: return LowerBR_CC(Op, DAG);
198 case ISD::SELECT_CC: return LowerSELECT_CC(Op, DAG);
199 case ISD::SIGN_EXTEND: return LowerSIGN_EXTEND(Op, DAG);
200 case ISD::RETURNADDR: return LowerRETURNADDR(Op, DAG);
201 case ISD::FRAMEADDR: return LowerFRAMEADDR(Op, DAG);
202 case ISD::VASTART: return LowerVASTART(Op, DAG);
203 case ISD::JumpTable: return LowerJumpTable(Op, DAG);
626 SDValue MSP430TargetLowering::LowerShifts(SDValue Op,
628 unsigned Opc = Op.getOpcode();
629 SDNode* N = Op.getNode();
630 EVT VT = Op.getValueType();
669 SDValue MSP430TargetLowering::LowerGlobalAddress(SDValue Op,
671 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
672 int64_t Offset = cast<GlobalAddressSDNode>(Op)->getOffset();
675 SDValue Result = DAG.getTargetGlobalAddress(GV, SDLoc(Op),
677 return DAG.getNode(MSP430ISD::Wrapper, SDLoc(Op),
681 SDValue MSP430TargetLowering::LowerExternalSymbol(SDValue Op,
683 SDLoc dl(Op);
684 const char *Sym = cast<ExternalSymbolSDNode>(Op)->getSymbol();
690 SDValue MSP430TargetLowering::LowerBlockAddress(SDValue Op,
692 SDLoc dl(Op);
693 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress();
782 SDValue MSP430TargetLowering::LowerBR_CC(SDValue Op, SelectionDAG &DAG) const {
783 SDValue Chain = Op.getOperand(0);
784 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
785 SDValue LHS = Op.getOperand(2);
786 SDValue RHS = Op.getOperand(3);
787 SDValue Dest = Op.getOperand(4);
788 SDLoc dl (Op);
793 return DAG.getNode(MSP430ISD::BR_CC, dl, Op.getValueType(),
797 SDValue MSP430TargetLowering::LowerSETCC(SDValue Op, SelectionDAG &DAG) const {
798 SDValue LHS = Op.getOperand(0);
799 SDValue RHS = Op.getOperand(1);
800 SDLoc dl (Op);
816 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
853 EVT VT = Op.getValueType();
867 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue);
877 SDValue MSP430TargetLowering::LowerSELECT_CC(SDValue Op,
879 SDValue LHS = Op.getOperand(0);
880 SDValue RHS = Op.getOperand(1);
881 SDValue TrueV = Op.getOperand(2);
882 SDValue FalseV = Op.getOperand(3);
883 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
884 SDLoc dl (Op);
889 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue);
899 SDValue MSP430TargetLowering::LowerSIGN_EXTEND(SDValue Op,
901 SDValue Val = Op.getOperand(0);
902 EVT VT = Op.getValueType();
903 SDLoc dl(Op);
929 SDValue MSP430TargetLowering::LowerRETURNADDR(SDValue Op,
934 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
935 SDLoc dl(Op);
938 SDValue FrameAddr = LowerFRAMEADDR(Op, DAG);
953 SDValue MSP430TargetLowering::LowerFRAMEADDR(SDValue Op,
958 EVT VT = Op.getValueType();
959 SDLoc dl(Op); // FIXME probably not meaningful
960 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
970 SDValue MSP430TargetLowering::LowerVASTART(SDValue Op,
978 const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
981 return DAG.getStore(Op.getOperand(0), SDLoc(Op), FrameIndex,
982 Op.getOperand(1), MachinePointerInfo(SV),
986 SDValue MSP430TargetLowering::LowerJumpTable(SDValue Op,
988 JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
997 bool MSP430TargetLowering::getPostIndexedAddressParts(SDNode *N, SDNode *Op,
1011 if (Op->getOpcode() != ISD::ADD)
1014 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(Op->getOperand(1))) {
1020 Base = Op->getOperand(0);