Lines Matching defs:SDNode

94   SmallPtrSetImpl<SDNode *> &LegalizedNodes;
97 SmallSetVector<SDNode *, 16> *UpdatedNodes;
107 SmallPtrSetImpl<SDNode *> &LegalizedNodes,
108 SmallSetVector<SDNode *, 16> *UpdatedNodes = nullptr)
113 void LegalizeOp(SDNode *Node);
118 void LegalizeLoadOps(SDNode *Node);
119 void LegalizeStoreOps(SDNode *Node);
131 std::pair<SDValue, SDValue> ExpandLibCall(RTLIB::Libcall LC, SDNode *Node,
133 std::pair<SDValue, SDValue> ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
135 void ExpandFrexpLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results);
136 void ExpandFPLibCall(SDNode *Node, RTLIB::Libcall LC,
138 void ExpandFPLibCall(SDNode *Node, RTLIB::Libcall Call_F32,
143 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned,
149 void ExpandArgFPLibCall(SDNode *Node,
154 void ExpandDivRemLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results);
155 void ExpandSinCosLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results);
161 SDValue ExpandBUILD_VECTOR(SDNode *Node);
162 SDValue ExpandSPLAT_VECTOR(SDNode *Node);
163 SDValue ExpandSCALAR_TO_VECTOR(SDNode *Node);
164 void ExpandDYNAMIC_STACKALLOC(SDNode *Node,
170 SDValue ExpandFCOPYSIGN(SDNode *Node) const;
171 SDValue ExpandFABS(SDNode *Node) const;
172 SDValue ExpandFNEG(SDNode *Node) const;
173 SDValue expandLdexp(SDNode *Node) const;
174 SDValue expandFrexp(SDNode *Node) const;
176 SDValue ExpandLegalINT_TO_FP(SDNode *Node, SDValue &Chain);
177 void PromoteLegalINT_TO_FP(SDNode *N, const SDLoc &dl,
179 void PromoteLegalFP_TO_INT(SDNode *N, const SDLoc &dl,
181 SDValue PromoteLegalFP_TO_INT_SAT(SDNode *Node, const SDLoc &dl);
188 SDValue PromoteReduction(SDNode *Node);
194 SDValue ExpandVectorBuildThroughStack(SDNode* Node);
200 bool ExpandNode(SDNode *Node);
201 void ConvertNodeToLibcall(SDNode *Node);
202 void PromoteNode(SDNode *Node);
207 void ReplacedNode(SDNode *N) {
213 void ReplaceNode(SDNode *Old, SDNode *New) {
236 void ReplaceNode(SDNode *Old, const SDValue *New) {
477 void SelectionDAGLegalize::LegalizeStoreOps(SDNode *Node) {
488 if (SDNode *OptStore = OptimizeFloatStore(ST).getNode()) {
655 void SelectionDAGLegalize::LegalizeLoadOps(SDNode *Node) {
955 void SelectionDAGLegalize::LegalizeOp(SDNode *Node) {
1254 SDNode *NewNode = Node;
1388 SmallPtrSet<const SDNode *, 32> Visited;
1389 SmallVector<const SDNode *, 16> Worklist;
1393 for (SDNode *User : Vec.getNode()->uses()) {
1409 if (SDNode::hasPredecessorHelper(ST, Visited, Worklist) ||
1506 SDValue SelectionDAGLegalize::ExpandVectorBuildThroughStack(SDNode* Node) {
1631 SDValue SelectionDAGLegalize::ExpandFCOPYSIGN(SDNode *Node) const {
1694 SDValue SelectionDAGLegalize::ExpandFNEG(SDNode *Node) const {
1710 SDValue SelectionDAGLegalize::ExpandFABS(SDNode *Node) const {
1731 void SelectionDAGLegalize::ExpandDYNAMIC_STACKALLOC(SDNode* Node,
1823 SDValue SelectionDAGLegalize::ExpandSCALAR_TO_VECTOR(SDNode *Node) {
1842 ExpandBVWithShuffles(SDNode *Node, SelectionDAG &DAG,
1937 SDValue SelectionDAGLegalize::ExpandBUILD_VECTOR(SDNode *Node) {
2049 SDValue SelectionDAGLegalize::ExpandSPLAT_VECTOR(SDNode *Node) {
2062 std::pair<SDValue, SDValue> SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node,
2117 std::pair<SDValue, SDValue> SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node,
2135 SDNode *Node, SmallVectorImpl<SDValue> &Results) {
2175 void SelectionDAGLegalize::ExpandFPLibCall(SDNode* Node,
2200 void SelectionDAGLegalize::ExpandFPLibCall(SDNode* Node,
2213 SDValue SelectionDAGLegalize::ExpandIntLibCall(SDNode* Node, bool isSigned,
2233 void SelectionDAGLegalize::ExpandArgFPLibCall(SDNode* Node,
2249 SelectionDAGLegalize::ExpandDivRemLibCall(SDNode *Node,
2314 static bool isSinCosLibcallAvailable(SDNode *Node, const TargetLowering &TLI) {
2328 static bool useSinCos(SDNode *Node) {
2333 for (const SDNode *User : Op0.getNode()->uses()) {
2345 SelectionDAGLegalize::ExpandSinCosLibCall(SDNode *Node,
2408 SDValue SelectionDAGLegalize::expandLdexp(SDNode *Node) const {
2520 SDValue SelectionDAGLegalize::expandFrexp(SDNode *Node) const {
2643 SDValue SelectionDAGLegalize::ExpandLegalINT_TO_FP(SDNode *Node,
2863 SDNode *N, const SDLoc &dl, SmallVectorImpl<SDValue> &Results) {
2923 void SelectionDAGLegalize::PromoteLegalFP_TO_INT(SDNode *N, const SDLoc &dl,
2973 SDValue SelectionDAGLegalize::PromoteLegalFP_TO_INT_SAT(SDNode *Node,
3016 SDValue SelectionDAGLegalize::PromoteReduction(SDNode *Node) {
3054 bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
4404 void SelectionDAGLegalize::ConvertNodeToLibcall(SDNode *Node) {
5083 void SelectionDAGLegalize::PromoteNode(SDNode *Node) {
5828 SmallPtrSet<SDNode *, 16> LegalizedNodes;
5835 [&LegalizedNodes](SDNode *N, SDNode *E) { LegalizedNodes.erase(N); });
5848 SDNode *N = &*NI;
5874 bool SelectionDAG::LegalizeOp(SDNode *N,
5875 SmallSetVector<SDNode *, 16> &UpdatedNodes) {
5876 SmallPtrSet<SDNode *, 16> LegalizedNodes;