/external/llvm/include/llvm/Transforms/Utils/ |
H A D | IntegerDivision.h | 26 /// Generate code to calculate the remainder of two integers, replacing Rem 32 /// @brief Replace Rem with generated code. 33 bool expandRemainder(BinaryOperator *Rem); 44 /// Generate code to calculate the remainder of two integers, replacing Rem 45 /// with the generated code. Uses ExpandReminder with a 32bit Rem which 49 /// @brief Replace Rem with generated code. 50 bool expandRemainderUpTo32Bits(BinaryOperator *Rem); 52 /// Generate code to calculate the remainder of two integers, replacing Rem 53 /// with the generated code. Uses ExpandReminder with a 64bit Rem. 55 /// @brief Replace Rem wit [all...] |
/external/bison/djgpp/ |
H A 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...] |
H A 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 Thi [all...] |
/external/llvm/lib/Support/ |
H A D | BranchProbability.cpp | 52 uint64_t Rem = (uint64_t(Upper32) << 32) | Mid32; local 53 uint64_t UpperQ = Rem / D; 59 Rem = ((Rem % D) << 32) | Lower32; 60 uint64_t LowerQ = Rem / D;
|
/external/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 369 /// Generate code to calculate the remainder of two integers, replacing Rem with 375 /// @brief Replace Rem with generated code. 376 bool llvm::expandRemainder(BinaryOperator *Rem) { argument 377 assert((Rem->getOpcode() == Instruction::SRem || 378 Rem->getOpcode() == Instruction::URem) && 381 IRBuilder<> Builder(Rem); 383 Type *RemTy = Rem->getType(); 393 if (Rem->getOpcode() == Instruction::SRem) { 394 Value *Remainder = generateSignedRemainderCode(Rem->getOperand(0), 395 Rem 485 expandRemainderUpTo32Bits(BinaryOperator *Rem) argument 535 expandRemainderUpTo64Bits(BinaryOperator *Rem) argument [all...] |
H A D | SimplifyIndVar.cpp | 81 void eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand, 193 void SimplifyIndvar::eliminateIVRemainder(BinaryOperator *Rem, argument 198 if (IVOperand != Rem->getOperand(0)) 202 const SCEV *S = SE->getSCEV(Rem->getOperand(0)); 203 const SCEV *X = SE->getSCEV(Rem->getOperand(1)); 206 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); 214 Rem->replaceAllUsesWith(Rem->getOperand(0)); 227 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ, 228 Rem [all...] |
/external/llvm/unittests/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 101 Value *Rem = Builder.CreateSRem(A, B); local 104 Value *Ret = Builder.CreateRet(Rem); 106 expandRemainder(cast<BinaryOperator>(Rem)); 131 Value *Rem = Builder.CreateURem(A, B); local 134 Value *Ret = Builder.CreateRet(Rem); 136 expandRemainder(cast<BinaryOperator>(Rem)); 222 Value *Rem = Builder.CreateSRem(A, B); local 225 Value *Ret = Builder.CreateRet(Rem); 227 expandRemainder(cast<BinaryOperator>(Rem)); 252 Value *Rem local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDGPUISelLowering.cpp | 265 // Calculate Rem result: 273 // Rem = (Tmp1 == 0 ? Remainder : Remainder_S_Den) 274 SDValue Rem = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), local 277 // Rem = (Remainder_GE_Zero == 0 ? Remainder_A_Den : Rem) 278 Rem = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), 279 Remainder_A_Den, Rem, ISD::SETEQ); 282 DAG.ReplaceAllUsesWith(Op.getValue(1).getNode(), &Rem);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDGPUISelLowering.cpp | 265 // Calculate Rem result: 273 // Rem = (Tmp1 == 0 ? Remainder : Remainder_S_Den) 274 SDValue Rem = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), local 277 // Rem = (Remainder_GE_Zero == 0 ? Remainder_A_Den : Rem) 278 Rem = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), 279 Remainder_A_Den, Rem, ISD::SETEQ); 282 DAG.ReplaceAllUsesWith(Op.getValue(1).getNode(), &Rem);
|
/external/llvm/lib/CodeGen/ |
H A D | MachineScheduler.cpp | 1622 Rem = rem; 1733 unsigned OtherCritCount = Rem->RemIssueCount 1739 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; 1854 assert(Rem->RemainingCounts[PIdx] >= Count && "resource double counted"); 1855 Rem->RemainingCounts[PIdx] -= Count; 1922 assert(Rem->RemIssueCount >= DecRemIssue && "MOps double counted"); 1923 Rem->RemIssueCount -= DecRemIssue; 2167 if (IsPostRA || (RemLatency + CurrZone.getCurrCycle() > Rem.CriticalPath)) { 2172 << Rem.CriticalPath << "\n"); 2349 Rem [all...] |
H A D | TargetSchedule.cpp | 42 unsigned Rem = Dividend % Divisor; local 44 Divisor = Rem;
|
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineScheduler.h | 565 SchedRemainder *Rem; member in class:llvm::SchedBoundary 634 DAG(nullptr), SchedModel(nullptr), Rem(nullptr), Available(ID, Name+".A"), 830 SchedRemainder Rem; member in class:llvm::GenericSchedulerBase
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 245 Value *Rem; local 247 Rem = Builder->CreateURem(Op0BO, Op1BO); 249 Rem = Builder->CreateSRem(Op0BO, Op1BO); 250 Rem->takeName(BO); 253 return BinaryOperator::CreateSub(Op0BO, Rem); 254 return BinaryOperator::CreateSub(Rem, Op0BO);
|
H A D | InstCombineSimplifyDemanded.cpp | 717 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { 720 if (Rem->isAllOnesValue()) 722 APInt RA = Rem->getValue().abs();
|
H A D | InstCombineShifts.cpp | 49 Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1), local 51 I.setOperand(1, Rem);
|
/external/clang/include/clang/AST/ |
H A D | StmtVisitor.h | 122 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem)
|
H A D | DataRecursiveASTVisitor.h | 50 OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) OPERATOR(Shl) OPERATOR(Shr) \ 57 OPERATOR(Mul) OPERATOR(Div) OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) \
|
H A D | RecursiveASTVisitor.h | 50 OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) OPERATOR(Shl) OPERATOR(Shr) \ 57 OPERATOR(Mul) OPERATOR(Div) OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) \
|
/external/llvm/lib/Target/R600/ |
H A D | AMDGPUISelLowering.cpp | 1606 // Calculate Rem result: 1614 // Rem = (Tmp1 == 0 ? Remainder : Remainder_S_Den) 1615 SDValue Rem = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), local 1618 // Rem = (Remainder_GE_Zero == 0 ? Remainder_A_Den : Rem) 1619 Rem = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), 1620 Remainder_A_Den, Rem, ISD::SETEQ); 1623 Rem 1651 SDValue Rem = Div.getValue(1); local 1654 Rem [all...] |
/external/llvm/lib/MC/ |
H A D | WinCOFFObjectWriter.cpp | 505 unsigned Rem = Value % 64; local 507 *(Ptr--) = Alphabet[Rem];
|
/external/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 1118 uint64_t Weight = Total / NCases, Rem = Total % NCases; local 1121 SwitchWeights->push_back(Weight + (Rem ? 1 : 0)); 1122 if (Rem) 1123 Rem--;
|
H A D | CGExprScalar.cpp | 474 HANDLEBINOP(Rem) 2182 // Rem in C can't be a floating point type: C99 6.5.5p2. 3361 COMPOUND_OP(Rem);
|
/external/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 535 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { 536 APInt RA = Rem->getValue().abs(); 572 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { 573 APInt RA = Rem->getValue();
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 2282 if (ConstantSDNode *Rem = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { 2283 const APInt &RA = Rem->getAPIntValue().abs(); 2306 if (ConstantSDNode *Rem = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { 2307 const APInt &RA = Rem->getAPIntValue();
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 4327 int64_t Rem = StepVal % Size; local 4328 if (Rem)
|