/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.h | 91 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 …]
|
D | SelectionDAGPrinter.cpp | 42 return ((const SDNode *) Node)->getNumValues(); in numEdgeDestLabels() 46 return ((const SDNode *) Node)->getValueType(i).getEVTString(); in getEdgeDestLabel() 51 return itostr(I - SDNodeIterator::begin((const SDNode *) Node)); in getEdgeSourceLabel() 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() 117 std::string getNodeLabel(const SDNode *Node, const SelectionDAG *Graph); 118 static std::string getNodeAttributes(const SDNode *N, in getNodeAttributes() 142 std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node, in getNodeLabel() 182 void SelectionDAG::setGraphAttrs(const SDNode *N, const char *Attrs) { in setGraphAttrs() [all …]
|
D | InstrEmitter.h | 41 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,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.h | 91 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 …]
|
D | SelectionDAGPrinter.cpp | 44 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 …]
|
D | InstrEmitter.h | 41 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,
|
D | ScheduleDAGSDNodes.cpp | 68 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.h | 56 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/ |
D | AMDGPUInstrInfo.td | 87 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 …]
|
D | SIISelLowering.h | 113 SDNode *adjustWritemask(MachineSDNode *&N, SelectionDAG &DAG) const; 115 SDValue performUCharToFloatCombine(SDNode *N, 117 SDValue performSHLPtrCombine(SDNode *N, 128 SDValue performAndCombine(SDNode *N, DAGCombinerInfo &DCI) const; 129 SDValue performOrCombine(SDNode *N, DAGCombinerInfo &DCI) const; 130 SDValue performXorCombine(SDNode *N, DAGCombinerInfo &DCI) const; 131 SDValue performZeroExtendCombine(SDNode *N, DAGCombinerInfo &DCI) const; 132 SDValue performClassCombine(SDNode *N, DAGCombinerInfo &DCI) const; 133 SDValue performFCanonicalizeCombine(SDNode *N, DAGCombinerInfo &DCI) const; 139 SDValue performMinMaxCombine(SDNode *N, DAGCombinerInfo &DCI) const; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.h | 58 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/NVPTX/ |
D | NVPTXISelDAGToDAG.h | 56 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/AMDGPU/ |
D | AMDGPUInstrInfo.td | 47 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrFragmentsSIMD.td | 19 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/ |
D | X86InstrFragmentsSIMD.td | 19 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-7.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAGISel.h | 88 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 …]
|
D | SelectionDAGNodes.h | 66 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 …]
|
D | SelectionDAG.h | 131 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/ |
D | SelectionDAGNodes.h | 46 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 …]
|
D | SelectionDAG.h | 84 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 …]
|
D | SelectionDAGISel.h | 80 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/llvm/include/llvm/Target/ |
D | TargetSelectionDAG.td | 47 // 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/ |
D | SystemZOperators.td | 155 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/ |
D | SystemZOperators.td | 236 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/ |
D | TargetSelectionDAG.td | 47 // 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 …]
|