reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  100   if (Node->isMachineOpcode()) {
  101     LLVM_DEBUG(dbgs() << "== "; Node->dump(CurDAG); dbgs() << "\n");
  102     Node->setNodeId(-1);
  108   unsigned Opcode = Node->getOpcode();
  110   SDLoc DL(Node);
  111   EVT VT = Node->getValueType(0);
  115     auto ConstNode = cast<ConstantSDNode>(Node);
  117       SDValue New = CurDAG->getCopyFromReg(CurDAG->getEntryNode(), SDLoc(Node),
  119       ReplaceNode(Node, New.getNode());
  124       ReplaceNode(Node, selectImm(CurDAG, SDLoc(Node), Imm, XLenVT));
  124       ReplaceNode(Node, selectImm(CurDAG, SDLoc(Node), Imm, XLenVT));
  131     int FI = cast<FrameIndexSDNode>(Node)->getIndex();
  133     ReplaceNode(Node, CurDAG->getMachineNode(RISCV::ADDI, DL, VT, TFI, Imm));
  139     SDValue Op0 = Node->getOperand(0);
  140     SDValue Op1 = Node->getOperand(1);
  152             CurDAG->getTargetConstant(ShAmt, SDLoc(Node), XLenVT);
  153         CurDAG->SelectNodeTo(Node, RISCV::SRLIW, XLenVT, Op0.getOperand(0),
  163     ReplaceNode(Node, CurDAG->getMachineNode(RISCV::ReadCycleWide, DL, MVT::i32,
  165                                              Node->getOperand(0)));
  170   SelectCode(Node);