Lines Matching refs:Op
135 SDValue BPFTargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const {
136 switch (Op.getOpcode()) {
138 return LowerBR_CC(Op, DAG);
140 return LowerGlobalAddress(Op, DAG);
142 return LowerSELECT_CC(Op, DAG);
436 SDValue BPFTargetLowering::LowerBR_CC(SDValue Op, SelectionDAG &DAG) const {
437 SDValue Chain = Op.getOperand(0);
438 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get();
439 SDValue LHS = Op.getOperand(2);
440 SDValue RHS = Op.getOperand(3);
441 SDValue Dest = Op.getOperand(4);
442 SDLoc DL(Op);
446 return DAG.getNode(BPFISD::BR_CC, DL, Op.getValueType(), Chain, LHS, RHS,
450 SDValue BPFTargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const {
451 SDValue LHS = Op.getOperand(0);
452 SDValue RHS = Op.getOperand(1);
453 SDValue TrueV = Op.getOperand(2);
454 SDValue FalseV = Op.getOperand(3);
455 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get();
456 SDLoc DL(Op);
462 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue);
486 SDValue BPFTargetLowering::LowerGlobalAddress(SDValue Op,
488 SDLoc DL(Op);
489 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();