Home
last modified time | relevance | path

Searched refs:IsDiv (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp158 bool IsDiv, bool IsSigned) const;
639 bool IsDiv, bool IsSigned) const { in expandDivRem24() argument
722 if (!IsDiv) { in expandDivRem24()
754 bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv; in expandDivRem32() local
771 if (Value *Res = expandDivRem24(Builder, I, Num, Den, IsDiv, IsSigned)) { in expandDivRem32()
786 Sign = IsDiv ? Builder.CreateXor(LHSign, RHSign) : LHSign; in expandDivRem32()
850 if (IsDiv) { in expandDivRem32()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp445 bool IsDiv = I.getOpcode() == G_UDIV || I.getOpcode() == G_SDIV; in select() local
457 TII.get(IsDiv ? Mips::PseudoMFLO : Mips::PseudoMFHI)) in select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp932 static Value *simplifyDivRem(Value *Op0, Value *Op1, bool IsDiv) { in simplifyDivRem() argument
971 return IsDiv ? ConstantInt::get(Ty, 1) : Constant::getNullValue(Ty); in simplifyDivRem()
981 return IsDiv ? Op0 : Constant::getNullValue(Ty); in simplifyDivRem()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3696 bool IsDiv = (ISD::SDIV == Opc) || (ISD::UDIV == Opc); in simplifyDivRem() local
3721 return DAG.getConstant(IsDiv ? 1 : 0, DL, VT); in simplifyDivRem()
3730 return IsDiv ? N0 : DAG.getConstant(0, DL, VT); in simplifyDivRem()