Home
last modified time | relevance | path

Searched refs:RHSign (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp784 Value *RHSign = Builder.CreateAShr(Den, K31); in expandDivRem32() local
786 Sign = IsDiv ? Builder.CreateXor(LHSign, RHSign) : LHSign; in expandDivRem32()
789 Den = Builder.CreateAdd(Den, RHSign); in expandDivRem32()
792 Den = Builder.CreateXor(Den, RHSign); in expandDivRem32()
DAMDGPUISelLowering.cpp1997 SDValue RHSign = DAG.getSelectCC(DL, RHS, Zero, NegOne, Zero, ISD::SETLT); in LowerSDIVREM() local
1998 SDValue DSign = DAG.getNode(ISD::XOR, DL, VT, LHSign, RHSign); in LowerSDIVREM()
2002 RHS = DAG.getNode(ISD::ADD, DL, VT, RHS, RHSign); in LowerSDIVREM()
2005 RHS = DAG.getNode(ISD::XOR, DL, VT, RHS, RHSign); in LowerSDIVREM()