Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/gdb/
Ddjunpack.bat2 Rem
3 Rem WARNING WARNING WARNING: This file needs to have DOS CRLF end-of-line
4 Rem format, or else stock DOS/Windows shells will refuse to run it.
5 Rem
6 Rem This batch file unpacks the GDB distribution while simultaneously
7 Rem renaming some of the files whose names are invalid on DOS or conflict
8 Rem with other file names after truncation to DOS 8+3 namespace.
9 Rem
10 Rem Invoke like this:
11 Rem
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp375 bool llvm::expandRemainder(BinaryOperator *Rem) { in expandRemainder() argument
376 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainder()
377 Rem->getOpcode() == Instruction::URem) && in expandRemainder()
380 IRBuilder<> Builder(Rem); in expandRemainder()
382 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder()
383 assert((Rem->getType()->getIntegerBitWidth() == 32 || in expandRemainder()
384 Rem->getType()->getIntegerBitWidth() == 64) && in expandRemainder()
388 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder()
389 Value *Remainder = generateSignedRemainderCode(Rem->getOperand(0), in expandRemainder()
390 Rem->getOperand(1), Builder); in expandRemainder()
[all …]
DSimplifyIndVar.cpp91 void simplifyIVRemainder(BinaryOperator *Rem, Value *IVOperand,
93 void replaceRemWithNumerator(BinaryOperator *Rem);
94 void replaceRemWithNumeratorOrZero(BinaryOperator *Rem);
95 void replaceSRemWithURem(BinaryOperator *Rem);
340 void SimplifyIndvar::replaceSRemWithURem(BinaryOperator *Rem) { in replaceSRemWithURem() argument
341 auto *N = Rem->getOperand(0), *D = Rem->getOperand(1); in replaceSRemWithURem()
343 Rem->getName() + ".urem", Rem); in replaceSRemWithURem()
344 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem()
345 LLVM_DEBUG(dbgs() << "INDVARS: Simplified srem: " << *Rem << '\n'); in replaceSRemWithURem()
348 DeadInsts.emplace_back(Rem); in replaceSRemWithURem()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
DBranchProbability.cpp92 uint64_t Rem = (uint64_t(Upper32) << 32) | Mid32; in scale() local
93 uint64_t UpperQ = Rem / D; in scale()
99 Rem = ((Rem % D) << 32) | Lower32; in scale()
100 uint64_t LowerQ = Rem / D; in scale()
DAPFixedPoint.cpp305 APInt Rem; in div() local
306 APInt::sdivrem(ThisVal, OtherVal, Result, Rem); in div()
309 if (ThisVal.isNegative() != OtherVal.isNegative() && !Rem.isNullValue()) in div()
DAPInt.cpp2820 APInt Quo, Rem; in RoundingUDiv() local
2821 APInt::udivrem(A, B, Quo, Rem); in RoundingUDiv()
2822 if (Rem == 0) in RoundingUDiv()
2835 APInt Quo, Rem; in RoundingSDiv() local
2836 APInt::sdivrem(A, B, Quo, Rem); in RoundingSDiv()
2837 if (Rem == 0) in RoundingSDiv()
2845 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv()
2849 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv()
3001 APInt Rem; in SolveQuadraticEquationWrap() local
3010 APInt::sdivrem(-B - (SQ+InexactSQ), TwoA, X, Rem); in SolveQuadraticEquationWrap()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
DIntegerDivision.h32 bool expandRemainder(BinaryOperator *Rem);
49 bool expandRemainderUpTo32Bits(BinaryOperator *Rem);
55 bool expandRemainderUpTo64Bits(BinaryOperator *Rem);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DMachineScheduler.cpp2044 Rem = rem; in init()
2238 unsigned OtherCritCount = Rem->RemIssueCount in getOtherResourceCount()
2244 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount()
2353 assert(Rem->RemainingCounts[PIdx] >= Count && "resource double counted"); in countResource()
2354 Rem->RemainingCounts[PIdx] -= Count; in countResource()
2426 assert(Rem->RemIssueCount >= DecRemIssue && "MOps double counted"); in bumpNode()
2427 Rem->RemIssueCount -= DecRemIssue; in bumpNode()
2672 if (CurrZone.getCurrCycle() > Rem.CriticalPath) in shouldReduceLatency()
2682 return RemLatency + CurrZone.getCurrCycle() > Rem.CriticalPath; in shouldReduceLatency()
2719 << Rem.CriticalPath << "\n"); in setPolicy()
[all …]
DTargetSchedule.cpp50 unsigned Rem = Dividend % Divisor; in gcd() local
52 Divisor = Rem; in gcd()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp258 size_t Rem = SizeStr % DWORD_ALIGN; in lowerPrintfForGpu() local
262 if (Rem) { in lowerPrintfForGpu()
263 NSizeStr = SizeStr + (DWORD_ALIGN - Rem); in lowerPrintfForGpu()
433 size_t Rem = SizeStr % DWORD_ALIGN; in lowerPrintfForGpu() local
435 if (Rem) { in lowerPrintfForGpu()
436 NSizeStr = SizeStr + (DWORD_ALIGN - Rem); in lowerPrintfForGpu()
DAMDGPULowerModuleLDSPass.cpp235 if (uint64_t Rem = CurrentOffset % DataAlignV) { in processUsedLDS() local
236 uint64_t Padding = DataAlignV - Rem; in processUsedLDS()
DAMDGPUISelLowering.cpp1804 SDValue Rem = DAG.getNode(ISD::MUL, DL, VT, Div, RHS); in LowerDIVREM24() local
1805 Rem = DAG.getNode(ISD::SUB, DL, VT, LHS, Rem); in LowerDIVREM24()
1812 Rem = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, Rem, InRegSize); in LowerDIVREM24()
1816 Rem = DAG.getNode(ISD::AND, DL, VT, Rem, TruncMask); in LowerDIVREM24()
1819 return DAG.getMergeValues({ Div, Rem }, DL); in LowerDIVREM24()
1986 SDValue Rem = DAG.getSelectCC(DL, C3, Zero, Sel2, Sub1, ISD::SETNE); in LowerUDIVREM64() local
1989 Results.push_back(Rem); in LowerUDIVREM64()
2137 SDValue Rem = Div.getValue(1); in LowerSDIVREM() local
2140 Rem = DAG.getNode(ISD::XOR, DL, VT, Rem, RSign); in LowerSDIVREM()
2143 Rem = DAG.getNode(ISD::SUB, DL, VT, Rem, RSign); in LowerSDIVREM()
[all …]
DAMDGPUCodeGenPrepare.cpp973 Value *Rem = Builder.CreateMul(Div, Den); in expandDivRem24Impl() local
974 Res = Builder.CreateSub(Num, Rem); in expandDivRem24Impl()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCMachineScheduler.cpp87 if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() && in tryCandidate()
138 !Rem.IsAcyclicLatencyLimited && tryLatency(TryCand, Cand, *Zone)) in tryCandidate()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp699 ConstantInt *Rem; in SimplifyDemandedUseBits() local
700 if (match(I->getOperand(1), m_ConstantInt(Rem))) { in SimplifyDemandedUseBits()
703 if (Rem->isMinusOne()) in SimplifyDemandedUseBits()
705 APInt RA = Rem->getValue().abs(); in SimplifyDemandedUseBits()
DInstCombineMulDivRem.cpp292 Value *Rem = Builder.CreateBinOp(RemOpc, X, DivOp1); in visitMul() local
294 return BinaryOperator::CreateSub(X, Rem); in visitMul()
295 return BinaryOperator::CreateSub(Rem, X); in visitMul()
DInstCombineShifts.cpp419 Value *Rem = Builder.CreateAnd(A, Mask, Op1->getName()); in commonShiftTransforms() local
420 return replaceOperand(I, 1, Rem); in commonShiftTransforms()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DStmtVisitor.h127 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) in BINOP_FALLBACK()
DOperationKinds.def374 BINARY_OPERATION(Rem, "%")
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DMachineScheduler.h619 SchedRemainder *Rem = nullptr; variable
911 SchedRemainder Rem; variable
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLowerMatrixIntrinsics.cpp2197 OptimizationRemark Rem(DEBUG_TYPE, "matrix-lowered", Loc, in emitRemarks() local
2200 Rem << "Lowered with "; in emitRemarks()
2201 Rem << ore::NV("NumStores", Counts.NumStores) << " stores, " in emitRemarks()
2210 Rem << ",\nadditionally " in emitRemarks()
2218 Rem << ("\n" + linearize(L, Shared, ExprsInSubprogram, DL)); in emitRemarks()
2219 ORE.emit(Rem); in emitRemarks()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
DWinCOFFObjectWriter.cpp450 unsigned Rem = Value % 64; in encodeBase64StringEntry() local
452 *(Ptr--) = Alphabet[Rem]; in encodeBase64StringEntry()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp1375 uint64_t Weight = Total / NCases, Rem = Total % NCases; in EmitCaseStmtRange() local
1378 SwitchWeights->push_back(Weight + (Rem ? 1 : 0)); in EmitCaseStmtRange()
1382 if (Rem) in EmitCaseStmtRange()
1383 Rem--; in EmitCaseStmtRange()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp1114 int64_t Rem = StepVal % Size; in getPtrStride() local
1115 if (Rem) in getPtrStride()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DAttributorAttributes.cpp227 uint64_t Rem = Offset - SL->getElementOffset(Idx); in constructPointer() local
231 << " Idx: " << Idx << " Rem: " << Rem << "\n"); in constructPointer()
235 Offset = Rem; in constructPointer()

12