Home
last modified time | relevance | path

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

12345678910>>...19

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h91 bool IgnoreNodeResults(SDNode *N) const { in IgnoreNodeResults()
144 SmallVector<SDNode*, 128> Worklist;
184 void NoteDeletion(SDNode *Old, SDNode *New) { in NoteDeletion()
209 SDNode *AnalyzeNewNode(SDNode *N);
219 bool CustomLowerNode(SDNode *N, EVT VT, bool LegalizeResult);
220 bool CustomWidenLowerNode(SDNode *N, EVT VT);
225 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
228 SDValue LibCallify(RTLIB::Libcall LC, SDNode *N, bool isSigned);
231 SDNode *Node, bool isSigned);
232 std::pair<SDValue, SDValue> ExpandAtomic(SDNode *Node);
[all …]
/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 …]
/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 …]
/external/swiftshader/third_party/llvm-7.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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.td87 def AMDGPUif : SDNode<"AMDGPUISD::IF", AMDGPUIfOp, [SDNPHasChain]>;
88 def AMDGPUelse : SDNode<"AMDGPUISD::ELSE", AMDGPUElseOp, [SDNPHasChain]>;
89 def AMDGPUloop : SDNode<"AMDGPUISD::LOOP", AMDGPULoopOp, [SDNPHasChain]>;
91 def callseq_start : SDNode<"ISD::CALLSEQ_START",
96 def callseq_end : SDNode<"ISD::CALLSEQ_END",
101 def AMDGPUcall : SDNode<"AMDGPUISD::CALL",
107 def AMDGPUtc_return: SDNode<"AMDGPUISD::TC_RETURN", SDT_AMDGPUTCRET,
111 def AMDGPUtrap : SDNode<"AMDGPUISD::TRAP",
116 def AMDGPUconstdata_ptr : SDNode<
122 def AMDGPUdwordaddr : SDNode<"AMDGPUISD::DWORDADDR", SDTIntUnaryOp>;
[all …]
/external/swiftshader/third_party/llvm-7.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 …]
/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/swiftshader/third_party/llvm-7.0/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,
39 def X86fmin : SDNode<"X86ISD::FMIN", SDTFPBinOp>;
40 def X86fmax : SDNode<"X86ISD::FMAX", SDTFPBinOp>;
41 def X86fmins : SDNode<"X86ISD::FMINS", SDTFPBinOp>;
42 def X86fmaxs : SDNode<"X86ISD::FMAXS", SDTFPBinOp>;
45 def X86fminc : SDNode<"X86ISD::FMINC", SDTFPBinOp,
47 def X86fmaxc : SDNode<"X86ISD::FMAXC", SDTFPBinOp,
50 def X86fand : SDNode<"X86ISD::FAND", SDTFPBinOp,
52 def X86for : SDNode<"X86ISD::FOR", SDTFPBinOp,
[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 …]
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 …]
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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
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,
113 static void InvalidateNodeId(SDNode *N);
114 static int getUninvalidatedNodeId(SDNode *N);
116 static void EnforceNodeIdInvariant(SDNode *N);
220 void ReplaceUses(SDNode *F, SDNode *T) { in ReplaceUses()
226 void ReplaceNode(SDNode *F, SDNode *T) { in ReplaceNode()
266 virtual bool CheckNodePredicate(SDNode *N, unsigned PredNo) const { in CheckNodePredicate()
270 virtual bool CheckComplexPattern(SDNode *Root, SDNode *Parent, SDValue N, in CheckComplexPattern()
[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.h131 template <> struct ilist_alloc_traits<SDNode> {
132 static void deleteNode(SDNode *) {
153 using DbgValMapType = DenseMap<const SDNode *, SmallVector<SDDbgValue *, 2>>;
161 void add(SDDbgValue *V, const SDNode *Node, bool isParameter) {
175 void erase(const SDNode *Node);
191 ArrayRef<SDDbgValue*> getSDDbgValues(const SDNode *Node) {
240 SDNode EntryNode;
246 ilist<SDNode> AllNodes;
250 using NodeAllocatorType = RecyclingAllocator<BumpPtrAllocator, SDNode,
259 FoldingSet<SDNode> CSEMap;
[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 …]
/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-7.0/llvm/lib/Target/SystemZ/
DSystemZOperators.td236 def callseq_start : SDNode<"ISD::CALLSEQ_START", SDT_CallSeqStart,
238 def callseq_end : SDNode<"ISD::CALLSEQ_END", SDT_CallSeqEnd,
241 def global_offset_table : SDNode<"ISD::GLOBAL_OFFSET_TABLE", SDTPtrLeaf>;
244 def z_retflag : SDNode<"SystemZISD::RET_FLAG", SDTNone,
246 def z_call : SDNode<"SystemZISD::CALL", SDT_ZCall,
249 def z_sibcall : SDNode<"SystemZISD::SIBCALL", SDT_ZCall,
252 def z_tls_gdcall : SDNode<"SystemZISD::TLS_GDCALL", SDT_ZCall,
255 def z_tls_ldcall : SDNode<"SystemZISD::TLS_LDCALL", SDT_ZCall,
258 def z_pcrel_wrapper : SDNode<"SystemZISD::PCREL_WRAPPER", SDT_ZWrapPtr, []>;
259 def z_pcrel_offset : SDNode<"SystemZISD::PCREL_OFFSET",
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Target/
DTargetSelectionDAG.td47 // SDTCisVTSmallerThanOp - The specified operand is a VT SDNode, and its type is
291 class SDNode<string opcode, SDTypeProfile typeprof,
292 list<SDNodeProperty> props = [], string sdclass = "SDNode">
306 def imm : SDNode<"ISD::Constant" , SDTIntLeaf , [], "ConstantSDNode">;
307 def timm : SDNode<"ISD::TargetConstant",SDTIntLeaf, [], "ConstantSDNode">;
308 def fpimm : SDNode<"ISD::ConstantFP", SDTFPLeaf , [], "ConstantFPSDNode">;
309 def vt : SDNode<"ISD::VALUETYPE" , SDTOther , [], "VTSDNode">;
310 def bb : SDNode<"ISD::BasicBlock", SDTOther , [], "BasicBlockSDNode">;
311 def cond : SDNode<"ISD::CONDCODE" , SDTOther , [], "CondCodeSDNode">;
312 def undef : SDNode<"ISD::UNDEF" , SDTUNDEF , []>;
[all …]

12345678910>>...19