| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 354 bool llvm::expandRemainder(BinaryOperator *Rem) { in expandRemainder() argument 355 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainder() 356 Rem->getOpcode() == Instruction::URem) && in expandRemainder() 359 IRBuilder<> Builder(Rem); in expandRemainder() 361 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder() 364 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder() 365 Value *Remainder = generateSignedRemainderCode(Rem->getOperand(0), in expandRemainder() 366 Rem->getOperand(1), Builder); in expandRemainder() 369 bool IsInsertPoint = Rem->getIterator() == Builder.GetInsertPoint(); in expandRemainder() 370 Rem->replaceAllUsesWith(Remainder); in expandRemainder() [all …]
|
| H A D | SimplifyIndVar.cpp | 90 void simplifyIVRemainder(BinaryOperator *Rem, Instruction *IVOperand, 92 void replaceRemWithNumerator(BinaryOperator *Rem); 93 void replaceRemWithNumeratorOrZero(BinaryOperator *Rem); 94 void replaceSRemWithURem(BinaryOperator *Rem); 312 void SimplifyIndvar::replaceSRemWithURem(BinaryOperator *Rem) { in replaceSRemWithURem() argument 313 auto *N = Rem->getOperand(0), *D = Rem->getOperand(1); in replaceSRemWithURem() 315 Rem->getName() + ".urem", Rem); in replaceSRemWithURem() 316 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem() 317 LLVM_DEBUG(dbgs() << "INDVARS: Simplified srem: " << *Rem << '\n'); in replaceSRemWithURem() 320 DeadInsts.emplace_back(Rem); in replaceSRemWithURem() [all …]
|
| /openbsd-src/gnu/usr.bin/texinfo/djgpp/ |
| H A D | config.bat | 5 Rem The small_env tests protect against fixed and too small size 6 Rem of the environment in stock DOS shell. 8 Rem Find out if NLS is wanted or not, if dependency-tracking is 9 Rem wanted or not, if cache is wanted or not, and where the sources are. 20 Rem Loop over all arguments. 21 Rem Special arguments are: NLS, XSRC CACHE and DEPS. 22 Rem All other arguments are stored into ARGS. 78 Rem Create a response file for the configure script. 96 Rem Update configuration files 103 Rem Make sure they have a config.site file [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | StackFrameLayoutAnalysisPass.cpp | 105 MachineOptimizationRemarkAnalysis Rem(DEBUG_TYPE, "StackLayout", in runOnMachineFunction() local 108 Rem << ("\nFunction: " + MF.getName()).str(); in runOnMachineFunction() 109 emitStackFrameLayoutRemarks(MF, Rem); in runOnMachineFunction() 110 getAnalysis<MachineOptimizationRemarkEmitterPass>().getORE().emit(Rem); in runOnMachineFunction() 128 MachineOptimizationRemarkAnalysis &Rem) { in emitStackSlotRemark() 153 Rem << Prefix << ore::NV("Offset", D.Offset) in emitStackSlotRemark() 160 MachineOptimizationRemarkAnalysis &Rem) { in emitSourceLocRemark() 164 Rem << "\n " << ore::NV("DataLoc", Loc); in emitSourceLocRemark() 168 MachineOptimizationRemarkAnalysis &Rem) { in emitStackFrameLayoutRemarks() 200 emitStackSlotRemark(MF, Info, Rem); in emitStackFrameLayoutRemarks() [all …]
|
| H A D | MachineScheduler.cpp | 2049 Rem = rem; in init() 2243 unsigned OtherCritCount = Rem->RemIssueCount in getOtherResourceCount() 2249 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount() 2358 assert(Rem->RemainingCounts[PIdx] >= Count && "resource double counted"); in countResource() 2359 Rem->RemainingCounts[PIdx] -= Count; in countResource() 2431 assert(Rem->RemIssueCount >= DecRemIssue && "MOps double counted"); in bumpNode() 2432 Rem->RemIssueCount -= DecRemIssue; in bumpNode() 2701 if (CurrZone.getCurrCycle() > Rem.CriticalPath) in shouldReduceLatency() 2711 return RemLatency + CurrZone.getCurrCycle() > Rem.CriticalPath; in shouldReduceLatency() 2748 << Rem.CriticalPath << "\n"); in setPolicy() [all …]
|
| H A D | SelectOptimize.cpp | 577 DiagnosticInfoOptimizationBase &Rem) { in EmitAndPrintRemark() argument 578 LLVM_DEBUG(dbgs() << Rem.getMsg() << "\n"); in EmitAndPrintRemark() 579 ORE->emit(Rem); in EmitAndPrintRemark()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | BranchProbability.cpp | 92 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()
|
| H A D | APInt.cpp | 2729 APInt Quo, Rem; in RoundingUDiv() local 2730 APInt::udivrem(A, B, Quo, Rem); in RoundingUDiv() 2731 if (Rem.isZero()) in RoundingUDiv() 2744 APInt Quo, Rem; in RoundingSDiv() local 2745 APInt::sdivrem(A, B, Quo, Rem); in RoundingSDiv() 2746 if (Rem.isZero()) in RoundingSDiv() 2754 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv() 2758 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv() 2910 APInt Rem; in SolveQuadraticEquationWrap() local 2919 APInt::sdivrem(-B - (SQ+InexactSQ), TwoA, X, Rem); in SolveQuadraticEquationWrap() [all …]
|
| H A D | APFixedPoint.cpp | 316 APInt Rem; in div() local 317 APInt::sdivrem(ThisVal, OtherVal, Result, Rem); in div() 320 if (ThisVal.isNegative() != OtherVal.isNegative() && !Rem.isZero()) in div()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | IntegerDivision.h | 32 bool expandRemainder(BinaryOperator *Rem); 49 bool expandRemainderUpTo32Bits(BinaryOperator *Rem); 55 bool expandRemainderUpTo64Bits(BinaryOperator *Rem);
|
| /openbsd-src/gnu/llvm/llvm/lib/BinaryFormat/ |
| H A D | COFF.cpp | 33 unsigned Rem = Value % 64; in encodeBase64StringEntry() local 35 *(Ptr--) = Alphabet[Rem]; in encodeBase64StringEntry()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCMachineScheduler.cpp | 87 if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() && in tryCandidate() 138 !Rem.IsAcyclicLatencyLimited && tryLatency(TryCand, Cand, *Zone)) in tryCandidate()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | StmtVisitor.h | 127 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) in BINOP_FALLBACK()
|
| H A D | OperationKinds.def | 374 BINARY_OPERATION(Rem, "%")
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | MachineScheduler.h | 622 SchedRemainder *Rem = nullptr; variable 941 SchedRemainder Rem; variable
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 374 uint64_t Rem; in GEPToVectorIndex() local 375 APInt::udivrem(ConstOffset, VecElemSize, Quot, Rem); in GEPToVectorIndex() 376 if (Rem != 0) in GEPToVectorIndex()
|
| H A D | AMDGPUISelLowering.cpp | 1782 SDValue Rem = DAG.getNode(ISD::MUL, DL, VT, Div, RHS); in LowerDIVREM24() local 1783 Rem = DAG.getNode(ISD::SUB, DL, VT, LHS, Rem); in LowerDIVREM24() 1790 Rem = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, Rem, InRegSize); in LowerDIVREM24() 1794 Rem = DAG.getNode(ISD::AND, DL, VT, Rem, TruncMask); in LowerDIVREM24() 1797 return DAG.getMergeValues({ Div, Rem }, DL); in LowerDIVREM24() 1965 SDValue Rem = DAG.getSelectCC(DL, C3, Zero, Sel2, Sub1, ISD::SETNE); in LowerUDIVREM64() local 1968 Results.push_back(Rem); in LowerUDIVREM64() 2116 SDValue Rem = Div.getValue(1); in LowerSDIVREM() local 2119 Rem = DAG.getNode(ISD::XOR, DL, VT, Rem, RSign); in LowerSDIVREM() 2122 Rem = DAG.getNode(ISD::SUB, DL, VT, Rem, RSign); in LowerSDIVREM() [all …]
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 1048 if (uint64_t Rem = CurrentOffset % DataAlignV) { in createLDSVariableReplacement() local 1049 uint64_t Padding = DataAlignV - Rem; in createLDSVariableReplacement()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 995 Value *Rem = Builder.CreateMul(Div, Den); in expandDivRem24Impl() local 996 Res = Builder.CreateSub(Num, Rem); in expandDivRem24Impl()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 819 const APInt *Rem; in SimplifyDemandedUseBits() local 820 if (match(I->getOperand(1), m_APInt(Rem))) { in SimplifyDemandedUseBits() 823 if (Rem->isAllOnes()) in SimplifyDemandedUseBits() 825 APInt RA = Rem->abs(); in SimplifyDemandedUseBits()
|
| H A D | InstCombineMulDivRem.cpp | 375 Value *Rem = Builder.CreateBinOp(RemOpc, XFreeze, DivOp1); in visitMul() local 377 return BinaryOperator::CreateSub(XFreeze, Rem); in visitMul() 378 return BinaryOperator::CreateSub(Rem, XFreeze); in visitMul()
|
| H A D | InstCombineShifts.cpp | 462 Value *Rem = Builder.CreateAnd(A, Mask, Op1->getName()); in commonShiftTransforms() local 463 return replaceOperand(I, 1, Rem); in commonShiftTransforms()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 2329 OptimizationRemark Rem(DEBUG_TYPE, "matrix-lowered", Loc, in emitRemarks() local 2332 Rem << "Lowered with "; in emitRemarks() 2333 Rem << ore::NV("NumStores", Counts.NumStores) << " stores, " in emitRemarks() 2342 Rem << ",\nadditionally " in emitRemarks() 2350 Rem << ("\n" + linearize(L, Shared, ExprsInSubprogram, DL)); in emitRemarks() 2351 ORE.emit(Rem); in emitRemarks()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | Opcodes.td | 410 def Rem : Opcode {
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 1447 uint64_t Weight = Total / NCases, Rem = Total % NCases; in EmitCaseStmtRange() local 1450 SwitchWeights->push_back(Weight + (Rem ? 1 : 0)); in EmitCaseStmtRange() 1454 if (Rem) in EmitCaseStmtRange() 1455 Rem--; in EmitCaseStmtRange()
|