Lines Matching refs:SelectionDAG
48 SDValue lowerKernArgParameterPtr(SelectionDAG &DAG, const SDLoc &SL,
50 SDValue getImplicitArgPtr(SelectionDAG &DAG, const SDLoc &SL) const;
51 SDValue getLDSKernelId(SelectionDAG &DAG, const SDLoc &SL) const;
52 SDValue lowerKernargMemParameter(SelectionDAG &DAG, EVT VT, EVT MemVT,
57 SDValue loadImplicitKernelArgument(SelectionDAG &DAG, MVT VT, const SDLoc &DL,
61 SDValue lowerStackParameter(SelectionDAG &DAG, CCValAssign &VA,
64 SDValue getPreloadedValue(SelectionDAG &DAG,
70 SelectionDAG &DAG) const override;
71 SDValue lowerImplicitZextParam(SelectionDAG &DAG, SDValue Op,
74 SelectionDAG &DAG, bool WithChain) const;
76 SDValue CachePolicy, SelectionDAG &DAG) const;
78 SDValue lowerRawBufferAtomicIntrin(SDValue Op, SelectionDAG &DAG,
80 SDValue lowerStructBufferAtomicIntrin(SDValue Op, SelectionDAG &DAG,
83 SDValue lowerWorkitemID(SelectionDAG &DAG, SDValue Op, unsigned Dim,
86 SDValue LowerINTRINSIC_WO_CHAIN(SDValue Op, SelectionDAG &DAG) const;
87 SDValue LowerINTRINSIC_W_CHAIN(SDValue Op, SelectionDAG &DAG) const;
88 SDValue LowerINTRINSIC_VOID(SDValue Op, SelectionDAG &DAG) const;
97 SelectionDAG &DAG) const;
100 SDValue LowerLOAD(SDValue Op, SelectionDAG &DAG) const;
101 SDValue LowerSELECT(SDValue Op, SelectionDAG &DAG) const;
102 SDValue lowerFastUnsafeFDIV(SDValue Op, SelectionDAG &DAG) const;
103 SDValue lowerFastUnsafeFDIV64(SDValue Op, SelectionDAG &DAG) const;
104 SDValue lowerFDIV_FAST(SDValue Op, SelectionDAG &DAG) const;
105 SDValue LowerFDIV16(SDValue Op, SelectionDAG &DAG) const;
106 SDValue LowerFDIV32(SDValue Op, SelectionDAG &DAG) const;
107 SDValue LowerFDIV64(SDValue Op, SelectionDAG &DAG) const;
108 SDValue LowerFDIV(SDValue Op, SelectionDAG &DAG) const;
109 SDValue LowerSTORE(SDValue Op, SelectionDAG &DAG) const;
110 SDValue LowerTrig(SDValue Op, SelectionDAG &DAG) const;
111 SDValue LowerATOMIC_CMP_SWAP(SDValue Op, SelectionDAG &DAG) const;
112 SDValue LowerBRCOND(SDValue Op, SelectionDAG &DAG) const;
113 SDValue LowerRETURNADDR(SDValue Op, SelectionDAG &DAG) const;
115 SelectionDAG &DAG, ArrayRef<SDValue> Ops,
118 SDValue lowerIntrinsicLoad(MemSDNode *M, bool IsFormat, SelectionDAG &DAG,
125 MachineMemOperand *MMO, SelectionDAG &DAG) const;
127 SDValue handleD16VData(SDValue VData, SelectionDAG &DAG,
132 SDValue getFPExtOrFPRound(SelectionDAG &DAG,
138 SelectionDAG &DAG, EVT VT, EVT MemVT, const SDLoc &SL, SDValue Val,
142 SDValue lowerFP_ROUND(SDValue Op, SelectionDAG &DAG) const;
143 SDValue lowerFMINNUM_FMAXNUM(SDValue Op, SelectionDAG &DAG) const;
144 SDValue lowerXMULO(SDValue Op, SelectionDAG &DAG) const;
145 SDValue lowerXMUL_LOHI(SDValue Op, SelectionDAG &DAG) const;
148 SelectionDAG &DAG) const;
150 SDValue lowerADDRSPACECAST(SDValue Op, SelectionDAG &DAG) const;
151 SDValue lowerINSERT_SUBVECTOR(SDValue Op, SelectionDAG &DAG) const;
152 SDValue lowerINSERT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
153 SDValue lowerEXTRACT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
154 SDValue lowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const;
155 SDValue lowerSCALAR_TO_VECTOR(SDValue Op, SelectionDAG &DAG) const;
156 SDValue lowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const;
158 SDValue lowerTRAP(SDValue Op, SelectionDAG &DAG) const;
159 SDValue lowerTrapEndpgm(SDValue Op, SelectionDAG &DAG) const;
160 SDValue lowerTrapHsaQueuePtr(SDValue Op, SelectionDAG &DAG) const;
161 SDValue lowerTrapHsa(SDValue Op, SelectionDAG &DAG) const;
162 SDValue lowerDEBUGTRAP(SDValue Op, SelectionDAG &DAG) const;
164 SDNode *adjustWritemask(MachineSDNode *&N, SelectionDAG &DAG) const;
185 SDValue getCanonicalConstantFP(SelectionDAG &DAG, const SDLoc &SL, EVT VT,
189 SDValue performFPMed3ImmCombine(SelectionDAG &DAG, const SDLoc &SL,
191 SDValue performIntMed3ImmCombine(SelectionDAG &DAG, const SDLoc &SL,
199 SDValue reassociateScalarOps(SDNode *N, SelectionDAG &DAG) const;
200 unsigned getFusedOpcode(const SelectionDAG &DAG,
248 void setBufferOffsets(SDValue CombinedOffset, SelectionDAG &DAG,
252 SDValue handleByteShortBufferLoads(SelectionDAG &DAG, EVT LoadVT, SDLoc DL,
256 SDValue handleByteShortBufferStores(SelectionDAG &DAG, EVT VDataType,
265 bool isFPExtFoldable(const SelectionDAG &DAG, unsigned Opcode, EVT DestVT,
341 const SDLoc &DL, SelectionDAG &DAG,
352 SelectionDAG &DAG) const override;
365 const SDLoc &DL, SelectionDAG &DAG,
375 const SmallVectorImpl<ISD::InputArg> &Ins, SelectionDAG &DAG) const;
380 SDValue lowerDYNAMIC_STACKALLOCImpl(SDValue Op, SelectionDAG &DAG) const;
381 SDValue LowerDYNAMIC_STACKALLOC(SDValue Op, SelectionDAG &DAG) const;
410 bool isFMADLegal(const SelectionDAG &DAG, const SDNode *N) const override;
413 SDValue splitUnaryVectorOp(SDValue Op, SelectionDAG &DAG) const;
414 SDValue splitBinaryVectorOp(SDValue Op, SelectionDAG &DAG) const;
415 SDValue splitTernaryVectorOp(SDValue Op, SelectionDAG &DAG) const;
416 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
419 SelectionDAG &DAG) const override;
422 SDNode *PostISelFolding(MachineSDNode *N, SelectionDAG &DAG) const override;
427 SDNode *legalizeTargetIndependentNode(SDNode *Node, SelectionDAG &DAG) const;
429 MachineSDNode *wrapAddr64Rsrc(SelectionDAG &DAG, const SDLoc &DL,
431 MachineSDNode *buildRSRC(SelectionDAG &DAG, const SDLoc &DL, SDValue Ptr,
440 SelectionDAG &DAG) const override;
448 SDValue copyToM0(SelectionDAG &DAG, SDValue Chain, const SDLoc &DL,
470 bool isReassocProfitable(SelectionDAG &DAG, SDValue N0,
473 bool isCanonicalized(SelectionDAG &DAG, SDValue Op,
477 bool denormalsEnabledForType(const SelectionDAG &DAG, EVT VT) const;
481 const SelectionDAG &DAG,