reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
 1936   switch (N->getOpcode()) {
 1938     if (N->getOperand(0).getOpcode() == ISD::SRL) {
 1941       const SDValue &Srl = N->getOperand(0);
 1943       ConstantSDNode *Mask = dyn_cast<ConstantSDNode>(N->getOperand(1));
 1952           ReplaceNode(N, getS_BFE(AMDGPU::S_BFE_U32, SDLoc(N),
 1952           ReplaceNode(N, getS_BFE(AMDGPU::S_BFE_U32, SDLoc(N),
 1960     if (N->getOperand(0).getOpcode() == ISD::AND) {
 1963       const SDValue &And = N->getOperand(0);
 1964       ConstantSDNode *Shift = dyn_cast<ConstantSDNode>(N->getOperand(1));
 1974           ReplaceNode(N, getS_BFE(AMDGPU::S_BFE_U32, SDLoc(N),
 1974           ReplaceNode(N, getS_BFE(AMDGPU::S_BFE_U32, SDLoc(N),
 1979     } else if (N->getOperand(0).getOpcode() == ISD::SHL) {
 1980       SelectS_BFEFromShifts(N);
 1985     if (N->getOperand(0).getOpcode() == ISD::SHL) {
 1986       SelectS_BFEFromShifts(N);
 1993     SDValue Src = N->getOperand(0);
 2001     unsigned Width = cast<VTSDNode>(N->getOperand(1))->getVT().getSizeInBits();
 2002     ReplaceNode(N, getS_BFE(AMDGPU::S_BFE_I32, SDLoc(N), Src.getOperand(0),
 2002     ReplaceNode(N, getS_BFE(AMDGPU::S_BFE_I32, SDLoc(N), Src.getOperand(0),
 2008   SelectCode(N);