Home
last modified time | relevance | path

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

12345678910>>...12

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h77 bool IgnoreNodeResults(SDNode *N) const { in IgnoreNodeResults()
116 SmallVector<SDNode*, 128> Worklist;
131 void NoteDeletion(SDNode *Old, SDNode *New) { in NoteDeletion()
139 SDNode *AnalyzeNewNode(SDNode *N);
141 void ExpungeNode(SDNode *N);
149 bool CustomLowerNode(SDNode *N, EVT VT, bool LegalizeResult);
150 bool CustomWidenLowerNode(SDNode *N, EVT VT);
155 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
159 SDValue LibCallify(RTLIB::Libcall LC, SDNode *N, bool isSigned);
165 SDNode *Node, bool isSigned);
[all …]
DSelectionDAGPrinter.cpp46 return ((const SDNode *) Node)->getNumValues(); in numEdgeDestLabels()
50 return ((const SDNode *) Node)->getValueType(i).getEVTString(); in getEdgeDestLabel()
55 return itostr(I - SDNodeIterator::begin((SDNode *) Node)); in getEdgeSourceLabel()
71 SDNode *TargetNode = *I; in getEdgeTarget()
85 static bool hasNodeAddressLabel(const SDNode *Node, in hasNodeAddressLabel()
105 static std::string getSimpleNodeLabel(const SDNode *Node, in getSimpleNodeLabel()
114 std::string getNodeLabel(const SDNode *Node, const SelectionDAG *Graph);
115 static std::string getNodeAttributes(const SDNode *N, in getNodeAttributes()
139 std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node, in getNodeLabel()
179 void SelectionDAG::setGraphAttrs(const SDNode *N, const char *Attrs) { in setGraphAttrs()
[all …]
DInstrEmitter.h41 void EmitCopyFromReg(SDNode *Node, unsigned ResNo,
48 unsigned getDstOfOnlyCopyToRegUse(SDNode *Node,
51 void CreateVirtualRegisters(SDNode *Node, MachineInstr *MI,
88 void EmitSubregNode(SDNode *Node, DenseMap<SDValue, unsigned> &VRBaseMap,
95 void EmitCopyToRegClassNode(SDNode *Node,
100 void EmitRegSequence(SDNode *Node, DenseMap<SDValue, unsigned> &VRBaseMap,
106 static unsigned CountResults(SDNode *Node);
112 static unsigned CountOperands(SDNode *Node);
121 void EmitNode(SDNode *Node, bool IsClone, bool IsCloned, in EmitNode()
140 void EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned,
[all …]
DScheduleDAGSDNodes.cpp60 SUnit *ScheduleDAGSDNodes::NewSUnit(SDNode *N) { in NewSUnit()
102 static void CheckForPhysRegDependency(SDNode *Def, SDNode *User, unsigned Op, in CheckForPhysRegDependency()
126 static void AddGlue(SDNode *N, SDValue Glue, bool AddGlue, SelectionDAG *DAG) { in AddGlue()
128 SDNode *GlueDestNode = Glue.getNode(); in AddGlue()
171 void ScheduleDAGSDNodes::ClusterNeighboringLoads(SDNode *Node) { in ClusterNeighboringLoads()
172 SDNode *Chain = 0; in ClusterNeighboringLoads()
181 SmallPtrSet<SDNode*, 16> Visited; in ClusterNeighboringLoads()
183 DenseMap<long long, SDNode*> O2SMap; // Map from offset to SDNode. in ClusterNeighboringLoads()
185 SDNode *Base = Node; in ClusterNeighboringLoads()
186 for (SDNode::use_iterator I = Chain->use_begin(), E = Chain->use_end(); in ClusterNeighboringLoads()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h91 bool IgnoreNodeResults(SDNode *N) const { in IgnoreNodeResults()
133 SmallVector<SDNode*, 128> Worklist;
148 void NoteDeletion(SDNode *Old, SDNode *New) { in NoteDeletion()
158 SDNode *AnalyzeNewNode(SDNode *N);
160 void ExpungeNode(SDNode *N);
168 bool CustomLowerNode(SDNode *N, EVT VT, bool LegalizeResult);
169 bool CustomWidenLowerNode(SDNode *N, EVT VT);
174 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
178 SDValue LibCallify(RTLIB::Libcall LC, SDNode *N, bool isSigned);
181 SDNode *Node, bool isSigned);
[all …]
DSelectionDAGPrinter.cpp44 return ((const SDNode *) Node)->getNumValues(); in numEdgeDestLabels()
48 return ((const SDNode *) Node)->getValueType(i).getEVTString(); in getEdgeDestLabel()
53 return itostr(I - SDNodeIterator::begin((const SDNode *) Node)); in getEdgeSourceLabel()
69 SDNode *TargetNode = *I; in getEdgeTarget()
83 static std::string getNodeIdentifierLabel(const SDNode *Node, in getNodeIdentifierLabel()
110 static std::string getSimpleNodeLabel(const SDNode *Node, in getSimpleNodeLabel()
119 std::string getNodeLabel(const SDNode *Node, const SelectionDAG *Graph);
120 static std::string getNodeAttributes(const SDNode *N, in getNodeAttributes()
144 std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node, in getNodeLabel()
184 void SelectionDAG::setGraphAttrs(const SDNode *N, const char *Attrs) { in setGraphAttrs()
[all …]
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);
118 void EmitNode(SDNode *Node, bool IsClone, bool IsCloned, in EmitNode()
137 void EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned,
139 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()
163 static bool AddGlue(SDNode *N, SDValue Glue, bool AddGlue, SelectionDAG *DAG) { in AddGlue()
164 SDNode *GlueDestNode = Glue.getNode(); in AddGlue()
188 static void RemoveUnusedGlue(SDNode *N, SelectionDAG *DAG) { in RemoveUnusedGlue()
202 void ScheduleDAGSDNodes::ClusterNeighboringLoads(SDNode *Node) { in ClusterNeighboringLoads()
203 SDNode *Chain = nullptr; in ClusterNeighboringLoads()
212 SmallPtrSet<SDNode*, 16> Visited; in ClusterNeighboringLoads()
214 DenseMap<long long, SDNode*> O2SMap; // Map from offset to SDNode. in ClusterNeighboringLoads()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.td47 def AMDGPUconstdata_ptr : SDNode<
53 def AMDGPUdwordaddr : SDNode<"AMDGPUISD::DWORDADDR", SDTIntUnaryOp>;
55 def AMDGPUcos : SDNode<"AMDGPUISD::COS_HW", SDTFPUnaryOp>;
56 def AMDGPUsin : SDNode<"AMDGPUISD::SIN_HW", SDTFPUnaryOp>;
59 def AMDGPUfract : SDNode<"AMDGPUISD::FRACT", SDTFPUnaryOp>;
62 def AMDGPUrcp : SDNode<"AMDGPUISD::RCP", SDTFPUnaryOp>;
65 def AMDGPUrsq : SDNode<"AMDGPUISD::RSQ", SDTFPUnaryOp>;
68 def AMDGPUrsq_legacy : SDNode<"AMDGPUISD::RSQ_LEGACY", SDTFPUnaryOp>;
71 def AMDGPUrsq_clamp : SDNode<"AMDGPUISD::RSQ_CLAMP", SDTFPUnaryOp>;
73 def AMDGPUldexp : SDNode<"AMDGPUISD::LDEXP", AMDGPULdExpOp>;
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.h56 void Select(SDNode *N) override;
57 bool tryIntrinsicNoChain(SDNode *N);
58 bool tryIntrinsicChain(SDNode *N);
59 void SelectTexSurfHandle(SDNode *N);
60 bool tryLoad(SDNode *N);
61 bool tryLoadVector(SDNode *N);
62 bool tryLDGLDU(SDNode *N);
63 bool tryStore(SDNode *N);
64 bool tryStoreVector(SDNode *N);
65 bool tryLoadParam(SDNode *N);
[all …]
/external/llvm/lib/Target/X86/
DX86InstrFragmentsSIMD.td19 def MMX_X86movd2w : SDNode<"X86ISD::MMX_MOVD2W", SDTypeProfile<1, 1,
22 def MMX_X86movw2d : SDNode<"X86ISD::MMX_MOVW2D", SDTypeProfile<1, 1,
44 def X86fmin : SDNode<"X86ISD::FMIN", SDTFPBinOp>;
45 def X86fmax : SDNode<"X86ISD::FMAX", SDTFPBinOp>;
48 def X86fminc : SDNode<"X86ISD::FMINC", SDTFPBinOp,
50 def X86fmaxc : SDNode<"X86ISD::FMAXC", SDTFPBinOp,
53 def X86fand : SDNode<"X86ISD::FAND", SDTFPBinOp,
55 def X86for : SDNode<"X86ISD::FOR", SDTFPBinOp,
57 def X86fxor : SDNode<"X86ISD::FXOR", SDTFPBinOp,
59 def X86fandn : SDNode<"X86ISD::FANDN", SDTFPBinOp,
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h44 class SDNode; variable
51 void checkForCycles(const SDNode *N);
67 bool isBuildVectorAllOnes(const SDNode *N);
71 bool isBuildVectorAllZeros(const SDNode *N);
76 bool isScalarToVector(const SDNode *N);
91 SDNode *Node; // The node defining the value we are using.
95 SDValue(SDNode *node, unsigned resno) : Node(node), ResNo(resno) {} in SDValue()
101 SDNode *getNode() const { return Node; } in getNode()
104 void setNode(SDNode *N) { Node = N; } in setNode()
106 inline SDNode *operator->() const { return Node; }
[all …]
DSelectionDAGISel.h76 virtual SDNode *Select(SDNode *N) = 0;
91 virtual bool IsProfitableToFold(SDValue N, SDNode *U, SDNode *Root) const;
97 static bool IsLegalToFold(SDValue N, SDNode *U, SDNode *Root,
191 virtual void NodeDeleted(SDNode *N, SDNode *E) { in NodeDeleted()
197 virtual void NodeUpdated(SDNode *N) {} in NodeUpdated()
216 void ReplaceUses(SDNode *F, SDNode *T) { in ReplaceUses()
248 virtual bool CheckNodePredicate(SDNode *N, unsigned PredNo) const { in CheckNodePredicate()
253 virtual bool CheckComplexPattern(SDNode *Root, SDNode *Parent, SDValue N, in CheckComplexPattern()
255 SmallVectorImpl<std::pair<SDValue, SDNode*> > &Result) { in CheckComplexPattern()
265 SDNode *SelectCodeCommon(SDNode *NodeToMatch,
[all …]
DSelectionDAG.h40 template<> struct ilist_traits<SDNode> : public ilist_default_traits<SDNode> {
42 mutable ilist_half_node<SDNode> Sentinel;
44 SDNode *createSentinel() const {
45 return static_cast<SDNode*>(&Sentinel);
47 static void destroySentinel(SDNode *) {}
49 SDNode *provideInitialHead() const { return createSentinel(); }
50 SDNode *ensureHead(SDNode*) const { return createSentinel(); }
51 static void noteHead(SDNode*, SDNode*) {}
53 static void deleteNode(SDNode *) {
57 static void createNode(const SDNode &);
[all …]
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h46 class SDNode; variable
54 void checkForCycles(const SDNode *N, const SelectionDAG *DAG = nullptr,
71 bool isConstantSplatVector(const SDNode *N, APInt &SplatValue);
75 bool isBuildVectorAllOnes(const SDNode *N);
79 bool isBuildVectorAllZeros(const SDNode *N);
83 bool isBuildVectorOfConstantSDNodes(const SDNode *N);
87 bool isBuildVectorOfConstantFPSDNodes(const SDNode *N);
91 bool allOperandsUndef(const SDNode *N);
108 SDNode *Node; // The node defining the value we are using.
112 SDValue(SDNode *node, unsigned resno);
[all …]
DSelectionDAG.h84 template<> struct ilist_traits<SDNode> : public ilist_default_traits<SDNode> {
86 mutable ilist_half_node<SDNode> Sentinel;
88 SDNode *createSentinel() const {
89 return static_cast<SDNode*>(&Sentinel);
91 static void destroySentinel(SDNode *) {}
93 SDNode *provideInitialHead() const { return createSentinel(); }
94 SDNode *ensureHead(SDNode*) const { return createSentinel(); }
95 static void noteHead(SDNode*, SDNode*) {}
97 static void deleteNode(SDNode *) {
101 static void createNode(const SDNode &);
[all …]
DSelectionDAGISel.h80 virtual void Select(SDNode *N) = 0;
95 virtual bool IsProfitableToFold(SDValue N, SDNode *U, SDNode *Root) const;
101 static bool IsLegalToFold(SDValue N, SDNode *U, SDNode *Root,
201 void ReplaceUses(SDNode *F, SDNode *T) { in ReplaceUses()
206 void ReplaceNode(SDNode *F, SDNode *T) { in ReplaceNode()
236 virtual bool CheckNodePredicate(SDNode *N, unsigned PredNo) const { in CheckNodePredicate()
240 virtual bool CheckComplexPattern(SDNode *Root, SDNode *Parent, SDValue N, in CheckComplexPattern()
242 SmallVectorImpl<std::pair<SDValue, SDNode*> > &Result) { in CheckComplexPattern()
250 void SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
262 void Select_INLINEASM(SDNode *N);
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrFragmentsSIMD.td18 def MMX_X86movd2w : SDNode<"X86ISD::MMX_MOVD2W", SDTypeProfile<1, 1,
22 def MMX_X86movw2d : SDNode<"X86ISD::MMX_MOVW2D", SDTypeProfile<1, 1,
41 def X86fmin : SDNode<"X86ISD::FMIN", SDTFPBinOp>;
42 def X86fmax : SDNode<"X86ISD::FMAX", SDTFPBinOp>;
43 def X86fand : SDNode<"X86ISD::FAND", SDTFPBinOp,
45 def X86for : SDNode<"X86ISD::FOR", SDTFPBinOp,
47 def X86fxor : SDNode<"X86ISD::FXOR", SDTFPBinOp,
49 def X86frsqrt : SDNode<"X86ISD::FRSQRT", SDTFPUnaryOp>;
50 def X86frcp : SDNode<"X86ISD::FRCP", SDTFPUnaryOp>;
51 def X86fsrl : SDNode<"X86ISD::FSRL", SDTX86FPShiftOp>;
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUNodes.td19 def SPUshufmask : SDNode<"SPUISD::SHUFFLE_MASK", SPU_GenControl, []>;
21 def callseq_start : SDNode<"ISD::CALLSEQ_START", SDT_SPUCallSeq,
23 def callseq_end : SDNode<"ISD::CALLSEQ_END", SDT_SPUCallSeq,
30 def SPUcall : SDNode<"SPUISD::CALL", SDT_SPUCall,
80 def SPUcntb : SDNode<"SPUISD::CNTB", SDTIntUnaryOp>;
84 def SPUshuffle: SDNode<"SPUISD::SHUFB", SDT_SPUshuffle, []>;
87 def SPUvec_shl: SDNode<"ISD::SHL", SPUvecshift_type, []>;
88 def SPUvec_srl: SDNode<"ISD::SRL", SPUvecshift_type, []>;
89 def SPUvec_sra: SDNode<"ISD::SRA", SPUvecshift_type, []>;
91 def SPUvec_rotl: SDNode<"SPUISD::VEC_ROTL", SPUvecshift_type, []>;
[all …]
DSPUISelDAGToDAG.cpp179 SDNode *emitBuildVector(SDNode *bvNode) { in emitBuildVector()
197 if (SDNode *N = Select(bvNode)) in emitBuildVector()
221 if (SDNode *N = SelectCode(Dummy.getValue().getNode())) in emitBuildVector()
228 SDNode *Select(SDNode *N);
231 SDNode *SelectSHLi64(SDNode *N, EVT OpVT);
234 SDNode *SelectSRLi64(SDNode *N, EVT OpVT);
237 SDNode *SelectSRAi64(SDNode *N, EVT OpVT);
240 SDNode *SelectI64Constant(SDNode *N, EVT OpVT, DebugLoc dl);
243 SDNode *SelectI64Constant(uint64_t i64const, EVT OpVT, DebugLoc dl);
246 bool SelectAFormAddr(SDNode *Op, SDValue N, SDValue &Base,
[all …]
/external/llvm/include/llvm/Target/
DTargetSelectionDAG.td47 // SDTCisVTSmallerThanOp - The specified operand is a VT SDNode, and its type is
313 class SDNode<string opcode, SDTypeProfile typeprof,
314 list<SDNodeProperty> props = [], string sdclass = "SDNode">
328 def imm : SDNode<"ISD::Constant" , SDTIntLeaf , [], "ConstantSDNode">;
329 def timm : SDNode<"ISD::TargetConstant",SDTIntLeaf, [], "ConstantSDNode">;
330 def fpimm : SDNode<"ISD::ConstantFP", SDTFPLeaf , [], "ConstantFPSDNode">;
331 def vt : SDNode<"ISD::VALUETYPE" , SDTOther , [], "VTSDNode">;
332 def bb : SDNode<"ISD::BasicBlock", SDTOther , [], "BasicBlockSDNode">;
333 def cond : SDNode<"ISD::CONDCODE" , SDTOther , [], "CondCodeSDNode">;
334 def undef : SDNode<"ISD::UNDEF" , SDTUNDEF , []>;
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZOperators.td155 def callseq_start : SDNode<"ISD::CALLSEQ_START", SDT_CallSeqStart,
157 def callseq_end : SDNode<"ISD::CALLSEQ_END", SDT_CallSeqEnd,
160 def global_offset_table : SDNode<"ISD::GLOBAL_OFFSET_TABLE", SDTPtrLeaf>;
163 def z_retflag : SDNode<"SystemZISD::RET_FLAG", SDTNone,
165 def z_call : SDNode<"SystemZISD::CALL", SDT_ZCall,
168 def z_sibcall : SDNode<"SystemZISD::SIBCALL", SDT_ZCall,
171 def z_tls_gdcall : SDNode<"SystemZISD::TLS_GDCALL", SDT_ZCall,
174 def z_tls_ldcall : SDNode<"SystemZISD::TLS_LDCALL", SDT_ZCall,
177 def z_pcrel_wrapper : SDNode<"SystemZISD::PCREL_WRAPPER", SDT_ZWrapPtr, []>;
178 def z_pcrel_offset : SDNode<"SystemZISD::PCREL_OFFSET",
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetSelectionDAG.td47 // SDTCisVTSmallerThanOp - The specified operand is a VT SDNode, and its type is
264 class SDNode<string opcode, SDTypeProfile typeprof,
265 list<SDNodeProperty> props = [], string sdclass = "SDNode">
279 def imm : SDNode<"ISD::Constant" , SDTIntLeaf , [], "ConstantSDNode">;
280 def timm : SDNode<"ISD::TargetConstant",SDTIntLeaf, [], "ConstantSDNode">;
281 def fpimm : SDNode<"ISD::ConstantFP", SDTFPLeaf , [], "ConstantFPSDNode">;
282 def vt : SDNode<"ISD::VALUETYPE" , SDTOther , [], "VTSDNode">;
283 def bb : SDNode<"ISD::BasicBlock", SDTOther , [], "BasicBlockSDNode">;
284 def cond : SDNode<"ISD::CONDCODE" , SDTOther , [], "CondCodeSDNode">;
285 def undef : SDNode<"ISD::UNDEF" , SDTUNDEF , []>;
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXISelDAGToDAG.cpp36 SDNode *Select(SDNode *Node);
50 SDNode *SelectBRCOND(SDNode *Node);
52 SDNode *SelectREADPARAM(SDNode *Node);
53 SDNode *SelectWRITEPARAM(SDNode *Node);
54 SDNode *SelectFrameIndex(SDNode *Node);
74 SDNode *PTXDAGToDAGISel::Select(SDNode *Node) { in Select()
89 SDNode *PTXDAGToDAGISel::SelectBRCOND(SDNode *Node) { in SelectBRCOND()
106 SDNode *PTXDAGToDAGISel::SelectREADPARAM(SDNode *Node) { in SelectREADPARAM()
141 SDNode *PTXDAGToDAGISel::SelectWRITEPARAM(SDNode *Node) { in SelectWRITEPARAM()
176 SDNode* Ret = CurDAG->getMachineNode(OpCode, dl, MVT::Other, Ops, 4); in SelectWRITEPARAM()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp118 SDNode *Select(SDNode *N);
119 SDNode *SelectIndexedLoad(SDNode *Op);
120 SDNode *SelectIndexedBinOp(SDNode *Op, SDValue N1, SDValue N2,
329 SDNode *MSP430DAGToDAGISel::SelectIndexedLoad(SDNode *N) { in SelectIndexedLoad()
353 SDNode *MSP430DAGToDAGISel::SelectIndexedBinOp(SDNode *Op, in SelectIndexedBinOp()
368 SDNode *ResNode = in SelectIndexedBinOp()
384 SDNode *MSP430DAGToDAGISel::Select(SDNode *Node) { in Select()
414 if (SDNode *ResNode = SelectIndexedLoad(Node)) in Select()
419 if (SDNode *ResNode = in Select()
424 else if (SDNode *ResNode = in Select()
[all …]

12345678910>>...12