Home
last modified time | relevance | path

Searched refs:Glue (Results 1 – 25 of 67) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCISelLowering.cpp212 SDValue Cmp = DAG.getNode(ARCISD::CMP, dl, MVT::Glue, LHS, RHS); in LowerSELECT_CC()
352 SDValue Glue; in LowerCall() local
355 RegsToPass[i].second, Glue); in LowerCall()
356 Glue = Chain.getValue(1); in LowerCall()
373 SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue); in LowerCall()
389 if (Glue.getNode()) in LowerCall()
390 Ops.push_back(Glue); in LowerCall()
393 Glue = Chain.getValue(1); in LowerCall()
396 Chain = DAG.getCALLSEQ_END(Chain, NumBytes, 0, Glue, dl); in LowerCall()
397 Glue = Chain.getValue(1); in LowerCall()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp282 SDValue Glue = in tryBRIND() local
283 SDValue(CurDAG->getMachineNode(XCore::SETSR_branch_u6, dl, MVT::Glue, in tryBRIND()
285 Glue = in tryBRIND()
286 SDValue(CurDAG->getMachineNode(XCore::CLRSR_branch_u6, dl, MVT::Glue, in tryBRIND()
287 constOne, Glue), 0); in tryBRIND()
291 nextAddr->getOperand(0), Glue); in tryBRIND()
294 CurDAG->SelectNodeTo(N, XCore::BAU_1r, MVT::Other, nextAddr, Glue); in tryBRIND()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaISelLowering.cpp383 SDValue Glue; in LowerCall() local
386 Chain = DAG.getCopyToReg(Chain, DL, Reg, RegsToPass[I].second, Glue); in LowerCall()
387 Glue = Chain.getValue(1); in LowerCall()
439 if (Glue.getNode()) in LowerCall()
440 Ops.push_back(Glue); in LowerCall()
442 SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue); in LowerCall()
444 Glue = Chain.getValue(1); in LowerCall()
448 DAG.getConstant(0, DL, PtrVT, true), Glue, DL); in LowerCall()
449 Glue = Chain.getValue(1); in LowerCall()
462 SDValue RetValue = DAG.getCopyFromReg(Chain, DL, Reg, VA.getLocVT(), Glue); in LowerCall()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGFast.cpp218 if (VT == MVT::Glue) in CopyAndMoveSuccessors()
225 if (VT == MVT::Glue) in CopyAndMoveSuccessors()
491 if (Node->getOperand(NumOps-1).getValueType() == MVT::Glue) in DelayForLiveRegsBottomUp()
690 if (NumLeft == NumOps && Op.getValueType() == MVT::Glue) { in ScheduleNode()
737 if (NumVals && N->getValueType(NumVals-1) == MVT::Glue && in Schedule()
751 for (SDNode *Glue : Glues) { in Schedule()
752 SDNode *GUser = GluedMap[Glue]; in Schedule()
753 unsigned Degree = Glue->getNodeId(); in Schedule()
758 SDNode *ImmGUser = Glue->getGluedUser(); in Schedule()
759 for (const SDNode *U : Glue->uses()) in Schedule()
[all …]
H A DScheduleDAGSDNodes.cpp165 static bool AddGlue(SDNode *N, SDValue Glue, bool AddGlue, SelectionDAG *DAG) { in AddGlue() argument
166 SDNode *GlueDestNode = Glue.getNode(); in AddGlue()
173 N->getOperand(N->getNumOperands()-1).getValueType() == MVT::Glue) { in AddGlue()
177 if (N->getValueType(N->getNumValues() - 1) == MVT::Glue) return false; in AddGlue()
181 VTs.push_back(MVT::Glue); in AddGlue()
183 CloneNodeWithValues(N, DAG, VTs, Glue); in AddGlue()
191 assert((N->getValueType(N->getNumValues() - 1) == MVT::Glue && in RemoveUnusedGlue()
376 N->getOperand(N->getNumOperands()-1).getValueType() == MVT::Glue) { in BuildSchedUnits()
386 while (N->getValueType(N->getNumValues()-1) == MVT::Glue) { in BuildSchedUnits()
487 assert(OpVT != MVT::Glue && "Glued nodes should be in same sunit!"); in AddSchedEdges()
H A DStatepointLowering.cpp756 SDValue Glue; in LowerAsSTATEPOINT() local
760 Glue = CallNode->getOperand(CallNode->getNumOperands() - 1); in LowerAsSTATEPOINT()
788 TSOps.push_back(Glue); in LowerAsSTATEPOINT()
790 SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue); in LowerAsSTATEPOINT()
796 Glue = GCTransitionStart.getValue(1); in LowerAsSTATEPOINT()
847 if (Glue.getNode()) in LowerAsSTATEPOINT()
848 Ops.push_back(Glue); in LowerAsSTATEPOINT()
861 NodeTys.push_back(MVT::Glue); in LowerAsSTATEPOINT()
964 SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue); in LowerAsSTATEPOINT()
H A DSelectionDAGISel.cpp2239 if (Ops[e - 1].getValueType() == MVT::Glue) in SelectInlineAsmMemoryOperands()
2407 while (VT == MVT::Glue) { in IsLegalToFold()
2430 const EVT VTs[] = {MVT::Other, MVT::Glue}; in Select_INLINEASM()
2552 SDVTList NodeTys = CurDAG->getVTList(MVT::Other, MVT::Glue); in Select_STACKMAP()
2563 std::optional<SDValue> Glue; in Select_PATCHPOINT() local
2564 if (It->getValueType() == MVT::Glue) in Select_PATCHPOINT()
2565 Glue = *It++; in Select_PATCHPOINT()
2600 if (Glue.has_value()) in Select_PATCHPOINT()
2601 Ops.push_back(*Glue); in Select_PATCHPOINT()
2626 CurDAG->SelectNodeTo(N, TargetOpcode::JUMP_TABLE_DEBUG_INFO, MVT::Glue, in Select_JUMP_TABLE_DEBUG_INFO()
[all …]
H A DInstrEmitter.cpp45 while (N && Node->getValueType(N - 1) == MVT::Glue) in CountResults()
62 while (N && Node->getOperand(N - 1).getValueType() == MVT::Glue) in countOperands()
126 if (VT == MVT::Other || VT == MVT::Glue) in EmitCopyFromReg()
324 Op.getValueType() != MVT::Glue && in AddRegisterOperand()
469 Op.getValueType() != MVT::Glue && in AddOperand()
1171 if (Node->getValueType(Node->getNumValues()-1) == MVT::Glue) { in EmitMachineNode()
1320 if (Node->getOperand(NumOps-1).getValueType() == MVT::Glue) in EmitSpecialNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp449 SDValue Glue; in LowerReturn() local
472 Chain = DAG.getCopyToReg(Chain, DL, RegLo, Lo, Glue); in LowerReturn()
473 Glue = Chain.getValue(1); in LowerReturn()
475 Chain = DAG.getCopyToReg(Chain, DL, RegHi, Hi, Glue); in LowerReturn()
476 Glue = Chain.getValue(1); in LowerReturn()
481 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Val, Glue); in LowerReturn()
484 Glue = Chain.getValue(1); in LowerReturn()
492 if (Glue.getNode()) { in LowerReturn()
493 RetOps.push_back(Glue); in LowerReturn()
636 SDValue Glue; in LowerCall() local
[all …]
H A DCSKYISelDAGToDAG.cpp137 SDValue Glue = in selectInlineAsm() local
249 Glue = Chain.getValue(1); in selectInlineAsm()
272 if (Glue.getNode()) in selectInlineAsm()
273 AsmNodeOperands.push_back(Glue); in selectInlineAsm()
278 CurDAG->getVTList(MVT::Other, MVT::Glue), in selectInlineAsm()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp184 SDValue Glue = N->getGluedNode() ? N->getOperand(NumOps - 1) : SDValue(); in tryInlineAsm() local
294 Glue = Chain.getValue(1); in tryInlineAsm()
316 if (Glue.getNode()) in tryInlineAsm()
317 AsmNodeOperands.push_back(Glue); in tryInlineAsm()
324 CurDAG->getVTList(MVT::Other, MVT::Glue), AsmNodeOperands); in tryInlineAsm()
H A DSparcISelLowering.cpp273 SDValue Glue; in LowerReturn_32() local
299 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Part0, Glue); in LowerReturn_32()
300 Glue = Chain.getValue(1); in LowerReturn_32()
304 Glue); in LowerReturn_32()
306 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Arg, Glue); in LowerReturn_32()
309 Glue = Chain.getValue(1); in LowerReturn_32()
322 Chain = DAG.getCopyToReg(Chain, DL, SP::I0, Val, Glue); in LowerReturn_32()
323 Glue = Chain.getValue(1); in LowerReturn_32()
332 if (Glue.getNode()) in LowerReturn_32()
333 RetOps.push_back(Glue); in LowerReturn_32()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp555 SDValue Glue; in LowerReturn() local
563 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVals[i], Glue); in LowerReturn()
566 Glue = Chain.getValue(1); in LowerReturn()
583 Chain = DAG.getCopyToReg(Chain, DL, Lanai::RV, Val, Glue); in LowerReturn()
584 Glue = Chain.getValue(1); in LowerReturn()
592 if (Glue.getNode()) in LowerReturn()
593 RetOps.push_back(Glue); in LowerReturn()
739 SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue); in LowerCCCCallTo()
878 SDValue Glue = in LowerBR_CC() local
879 DAG.getNode(LanaiISD::SET_FLAG, DL, MVT::Glue, LHS, RHS, TargetCC); in LowerBR_CC()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp662 Cmp = DAG.getNode(AVRISD::CMP, DL, MVT::Glue, LHSlo, RHSlo); in getAVRCmp()
663 Cmp = DAG.getNode(AVRISD::CMPC, DL, MVT::Glue, LHShi, RHShi, Cmp); in getAVRCmp()
680 Cmp = DAG.getNode(AVRISD::CMP, DL, MVT::Glue, LHSlo, RHSlo); in getAVRCmp()
681 Cmp = DAG.getNode(AVRISD::CMPC, DL, MVT::Glue, LHShi, RHShi, Cmp); in getAVRCmp()
684 Cmp = DAG.getNode(AVRISD::CMP, DL, MVT::Glue, LHS, RHS); in getAVRCmp()
800 Cmp = DAG.getNode(AVRISD::TST, DL, MVT::Glue, Top); in getAVRCmp()
803 Cmp = DAG.getNode(AVRISD::CMPC, DL, MVT::Glue, LHShi, RHShi, Cmp); in getAVRCmp()
838 Cmp = DAG.getNode(AVRISD::TST, DL, MVT::Glue, Top); in getAVRCmp()
841 Cmp = DAG.getNode(AVRISD::CMPC, DL, MVT::Glue, LHS1, RHS1, Cmp); in getAVRCmp()
842 Cmp = DAG.getNode(AVRISD::CMPC, DL, MVT::Glue, LHS2, RHS2, Cmp); in getAVRCmp()
[all …]
H A DAVRISelDAGToDAG.cpp468 if (N->getOperand(LastOpNum).getValueType() == MVT::Glue) { in select()
487 MVT::Glue, Ops); in select()
522 SDNode *Mul = CurDAG->getMachineNode(MachineOp, DL, MVT::Glue, Lhs, Rhs); in selectMultiplication()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp219 SDValue Glue; in LowerReturn() local
247 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), Val, Glue); in LowerReturn()
250 Glue = Chain.getValue(1); in LowerReturn()
257 if (Glue.getNode()) in LowerReturn()
258 RetOps.push_back(Glue); in LowerReturn()
350 SDValue Chain, SDValue Glue, CallingConv::ID CallConv, bool IsVarArg, in LowerCallResult() argument
376 MVT::i32, Glue); in LowerCallResult()
386 Glue = TPR.getValue(1); in LowerCallResult()
390 RVLocs[i].getValVT(), Glue); in LowerCallResult()
391 Glue = RetVal.getValue(2); in LowerCallResult()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFSelectionDAGInfo.cpp35 SDVTList VTs = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemcpy()
H A DBPFISelLowering.cpp506 SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue); in LowerCall()
557 SDValue Glue; in LowerReturn() local
566 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVals[i], Glue); in LowerReturn()
570 Glue = Chain.getValue(1); in LowerReturn()
577 if (Glue.getNode()) in LowerReturn()
578 RetOps.push_back(Glue); in LowerReturn()
669 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue); in LowerSELECT_CC()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h795 SDValue Glue) {
796 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
797 SDValue Ops[] = { Chain, getRegister(Reg, N.getValueType()), N, Glue };
799 ArrayRef(Ops, Glue.getNode() ? 4 : 3));
804 SDValue Glue) {
805 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
806 SDValue Ops[] = { Chain, Reg, N, Glue };
808 ArrayRef(Ops, Glue.getNode() ? 4 : 3));
821 SDValue Glue) {
822 SDVTList VTs = getVTList(VT, MVT::Other, MVT::Glue);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp48 SDNode *Mul = CurDAG->getMachineNode(Opc, DL, MVT::Glue, N->getOperand(0), in selectMULT()
54 Lo = CurDAG->getMachineNode(Opcode, DL, Ty, MVT::Glue, InGlue); in selectMULT()
H A DMipsSEISelDAGToDAG.cpp216 CurDAG->SelectNodeTo(Node, Mips::ADDWC, VT, MVT::Glue, Ops); in selectAddE()
239 MVT::Glue, CstOne, InGlue); in selectAddE()
260 SDNode *WrDSP = CurDAG->getMachineNode(Mips::WRDSP, DL, MVT::Glue, in selectAddE()
264 CurDAG->SelectNodeTo(Node, Mips::ADDWC, VT, MVT::Glue, Operands); in selectAddE()
1058 CurDAG->getMachineNode(RdhwrOpc, DL, Node->getValueType(0), MVT::Glue, in trySelect()
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dkeystone-usb-phy.txt12 phy node in the USB Glue layer driver node.
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp298 SDValue Glue; in addVectorLoadStoreOperands() local
312 Glue = Chain.getValue(1); in addVectorLoadStoreOperands()
335 if (Glue) in addVectorLoadStoreOperands()
336 Operands.push_back(Glue); in addVectorLoadStoreOperands()
1754 SDValue Glue = Chain.getValue(1); in Select() local
1764 {MaskedOff, Src1, Src2, V0, VL, SEW, Glue}), in Select()
3628 if (I == MaskOpIdx || Op.getValueType() == MVT::Glue) in doPeepholeMaskedRVV()
3702 SDValue Merge, False, True, VL, Mask, Glue; in performCombineVMergeAndVOps() local
3719 Glue = N->getOperand(N->getNumOperands() - 1); in performCombineVMergeAndVOps()
3722 assert(!Glue || Glue.getValueType() == MVT::Glue); in performCombineVMergeAndVOps()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp757 SDValue Glue; in LowerReturn() local
766 OutVals[i], Glue); in LowerReturn()
770 Glue = Chain.getValue(1); in LowerReturn()
786 Chain = DAG.getCopyToReg(Chain, dl, R12, Val, Glue); in LowerReturn()
787 Glue = Chain.getValue(1); in LowerReturn()
797 if (Glue.getNode()) in LowerReturn()
798 RetOps.push_back(Glue); in LowerReturn()
905 SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue); in LowerCCCCallTo()
1124 return DAG.getNode(MSP430ISD::CMP, dl, MVT::Glue, LHS, RHS); in EmitCMP()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp129 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset()
172 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in emitRepmovs()

123