Home
last modified time | relevance | path

Searched refs:Rem (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-12.1/contrib/gdb/
H A Ddjunpack.bat2 Rem
4 Rem format, or else stock DOS/Windows shells will refuse to run it.
5 Rem
9 Rem
10 Rem Invoke like this:
11 Rem
12 Rem djunpack gdb-XYZ.tar
13 Rem
16 Rem
19 Rem distribution unpacks itself.
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp381 IRBuilder<> Builder(Rem); in expandRemainder()
397 Rem->eraseFromParent(); in expandRemainder()
406 Rem = BO; in expandRemainder()
414 Rem->dropAllReferences(); in expandRemainder()
415 Rem->eraseFromParent(); in expandRemainder()
504 IRBuilder<> Builder(Rem); in expandRemainderUpTo32Bits()
524 Rem->dropAllReferences(); in expandRemainderUpTo32Bits()
525 Rem->eraseFromParent(); in expandRemainderUpTo32Bits()
552 IRBuilder<> Builder(Rem); in expandRemainderUpTo64Bits()
572 Rem->dropAllReferences(); in expandRemainderUpTo64Bits()
[all …]
H A DSimplifyIndVar.cpp320 auto *N = Rem->getOperand(0), *D = Rem->getOperand(1); in replaceSRemWithURem()
322 Rem->getName() + ".urem", Rem); in replaceSRemWithURem()
327 DeadInsts.emplace_back(Rem); in replaceSRemWithURem()
332 Rem->replaceAllUsesWith(Rem->getOperand(0)); in replaceRemWithNumerator()
336 DeadInsts.emplace_back(Rem); in replaceRemWithNumerator()
341 auto *T = Rem->getType(); in replaceRemWithNumeratorOrZero()
342 auto *N = Rem->getOperand(0), *D = Rem->getOperand(1); in replaceRemWithNumeratorOrZero()
346 Rem->replaceAllUsesWith(Sel); in replaceRemWithNumeratorOrZero()
350 DeadInsts.emplace_back(Rem); in replaceRemWithNumeratorOrZero()
388 auto *T = Rem->getType(); in simplifyIVRemainder()
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DBranchProbability.cpp96 uint64_t Rem = (uint64_t(Upper32) << 32) | Mid32; in scale() local
97 uint64_t UpperQ = Rem / D; in scale()
103 Rem = ((Rem % D) << 32) | Lower32; in scale()
104 uint64_t LowerQ = Rem / D; in scale()
H A DAPInt.cpp2697 APInt Quo, Rem; in RoundingUDiv() local
2698 APInt::udivrem(A, B, Quo, Rem); in RoundingUDiv()
2699 if (Rem == 0) in RoundingUDiv()
2712 APInt Quo, Rem; in RoundingSDiv() local
2713 APInt::sdivrem(A, B, Quo, Rem); in RoundingSDiv()
2714 if (Rem == 0) in RoundingSDiv()
2722 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv()
2726 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv()
2878 APInt Rem; in SolveQuadraticEquationWrap() local
2889 APInt::sdivrem(-B + SQ, TwoA, X, Rem); in SolveQuadraticEquationWrap()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DIntegerDivision.h33 bool expandRemainder(BinaryOperator *Rem);
50 bool expandRemainderUpTo32Bits(BinaryOperator *Rem);
56 bool expandRemainderUpTo64Bits(BinaryOperator *Rem);
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineScheduler.cpp1922 Rem = rem; in init()
2151 Rem->RemainingCounts[PIdx] -= Count; in countResource()
2220 Rem->RemIssueCount -= DecRemIssue; in bumpNode()
2693 Rem.init(DAG, SchedModel); in initialize()
2694 Top.init(DAG, SchedModel, &Rem); in initialize()
2695 Bot.init(DAG, SchedModel, &Rem); in initialize()
2784 if (Rem.CyclicCritPath == 0 || Rem.CyclicCritPath >= Rem.CriticalPath) in checkAcyclicLatency()
2790 Rem.RemIssueCount); in checkAcyclicLatency()
2817 Rem.CriticalPath = SU->getDepth(); in registerRoots()
3300 Rem.init(DAG, SchedModel); in initialize()
[all …]
H A DTargetSchedule.cpp51 unsigned Rem = Dividend % Divisor; in gcd() local
53 Divisor = Rem; in gcd()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp593 Value *Rem = Builder.CreateMul(Div, Den); in expandDivRem24() local
594 Res = Builder.CreateSub(Num, Rem); in expandDivRem24()
739 Value *Rem = Builder.CreateSelect(Tmp1_0_CC, Remainder, Remainder_S_Den); in expandDivRem32() local
742 Res = Builder.CreateSelect(Num_GE_Num_S_Rem_CC, Rem, Remainder_A_Den); in expandDivRem32()
H A DAMDGPUISelLowering.cpp1554 SDValue Rem = DAG.getNode(ISD::MUL, DL, VT, Div, RHS); in LowerDIVREM24() local
1555 Rem = DAG.getNode(ISD::SUB, DL, VT, LHS, Rem); in LowerDIVREM24()
1562 Rem = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, Rem, InRegSize); in LowerDIVREM24()
1566 Rem = DAG.getNode(ISD::AND, DL, VT, Rem, TruncMask); in LowerDIVREM24()
1569 return DAG.getMergeValues({ Div, Rem }, DL); in LowerDIVREM24()
1734 Results.push_back(Rem); in LowerUDIVREM64()
1892 Rem in LowerUDIVREM()
1942 SDValue Rem = Div.getValue(1); in LowerSDIVREM() local
1945 Rem = DAG.getNode(ISD::XOR, DL, VT, Rem, RSign); in LowerSDIVREM()
1948 Rem = DAG.getNode(ISD::SUB, DL, VT, Rem, RSign); in LowerSDIVREM()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtVisitor.h127 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) in BINOP_FALLBACK()
H A DOperationKinds.def350 BINARY_OPERATION(Rem, "%")
H A DRecursiveASTVisitor.h64 OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) OPERATOR(Shl) OPERATOR(Shr) \
71 OPERATOR(Mul) OPERATOR(Div) OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) \
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineScheduler.h630 SchedRemainder *Rem = nullptr; variable
895 SchedRemainder Rem; variable
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp1169 uint64_t Weight = Total / NCases, Rem = Total % NCases; in EmitCaseStmtRange() local
1172 SwitchWeights->push_back(Weight + (Rem ? 1 : 0)); in EmitCaseStmtRange()
1173 if (Rem) in EmitCaseStmtRange()
1174 Rem--; in EmitCaseStmtRange()
H A DCoverageMappingGen.cpp1399 if (size_t Rem = OS.str().size() % 8) { in emit() local
1400 CoverageMappingSize += 8 - Rem; in emit()
1401 OS.write_zeros(8 - Rem); in emit()
H A DCGExprScalar.cpp750 HANDLEBINOP(Rem)
4356 COMPOUND_OP(Rem); in EmitCompoundAssignmentLValue()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp603 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in SimplifyDemandedUseBits() local
606 if (Rem->isMinusOne()) in SimplifyDemandedUseBits()
608 APInt RA = Rem->getValue().abs(); in SimplifyDemandedUseBits()
H A DInstCombineShifts.cpp59 Value *Rem = Builder.CreateAnd(A, ConstantInt::get(I.getType(), *B - 1), in commonShiftTransforms() local
61 I.setOperand(1, Rem); in commonShiftTransforms()
H A DInstCombineMulDivRem.cpp278 Value *Rem = Builder.CreateBinOp(RemOpc, X, DivOp1); in visitMul() local
280 return BinaryOperator::CreateSub(X, Rem); in visitMul()
281 return BinaryOperator::CreateSub(Rem, X); in visitMul()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp440 unsigned Rem = Value % 64; in encodeBase64StringEntry() local
442 *(Ptr--) = Alphabet[Rem]; in encodeBase64StringEntry()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1076 int64_t Rem = StepVal % Size; in getPtrStride() local
1077 if (Rem) in getPtrStride()
H A DValueTracking.cpp1227 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in computeKnownBitsFromOperator() local
1228 APInt RA = Rem->getValue().abs(); in computeKnownBitsFromOperator()
1261 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in computeKnownBitsFromOperator() local
1262 const APInt &RA = Rem->getValue(); in computeKnownBitsFromOperator()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2962 if (ConstantSDNode *Rem = isConstOrConstSplat(Op.getOperand(1))) { in computeKnownBits() local
2963 const APInt &RA = Rem->getAPIntValue().abs(); in computeKnownBits()
2986 if (ConstantSDNode *Rem = isConstOrConstSplat(Op.getOperand(1))) { in computeKnownBits() local
2987 const APInt &RA = Rem->getAPIntValue(); in computeKnownBits()
H A DLegalizeDAG.cpp2223 SDValue Rem = in ExpandDivRemLibCall() local
2226 Results.push_back(Rem); in ExpandDivRemLibCall()

12