Home
last modified time | relevance | path

Searched refs:SDNode (Results 1 – 25 of 176) sorted by relevance

12345678

/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.h144 SmallVector<SDNode*, 128> Worklist;
184 void NoteDeletion(SDNode *Old, SDNode *New) { in NoteDeletion()
209 SDNode *AnalyzeNewNode(SDNode *N);
241 void AddToWorklist(SDNode *N) { in AddToWorklist()
334 SDValue PromoteIntRes_SHL(SDNode *N);
339 SDValue PromoteIntRes_SRA(SDNode *N);
340 SDValue PromoteIntRes_SRL(SDNode *N);
796 SDValue WidenVecRes_LOAD(SDNode* N);
813 SDValue WidenVecRes_POWI(SDNode *N);
825 SDValue WidenVecOp_STORE(SDNode* N);
[all …]
H A DSelectionDAGPrinter.cpp42 return ((const SDNode *) Node)->getNumValues(); in numEdgeDestLabels()
67 SDNode *TargetNode = *I; in getEdgeTarget()
81 static std::string getNodeIdentifierLabel(const SDNode *Node, in getNodeIdentifierLabel()
108 static std::string getSimpleNodeLabel(const SDNode *Node, in getSimpleNodeLabel()
118 static std::string getNodeAttributes(const SDNode *N, in getNodeAttributes()
196 std::map<const SDNode *, std::string>::const_iterator I = in getGraphAttrs()
224 bool SelectionDAG::setSubgraphColorHelper(SDNode *N, const char *Color, DenseSet<SDNode *> &visited, in setSubgraphColorHelper()
258 DenseSet<SDNode *> visited; in setSubgraphColor()
280 SmallVector<SDNode *, 4> GluedNodes; in getGraphNodeLabel()
281 for (SDNode *N = SU->getNode(); N; N = N->getGluedNode()) in getGraphNodeLabel()
[all …]
H A DInstrEmitter.h41 void EmitCopyFromReg(SDNode *Node, unsigned ResNo,
48 unsigned getDstOfOnlyCopyToRegUse(SDNode *Node,
51 void CreateVirtualRegisters(SDNode *Node,
91 void EmitSubregNode(SDNode *Node, DenseMap<SDValue, unsigned> &VRBaseMap,
98 void EmitCopyToRegClassNode(SDNode *Node,
103 void EmitRegSequence(SDNode *Node, DenseMap<SDValue, unsigned> &VRBaseMap,
109 static unsigned CountResults(SDNode *Node);
121 void EmitNode(SDNode *Node, bool IsClone, bool IsCloned, in EmitNode()
140 void EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned,
142 void EmitSpecialNode(SDNode *Node, bool IsClone, bool IsCloned,
H A DScheduleDAGSDNodes.cpp111 static void CheckForPhysRegDependency(SDNode *Def, SDNode *User, unsigned Op, in CheckForPhysRegDependency()
202 SDNode *Chain = nullptr; in ClusterNeighboringLoads()
215 SDNode *Base = Node; in ClusterNeighboringLoads()
221 SDNode *User = *I; in ClusterNeighboringLoads()
248 SmallVector<SDNode*, 4> Loads; in ClusterNeighboringLoads()
267 SDNode *Lead = Loads[0]; in ClusterNeighboringLoads()
273 SDNode *Load = Loads[I]; in ClusterNeighboringLoads()
292 SDNode *Node = &NI; in ClusterNodes()
349 SDNode *N = NI; in BuildSchedUnits()
591 SDNode *N = SU->getNode(); in computeLatency()
[all …]
H A DLegalizeFloatTypes.cpp1167 void DAGTypeLegalizer::ExpandFloatRes_FCEIL(SDNode *N, in ExpandFloatRes_FCEIL()
1189 void DAGTypeLegalizer::ExpandFloatRes_FCOS(SDNode *N, in ExpandFloatRes_FCOS()
1213 void DAGTypeLegalizer::ExpandFloatRes_FEXP(SDNode *N, in ExpandFloatRes_FEXP()
1223 void DAGTypeLegalizer::ExpandFloatRes_FEXP2(SDNode *N, in ExpandFloatRes_FEXP2()
1243 void DAGTypeLegalizer::ExpandFloatRes_FLOG(SDNode *N, in ExpandFloatRes_FLOG()
1253 void DAGTypeLegalizer::ExpandFloatRes_FLOG2(SDNode *N, in ExpandFloatRes_FLOG2()
1330 void DAGTypeLegalizer::ExpandFloatRes_FPOW(SDNode *N, in ExpandFloatRes_FPOW()
1340 void DAGTypeLegalizer::ExpandFloatRes_FPOWI(SDNode *N, in ExpandFloatRes_FPOWI()
1350 void DAGTypeLegalizer::ExpandFloatRes_FREM(SDNode *N, in ExpandFloatRes_FREM()
1360 void DAGTypeLegalizer::ExpandFloatRes_FRINT(SDNode *N, in ExpandFloatRes_FRINT()
[all …]
H A DScheduleDAGFast.cpp215 SDNode *N = SU->getNode(); in CopyAndMoveSuccessors()
653 std::vector<SDNode*> Sequence;
654 DenseMap<SDNode*, SDNode*> GluedMap; // Cache glue to its user
656 void ScheduleNode(SDNode *N);
675 SDNode *GluedOpN = nullptr; in ScheduleNode()
678 SDNode *OpN = Op.getNode(); in ScheduleNode()
693 DenseMap<SDNode*, SDNode*>::iterator DI = GluedMap.find(OpN); in ScheduleNode()
709 static SDNode *findGluedUser(SDNode *N) { in findGluedUser()
718 SmallVector<SDNode*, 8> Glues; in Schedule()
721 SDNode *N = &Node; in Schedule()
[all …]
H A DScheduleDAGSDNodes.h65 static bool isPassiveNode(SDNode *Node) { in isPassiveNode()
86 SUnit *newSUnit(SDNode *N);
107 virtual void computeOperandLatency(SDNode *Def, SDNode *Use,
140 const SDNode *Node;
155 const SDNode *GetNode() const { in GetNode()
178 void ClusterNeighboringLoads(SDNode *Node);
H A DLegalizeTypes.cpp77 SmallVector<SDNode*, 16> NewNodes; in PerformExpensiveChecks()
78 for (SDNode &Node : DAG.allnodes()) { in PerformExpensiveChecks()
185 SDNode *N = NewNodes[i]; in PerformExpensiveChecks()
211 for (SDNode &Node : DAG.allnodes()) { in run()
226 SDNode *N = Worklist.back(); in run()
357 SDNode *M = AnalyzeNewNode(N); in run()
390 SDNode *User = *UI; in run()
439 for (SDNode &Node : DAG.allnodes()) { in run()
493 SDNode *DAGTypeLegalizer::AnalyzeNewNode(SDNode *N) { in AnalyzeNewNode()
602 void NodeDeleted(SDNode *N, SDNode *E) override { in NodeDeleted()
[all …]
H A DDAGCombiner.cpp270 void ReplaceLoadWithPromotedLoad(SDNode *Load, SDNode *ExtLoad);
640 void NodeDeleted(SDNode *N, SDNode *E) override { in NodeDeleted()
1072 void DAGCombiner::ReplaceLoadWithPromotedLoad(SDNode *Load, SDNode *ExtLoad) { in ReplaceLoadWithPromotedLoad()
1397 SDNode *N; in Run()
3137 SDNode *User = *UI; in useDivRem()
9965 static SDNode *getBuildPairElt(SDNode *N, unsigned i) { in getBuildPairElt()
12538 static bool canFoldInAddressingMode(SDNode *N, SDNode *Use, in canFoldInAddressingMode()
13327 SDNode *Inst;
13854 static SDNode *
14118 SDNode *OtherOp; in isMulAddWithConstProfitable()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.h84 SDNode *StoreInstrForLoadIntrinsic(MachineSDNode *LoadN, SDNode *IntN);
95 void SelectLoad(SDNode *N);
98 void SelectStore(SDNode *N);
99 void SelectSHL(SDNode *N);
109 void SelectVAlign(SDNode *N);
112 void SelectP2D(SDNode *N);
113 void SelectD2P(SDNode *N);
114 void SelectQ2V(SDNode *N);
115 void SelectV2Q(SDNode *N);
151 int getWeight(SDNode *N);
[all …]
H A DHexagonISelDAGToDAG.cpp218 SDNode *IntN) { in StoreInstrForLoadIntrinsic()
239 SDNode *StoreN; in StoreInstrForLoadIntrinsic()
273 SDNode *C = Ch.getNode(); in tryLoadOfLoadIntrinsic()
742 SDNode *R = nullptr; in SelectFrameIndex()
930 static bool isMemOPCandidate(SDNode *I, SDNode *U) { in isMemOPCandidate()
960 SDNode *SYNode = SY.getNode(); in isMemOPCandidate()
1088 for (SDNode *N : Nodes) { in ppAddrRewriteAndSrl()
1153 for (SDNode *N : Nodes) { in ppHoistZextI1()
1162 SDNode *U = *I; in ppHoistZextI1()
1206 std::vector<SDNode*> T; in PreprocessISelDAG()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstrInfo.td83 def callseq_start : SDNode<"ISD::CALLSEQ_START",
88 def callseq_end : SDNode<"ISD::CALLSEQ_END",
93 def AMDGPUcall : SDNode<"AMDGPUISD::CALL",
103 def AMDGPUtrap : SDNode<"AMDGPUISD::TRAP",
108 def AMDGPUconstdata_ptr : SDNode<
290 def AMDGPUround : SDNode<"ISD::FROUND",
336 def AMDGPUfdot2 : SDNode<"AMDGPUISD::FDOT2",
344 def AMDGPUinit_exec : SDNode<"AMDGPUISD::INIT_EXEC",
353 def AMDGPUsendmsg : SDNode<"AMDGPUISD::SENDMSG",
365 def AMDGPUinterp_p1 : SDNode<"AMDGPUISD::INTERP_P1",
[all …]
H A DSIISelLowering.h127 SDValue performUCharToFloatCombine(SDNode *N,
129 SDValue performSHLPtrCombine(SDNode *N,
140 SDValue performAndCombine(SDNode *N, DAGCombinerInfo &DCI) const;
141 SDValue performOrCombine(SDNode *N, DAGCombinerInfo &DCI) const;
142 SDValue performXorCombine(SDNode *N, DAGCombinerInfo &DCI) const;
160 const SDNode *N0, const SDNode *N1) const;
175 unsigned isCFIntrinsic(const SDNode *Intr) const;
232 bool isMemOpUniform(const SDNode *N) const;
233 bool isMemOpHasNoClobberedMemOperand(const SDNode *N) const;
323 SDNode *legalizeTargetIndependentNode(SDNode *Node, SelectionDAG &DAG) const;
[all …]
H A DAMDGPUISelLowering.h79 SDValue performLoadCombine(SDNode *N, DAGCombinerInfo &DCI) const;
86 SDValue performShlCombine(SDNode *N, DAGCombinerInfo &DCI) const;
87 SDValue performSraCombine(SDNode *N, DAGCombinerInfo &DCI) const;
88 SDValue performSrlCombine(SDNode *N, DAGCombinerInfo &DCI) const;
90 SDValue performMulCombine(SDNode *N, DAGCombinerInfo &DCI) const;
101 SDValue performRcpCombine(SDNode *N, DAGCombinerInfo &DCI) const;
149 static bool allUsesHaveSourceMods(const SDNode *N,
167 bool shouldReduceLoadWidth(SDNode *Load,
180 bool isSDNodeAlwaysUniform(const SDNode *N) const override;
205 void ReplaceNodeResults(SDNode * N,
[all …]
H A DAMDGPUISelDAGToDAG.cpp93 void Select(SDNode *N) override;
110 SDNode *glueCopyToM0(SDNode *N) const;
200 void SelectDIV_SCALE(SDNode *N);
208 void SelectS_BFE(SDNode *N);
210 void SelectBRCOND(SDNode *N);
211 void SelectFMAD_FMA(SDNode *N);
343 SDNode *AMDGPUDAGToDAGISel::glueCopyToM0(SDNode *N) const { in glueCopyToM0()
371 SDNode *Hi = in buildSMovImm64()
732 SDNode *AddLo; in SelectADD_SUB_I64()
2063 for (SDNode::use_iterator U = N->use_begin(), E = SDNode::use_end(); in isVGPRImm()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.h58 void Select(SDNode *N) override;
62 bool tryLoad(SDNode *N);
63 bool tryLoadVector(SDNode *N);
64 bool tryLDGLDU(SDNode *N);
65 bool tryStore(SDNode *N);
66 bool tryStoreVector(SDNode *N);
67 bool tryLoadParam(SDNode *N);
68 bool tryStoreRetval(SDNode *N);
69 bool tryStoreParam(SDNode *N);
73 bool tryBFE(SDNode *N);
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrFragmentsSIMD.td66 def X86pshufb : SDNode<"X86ISD::PSHUFB",
69 def X86psadbw : SDNode<"X86ISD::PSADBW",
79 def X86andnp : SDNode<"X86ISD::ANDNP",
85 def X86pextrb : SDNode<"X86ISD::PEXTRB",
88 def X86pextrw : SDNode<"X86ISD::PEXTRW",
91 def X86pinsrb : SDNode<"X86ISD::PINSRB",
94 def X86pinsrw : SDNode<"X86ISD::PINSRW",
123 def X86vfpext : SDNode<"X86ISD::VFPEXT",
226 def X86vpcom : SDNode<"X86ISD::VPCOM",
241 def X86vpperm : SDNode<"X86ISD::VPPERM",
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAGISel.h88 virtual void Select(SDNode *N) = 0;
103 virtual bool IsProfitableToFold(SDValue N, SDNode *U, SDNode *Root) const;
109 static bool IsLegalToFold(SDValue N, SDNode *U, SDNode *Root,
221 void ReplaceUses(SDNode *F, SDNode *T) { in ReplaceUses()
227 void ReplaceNode(SDNode *F, SDNode *T) { in ReplaceNode()
277 SDNode *N, unsigned PredNo, in CheckNodePredicateWithOperands()
282 virtual bool CheckComplexPattern(SDNode *Root, SDNode *Parent, SDValue N, in CheckComplexPattern()
309 void Select_UNDEF(SDNode *N);
310 void CannotYetSelect(SDNode *N);
314 SDNode *MorphNode(SDNode *Node, unsigned TargetOpc, SDVTList VTList,
[all …]
H A DSelectionDAGNodes.h66 class SDNode; variable
240 using SimpleType = SDNode *;
263 SDNode *User = nullptr;
311 friend class SDNode;
343 using SimpleType = SDNode *;
482 class SDNode : public FoldingSetNode, public ilist_node<SDNode> {
493 friend class SDNode;
737 friend class SDNode;
896 static bool areOnlyUsersOf(ArrayRef<const SDNode *> Nodes, const SDNode *N);
2349 const SDNode *Node;
[all …]
H A DSelectionDAG.h297 virtual void NodeDeleted(SDNode *N, SDNode *E);
304 std::function<void(SDNode *, SDNode *)> Callback;
1147 SDNode *UpdateNodeOperands(SDNode *N, SDValue Op);
1171 SDNode *SelectNodeTo(SDNode *N, unsigned MachineOpc, EVT VT,
1173 SDNode *SelectNodeTo(SDNode *N, unsigned MachineOpc, EVT VT,
1175 SDNode *SelectNodeTo(SDNode *N, unsigned MachineOpc, EVT VT,
1182 SDNode *SelectNodeTo(SDNode *N, unsigned TargetOpc, EVT VT1,
1191 SDNode *MorphNodeTo(SDNode *N, unsigned Opc, SDVTList VTs,
1197 SDNode *mutateStrictFPToFP(SDNode *Node);
1298 void ReplaceAllUsesWith(SDNode *From, SDNode *To);
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td287 class SDNode<string opcode, SDTypeProfile typeprof,
470 def catchpad : SDNode<"ISD::CATCHPAD" , SDTNone,
473 def trap : SDNode<"ISD::TRAP" , SDTNone,
544 def concat_vectors : SDNode<"ISD::CONCAT_VECTORS",
559 def intrinsic_void : SDNode<"ISD::INTRINSIC_VOID",
595 class SDNodeXForm<SDNode opc, code xformFunction> {
596 SDNode Opcode = opc;
734 SDNode ImmNode = imm>
1222 multiclass binary_atomic_op<SDNode atomic_op> {
1250 multiclass ternary_atomic_op<SDNode atomic_op> {
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZOperators.td251 def z_pcrel_offset : SDNode<"SystemZISD::PCREL_OFFSET",
259 def z_select_ccmask_1 : SDNode<"SystemZISD::SELECT_CCMASK",
278 def z_loadbswap : SDNode<"SystemZISD::LRV", SDTLoad,
280 def z_storebswap : SDNode<"SystemZISD::STRV", SDTStore,
286 def z_vector_insert : SDNode<"ISD::INSERT_VECTOR_ELT",
288 def z_vector_extract : SDNode<"ISD::EXTRACT_VECTOR_ELT",
337 def z_vstrc_cc : SDNode<"SystemZISD::VSTRC_CC",
339 def z_vstrcz_cc : SDNode<"SystemZISD::VSTRCZ_CC",
344 : SDNode<"SystemZISD::"##name, profile,
416 def z_vshl : SDNode<"ISD::SHL", SDT_ZVecBinary>;
[all …]
H A DSystemZISelLowering.h586 SDValue combineZERO_EXTEND(SDNode *N, DAGCombinerInfo &DCI) const;
587 SDValue combineSIGN_EXTEND(SDNode *N, DAGCombinerInfo &DCI) const;
589 SDValue combineMERGE(SDNode *N, DAGCombinerInfo &DCI) const;
590 SDValue combineLOAD(SDNode *N, DAGCombinerInfo &DCI) const;
591 SDValue combineSTORE(SDNode *N, DAGCombinerInfo &DCI) const;
594 SDValue combineFP_ROUND(SDNode *N, DAGCombinerInfo &DCI) const;
595 SDValue combineFP_EXTEND(SDNode *N, DAGCombinerInfo &DCI) const;
596 SDValue combineBSWAP(SDNode *N, DAGCombinerInfo &DCI) const;
597 SDValue combineBR_CCMASK(SDNode *N, DAGCombinerInfo &DCI) const;
599 SDValue combineGET_CCMASK(SDNode *N, DAGCombinerInfo &DCI) const;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AVR/
H A DAVRISelDAGToDAG.cpp41 bool selectIndexedLoad(SDNode *N);
51 void Select(SDNode *N) override;
52 bool trySelect(SDNode *N);
54 template <unsigned NodeType> bool select(SDNode *N);
55 bool selectMultiplication(SDNode *N);
122 bool AVRDAGToDAGISel::selectIndexedLoad(SDNode *N) { in selectIndexedLoad()
375 SDNode *ResNode; in select()
447 SDNode *ResNode = in select()
472 bool AVRDAGToDAGISel::selectMultiplication(llvm::SDNode *N) { in selectMultiplication()
517 void AVRDAGToDAGISel::Select(SDNode *N) { in Select()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h534 int isVSLDOIShuffleMask(SDNode *N, unsigned ShuffleKind,
564 int isQVALIGNIShuffleMask(SDNode *N);
651 bool getPreIndexedAddressParts(SDNode *N, SDValue &Base,
1119 SDValue combineSHL(SDNode *N, DAGCombinerInfo &DCI) const;
1120 SDValue combineSRA(SDNode *N, DAGCombinerInfo &DCI) const;
1121 SDValue combineSRL(SDNode *N, DAGCombinerInfo &DCI) const;
1122 SDValue combineADD(SDNode *N, DAGCombinerInfo &DCI) const;
1124 SDValue combineSetCC(SDNode *N, DAGCombinerInfo &DCI) const;
1125 SDValue combineABS(SDNode *N, DAGCombinerInfo &DCI) const;
1143 combineElementTruncationToVectorTruncation(SDNode *N,
[all …]

12345678