/external/bison/djgpp/ |
D | djunpack.bat | 2 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 Bison 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 Copyright (C) 2005-2012 Free Software Foundation, Inc. 11 Rem [all …]
|
D | config.bat | 2 Rem Configure Bison for DJGPP. 4 Rem WARNING WARNING WARNING: This file needs to have DOS CRLF end-of-line 5 Rem format, or else stock DOS/Windows shells will refuse to run it. 7 Rem Copyright (C) 2005-2012 Free Software Foundation, Inc. 9 Rem This program is free software: you can redistribute it and/or modify 10 Rem it under the terms of the GNU General Public License as published by 11 Rem the Free Software Foundation, either version 3 of the License, or 12 Rem (at your option) any later version. 13 Rem 14 Rem This program is distributed in the hope that it will be useful, [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 376 bool llvm::expandRemainder(BinaryOperator *Rem) { in expandRemainder() argument 377 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainder() 378 Rem->getOpcode() == Instruction::URem) && in expandRemainder() 381 IRBuilder<> Builder(Rem); in expandRemainder() 383 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder() 384 assert((Rem->getType()->getIntegerBitWidth() == 32 || in expandRemainder() 385 Rem->getType()->getIntegerBitWidth() == 64) && in expandRemainder() 389 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder() 390 Value *Remainder = generateSignedRemainderCode(Rem->getOperand(0), in expandRemainder() 391 Rem->getOperand(1), Builder); in expandRemainder() [all …]
|
D | SimplifyIndVar.cpp | 76 void eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand, 270 void SimplifyIndvar::eliminateIVRemainder(BinaryOperator *Rem, in eliminateIVRemainder() argument 275 if (IVOperand != Rem->getOperand(0)) in eliminateIVRemainder() 279 const SCEV *S = SE->getSCEV(Rem->getOperand(0)); in eliminateIVRemainder() 280 const SCEV *X = SE->getSCEV(Rem->getOperand(1)); in eliminateIVRemainder() 283 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in eliminateIVRemainder() 291 Rem->replaceAllUsesWith(Rem->getOperand(0)); in eliminateIVRemainder() 303 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ, in eliminateIVRemainder() 304 Rem->getOperand(0), Rem->getOperand(1)); in eliminateIVRemainder() 307 ConstantInt::get(Rem->getType(), 0), in eliminateIVRemainder() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 80 void eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand, 189 void SimplifyIndvar::eliminateIVRemainder(BinaryOperator *Rem, in eliminateIVRemainder() argument 194 if (IVOperand != Rem->getOperand(0)) in eliminateIVRemainder() 198 const SCEV *S = SE->getSCEV(Rem->getOperand(0)); in eliminateIVRemainder() 199 const SCEV *X = SE->getSCEV(Rem->getOperand(1)); in eliminateIVRemainder() 202 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in eliminateIVRemainder() 210 Rem->replaceAllUsesWith(Rem->getOperand(0)); in eliminateIVRemainder() 223 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ, in eliminateIVRemainder() 224 Rem->getOperand(0), Rem->getOperand(1)); in eliminateIVRemainder() 227 ConstantInt::get(Rem->getType(), 0), in eliminateIVRemainder() [all …]
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/x86_64/ |
D | math.c | 148 UINT32 Rem; in DivU64x32() 158 Rem = 0; in DivU64x32() 163 rcl dword ptr Rem, 1 in DivU64x32() 165 mov eax, Rem in DivU64x32() 166 cmp eax, Divisor ; Is Rem >= Divisor? in DivU64x32() 171 sub Rem, eax ; subtract divisor in DivU64x32() 176 *Remainder = Rem; in DivU64x32()
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ia32/ |
D | math.c | 148 UINT32 Rem; in DivU64x32() 158 Rem = 0; in DivU64x32() 163 rcl dword ptr Rem, 1 in DivU64x32() 165 mov eax, Rem in DivU64x32() 166 cmp eax, Divisor ; Is Rem >= Divisor? in DivU64x32() 171 sub Rem, eax ; subtract divisor in DivU64x32() 176 *Remainder = Rem; in DivU64x32()
|
/external/llvm/lib/Support/ |
D | BranchProbability.cpp | 93 uint64_t Rem = (uint64_t(Upper32) << 32) | Mid32; in scale() local 94 uint64_t UpperQ = Rem / D; in scale() 100 Rem = ((Rem % D) << 32) | Lower32; in scale() 101 uint64_t LowerQ = Rem / D; in scale()
|
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 101 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 …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | IntegerDivision.h | 33 bool expandRemainder(BinaryOperator *Rem); 50 bool expandRemainderUpTo32Bits(BinaryOperator *Rem); 56 bool expandRemainderUpTo64Bits(BinaryOperator *Rem);
|
/external/llvm/lib/CodeGen/ |
D | MachineScheduler.cpp | 1811 Rem = rem; in init() 1922 unsigned OtherCritCount = Rem->RemIssueCount in getOtherResourceCount() 1928 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount() 2043 assert(Rem->RemainingCounts[PIdx] >= Count && "resource double counted"); in countResource() 2044 Rem->RemainingCounts[PIdx] -= Count; in countResource() 2111 assert(Rem->RemIssueCount >= DecRemIssue && "MOps double counted"); in bumpNode() 2112 Rem->RemIssueCount -= DecRemIssue; in bumpNode() 2359 if (IsPostRA || (RemLatency + CurrZone.getCurrCycle() > Rem.CriticalPath)) { in setPolicy() 2364 << Rem.CriticalPath << "\n"); in setPolicy() 2542 Rem.init(DAG, SchedModel); in initialize() [all …]
|
D | TargetSchedule.cpp | 41 unsigned Rem = Dividend % Divisor; in gcd() local 43 Divisor = Rem; in gcd()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUISelLowering.cpp | 274 SDValue Rem = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), in LowerUDIVREM() local 278 Rem = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), in LowerUDIVREM() 279 Remainder_A_Den, Rem, ISD::SETEQ); in LowerUDIVREM() 282 DAG.ReplaceAllUsesWith(Op.getValue(1).getNode(), &Rem); in LowerUDIVREM()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 205 Value *Rem; in visitMul() local 207 Rem = Builder->CreateURem(Op0BO, Op1BO); in visitMul() 209 Rem = Builder->CreateSRem(Op0BO, Op1BO); in visitMul() 210 Rem->takeName(BO); in visitMul() 213 return BinaryOperator::CreateSub(Op0BO, Rem); in visitMul() 214 return BinaryOperator::CreateSub(Rem, Op0BO); in visitMul()
|
D | InstCombineSimplifyDemanded.cpp | 683 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in SimplifyDemandedUseBits() local 686 if (Rem->isAllOnesValue()) in SimplifyDemandedUseBits() 688 APInt RA = Rem->getValue().abs(); in SimplifyDemandedUseBits()
|
D | InstCombineShifts.cpp | 47 Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1), in commonShiftTransforms() local 49 I.setOperand(1, Rem); in commonShiftTransforms()
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZISelDAGToDAG.cpp | 671 SDNode *Rem = CurDAG->getMachineNode(TargetOpcode::EXTRACT_SUBREG, in Select() local 677 ReplaceUses(SDValue(Node, 1), SDValue(Rem, 0)); in Select() 755 SDNode *Rem = CurDAG->getMachineNode(TargetOpcode::EXTRACT_SUBREG, in Select() local 760 ReplaceUses(SDValue(Node, 1), SDValue(Rem, 0)); in Select()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineScheduler.h | 582 SchedRemainder *Rem; variable 651 DAG(nullptr), SchedModel(nullptr), Rem(nullptr), Available(ID, Name+".A"), in SchedBoundary() 863 SchedRemainder Rem; variable
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 1316 SDValue Rem = DAG.getNode(ISD::MUL, DL, VT, Div, RHS); in LowerDIVREM24() local 1317 Rem = DAG.getNode(ISD::SUB, DL, VT, LHS, Rem); in LowerDIVREM24() 1324 Rem = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, Rem, InRegSize); in LowerDIVREM24() 1328 Rem = DAG.getNode(ISD::AND, DL, VT, Rem, TruncMask); in LowerDIVREM24() 1331 return DAG.getMergeValues({ Div, Rem }, DL); in LowerDIVREM24() 1514 SDValue Rem = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, DL, VT), in LowerUDIVREM() local 1518 Rem = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, DL, VT), in LowerUDIVREM() 1519 Remainder_A_Den, Rem, ISD::SETEQ); in LowerUDIVREM() 1522 Rem in LowerUDIVREM() 1572 SDValue Rem = Div.getValue(1); in LowerSDIVREM() local [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 330 Value *Rem; in visitMul() local 332 Rem = Builder->CreateURem(Op0BO, Op1BO); in visitMul() 334 Rem = Builder->CreateSRem(Op0BO, Op1BO); in visitMul() 335 Rem->takeName(BO); in visitMul() 338 return BinaryOperator::CreateSub(Op0BO, Rem); in visitMul() 339 return BinaryOperator::CreateSub(Rem, Op0BO); in visitMul()
|
D | InstCombineSimplifyDemanded.cpp | 674 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in SimplifyDemandedUseBits() local 677 if (Rem->isAllOnesValue()) in SimplifyDemandedUseBits() 679 APInt RA = Rem->getValue().abs(); in SimplifyDemandedUseBits()
|
/external/clang/include/clang/AST/ |
D | StmtVisitor.h | 124 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) in BINOP_FALLBACK()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 1036 if (size_t Rem = OS.str().size() % 8) { in emit() local 1037 CoverageMappingSize += 8 - Rem; in emit() 1038 for (size_t I = 0, S = 8 - Rem; I < S; ++I) in emit()
|
D | CGStmt.cpp | 1129 uint64_t Weight = Total / NCases, Rem = Total % NCases; in EmitCaseStmtRange() local 1132 SwitchWeights->push_back(Weight + (Rem ? 1 : 0)); in EmitCaseStmtRange() 1133 if (Rem) in EmitCaseStmtRange() 1134 Rem--; in EmitCaseStmtRange()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 468 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in ComputeMaskedBits() local 469 APInt RA = Rem->getValue().abs(); in ComputeMaskedBits() 511 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in ComputeMaskedBits() local 512 APInt RA = Rem->getValue(); in ComputeMaskedBits()
|