Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp381 IRBuilder<> Builder(Rem); in expandRemainder()
399 Rem->eraseFromParent(); in expandRemainder()
408 Rem = BO; in expandRemainder()
416 Rem->dropAllReferences(); in expandRemainder()
417 Rem->eraseFromParent(); in expandRemainder()
508 IRBuilder<> Builder(Rem); in expandRemainderUpTo32Bits()
528 Rem->dropAllReferences(); in expandRemainderUpTo32Bits()
529 Rem->eraseFromParent(); in expandRemainderUpTo32Bits()
558 IRBuilder<> Builder(Rem); in expandRemainderUpTo64Bits()
578 Rem->dropAllReferences(); in expandRemainderUpTo64Bits()
[all …]
H A DSimplifyIndVar.cpp199 if (IVOperand != Rem->getOperand(0)) in eliminateIVRemainder()
203 const SCEV *S = SE->getSCEV(Rem->getOperand(0)); in eliminateIVRemainder()
204 const SCEV *X = SE->getSCEV(Rem->getOperand(1)); in eliminateIVRemainder()
207 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in eliminateIVRemainder()
215 Rem->replaceAllUsesWith(Rem->getOperand(0)); in eliminateIVRemainder()
228 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ, in eliminateIVRemainder()
229 Rem->getOperand(0), Rem->getOperand(1)); in eliminateIVRemainder()
233 Rem->getOperand(0), "tmp", Rem); in eliminateIVRemainder()
234 Rem->replaceAllUsesWith(Sel); in eliminateIVRemainder()
240 DeadInsts.push_back(Rem); in eliminateIVRemainder()
[all …]
/minix/external/bsd/llvm/dist/llvm/lib/Support/
H A DBranchProbability.cpp52 uint64_t Rem = (uint64_t(Upper32) << 32) | Mid32; in scale() local
53 uint64_t UpperQ = Rem / D; in scale()
59 Rem = ((Rem % D) << 32) | Lower32; in scale()
60 uint64_t LowerQ = Rem / D; in scale()
/minix/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DIntegerDivision.h33 bool expandRemainder(BinaryOperator *Rem);
50 bool expandRemainderUpTo32Bits(BinaryOperator *Rem);
56 bool expandRemainderUpTo64Bits(BinaryOperator *Rem);
/minix/external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/
H A DIntegerDivision.cpp101 Value *Rem = Builder.CreateSRem(A, B); in TEST() local
104 Value *Ret = Builder.CreateRet(Rem); in TEST()
106 expandRemainder(cast<BinaryOperator>(Rem)); in TEST()
131 Value *Rem = Builder.CreateURem(A, B); in TEST() local
134 Value *Ret = Builder.CreateRet(Rem); in TEST()
136 expandRemainder(cast<BinaryOperator>(Rem)); in TEST()
222 Value *Rem = Builder.CreateSRem(A, B); in TEST() local
225 Value *Ret = Builder.CreateRet(Rem); in TEST()
227 expandRemainder(cast<BinaryOperator>(Rem)); in TEST()
252 Value *Rem = Builder.CreateURem(A, B); in TEST() local
[all …]
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DMachineScheduler.cpp1632 Rem = rem; in init()
1865 Rem->RemainingCounts[PIdx] -= Count; in countResource()
1933 Rem->RemIssueCount -= DecRemIssue; in bumpNode()
2359 Rem.init(DAG, SchedModel); in initialize()
2360 Top.init(DAG, SchedModel, &Rem); in initialize()
2361 Bot.init(DAG, SchedModel, &Rem); in initialize()
2438 if (Rem.CyclicCritPath == 0 || Rem.CyclicCritPath >= Rem.CriticalPath) in checkAcyclicLatency()
2444 Rem.RemIssueCount); in checkAcyclicLatency()
2461 if (Rem.IsAcyclicLatencyLimited) in checkAcyclicLatency()
2895 Rem.init(DAG, SchedModel); in initialize()
[all …]
H A DTargetSchedule.cpp41 unsigned Rem = Dividend % Divisor; in gcd() local
43 Divisor = Rem; in gcd()
/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineScheduler.h564 SchedRemainder *Rem; variable
633 DAG(nullptr), SchedModel(nullptr), Rem(nullptr), Available(ID, Name+".A"), in SchedBoundary()
829 SchedRemainder Rem; variable
/minix/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DAMDGPUISelLowering.cpp1615 SDValue Rem = DAG.getNode(ISD::MUL, DL, VT, Div, RHS); in LowerDIVREM24() local
1616 Rem = DAG.getNode(ISD::SUB, DL, VT, LHS, Rem); in LowerDIVREM24()
1620 Rem in LowerDIVREM24()
1807 SDValue Rem = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), in LowerUDIVREM() local
1811 Rem = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), in LowerUDIVREM()
1812 Remainder_A_Den, Rem, ISD::SETEQ); in LowerUDIVREM()
1815 Rem in LowerUDIVREM()
1853 SDValue Rem = Div.getValue(1); in LowerSDIVREM() local
1856 Rem = DAG.getNode(ISD::XOR, DL, VT, Rem, RSign); in LowerSDIVREM()
1859 Rem = DAG.getNode(ISD::SUB, DL, VT, Rem, RSign); in LowerSDIVREM()
[all …]
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp319 Value *Rem; in visitMul() local
321 Rem = Builder->CreateURem(Op0BO, Op1BO); in visitMul()
323 Rem = Builder->CreateSRem(Op0BO, Op1BO); in visitMul()
324 Rem->takeName(BO); in visitMul()
327 return BinaryOperator::CreateSub(Op0BO, Rem); in visitMul()
328 return BinaryOperator::CreateSub(Rem, Op0BO); in visitMul()
H A DInstCombineSimplifyDemanded.cpp763 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in SimplifyDemandedUseBits() local
766 if (Rem->isAllOnesValue()) in SimplifyDemandedUseBits()
768 APInt RA = Rem->getValue().abs(); in SimplifyDemandedUseBits()
H A DInstCombineShifts.cpp49 Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1), in commonShiftTransforms() local
51 I.setOperand(1, Rem); in commonShiftTransforms()
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DStmtVisitor.h122 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) in BINOP_FALLBACK()
H A DRecursiveASTVisitor.h50 OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) OPERATOR(Shl) OPERATOR(Shr) \
57 OPERATOR(Mul) OPERATOR(Div) OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) \
H A DDataRecursiveASTVisitor.h50 OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) OPERATOR(Shl) OPERATOR(Shr) \
57 OPERATOR(Mul) OPERATOR(Div) OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) \
/minix/gnu/usr.bin/texinfo/patches/
H A D0000-texinfo-nbsd.patch605 -Rem of the environment in stock DOS shell.
619 -Rem Loop over all arguments.
620 -Rem Special arguments are: NLS, XSRC CACHE and DEPS.
621 -Rem All other arguments are stored into ARGS.
677 -Rem Create a response file for the configure script.
695 -Rem Update configuration files
702 -Rem Make sure they have a config.site file
714 -Rem finds a file called `install'.
724 -Rem Set HOSTNAME so it shows in config.status
757 -Rem script runs and rename it afterwards
[all …]
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1113 if (size_t Rem = OS.str().size() % 8) { in emit() local
1114 CoverageMappingSize += 8 - Rem; in emit()
1115 for (size_t I = 0, S = 8 - Rem; I < S; ++I) in emit()
H A DCGStmt.cpp1159 uint64_t Weight = Total / NCases, Rem = Total % NCases; in EmitCaseStmtRange() local
1162 SwitchWeights->push_back(Weight + (Rem ? 1 : 0)); in EmitCaseStmtRange()
1163 if (Rem) in EmitCaseStmtRange()
1164 Rem--; in EmitCaseStmtRange()
H A DCGExprScalar.cpp516 HANDLEBINOP(Rem)
3473 COMPOUND_OP(Rem); in EmitCompoundAssignmentLValue()
/minix/external/bsd/llvm/dist/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp462 unsigned Rem = Value % 64; in encodeBase64StringEntry() local
464 *(Ptr--) = Alphabet[Rem]; in encodeBase64StringEntry()
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DValueTracking.cpp1063 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in computeKnownBits() local
1064 APInt RA = Rem->getValue().abs(); in computeKnownBits()
1101 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in computeKnownBits() local
1102 APInt RA = Rem->getValue(); in computeKnownBits()
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2278 if (ConstantSDNode *Rem = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { in computeKnownBits() local
2279 const APInt &RA = Rem->getAPIntValue().abs(); in computeKnownBits()
2302 if (ConstantSDNode *Rem = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { in computeKnownBits() local
2303 const APInt &RA = Rem->getAPIntValue(); in computeKnownBits()
H A DLegalizeDAG.cpp2275 SDValue Rem = DAG.getLoad(RetVT, dl, CallInfo.second, FIPtr, in ExpandDivRemLibCall() local
2278 Results.push_back(Rem); in ExpandDivRemLibCall()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp4530 int64_t Rem = StepVal % Size; in isStridedPtr() local
4531 if (Rem) in isStridedPtr()