Home
last modified time | relevance | path

Searched refs:LHSign (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.cpp783 Value *LHSign = Builder.CreateAShr(Num, K31); in expandDivRem32() local
786 Sign = IsDiv ? Builder.CreateXor(LHSign, RHSign) : LHSign; in expandDivRem32()
788 Num = Builder.CreateAdd(Num, LHSign); in expandDivRem32()
791 Num = Builder.CreateXor(Num, LHSign); in expandDivRem32()
DAMDGPUISelLowering.cpp1996 SDValue LHSign = DAG.getSelectCC(DL, LHS, Zero, NegOne, Zero, ISD::SETLT); in LowerSDIVREM() local
1998 SDValue DSign = DAG.getNode(ISD::XOR, DL, VT, LHSign, RHSign); in LowerSDIVREM()
1999 SDValue RSign = LHSign; // Remainder sign is the same as LHS in LowerSDIVREM()
2001 LHS = DAG.getNode(ISD::ADD, DL, VT, LHS, LHSign); in LowerSDIVREM()
2004 LHS = DAG.getNode(ISD::XOR, DL, VT, LHS, LHSign); in LowerSDIVREM()