/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 375 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 …]
|
D | SimplifyIndVar.cpp | 89 void simplifyIVRemainder(BinaryOperator *Rem, Value *IVOperand, 91 void replaceRemWithNumerator(BinaryOperator *Rem); 92 void replaceRemWithNumeratorOrZero(BinaryOperator *Rem); 93 void replaceSRemWithURem(BinaryOperator *Rem); 320 void SimplifyIndvar::replaceSRemWithURem(BinaryOperator *Rem) { in replaceSRemWithURem() argument 321 auto *N = Rem->getOperand(0), *D = Rem->getOperand(1); in replaceSRemWithURem() 323 Rem->getName() + ".urem", Rem); in replaceSRemWithURem() 324 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem() 325 LLVM_DEBUG(dbgs() << "INDVARS: Simplified srem: " << *Rem << '\n'); in replaceSRemWithURem() 328 DeadInsts.emplace_back(Rem); in replaceSRemWithURem() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | BranchProbability.cpp | 91 uint64_t Rem = (uint64_t(Upper32) << 32) | Mid32; in scale() local 92 uint64_t UpperQ = Rem / D; in scale() 98 Rem = ((Rem % D) << 32) | Lower32; in scale() 99 uint64_t LowerQ = Rem / D; in scale()
|
D | APInt.cpp | 2825 APInt Quo, Rem; in RoundingUDiv() local 2826 APInt::udivrem(A, B, Quo, Rem); in RoundingUDiv() 2827 if (Rem == 0) in RoundingUDiv() 2840 APInt Quo, Rem; in RoundingSDiv() local 2841 APInt::sdivrem(A, B, Quo, Rem); in RoundingSDiv() 2842 if (Rem == 0) in RoundingSDiv() 2850 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv() 2854 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv() 3006 APInt Rem; in SolveQuadraticEquationWrap() local 3015 APInt::sdivrem(-B - (SQ+InexactSQ), TwoA, X, Rem); in SolveQuadraticEquationWrap() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | IntegerDivision.h | 32 bool expandRemainder(BinaryOperator *Rem); 49 bool expandRemainderUpTo32Bits(BinaryOperator *Rem); 55 bool expandRemainderUpTo64Bits(BinaryOperator *Rem);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineScheduler.cpp | 1909 Rem = rem; in init() 2065 unsigned OtherCritCount = Rem->RemIssueCount in getOtherResourceCount() 2071 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount() 2180 assert(Rem->RemainingCounts[PIdx] >= Count && "resource double counted"); in countResource() 2181 Rem->RemainingCounts[PIdx] -= Count; in countResource() 2253 assert(Rem->RemIssueCount >= DecRemIssue && "MOps double counted"); in bumpNode() 2254 Rem->RemIssueCount -= DecRemIssue; in bumpNode() 2500 if (CurrZone.getCurrCycle() > Rem.CriticalPath) in shouldReduceLatency() 2510 return RemLatency + CurrZone.getCurrCycle() > Rem.CriticalPath; in shouldReduceLatency() 2547 << Rem.CriticalPath << "\n"); in setPolicy() [all …]
|
D | TargetSchedule.cpp | 50 unsigned Rem = Dividend % Divisor; in gcd() local 52 Divisor = Rem; in gcd()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPrintfRuntimeBinding.cpp | 261 size_t Rem = SizeStr % DWORD_ALIGN; in lowerPrintfForGpu() local 265 if (Rem) { in lowerPrintfForGpu() 266 NSizeStr = SizeStr + (DWORD_ALIGN - Rem); in lowerPrintfForGpu() 449 size_t Rem = SizeStr % DWORD_ALIGN; in lowerPrintfForGpu() local 451 if (Rem) { in lowerPrintfForGpu() 452 NSizeStr = SizeStr + (DWORD_ALIGN - Rem); in lowerPrintfForGpu()
|
D | AMDGPUCodeGenPrepare.cpp | 724 Value *Rem = Builder.CreateMul(Div, Den); in expandDivRem24() local 725 Res = Builder.CreateSub(Num, Rem); in expandDivRem24() 870 Value *Rem = Builder.CreateSelect(Tmp1_0_CC, Remainder, Remainder_S_Den); in expandDivRem32() local 873 Res = Builder.CreateSelect(Num_GE_Num_S_Rem_CC, Rem, Remainder_A_Den); in expandDivRem32()
|
D | AMDGPUISelLowering.cpp | 1617 SDValue Rem = DAG.getNode(ISD::MUL, DL, VT, Div, RHS); in LowerDIVREM24() local 1618 Rem = DAG.getNode(ISD::SUB, DL, VT, LHS, Rem); in LowerDIVREM24() 1625 Rem = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, Rem, InRegSize); in LowerDIVREM24() 1629 Rem = DAG.getNode(ISD::AND, DL, VT, Rem, TruncMask); in LowerDIVREM24() 1632 return DAG.getMergeValues({ Div, Rem }, DL); in LowerDIVREM24() 1797 SDValue Rem = DAG.getSelectCC(DL, C3, Zero, Sel2, Sub1, ISD::SETNE); in LowerUDIVREM64() local 1800 Results.push_back(Rem); in LowerUDIVREM64() 1950 SDValue Rem = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, DL, VT), in LowerUDIVREM() local 1954 Rem = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, DL, VT), in LowerUDIVREM() 1955 Remainder_A_Den, Rem, ISD::SETEQ); in LowerUDIVREM() [all …]
|
/third_party/rust/crates/syn/src/ |
D | op.rs | 17 Rem(Token![%]), 114 input.parse().map(BinOp::Rem) in parse_binop() 196 BinOp::Rem(t) => t.to_tokens(tokens), in to_tokens()
|
D | token.rs | 742 "%" pub struct Rem/1 /// `%` 861 [%] => { $crate::token::Rem };
|
/third_party/glslang/Test/ |
D | spv.specConstantOperations.vert | 36 // Mul, Div and Rem 86 // Mul, Div and Rem
|
/third_party/rust/crates/num-traits/src/ops/ |
D | euclid.rs | 1 use core::ops::{Div, Rem}; 3 pub trait Euclid: Sized + Div<Self, Output = Self> + Rem<Self, Output = Self> {
|
D | checked.rs | 1 use core::ops::{Add, Div, Mul, Rem, Shl, Shr, Sub}; 111 pub trait CheckedRem: Sized + Rem<Self, Output = Self> {
|
/third_party/rust/crates/num-traits/src/ |
D | lib.rs | 29 use core::ops::{Add, Div, Mul, Rem, Sub}; 107 + Rem<Rhs, Output = Output> 116 + Rem<Rhs, Output = Output>
|
/third_party/json/include/nlohmann/detail/meta/ |
D | cpp_future.hpp | 76 template <typename Seq, size_t SeqSize, size_t Rem>
|
/third_party/rust/crates/minimal-lexical/src/ |
D | num.rs | 31 + ops::Rem<Output = Self>
|
/third_party/skia/third_party/externals/abseil-cpp/absl/utility/ |
D | utility.h | 91 template <typename Seq, size_t SeqSize, size_t Rem>
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineScheduler.h | 615 SchedRemainder *Rem = nullptr; variable 897 SchedRemainder Rem; variable
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | bn.rs | 30 use std::ops::{Add, Deref, Div, Mul, Neg, Rem, Shl, Shr, Sub}; 1292 impl<'a, 'b> Rem<&'b BigNumRef> for &'a BigNumRef { impl 1303 delegate!(Rem, rem);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 631 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in SimplifyDemandedUseBits() local 634 if (Rem->isMinusOne()) in SimplifyDemandedUseBits() 636 APInt RA = Rem->getValue().abs(); in SimplifyDemandedUseBits()
|
D | InstCombineMulDivRem.cpp | 324 Value *Rem = Builder.CreateBinOp(RemOpc, X, DivOp1); in visitMul() local 326 return BinaryOperator::CreateSub(X, Rem); in visitMul() 327 return BinaryOperator::CreateSub(Rem, X); in visitMul()
|
D | InstCombineShifts.cpp | 409 Value *Rem = Builder.CreateAnd(A, ConstantInt::get(I.getType(), *B - 1), in commonShiftTransforms() local 411 I.setOperand(1, Rem); in commonShiftTransforms()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | WinCOFFObjectWriter.cpp | 439 unsigned Rem = Value % 64; in encodeBase64StringEntry() local 441 *(Ptr--) = Alphabet[Rem]; in encodeBase64StringEntry()
|