Home
last modified time | relevance | path

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

12345678

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h81 bool IgnoreNodeResults(SDNode *N) const { in IgnoreNodeResults()
134 SmallVector<SDNode*, 128> Worklist;
174 void NoteDeletion(SDNode *Old, SDNode *New) { in NoteDeletion()
199 SDNode *AnalyzeNewNode(SDNode *N);
209 bool CustomLowerNode(SDNode *N, EVT VT, bool LegalizeResult);
210 bool CustomWidenLowerNode(SDNode *N, EVT VT);
215 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
219 std::pair<SDValue, SDValue> ExpandAtomic(SDNode *Node);
281 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
282 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
[all …]
DSelectionDAGPrinter.cpp41 return ((const SDNode *) Node)->getNumValues(); in numEdgeDestLabels()
45 return ((const SDNode *) Node)->getValueType(i).getEVTString(); in getEdgeDestLabel()
50 return itostr(I - SDNodeIterator::begin((const SDNode *) Node)); in getEdgeSourceLabel()
66 SDNode *TargetNode = *I; in getEdgeTarget()
80 static std::string getNodeIdentifierLabel(const SDNode *Node, in getNodeIdentifierLabel()
107 static std::string getSimpleNodeLabel(const SDNode *Node, in getSimpleNodeLabel()
116 std::string getNodeLabel(const SDNode *Node, const SelectionDAG *Graph);
117 static std::string getNodeAttributes(const SDNode *N, in getNodeAttributes()
141 std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node, in getNodeLabel()
181 void SelectionDAG::setGraphAttrs(const SDNode *N, const char *Attrs) { in setGraphAttrs()
[all …]
DInstrEmitter.h40 void EmitCopyFromReg(SDNode *Node, unsigned ResNo,
45 void CreateVirtualRegisters(SDNode *Node,
85 void EmitSubregNode(SDNode *Node, DenseMap<SDValue, unsigned> &VRBaseMap,
92 void EmitCopyToRegClassNode(SDNode *Node,
97 void EmitRegSequence(SDNode *Node, DenseMap<SDValue, unsigned> &VRBaseMap,
103 static unsigned CountResults(SDNode *Node);
115 void EmitNode(SDNode *Node, bool IsClone, bool IsCloned, in EmitNode()
134 void EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned,
136 void EmitSpecialNode(SDNode *Node, bool IsClone, bool IsCloned,
DScheduleDAGSDNodes.cpp68 SUnit *ScheduleDAGSDNodes::newSUnit(SDNode *N) { in newSUnit()
110 static void CheckForPhysRegDependency(SDNode *Def, SDNode *User, unsigned Op, in CheckForPhysRegDependency()
140 static void CloneNodeWithValues(SDNode *N, SelectionDAG *DAG, ArrayRef<EVT> VTs, in CloneNodeWithValues()
161 static bool AddGlue(SDNode *N, SDValue Glue, bool AddGlue, SelectionDAG *DAG) { in AddGlue()
162 SDNode *GlueDestNode = Glue.getNode(); in AddGlue()
186 static void RemoveUnusedGlue(SDNode *N, SelectionDAG *DAG) { in RemoveUnusedGlue()
200 void ScheduleDAGSDNodes::ClusterNeighboringLoads(SDNode *Node) { in ClusterNeighboringLoads()
201 SDNode *Chain = nullptr; in ClusterNeighboringLoads()
211 auto hasTiedInput = [this](const SDNode *N) { in ClusterNeighboringLoads()
223 SmallPtrSet<SDNode*, 16> Visited; in ClusterNeighboringLoads()
[all …]
DLegalizeFloatTypes.cpp48 void DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) { in SoftenFloatResult()
143 SDValue DAGTypeLegalizer::SoftenFloatRes_Unary(SDNode *N, RTLIB::Libcall LC) { in SoftenFloatRes_Unary()
162 SDValue DAGTypeLegalizer::SoftenFloatRes_Binary(SDNode *N, RTLIB::Libcall LC) { in SoftenFloatRes_Binary()
183 SDValue DAGTypeLegalizer::SoftenFloatRes_BITCAST(SDNode *N) { in SoftenFloatRes_BITCAST()
187 SDValue DAGTypeLegalizer::SoftenFloatRes_MERGE_VALUES(SDNode *N, in SoftenFloatRes_MERGE_VALUES()
193 SDValue DAGTypeLegalizer::SoftenFloatRes_BUILD_PAIR(SDNode *N) { in SoftenFloatRes_BUILD_PAIR()
202 SDValue DAGTypeLegalizer::SoftenFloatRes_ConstantFP(SDNode *N) { in SoftenFloatRes_ConstantFP()
226 SDValue DAGTypeLegalizer::SoftenFloatRes_EXTRACT_VECTOR_ELT(SDNode *N, unsigned ResNo) { in SoftenFloatRes_EXTRACT_VECTOR_ELT()
233 SDValue DAGTypeLegalizer::SoftenFloatRes_FABS(SDNode *N) { in SoftenFloatRes_FABS()
245 SDValue DAGTypeLegalizer::SoftenFloatRes_FMINNUM(SDNode *N) { in SoftenFloatRes_FMINNUM()
[all …]
DScheduleDAGFast.cpp214 SDNode *N = SU->getNode(); in CopyAndMoveSuccessors()
234 SmallVector<SDNode*, 2> NewNodes; in CopyAndMoveSuccessors()
242 SDNode *LoadNode = NewNodes[0]; in CopyAndMoveSuccessors()
384 SUnit *CopyFromSU = newSUnit(static_cast<SDNode *>(nullptr)); in InsertCopiesAndMoveSuccs()
388 SUnit *CopyToSU = newSUnit(static_cast<SDNode *>(nullptr)); in InsertCopiesAndMoveSuccs()
425 static MVT getPhysicalRegisterVT(SDNode *N, unsigned Reg, in getPhysicalRegisterVT()
481 for (SDNode *Node = SU->getNode(); Node; Node = Node->getGluedNode()) { in DelayForLiveRegsBottomUp()
653 std::vector<SDNode*> Sequence;
654 DenseMap<SDNode*, SDNode*> GluedMap; // Cache glue to its user
656 void ScheduleNode(SDNode *N);
[all …]
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);
DLegalizeVectorOps.cpp78 SDValue TranslateLegalizeResults(SDValue Op, SDNode *Result);
88 bool LowerOperationWrapper(SDNode *N, SmallVectorImpl<SDValue> &Results);
91 SDValue UnrollVSETCC(SDNode *Node);
97 void Expand(SDNode *Node, SmallVectorImpl<SDValue> &Results);
101 void ExpandFP_TO_UINT(SDNode *Node, SmallVectorImpl<SDValue> &Results);
105 void ExpandUINT_TO_FLOAT(SDNode *Node, SmallVectorImpl<SDValue> &Results);
108 SDValue ExpandSEXTINREG(SDNode *Node);
115 SDValue ExpandANY_EXTEND_VECTOR_INREG(SDNode *Node);
122 SDValue ExpandSIGN_EXTEND_VECTOR_INREG(SDNode *Node);
128 SDValue ExpandZERO_EXTEND_VECTOR_INREG(SDNode *Node);
[all …]
DLegalizeTypes.cpp76 SmallVector<SDNode*, 16> NewNodes; in PerformExpensiveChecks()
77 for (SDNode &Node : DAG.allnodes()) { in PerformExpensiveChecks()
92 for (SDNode::use_iterator UI = Node.use_begin(), UE = Node.use_end(); in PerformExpensiveChecks()
179 SDNode *N = NewNodes[i]; in PerformExpensiveChecks()
180 for (SDNode::use_iterator UI = N->use_begin(), UE = N->use_end(); in PerformExpensiveChecks()
205 for (SDNode &Node : DAG.allnodes()) { in run()
221 SDNode *N = Worklist.back(); in run()
348 SDNode *M = AnalyzeNewNode(N); in run()
379 for (SDNode::use_iterator UI = N->use_begin(), E = N->use_end(); in run()
381 SDNode *User = *UI; in run()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.h56 void Select(SDNode *N) override;
80 MachineSDNode *LoadInstrForLoadIntrinsic(SDNode *IntN);
84 SDNode *StoreInstrForLoadIntrinsic(MachineSDNode *LoadN, SDNode *IntN);
86 void SelectFrameIndex(SDNode *N);
93 bool SelectBrevLdIntrinsic(SDNode *IntN);
94 bool SelectNewCircIntrinsic(SDNode *IntN);
95 void SelectLoad(SDNode *N);
98 void SelectStore(SDNode *N);
99 void SelectSHL(SDNode *N);
100 void SelectZeroExtend(SDNode *N);
[all …]
DHexagonISelDAGToDAG.cpp186 MachineSDNode *HexagonDAGToDAGISel::LoadInstrForLoadIntrinsic(SDNode *IntN) { in LoadInstrForLoadIntrinsic()
217 SDNode *HexagonDAGToDAGISel::StoreInstrForLoadIntrinsic(MachineSDNode *LoadN, in StoreInstrForLoadIntrinsic()
218 SDNode *IntN) { in StoreInstrForLoadIntrinsic()
239 SDNode *StoreN; in StoreInstrForLoadIntrinsic()
273 SDNode *C = Ch.getNode(); in tryLoadOfLoadIntrinsic()
305 SDNode *S = StoreInstrForLoadIntrinsic(L, C); in tryLoadOfLoadIntrinsic()
319 bool HexagonDAGToDAGISel::SelectBrevLdIntrinsic(SDNode *IntN) { in SelectBrevLdIntrinsic()
360 bool HexagonDAGToDAGISel::SelectNewCircIntrinsic(SDNode *IntN) { in SelectNewCircIntrinsic()
446 void HexagonDAGToDAGISel::SelectLoad(SDNode *N) { in SelectLoad()
555 void HexagonDAGToDAGISel::SelectStore(SDNode *N) { in SelectStore()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.h58 void Select(SDNode *N) override;
59 bool tryIntrinsicNoChain(SDNode *N);
60 bool tryIntrinsicChain(SDNode *N);
61 void SelectTexSurfHandle(SDNode *N);
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);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrFragmentsSIMD.td18 def MMX_X86movd2w : SDNode<"X86ISD::MMX_MOVD2W", SDTypeProfile<1, 1,
21 def MMX_X86movw2d : SDNode<"X86ISD::MMX_MOVW2D", SDTypeProfile<1, 1,
38 def X86fmin : SDNode<"X86ISD::FMIN", SDTFPBinOp>;
39 def X86fmax : SDNode<"X86ISD::FMAX", SDTFPBinOp>;
40 def X86fmins : SDNode<"X86ISD::FMINS", SDTFPBinOp>;
41 def X86fmaxs : SDNode<"X86ISD::FMAXS", SDTFPBinOp>;
44 def X86fminc : SDNode<"X86ISD::FMINC", SDTFPBinOp,
46 def X86fmaxc : SDNode<"X86ISD::FMAXC", SDTFPBinOp,
49 def X86fand : SDNode<"X86ISD::FAND", SDTFPBinOp,
51 def X86for : SDNode<"X86ISD::FOR", SDTFPBinOp,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.td72 def AMDGPUif : SDNode<"AMDGPUISD::IF", AMDGPUIfOp, [SDNPHasChain]>;
73 def AMDGPUelse : SDNode<"AMDGPUISD::ELSE", AMDGPUElseOp, [SDNPHasChain]>;
74 def AMDGPUloop : SDNode<"AMDGPUISD::LOOP", AMDGPULoopOp, [SDNPHasChain]>;
76 def callseq_start : SDNode<"ISD::CALLSEQ_START",
81 def callseq_end : SDNode<"ISD::CALLSEQ_END",
86 def AMDGPUcall : SDNode<"AMDGPUISD::CALL",
92 def AMDGPUtc_return: SDNode<"AMDGPUISD::TC_RETURN",
97 def AMDGPUtrap : SDNode<"AMDGPUISD::TRAP",
102 def AMDGPUconstdata_ptr : SDNode<
108 def AMDGPUdwordaddr : SDNode<"AMDGPUISD::DWORDADDR", SDTIntUnaryOp>;
[all …]
DSIISelLowering.h135 SDNode *adjustWritemask(MachineSDNode *&N, SelectionDAG &DAG) const;
137 SDValue performUCharToFloatCombine(SDNode *N,
139 SDValue performSHLPtrCombine(SDNode *N,
150 SDValue performAndCombine(SDNode *N, DAGCombinerInfo &DCI) const;
151 SDValue performOrCombine(SDNode *N, DAGCombinerInfo &DCI) const;
152 SDValue performXorCombine(SDNode *N, DAGCombinerInfo &DCI) const;
153 SDValue performZeroExtendCombine(SDNode *N, DAGCombinerInfo &DCI) const;
154 SDValue performSignExtendInRegCombine(SDNode *N, DAGCombinerInfo &DCI) const;
155 SDValue performClassCombine(SDNode *N, DAGCombinerInfo &DCI) const;
158 SDValue performFCanonicalizeCombine(SDNode *N, DAGCombinerInfo &DCI) const;
[all …]
DAMDGPUISelLowering.h79 SDValue performLoadCombine(SDNode *N, DAGCombinerInfo &DCI) const;
80 SDValue performStoreCombine(SDNode *N, DAGCombinerInfo &DCI) const;
81 SDValue performAssertSZExtCombine(SDNode *N, DAGCombinerInfo &DCI) const;
82 SDValue performIntrinsicWOChainCombine(SDNode *N, DAGCombinerInfo &DCI) const;
87 SDValue performShlCombine(SDNode *N, DAGCombinerInfo &DCI) const;
88 SDValue performSraCombine(SDNode *N, DAGCombinerInfo &DCI) const;
89 SDValue performSrlCombine(SDNode *N, DAGCombinerInfo &DCI) const;
90 SDValue performTruncateCombine(SDNode *N, DAGCombinerInfo &DCI) const;
91 SDValue performMulCombine(SDNode *N, DAGCombinerInfo &DCI) const;
92 SDValue performMulhsCombine(SDNode *N, DAGCombinerInfo &DCI) const;
[all …]
DAMDGPUISelDAGToDAG.cpp104 static SDNode *packConstantV2I16(const SDNode *N, SelectionDAG &DAG, in packConstantV2I16()
121 static SDNode *packNegConstantV2I16(const SDNode *N, SelectionDAG &DAG) { in packNegConstantV2I16()
155 bool matchLoadD16FromBuildVector(SDNode *N) const;
159 void Select(SDNode *N) override;
164 void SelectBuildVector(SDNode *N, unsigned RegClassID);
169 bool isInlineImmediate(const SDNode *N, bool Negated = false) const;
170 bool isNegInlineImmediate(const SDNode *N) const { in isNegInlineImmediate()
190 bool isVGPRImm(const SDNode *N) const;
191 bool isUniformLoad(const SDNode *N) const;
192 bool isUniformBr(const SDNode *N) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGISel.h92 virtual void Select(SDNode *N) = 0;
107 virtual bool IsProfitableToFold(SDValue N, SDNode *U, SDNode *Root) const;
113 static bool IsLegalToFold(SDValue N, SDNode *U, SDNode *Root,
117 static void InvalidateNodeId(SDNode *N);
118 static int getUninvalidatedNodeId(SDNode *N);
120 static void EnforceNodeIdInvariant(SDNode *N);
228 void ReplaceUses(SDNode *F, SDNode *T) { in ReplaceUses()
234 void ReplaceNode(SDNode *F, SDNode *T) { in ReplaceNode()
279 virtual bool CheckNodePredicate(SDNode *N, unsigned PredNo) const { in CheckNodePredicate()
289 SDNode *N, unsigned PredNo, in CheckNodePredicateWithOperands()
[all …]
DSelectionDAGNodes.h66 class SDNode; variable
71 void checkForCycles(const SDNode *N, const SelectionDAG *DAG = nullptr,
89 bool isConstantSplatVector(const SDNode *N, APInt &SplatValue);
93 bool isBuildVectorAllOnes(const SDNode *N);
97 bool isBuildVectorAllZeros(const SDNode *N);
101 bool isBuildVectorOfConstantSDNodes(const SDNode *N);
105 bool isBuildVectorOfConstantFPSDNodes(const SDNode *N);
109 bool allOperandsUndef(const SDNode *N);
127 SDNode *Node = nullptr; // The node defining the value we are using.
132 SDValue(SDNode *node, unsigned resno);
[all …]
DSelectionDAG.h132 template <> struct ilist_alloc_traits<SDNode> {
133 static void deleteNode(SDNode *) {
154 using DbgValMapType = DenseMap<const SDNode *, SmallVector<SDDbgValue *, 2>>;
162 void add(SDDbgValue *V, const SDNode *Node, bool isParameter) {
176 void erase(const SDNode *Node);
192 ArrayRef<SDDbgValue*> getSDDbgValues(const SDNode *Node) const {
244 SDNode EntryNode;
250 ilist<SDNode> AllNodes;
254 using NodeAllocatorType = RecyclingAllocator<BumpPtrAllocator, SDNode,
263 FoldingSet<SDNode> CSEMap;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetSelectionDAG.td46 // SDTCisVTSmallerThanOp - The specified operand is a VT SDNode, and its type is
297 class SDNode<string opcode, SDTypeProfile typeprof,
298 list<SDNodeProperty> props = [], string sdclass = "SDNode">
312 def imm : SDNode<"ISD::Constant" , SDTIntLeaf , [], "ConstantSDNode">;
313 def timm : SDNode<"ISD::TargetConstant",SDTIntLeaf, [], "ConstantSDNode">;
314 def fpimm : SDNode<"ISD::ConstantFP", SDTFPLeaf , [], "ConstantFPSDNode">;
315 def vt : SDNode<"ISD::VALUETYPE" , SDTOther , [], "VTSDNode">;
316 def bb : SDNode<"ISD::BasicBlock", SDTOther , [], "BasicBlockSDNode">;
317 def cond : SDNode<"ISD::CONDCODE" , SDTOther , [], "CondCodeSDNode">;
318 def undef : SDNode<"ISD::UNDEF" , SDTUNDEF , []>;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZOperators.td233 def callseq_start : SDNode<"ISD::CALLSEQ_START", SDT_CallSeqStart,
235 def callseq_end : SDNode<"ISD::CALLSEQ_END", SDT_CallSeqEnd,
238 def global_offset_table : SDNode<"ISD::GLOBAL_OFFSET_TABLE", SDTPtrLeaf>;
241 def z_retflag : SDNode<"SystemZISD::RET_FLAG", SDTNone,
243 def z_call : SDNode<"SystemZISD::CALL", SDT_ZCall,
246 def z_sibcall : SDNode<"SystemZISD::SIBCALL", SDT_ZCall,
249 def z_tls_gdcall : SDNode<"SystemZISD::TLS_GDCALL", SDT_ZCall,
252 def z_tls_ldcall : SDNode<"SystemZISD::TLS_LDCALL", SDT_ZCall,
255 def z_pcrel_wrapper : SDNode<"SystemZISD::PCREL_WRAPPER", SDT_ZWrapPtr, []>;
256 def z_pcrel_offset : SDNode<"SystemZISD::PCREL_OFFSET",
[all …]
DSystemZISelLowering.h499 void LowerOperationWrapper(SDNode *N, SmallVectorImpl<SDValue> &Results,
501 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue>&Results,
522 SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;
620 SDValue combineZERO_EXTEND(SDNode *N, DAGCombinerInfo &DCI) const;
621 SDValue combineSIGN_EXTEND(SDNode *N, DAGCombinerInfo &DCI) const;
622 SDValue combineSIGN_EXTEND_INREG(SDNode *N, DAGCombinerInfo &DCI) const;
623 SDValue combineMERGE(SDNode *N, DAGCombinerInfo &DCI) const;
625 SDValue combineLOAD(SDNode *N, DAGCombinerInfo &DCI) const;
626 SDValue combineSTORE(SDNode *N, DAGCombinerInfo &DCI) const;
627 SDValue combineVECTOR_SHUFFLE(SDNode *N, DAGCombinerInfo &DCI) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelDAGToDAG.cpp38 bool SelectAddr(SDNode *Op, SDValue N, SDValue &Base, SDValue &Disp);
40 bool selectIndexedLoad(SDNode *N);
50 void Select(SDNode *N) override;
51 bool trySelect(SDNode *N);
53 template <unsigned NodeType> bool select(SDNode *N);
54 bool selectMultiplication(SDNode *N);
64 bool AVRDAGToDAGISel::SelectAddr(SDNode *Op, SDValue N, SDValue &Base, in SelectAddr()
121 bool AVRDAGToDAGISel::selectIndexedLoad(SDNode *N) { in selectIndexedLoad()
159 SDNode *ResNode = CurDAG->getMachineNode(Opcode, SDLoc(N), VT, in selectIndexedLoad()
308 template <> bool AVRDAGToDAGISel::select<ISD::FrameIndex>(SDNode *N) { in select()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h578 int isVSLDOIShuffleMask(SDNode *N, unsigned ShuffleKind,
599 unsigned getSplatIdxForPPCMnemonics(SDNode *N, unsigned EltSize,
606 SDValue get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG);
610 int isQVALIGNIShuffleMask(SDNode *N);
703 bool getPreIndexedAddressParts(SDNode *N, SDValue &Base,
735 Sched::Preference getSchedulingPreference(SDNode *N) const override;
744 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue>&Results,
747 SDValue expandVSXLoadForLE(SDNode *N, DAGCombinerInfo &DCI) const;
748 SDValue expandVSXStoreForLE(SDNode *N, DAGCombinerInfo &DCI) const;
750 SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;
[all …]

12345678