Home
last modified time | relevance | path

Searched refs:Denom (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DDivZeroChecker.cpp60 SVal Denom = C.getState()->getSVal(B->getRHS(), C.getLocationContext()); in checkPreStmt() local
61 Optional<DefinedSVal> DV = Denom.getAs<DefinedSVal>(); in checkPreStmt()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDivZeroChecker.cpp69 SVal Denom = C.getSVal(B->getRHS()); in checkPreStmt() local
70 Optional<DefinedSVal> DV = Denom.getAs<DefinedSVal>(); in checkPreStmt()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp372 unsigned Denom = (BackEdges.empty() ? 0 : LBH_TAKEN_WEIGHT) + in calcLoopBranchHeuristics() local
376 Probs[0] = BranchProbability(LBH_TAKEN_WEIGHT, Denom); in calcLoopBranchHeuristics()
378 Probs[1] = BranchProbability(LBH_TAKEN_WEIGHT, Denom); in calcLoopBranchHeuristics()
380 Probs[2] = BranchProbability(LBH_NONTAKEN_WEIGHT, Denom); in calcLoopBranchHeuristics()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp644 unsigned Denom = (BackEdges.empty() ? 0 : LBH_TAKEN_WEIGHT) + in calcLoopBranchHeuristics() local
650 BranchProbability TakenProb = BranchProbability(LBH_TAKEN_WEIGHT, Denom); in calcLoopBranchHeuristics()
657 BranchProbability TakenProb = BranchProbability(LBH_TAKEN_WEIGHT, Denom); in calcLoopBranchHeuristics()
665 Denom); in calcLoopBranchHeuristics()
673 Denom); in calcLoopBranchHeuristics()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp224 uint64_t Denom) { in getScaledCount() argument
229 return ScaleCount / Denom; in getScaledCount()
/external/llvm-project/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp817 unsigned Denom = (BackEdges.empty() ? 0 : LBH_TAKEN_WEIGHT) + in calcLoopBranchHeuristics() local
825 BranchProbability TakenProb = BranchProbability(LBH_TAKEN_WEIGHT, Denom); in calcLoopBranchHeuristics()
832 BranchProbability TakenProb = BranchProbability(LBH_TAKEN_WEIGHT, Denom); in calcLoopBranchHeuristics()
840 Denom); in calcLoopBranchHeuristics()
848 Denom); in calcLoopBranchHeuristics()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp285 uint64_t Denom) { in getScaledCount() argument
290 return ScaleCount / Denom; in getScaledCount()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.h110 Register DstReg, Register Numer, Register Denom,
DAMDGPULegalizerInfo.cpp2870 Register Denom, in legalizeUDIV_UREM64Impl() argument
2877 std::tie(RcpLo, RcpHi) = emitReciprocalU64(B, Denom); in legalizeUDIV_UREM64Impl()
2882 auto NegDenom = B.buildSub(S64, Zero64, Denom); in legalizeUDIV_UREM64Impl()
2914 auto Mul3 = B.buildMul(S64, Denom, MulHi3); in legalizeUDIV_UREM64Impl()
2923 auto UnmergeDenom = B.buildUnmerge(S32, Denom); in legalizeUDIV_UREM64Impl()
DAMDGPUInstructionSelector.cpp876 Register Denom = MI.getOperand(4).getReg(); in selectDivScale() local
879 Register Src0 = ChooseDenom != 0 ? Numer : Denom; in selectDivScale()
886 .addUse(Denom) // $src1 in selectDivScale()
/external/starlark-go/starlark/
Dint.go435 return MakeBigInt(new(big.Int).Div(rat.Num(), rat.Denom()))
/external/llvm-project/clang/utils/TableGen/
DMveEmitter.cpp1143 int Num = Op->getValueAsInt("num"), Denom = Op->getValueAsInt("denom"); in getType() local
1144 unsigned DesiredSize = STKind->sizeInBits() * Num / Denom; in getType()
/external/clang/lib/AST/
DExprConstant.cpp8815 APFloat Denom = C * C + D * D; in VisitBinaryOperator() local
8816 ResR = scalbn((A * C + B * D) / Denom, -DenomLogB, in VisitBinaryOperator()
8818 ResI = scalbn((B * C - A * D) / Denom, -DenomLogB, in VisitBinaryOperator()
8821 if (Denom.isPosZero() && (!A.isNaN() || !B.isNaN())) { in VisitBinaryOperator()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp14189 APFloat Denom = C * C + D * D; in VisitBinaryOperator() local
14190 ResR = scalbn((A * C + B * D) / Denom, -DenomLogB, in VisitBinaryOperator()
14192 ResI = scalbn((B * C - A * D) / Denom, -DenomLogB, in VisitBinaryOperator()
14195 if (Denom.isPosZero() && (!A.isNaN() || !B.isNaN())) { in VisitBinaryOperator()