• Home
  • Raw
  • Download

Lines Matching refs:IntN

186 MachineSDNode *HexagonDAGToDAGISel::LoadInstrForLoadIntrinsic(SDNode *IntN) {  in LoadInstrForLoadIntrinsic()  argument
187 if (IntN->getOpcode() != ISD::INTRINSIC_W_CHAIN) in LoadInstrForLoadIntrinsic()
190 SDLoc dl(IntN); in LoadInstrForLoadIntrinsic()
191 unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue(); in LoadInstrForLoadIntrinsic()
206 auto Inc = cast<ConstantSDNode>(IntN->getOperand(5)); in LoadInstrForLoadIntrinsic()
209 { IntN->getOperand(2), I, IntN->getOperand(4), in LoadInstrForLoadIntrinsic()
210 IntN->getOperand(0) }); in LoadInstrForLoadIntrinsic()
218 SDNode *IntN) { in StoreInstrForLoadIntrinsic() argument
227 SDLoc dl(IntN); in StoreInstrForLoadIntrinsic()
230 SDValue Loc = IntN->getOperand(3); in StoreInstrForLoadIntrinsic()
247 ReplaceUses(SDValue(IntN, 0), SDValue(LoadN, 1)); in StoreInstrForLoadIntrinsic()
248 ReplaceUses(SDValue(IntN, 1), SDValue(StoreN, 0)); in StoreInstrForLoadIntrinsic()
319 bool HexagonDAGToDAGISel::SelectBrevLdIntrinsic(SDNode *IntN) { in SelectBrevLdIntrinsic() argument
320 if (IntN->getOpcode() != ISD::INTRINSIC_W_CHAIN) in SelectBrevLdIntrinsic()
323 const SDLoc &dl(IntN); in SelectBrevLdIntrinsic()
324 unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue(); in SelectBrevLdIntrinsic()
344 {IntN->getOperand(2), IntN->getOperand(3), IntN->getOperand(0)}); in SelectBrevLdIntrinsic()
346 MachineMemOperand *MemOp = cast<MemIntrinsicSDNode>(IntN)->getMemOperand(); in SelectBrevLdIntrinsic()
349 ReplaceUses(SDValue(IntN, 0), SDValue(Res, 0)); in SelectBrevLdIntrinsic()
350 ReplaceUses(SDValue(IntN, 1), SDValue(Res, 1)); in SelectBrevLdIntrinsic()
351 ReplaceUses(SDValue(IntN, 2), SDValue(Res, 2)); in SelectBrevLdIntrinsic()
352 CurDAG->RemoveDeadNode(IntN); in SelectBrevLdIntrinsic()
360 bool HexagonDAGToDAGISel::SelectNewCircIntrinsic(SDNode *IntN) { in SelectNewCircIntrinsic() argument
361 if (IntN->getOpcode() != ISD::INTRINSIC_W_CHAIN) in SelectNewCircIntrinsic()
364 SDLoc DL(IntN); in SelectNewCircIntrinsic()
365 unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue(); in SelectNewCircIntrinsic()
390 if (IntN->getNumOperands() == 6) { in SelectNewCircIntrinsic()
391 auto Inc = cast<ConstantSDNode>(IntN->getOperand(3)); in SelectNewCircIntrinsic()
394 Ops = { IntN->getOperand(2), I, IntN->getOperand(4), IntN->getOperand(5), in SelectNewCircIntrinsic()
395 IntN->getOperand(0) }; in SelectNewCircIntrinsic()
399 Ops = { IntN->getOperand(2), IntN->getOperand(3), IntN->getOperand(4), in SelectNewCircIntrinsic()
400 IntN->getOperand(0) }; in SelectNewCircIntrinsic()
402 ReplaceUses(SDValue(IntN, 0), SDValue(Res, 0)); in SelectNewCircIntrinsic()
403 ReplaceUses(SDValue(IntN, 1), SDValue(Res, 1)); in SelectNewCircIntrinsic()
404 ReplaceUses(SDValue(IntN, 2), SDValue(Res, 2)); in SelectNewCircIntrinsic()
405 CurDAG->RemoveDeadNode(IntN); in SelectNewCircIntrinsic()
425 if (IntN->getNumOperands() == 7) { in SelectNewCircIntrinsic()
426 auto Inc = cast<ConstantSDNode>(IntN->getOperand(3)); in SelectNewCircIntrinsic()
429 Ops = { IntN->getOperand(2), I, IntN->getOperand(4), IntN->getOperand(5), in SelectNewCircIntrinsic()
430 IntN->getOperand(6), IntN->getOperand(0) }; in SelectNewCircIntrinsic()
434 Ops = { IntN->getOperand(2), IntN->getOperand(3), IntN->getOperand(4), in SelectNewCircIntrinsic()
435 IntN->getOperand(5), IntN->getOperand(0) }; in SelectNewCircIntrinsic()
437 ReplaceUses(SDValue(IntN, 0), SDValue(Res, 0)); in SelectNewCircIntrinsic()
438 ReplaceUses(SDValue(IntN, 1), SDValue(Res, 1)); in SelectNewCircIntrinsic()
439 CurDAG->RemoveDeadNode(IntN); in SelectNewCircIntrinsic()