Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp195 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 …]
DAMDGPULegalizerInfo.h111 bool IsDiv) const;
DAMDGPULegalizerInfo.cpp2774 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/
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()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dshape_optimizer.cc54 } else if (IsDiv(node) && is_int(node)) { in Optimize()
Dconstant_folding.cc3051 (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()
Dlayout_optimizer.cc327 IsDiv(node) || IsFloorDiv(node) || IsIgamma(node) || IsIgammac(node) || in IsBinaryOp()
Dgeneric_layout_optimizer_transposer.cc2093 IsDiv(node) || IsFloorDiv(node) || IsIgamma(node) || IsIgammac(node) || in IsBinaryOp()
/external/tensorflow/tensorflow/core/grappler/
Dop_types.h73 bool IsDiv(const NodeDef& node);
Dop_types.cc218 bool IsDiv(const NodeDef& node) { return node.op() == "Div"; } in IsDiv() function
/external/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()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp514 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/
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()
/external/llvm-project/llvm/lib/Analysis/
DInstructionSimplify.cpp923 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/
DSemaExpr.cpp8035 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/
DSemaExpr.cpp10166 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/
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()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3971 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()