Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:Op

92     SDValue Op(Node, ResNo);
94 VRBaseMap.erase(Op);
95 bool isNew = VRBaseMap.insert(std::make_pair(Op, SrcReg)).second;
125 SDValue Op = User->getOperand(i);
126 if (Op.getNode() != Node || Op.getResNo() != ResNo)
128 MVT VT = Node->getSimpleValueType(Op.getResNo());
181 SDValue Op(Node, ResNo);
183 VRBaseMap.erase(Op);
184 bool isNew = VRBaseMap.insert(std::make_pair(Op, VRBase)).second;
272 SDValue Op(Node, i);
274 VRBaseMap.erase(Op);
275 bool isNew = VRBaseMap.insert(std::make_pair(Op, VRBase)).second;
284 unsigned InstrEmitter::getVR(SDValue Op,
286 if (Op.isMachineOpcode() &&
287 Op.getMachineOpcode() == TargetOpcode::IMPLICIT_DEF) {
289 unsigned VReg = getDstOfOnlyCopyToRegUse(Op.getNode(), Op.getResNo());
294 TLI->getRegClassFor(Op.getSimpleValueType());
297 BuildMI(*MBB, InsertPos, Op.getDebugLoc(),
302 DenseMap<SDValue, unsigned>::iterator I = VRBaseMap.find(Op);
313 SDValue Op,
318 assert(Op.getValueType() != MVT::Other &&
319 Op.getValueType() != MVT::Glue &&
322 unsigned VReg = getVR(Op, VRBaseMap);
340 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(),
353 bool isKill = Op.hasOneUse() &&
354 Op.getNode()->getOpcode() != ISD::CopyFromReg &&
376 SDValue Op,
381 if (Op.isMachineOpcode()) {
382 AddRegisterOperand(MIB, Op, IIOpNum, II, VRBaseMap,
384 } else if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
386 } else if (ConstantFPSDNode *F = dyn_cast<ConstantFPSDNode>(Op)) {
388 } else if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(Op)) {
394 } else if (RegisterMaskSDNode *RM = dyn_cast<RegisterMaskSDNode>(Op)) {
396 } else if (GlobalAddressSDNode *TGA = dyn_cast<GlobalAddressSDNode>(Op)) {
399 } else if (BasicBlockSDNode *BBNode = dyn_cast<BasicBlockSDNode>(Op)) {
401 } else if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Op)) {
403 Op)) {
405 } else if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(Op)) {
425 } else if (ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(Op)) {
427 } else if (auto *SymNode = dyn_cast<MCSymbolSDNode>(Op)) {
429 } else if (BlockAddressSDNode *BA = dyn_cast<BlockAddressSDNode>(Op)) {
433 } else if (TargetIndexSDNode *TI = dyn_cast<TargetIndexSDNode>(Op)) {
436 assert(Op.getValueType() != MVT::Other &&
437 Op.getValueType() != MVT::Glue &&
439 AddRegisterOperand(MIB, Op, IIOpNum, II, VRBaseMap,
577 SDValue Op(Node, 0);
578 bool isNew = VRBaseMap.insert(std::make_pair(Op, VRBase)).second;
600 SDValue Op(Node, 0);
601 bool isNew = VRBaseMap.insert(std::make_pair(Op, NewVReg)).second;
620 SDValue Op = Node->getOperand(i);
626 unsigned SubIdx = cast<ConstantSDNode>(Op)->getZExtValue();
637 AddOperand(MIB, Op, i+1, &II, VRBaseMap, /*IsDebug=*/false,
642 SDValue Op(Node, 0);
643 bool isNew = VRBaseMap.insert(std::make_pair(Op, NewVReg)).second;
674 SDValue Op = SDValue(Node, SD->getResNo());
680 DenseMap<SDValue, unsigned>::iterator I = VRBaseMap.find(Op);
684 AddOperand(MIB, Op, (*MIB).getNumOperands(), &II, VRBaseMap,