/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 368 /// Generate code to calculate the remainder of two integers, replacing Rem with 374 /// Replace Rem with generated code. 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 in expandRemainder() 485 expandRemainderUpTo32Bits(BinaryOperator *Rem) expandRemainderUpTo32Bits() argument 534 expandRemainderUpTo64Bits(BinaryOperator *Rem) expandRemainderUpTo64Bits() argument [all...] |
H A 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 in replaceSRemWithURem() 332 replaceRemWithNumerator(BinaryOperator *Rem) replaceRemWithNumerator() argument 341 replaceRemWithNumeratorOrZero(BinaryOperator *Rem) replaceRemWithNumeratorOrZero() argument 356 simplifyIVRemainder(BinaryOperator *Rem, Value *IVOperand, bool IsSigned) simplifyIVRemainder() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | BranchProbability.cpp | 91 uint64_t Rem = (uint64_t(Upper32) << 32) | Mid32; in scale() 92 uint64_t UpperQ = Rem / D; in scale() 98 Rem = ((Rem % D) << 32) | Lower32; in scale() 99 uint64_t LowerQ = Rem / D; in scale()
|
H A D | APInt.cpp | 2825 APInt Quo, Rem; 2826 APInt::udivrem(A, B, Quo, Rem); 2827 if (Rem == 0) 2840 APInt Quo, Rem; 2841 APInt::sdivrem(A, B, Quo, Rem); 2842 if (Rem == 0) 2850 if (Rem.isNegative() != B.isNegative()) 2854 if (Rem.isNegative() != B.isNegative()) 3006 APInt Rem; 3015 APInt::sdivrem(-B - (SQ+InexactSQ), TwoA, X, Rem); [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
H A D | IntegerDivision.h | 25 /// Generate code to calculate the remainder of two integers, replacing Rem 31 /// Replace Rem with generated code. 32 bool expandRemainder(BinaryOperator *Rem); 43 /// Generate code to calculate the remainder of two integers, replacing Rem 44 /// with the generated code. Uses ExpandReminder with a 32bit Rem which 48 /// Replace Rem with generated code. 49 bool expandRemainderUpTo32Bits(BinaryOperator *Rem); 51 /// Generate code to calculate the remainder of two integers, replacing Rem 52 /// with the generated code. Uses ExpandReminder with a 64bit Rem. 54 /// Replace Rem wit [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A 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 in setPolicy() [all...] |
H A 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/ |
H A 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()
|
H A D | AMDGPUCodeGenPrepare.cpp | 723 // Rem needs compensation, it's easier to recompute it in expandDivRem24() 724 Value *Rem = Builder.CreateMul(Div, Den); in expandDivRem24() local 725 Res = Builder.CreateSub(Num, Rem); in expandDivRem24() 869 // Rem = (Tmp1 == 0 ? Remainder : Remainder_S_Den) in expandDivRem32() 870 Value *Rem = Builder.CreateSelect(Tmp1_0_CC, Remainder, Remainder_S_Den); in expandDivRem32() local 872 // Rem = (Remainder_GE_Zero == 0 ? Remainder_A_Den : Rem) in expandDivRem32() 873 Res = Builder.CreateSelect(Num_GE_Num_S_Rem_CC, Rem, Remainder_A_Den); in expandDivRem32()
|
H A D | AMDGPUISelLowering.cpp | 1616 // Rem needs compensation, it's easier to recompute it in LowerDIVREM24() 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 in LowerUDIVREM64() local 1950 SDValue Rem = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, DL, VT), LowerUDIVREM() local 2008 SDValue Rem = Div.getValue(1); LowerSDIVREM() local [all...] |
/third_party/rust/crates/syn/src/ |
H A D | op.rs | 15 Rem(Token![%]), 132 input.parse().map(BinOp::Rem) in parse() 180 BinOp::Rem(t) => t.to_tokens(tokens), in to_tokens()
|
/third_party/json/include/nlohmann/detail/meta/ |
H A D | cpp_future.hpp | 85 template <typename Seq, size_t SeqSize, size_t Rem>
|
/third_party/skia/third_party/externals/abseil-cpp/absl/utility/ |
H A D | utility.h | 91 template <typename Seq, size_t SeqSize, size_t Rem>
|
/third_party/rust/crates/minimal-lexical/src/ |
H A D | num.rs | 31 + ops::Rem<Output = Self>
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | MachineScheduler.h | 615 SchedRemainder *Rem = nullptr; member in llvm::SchedBoundary 897 SchedRemainder Rem; member in llvm::GenericSchedulerBase
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
H A D | WinCOFFObjectWriter.cpp | 439 unsigned Rem = Value % 64; in encodeBase64StringEntry() local 441 *(Ptr--) = Alphabet[Rem]; in encodeBase64StringEntry()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | bn.rs | 30 use std::ops::{Add, Deref, Div, Mul, Neg, Rem, Shl, Shr, Sub}; 1326 impl<'a, 'b> Rem<&'b BigNumRef> for &'a BigNumRef { impls 1337 delegate!(Rem, rem);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A 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()
|
H A D | InstCombineSimplifyDemanded.cpp | 631 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in SimplifyDemandedUseBits() 634 if (Rem->isMinusOne()) in SimplifyDemandedUseBits() 636 APInt RA = Rem->getValue().abs(); in SimplifyDemandedUseBits()
|
H A 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/node/deps/v8/src/wasm/ |
H A D | wasm-opcodes-inl.h | 107 CASE_SIGN_OP(INT, Rem, "rem") in OpcodeName()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | LoopAccessAnalysis.cpp | 1076 int64_t Rem = StepVal % Size; in getPtrStride() local 1077 if (Rem) in getPtrStride()
|
H A D | ValueTracking.cpp | 1302 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in computeKnownBitsFromOperator() 1303 APInt RA = Rem->getValue().abs(); in computeKnownBitsFromOperator() 1336 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) { in computeKnownBitsFromOperator() 1337 const APInt &RA = Rem->getValue(); in computeKnownBitsFromOperator()
|
/third_party/rust/crates/syn/tests/common/ |
H A D | eq.rs | 532 spanless_eq_enum!(BinOpKind; Add Sub Mul Div Rem And Or BitXor BitAnd BitOr Shl Shr Eq Lt Le Ne Ge Gt);
|
/third_party/rust/crates/syn/src/gen/ |
H A D | eq.rs | 116 (BinOp::Rem(_), BinOp::Rem(_)) => true, in eq()
|