HomeSort by relevance Sort by last modified time
    Searched defs:Sum (Results 76 - 100 of 126) sorted by null

1 2 34 5 6

  /external/llvm/unittests/Analysis/
ScalarEvolutionTest.cpp 153 SmallVector<const SCEV *, 16> Sum;
154 Sum.push_back(SE.getMulExpr(A[0], B[0]));
155 EXPECT_EQ(Product->getOperand(0), SE.getAddExpr(Sum));
156 Sum.clear();
161 Sum.push_back(SE.getMulExpr(A[1], B[0]));
162 Sum.push_back(SE.getMulExpr(A[0], B[1]));
163 Sum.push_back(SE.getMulExpr(A[1], B[1]));
164 EXPECT_EQ(Product->getOperand(1), SE.getAddExpr(Sum));
165 Sum.clear();
167 Sum.push_back(SE.getMulExpr(A[2], B[0]))
    [all...]
  /external/llvm/unittests/Support/
ErrorTest.cpp 320 int Sum = 0;
327 Sum += CE.getInfo();
329 EXPECT_EQ(Sum, 21) << "Failed to correctly append error to error list.";
334 int Sum = 0;
341 Sum += CE.getInfo();
343 EXPECT_EQ(Sum, 21) << "Failed to correctly prepend error to error list.";
348 int Sum = 0;
358 Sum += CE.getInfo();
360 EXPECT_EQ(Sum, 28) << "Failed to correctly concatenate erorr lists.";
  /external/pdfium/third_party/lcms2-2.6/src/
cmsgmt.c 432 cmsFloat32Number Sum;
439 for (Sum=0, i=0; i < bp ->nOutputChans; i++)
440 Sum += RoundTrip[i];
443 if (Sum > bp ->MaxTAC) {
445 bp ->MaxTAC = Sum;
  /external/swiftshader/third_party/LLVM/examples/ParallelJIT/
ParallelJIT.cpp 106 Value *Sum =
110 ReturnInst::Create(M->getContext(), Sum, RecurseBB);
  /external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
BlackfinISelLowering.cpp 426 // Results: sum, carry-out (AC0 flag)
437 // Add operands, produce sum and carry flag
438 SDNode *Sum = DAG.getMachineNode(Opcode, dl, MVT::i32, MVT::Glue,
441 // Store intermediate carry from Sum
443 /* flag= */ SDValue(Sum, 1));
446 Sum = DAG.getMachineNode(Opcode, dl, MVT::i32, MVT::Glue,
447 SDValue(Sum, 0), SDValue(CarryIn, 0));
454 SDValue ops[2] = { SDValue(Sum, 0), SDValue(CarryOut, 0) };
  /prebuilts/go/darwin-x86/src/crypto/sha512/
sha512.go 193 func (d0 *digest) Sum(in []byte) []byte {
265 sum := d.checkSum()
266 copy(sum384[:], sum[:Size384])
275 sum := d.checkSum()
276 copy(sum224[:], sum[:Size224])
285 sum := d.checkSum()
286 copy(sum256[:], sum[:Size256])
  /prebuilts/go/linux-x86/src/crypto/sha512/
sha512.go 193 func (d0 *digest) Sum(in []byte) []byte {
265 sum := d.checkSum()
266 copy(sum384[:], sum[:Size384])
275 sum := d.checkSum()
276 copy(sum224[:], sum[:Size224])
285 sum := d.checkSum()
286 copy(sum256[:], sum[:Size256])
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
asdl.py 148 def p_type_1(self, (sum,)):
149 " type ::= sum "
150 return Sum(sum)
152 def p_type_2(self, (sum, id, _0, attributes, _1)):
153 " type ::= sum Id ( fields ) "
159 return Sum(sum, attributes)
168 " sum ::= constructor "
171 def p_sum_1(self, (constructor, _, sum)):
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
FirmwareVolumeBuffer.c     [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/
NetBuffer.c     [all...]
  /external/llvm/lib/Target/AMDGPU/
SIInsertWaits.cpp 291 // Get the hardware counter increments and sum them up
293 unsigned Sum = 0;
299 Sum += Increment.Array[i];
303 if (Sum == 0) {
  /external/lzma/CPP/7zip/UI/Common/
Bench.cpp 331 UInt64 Sum;
337 Sum = 0;
343 Sum += v - Prev;
345 return Sum;
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
BranchProbabilityInfo.cpp 420 uint32_t Sum = 0;
425 uint32_t PrevSum = Sum;
427 Sum += Weight;
428 assert(Sum > PrevSum); (void) PrevSum;
431 return Sum;
438 uint32_t Sum = getSumForBlock(Src);
442 return (uint64_t)Weight * 5 > (uint64_t)Sum * 4;
446 uint32_t Sum = 0;
453 uint32_t PrevSum = Sum;
455 Sum += Weight
    [all...]
ScalarEvolutionExpander.cpp 293 const SCEV *Sum = NoAddRecs.empty() ?
297 // the sum into a single value, so just use that.
299 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum))
301 else if (!Sum->isZero())
302 Ops.push_back(Sum);
714 Value *Sum = 0;
719 if (!Sum) {
721 Sum = expand(Op);
723 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) {
724 // The running sum expression is a pointer. Try to form a getelementpt
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/tls/
cipher_suites.go 274 digestBuf = s.h.Sum(digestBuf[:0])
280 return s.h.Sum(digestBuf[:0])
289 // with that all calls to Sum. It's used to obtain a ConstantTimeSum-based HMAC.
298 func (c *cthWrapper) Sum(b []byte) []byte { return c.h.ConstantTimeSum(b) }
323 res := s.h.Sum(digestBuf[:0])
  /prebuilts/go/linux-x86/src/crypto/tls/
cipher_suites.go 274 digestBuf = s.h.Sum(digestBuf[:0])
280 return s.h.Sum(digestBuf[:0])
289 // with that all calls to Sum. It's used to obtain a ConstantTimeSum-based HMAC.
298 func (c *cthWrapper) Sum(b []byte) []byte { return c.h.ConstantTimeSum(b) }
323 res := s.h.Sum(digestBuf[:0])
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
SummaryStatistics.java 29 import org.apache.commons.math.stat.descriptive.summary.Sum;
70 /** sum of values that have been added */
71 protected Sum sum = new Sum(); field in class:SummaryStatistics
73 /** sum of the square of each value that has been added */
94 /** Sum statistic implementation - can be reset by setter. */
95 private StorelessUnivariateStatistic sumImpl = sum;
97 /** Sum of squares statistic implementation - can be reset by setter. */
106 /** Sum of log statistic implementation - can be reset by setter. *
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/
Ping.c 146 ones complement sum of 16 bit words
155 UINT32 Sum;
161 Sum = 0;
165 Sum += *Packet++;
169 Sum += *(UINT8 *) Packet;
172 Sum = (Sum & 0xffff) + (Sum >> 16);
177 Sum += Sum >> 16;
    [all...]
  /external/clang/test/SemaCXX/
constant-expression-cxx11.cpp 130 constexpr int Sum(int a = 0, const int &b = 0, const int *c = &z, char d = 0) {
136 static_assert(Sum() == 0, "");
137 static_assert(Sum(1) == 1, "");
138 static_assert(Sum(1, four) == 5, "");
139 static_assert(Sum(1, eight, &twentyseven) == 36, "");
140 static_assert(Sum(1, 2, &four, eight) == 15, "");
482 constexpr auto Sum(Iter begin, Iter end) -> decltype(+*begin) {
483 return begin == end ? 0 : *begin + Sum(begin+1, end);
488 constexpr int sum_xs = Sum(begin(xs), end(xs));
    [all...]
  /external/harfbuzz_ng/src/
hb-open-type-private.hh 743 uint32_t Sum = 0L;
747 Sum += *Table++;
748 return Sum;
  /external/libchrome/base/
bind_unittest.cc 272 int Sum(int a, int b, int c, int d, int e, int f) {
351 Callback<int()> c0 = Bind(&Sum, 32, 16, 8, 4, 2, 1);
354 Callback<int(int)> c1 = Bind(&Sum, 32, 16, 8, 4, 2);
357 Callback<int(int,int)> c2 = Bind(&Sum, 32, 16, 8, 4);
360 Callback<int(int,int,int)> c3 = Bind(&Sum, 32, 16, 8);
363 Callback<int(int,int,int,int)> c4 = Bind(&Sum, 32, 16);
366 Callback<int(int,int,int,int,int)> c5 = Bind(&Sum, 32);
369 Callback<int(int,int,int,int,int,int)> c6 = Bind(&Sum);
375 Callback<int(int,int,int,int,int,int)> c6 = Bind(&Sum);
    [all...]
  /external/libvpx/libvpx/vp8/encoder/
bitstream.c     [all...]
  /external/llvm/lib/CodeGen/
MachineBasicBlock.cpp 515 int64_t Sum = 0;
517 Sum += Prob.getNumerator();
518 // Due to precision issue, we assume that the sum of probabilities is one if
519 // the difference between the sum of their numerators and the denominator is
521 assert((uint64_t)std::abs(Sum - BranchProbability::getDenominator()) <=
523 "The sum of successors's probabilities exceeds one.");
    [all...]
  /external/llvm/include/llvm/Analysis/
BlockFrequencyInfoImpl.h 92 uint64_t Sum = Mass + X.Mass;
93 Mass = Sum < Mass ? UINT64_MAX : Sum;
355 uint64_t Total; ///< Sum of all weights.
721 /// - Normalize the distribution: scale weights down so that their sum
791 /// used for computing loop scale) is the sum of all iterations.
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolutionExpander.cpp 309 const SCEV *Sum = NoAddRecs.empty() ?
313 // the sum into a single value, so just use that.
315 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum))
317 else if (!Sum->isZero())
318 Ops.push_back(Sum);
684 Value *Sum = nullptr;
688 if (!Sum) {
690 Sum = expand(Op);
692 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) {
693 // The running sum expression is a pointer. Try to form a getelementpt
    [all...]

Completed in 1859 milliseconds

1 2 34 5 6