/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 195 bool IsDiv, bool IsSigned) const; 199 bool IsDiv, bool IsSigned) const; 877 bool IsDiv, bool IsSigned) const { in expandDivRem24() argument 881 return expandDivRem24Impl(Builder, I, Num, Den, DivBits, IsDiv, IsSigned); in expandDivRem24() 888 bool IsDiv, bool IsSigned) const { in expandDivRem24Impl() argument 961 if (!IsDiv) { in expandDivRem24Impl() 1044 bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv; in expandDivRem32() local 1061 if (Value *Res = expandDivRem24(Builder, I, X, Y, IsDiv, IsSigned)) { in expandDivRem32() 1074 Sign = IsDiv ? Builder.CreateXor(SignX, SignY) : SignX; in expandDivRem32() 1133 if (IsDiv) in expandDivRem32() [all …]
|
D | AMDGPULegalizerInfo.h | 111 bool IsDiv) const;
|
D | AMDGPULegalizerInfo.cpp | 2774 bool IsDiv) const { in legalizeUDIV_UREM32Impl() 2800 if (IsDiv) in legalizeUDIV_UREM32Impl() 2806 if (IsDiv) in legalizeUDIV_UREM32Impl() 2815 const bool IsDiv = MI.getOpcode() == AMDGPU::G_UDIV; in legalizeUDIV_UREM32() local 2819 legalizeUDIV_UREM32Impl(B, DstReg, Num, Den, IsDiv); in legalizeUDIV_UREM32() 2871 bool IsDiv) const { in legalizeUDIV_UREM64Impl() 2967 if (IsDiv) { in legalizeUDIV_UREM64Impl() 2985 const bool IsDiv = MI.getOpcode() == AMDGPU::G_UDIV; in legalizeUDIV_UREM() local 2992 legalizeUDIV_UREM32Impl(B, DstReg, Num, Den, IsDiv); in legalizeUDIV_UREM() 2994 legalizeUDIV_UREM64Impl(B, DstReg, Num, Den, IsDiv); in legalizeUDIV_UREM() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 158 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()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | shape_optimizer.cc | 54 } else if (IsDiv(node) && is_int(node)) { in Optimize()
|
D | constant_folding.cc | 3051 (IsDiv(*node) || IsRealDiv(*node) || IsXdivy(*node))) { in ReduceDivToReciprocalMul() 3063 if (IsDiv(*node) && in ReduceDivToReciprocalMul() 3313 const bool is_div = IsDiv(*node); in ConstantPushDown() 3327 const bool is_child_div = IsDiv(*ctx.op_child); in ConstantPushDown()
|
D | layout_optimizer.cc | 327 IsDiv(node) || IsFloorDiv(node) || IsIgamma(node) || IsIgammac(node) || in IsBinaryOp()
|
D | generic_layout_optimizer_transposer.cc | 2093 IsDiv(node) || IsFloorDiv(node) || IsIgamma(node) || IsIgammac(node) || in IsBinaryOp()
|
/external/tensorflow/tensorflow/core/grappler/ |
D | op_types.h | 73 bool IsDiv(const NodeDef& node);
|
D | op_types.cc | 218 bool IsDiv(const NodeDef& node) { return node.op() == "Div"; } in IsDiv() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsInstructionSelector.cpp | 445 bool IsDiv = I.getOpcode() == G_UDIV || I.getOpcode() == G_SDIV; in select() local 457 TII.get(IsDiv ? Mips::PseudoMFLO : Mips::PseudoMFHI)) in select()
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsInstructionSelector.cpp | 514 bool IsDiv = I.getOpcode() == G_UDIV || I.getOpcode() == G_SDIV; in select() local 526 TII.get(IsDiv ? Mips::PseudoMFLO : Mips::PseudoMFHI)) in select()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 932 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()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 923 static Value *simplifyDivRem(Value *Op0, Value *Op1, bool IsDiv, in simplifyDivRem() argument 964 return IsDiv ? ConstantInt::get(Ty, 1) : Constant::getNullValue(Ty); in simplifyDivRem() 974 return IsDiv ? Op0 : Constant::getNullValue(Ty); in simplifyDivRem()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 8035 SourceLocation Loc, bool IsDiv) { in DiagnoseBadDivideOrRemainderValues() argument 8042 << IsDiv << RHS.get()->getSourceRange()); in DiagnoseBadDivideOrRemainderValues() 8047 bool IsCompAssign, bool IsDiv) { in CheckMultiplyDivideOperands() argument 8063 if (IsDiv) in CheckMultiplyDivideOperands() 8064 DiagnoseBadDivideOrRemainderValues(*this, LHS, RHS, Loc, IsDiv); in CheckMultiplyDivideOperands()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 10166 SourceLocation Loc, bool IsDiv) { in DiagnoseBadDivideOrRemainderValues() argument 10174 << IsDiv << RHS.get()->getSourceRange()); in DiagnoseBadDivideOrRemainderValues() 10179 bool IsCompAssign, bool IsDiv) { in CheckMultiplyDivideOperands() argument 10187 if (!IsDiv && (LHS.get()->getType()->isConstantMatrixType() || in CheckMultiplyDivideOperands() 10199 if (IsDiv) { in CheckMultiplyDivideOperands() 10200 DiagnoseBadDivideOrRemainderValues(*this, LHS, RHS, Loc, IsDiv); in CheckMultiplyDivideOperands()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 3696 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()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 3971 bool IsDiv = (ISD::SDIV == Opc) || (ISD::UDIV == Opc); in simplifyDivRem() local 3996 return DAG.getConstant(IsDiv ? 1 : 0, DL, VT); in simplifyDivRem() 4005 return IsDiv ? N0 : DAG.getConstant(0, DL, VT); in simplifyDivRem()
|