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 ExpandFPLibCall(SDNode *Node, RTLIB::Libcall LC,
137 void ExpandFPLibCall(SDNode *Node, RTLIB::Libcall Call_F32,
142 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned,
148 void ExpandArgFPLibCall(SDNode *Node,
153 void ExpandDivRemLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results);
154 void ExpandSinCosLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results);
160 SDValue ExpandBUILD_VECTOR(SDNode *Node);
161 SDValue ExpandSPLAT_VECTOR(SDNode *Node);
162 SDValue ExpandSCALAR_TO_VECTOR(SDNode *Node);
163 void ExpandDYNAMIC_STACKALLOC(SDNode *Node,
169 SDValue ExpandFCOPYSIGN(SDNode *Node) const;
170 SDValue ExpandFABS(SDNode *Node) const;
171 SDValue ExpandFNEG(SDNode *Node) const;
172 SDValue expandLdexp(SDNode *Node) const;
173 SDValue expandFrexp(SDNode *Node) const;
175 SDValue ExpandLegalINT_TO_FP(SDNode *Node, SDValue &Chain);
176 void PromoteLegalINT_TO_FP(SDNode *N, const SDLoc &dl,
178 void PromoteLegalFP_TO_INT(SDNode *N, const SDLoc &dl,
180 SDValue PromoteLegalFP_TO_INT_SAT(SDNode *Node, const SDLoc &dl);
187 SDValue PromoteReduction(SDNode *Node);
193 SDValue ExpandVectorBuildThroughStack(SDNode* Node);
199 bool ExpandNode(SDNode *Node);
200 void ConvertNodeToLibcall(SDNode *Node);
201 void PromoteNode(SDNode *Node);
206 void ReplacedNode(SDNode *N) {
212 void ReplaceNode(SDNode *Old, SDNode *New) {
235 void ReplaceNode(SDNode *Old, const SDValue *New) {
476 void SelectionDAGLegalize::LegalizeStoreOps(SDNode *Node) {
487 if (SDNode *OptStore = OptimizeFloatStore(ST).getNode()) {
654 void SelectionDAGLegalize::LegalizeLoadOps(SDNode *Node) {
954 void SelectionDAGLegalize::LegalizeOp(SDNode *Node) {
1258 SDNode *NewNode = Node;
1392 SmallPtrSet<const SDNode *, 32> Visited;
1393 SmallVector<const SDNode *, 16> Worklist;
1397 for (SDNode *User : Vec.getNode()->users()) {
1413 if (SDNode::hasPredecessorHelper(ST, Visited, Worklist) ||
1520 SDValue SelectionDAGLegalize::ExpandVectorBuildThroughStack(SDNode* Node) {
1645 SDValue SelectionDAGLegalize::ExpandFCOPYSIGN(SDNode *Node) const {
1706 SDValue SelectionDAGLegalize::ExpandFNEG(SDNode *Node) const {
1722 SDValue SelectionDAGLegalize::ExpandFABS(SDNode *Node) const {
1743 void SelectionDAGLegalize::ExpandDYNAMIC_STACKALLOC(SDNode* Node,
1835 SDValue SelectionDAGLegalize::ExpandSCALAR_TO_VECTOR(SDNode *Node) {
1854 ExpandBVWithShuffles(SDNode *Node, SelectionDAG &DAG,
1949 SDValue SelectionDAGLegalize::ExpandBUILD_VECTOR(SDNode *Node) {
2061 SDValue SelectionDAGLegalize::ExpandSPLAT_VECTOR(SDNode *Node) {
2074 std::pair<SDValue, SDValue> SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node,
2129 std::pair<SDValue, SDValue> SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node,
2146 void SelectionDAGLegalize::ExpandFPLibCall(SDNode* Node,
2172 void SelectionDAGLegalize::ExpandFPLibCall(SDNode* Node,
2185 SDValue SelectionDAGLegalize::ExpandIntLibCall(SDNode* Node, bool isSigned,
2205 void SelectionDAGLegalize::ExpandArgFPLibCall(SDNode* Node,
2221 SelectionDAGLegalize::ExpandDivRemLibCall(SDNode *Node,
2286 static bool isSinCosLibcallAvailable(SDNode *Node, const TargetLowering &TLI) {
2292 static bool useSinCos(SDNode *Node) {
2297 for (const SDNode *User : Op0.getNode()->users()) {
2307 SDValue SelectionDAGLegalize::expandLdexp(SDNode *Node) const {
2419 SDValue SelectionDAGLegalize::expandFrexp(SDNode *Node) const {
2542 SDValue SelectionDAGLegalize::ExpandLegalINT_TO_FP(SDNode *Node,
2762 SDNode *N, const SDLoc &dl, SmallVectorImpl<SDValue> &Results) {
2822 void SelectionDAGLegalize::PromoteLegalFP_TO_INT(SDNode *N, const SDLoc &dl,
2872 SDValue SelectionDAGLegalize::PromoteLegalFP_TO_INT_SAT(SDNode *Node,
2915 SDValue SelectionDAGLegalize::PromoteReduction(SDNode *Node) {
2953 bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
4342 void SelectionDAGLegalize::ConvertNodeToLibcall(SDNode *Node) {
5038 void SelectionDAGLegalize::PromoteNode(SDNode *Node) {
5811 SmallPtrSet<SDNode *, 16> LegalizedNodes;
5818 [&LegalizedNodes](SDNode *N, SDNode *E) { LegalizedNodes.erase(N); });
5831 SDNode *N = &*NI;
5857 bool SelectionDAG::LegalizeOp(SDNode *N,
5858 SmallSetVector<SDNode *, 16> &UpdatedNodes) {
5859 SmallPtrSet<SDNode *, 16> LegalizedNodes;