| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-diff/ |
| H A D | DiffLog.cpp | 32 Diff.push_back(DiffRecord(L, R)); in addMatch() 36 Diff.push_back(DiffRecord(L, DiffRecord::second_type(nullptr))); in addLeft() 40 Diff.push_back(DiffRecord(DiffRecord::first_type(nullptr), R)); in addRight() 43 unsigned DiffLogBuilder::getNumLines() const { return Diff.size(); } in getNumLines() 46 return (Diff[I].first ? (Diff[I].second ? DC_match : DC_left) in getLineKind() 49 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; } in getLeft() 50 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; } in getRight()
|
| H A D | DifferenceEngine.cpp | 577 DiffLogBuilder Diff(Engine.getConsumer()); in runBlockDiff() local 600 Diff.addMatch(L, R); in runBlockDiff() 607 Diff.addLeft(&*LI); in runBlockDiff() 613 Diff.addRight(&*RI); in runBlockDiff()
|
| H A D | DiffLog.h | 62 SmallVector<DiffRecord, 20> Diff; variable
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | FileUtilities.cpp | 148 double Diff; in CompareNumbers() local 150 Diff = std::abs(V1/V2 - 1.0); in CompareNumbers() 152 Diff = std::abs(V2/V1 - 1.0); in CompareNumbers() 154 Diff = 0; // Both zero. in CompareNumbers() 155 if (Diff > RelTolerance) { in CompareNumbers() 159 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' in CompareNumbers()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86CmovConversion.cpp | 473 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates() local 503 if (Diff[1] < GainCycleThreshold) in checkForProfitableCmovCandidates() 507 if (Diff[1] == Diff[0]) in checkForProfitableCmovCandidates() 508 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates() 509 else if (Diff[1] > Diff[0]) in checkForProfitableCmovCandidates() 511 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates() 512 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/ |
| H A D | FindBugs.cpp | 79 Expected<bool> Diff = diffProgram(*Program, Filename, "", false); in runManyPasses() local 80 if (Error E = Diff.takeError()) { in runManyPasses() 84 if (*Diff) { in runManyPasses()
|
| H A D | Miscompilation.cpp | 82 Expected<bool> Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest() local 84 if (Error E = Diff.takeError()) in doTest() 86 if (*Diff) { in doTest() 124 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", false); in doTest() 125 if (Error E = Diff.takeError()) in doTest() 127 if (*Diff) { in doTest() 169 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest() 171 if (Error E = Diff.takeError()) in doTest() 173 if (*Diff) { in doTest() 238 Expected<bool> Diff = BD.diffProgram(*Merged, "", "", false); in testMergedProgram() local [all …]
|
| H A D | BugDriver.cpp | 217 Expected<bool> Diff = diffProgram(*Program, "", "", false); in run() local 218 if (Error E = Diff.takeError()) { in run() 222 if (!*Diff) { in run()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 538 uint64_t Diff = LimVal1 - LimVal2; in calculateOffsetDiff() local 539 return APInt(BW, Diff, true); in calculateOffsetDiff() 601 Optional<APInt> Diff = calculateOffsetDiff( in maximizeConstantsInRange() local 604 if (Diff) { in maximizeConstantsInRange() 606 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty); in maximizeConstantsInRange() 608 LLVM_DEBUG(dbgs() << "Offset " << Diff.getValue() << " " in maximizeConstantsInRange() 646 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue(); in findAndMakeBaseConstant() local 647 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff); in findAndMakeBaseConstant() 697 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue(); in findBaseConstants() local 698 if ((Diff.getBitWidth() <= 64) && in findBaseConstants() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | ExpandMemCmp.cpp | 340 Value *Diff = Builder.CreateSub(Loads.Lhs, Loads.Rhs); in emitLoadCompareByteBlock() local 342 PhiRes->addIncoming(Diff, BB); in emitLoadCompareByteBlock() 347 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff, in emitLoadCompareByteBlock() 348 ConstantInt::get(Diff->getType(), 0)); in emitLoadCompareByteBlock() 373 Value *Diff = nullptr; in getCompareLoadPairs() local 400 Diff = Builder.CreateXor(Loads.Lhs, Loads.Rhs); in getCompareLoadPairs() 401 Diff = Builder.CreateZExt(Diff, MaxLoadType); in getCompareLoadPairs() 402 XorList.push_back(Diff); in getCompareLoadPairs() 429 assert(Diff && "Failed to find comparison diff"); in getCompareLoadPairs() 430 Cmp = Builder.CreateICmpNE(OrList[0], ConstantInt::get(Diff->getType(), 0)); in getCompareLoadPairs()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/ |
| H A D | Clustering.h | 115 const auto Diff = P[I].PerInstructionValue - Q[I].PerInstructionValue; in isNeighbour() local 116 DistanceSquared += Diff * Diff; in isNeighbour()
|
| /netbsd-src/external/gpl2/diffutils/dist/ |
| H A D | AUTHORS | 42 Assigns changes to GNU Diff. 61 Disclaims changes to GNU Diff. 65 Disclaims changes to GNU Diff by Paul Eggert. 68 Disclaims changes to GNU Diff by Paul Eggert.
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonConstExtenders.cpp | 406 Register ExtR, int32_t &Diff); 1719 Register ExtR, int32_t &Diff) { in replaceInstrExpr() argument 1739 int32_t D = isInt<16>(Diff) ? Diff : (Diff > 0 ? 32767 : -32768); in replaceInstrExpr() 1740 if (Diff > 32767) { in replaceInstrExpr() 1744 uint32_t UD = Diff; in replaceInstrExpr() 1753 Diff -= D; in replaceInstrExpr() 1759 if (!Uses.contains(-Diff)) in replaceInstrExpr() 1760 dbgs() << "Diff: " << -Diff << " out of range " << Uses in replaceInstrExpr() 1762 assert(Uses.contains(-Diff)); in replaceInstrExpr() 1785 Diff = 0; in replaceInstrExpr() [all …]
|
| H A D | HexagonFixupHwLoops.cpp | 148 unsigned Diff = AbsoluteDifference(InstOffset, in fixupLoopInstrs() local 150 if (Diff > MaxLoopRange) { in fixupLoopInstrs()
|
| /netbsd-src/external/bsd/unbound/dist/testdata/fwd_compress_c00c.tdir/ |
| H A D | fwd_compress_c00c.test | 43 echo "Diff OK" 45 echo "Diff in output"
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | ScalarEvolutionDivision.cpp | 231 const SCEV *Diff = SE.getMinusSCEV(Numerator, Remainder); in visitMulExpr() local 233 if (sizeOfSCEV(Diff) > sizeOfSCEV(Numerator)) in visitMulExpr() 235 divide(SE, Diff, Denominator, &Q, &R); in visitMulExpr()
|
| H A D | LoopAccessAnalysis.cpp | 272 const SCEV *Diff = SE->getMinusSCEV(J, I); in getMinFromExprs() local 273 const SCEVConstant *C = dyn_cast<const SCEVConstant>(Diff); in getMinFromExprs() 1171 const auto *Diff = in getPointersDiff() local 1173 if (!Diff) in getPointersDiff() 1175 Val = Diff->getAPInt().getSExtValue(); in getPointersDiff() 1207 Optional<int> Diff = in sortPtrAccesses() local 1209 if (!Diff) in sortPtrAccesses() 1213 int64_t Offset = *Diff; in sortPtrAccesses() 1241 Optional<int> Diff = in isConsecutiveAccess() local 1243 return Diff && *Diff == 1; in isConsecutiveAccess()
|
| H A D | LoopCacheAnalysis.cpp | 182 const SCEVConstant *Diff = dyn_cast<SCEVConstant>( in hasSpacialReuse() local 185 if (Diff == nullptr) { in hasSpacialReuse() 193 bool InSameCacheLine = (Diff->getValue()->getSExtValue() < CLS); in hasSpacialReuse()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/clang-diff/ |
| H A D | ClangDiff.cpp | 266 static unsigned printHtmlForNode(raw_ostream &OS, const diff::ASTDiff &Diff, in printHtmlForNode() argument 272 diff::NodeId TargetId = Diff.getMapped(Tree, Id); in printHtmlForNode() 306 Offset = printHtmlForNode(OS, Diff, Tree, IsLeft, Child, Offset); in printHtmlForNode()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPreLegalizerCombiner.cpp | 76 const auto Diff = std::abs(Cmp2 - Cmp1); in matchClampI64ToI16() local 80 if (Diff == 0 || Diff == 1) in matchClampI64ToI16()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/ |
| H A D | Lookup.cpp | 64 unsigned Diff = UseNamespaces.size() - FromNamespaces.size(); in usingFromDifferentCanonicalNamespace() local 69 auto UseIter = UseNamespaces.begin() + Diff; in usingFromDifferentCanonicalNamespace()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/util/ |
| H A D | c-compress-test.pl | 40 use Text::Diff;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 317 const SCEV *Diff = SE->getMinusSCEV(LSCEV, B.BaseSCEV); in addOneCandidate() local 318 if (const auto *CDiff = dyn_cast<SCEVConstant>(Diff)) { in addOneCandidate() 782 const SCEVConstant *Diff = dyn_cast<SCEVConstant>( in alreadyPrepared() local 784 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared()
|
| H A D | PPCMIPeephole.cpp | 1388 int Diff = Imm1 - Imm2; in eliminateRedundantCompare() local 1389 if (Diff < -2 || Diff > 2) in eliminateRedundantCompare() 1396 if (Diff == 2) { in eliminateRedundantCompare() 1404 else if (Diff == 1) { in eliminateRedundantCompare() 1414 else if (Diff == -1) { in eliminateRedundantCompare() 1424 else if (Diff == -2) { in eliminateRedundantCompare()
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 729 CASE(Diff); in Visit() 1127 DiffPiece *Diff = New<DiffPiece>(); in parseDiagText() local 1129 Diff->Parts[0] = parseDiagText(Text, StopAt::Dollar); in parseDiagText() 1131 Diff->Parts[1] = parseDiagText(Text, StopAt::Dollar); in parseDiagText() 1133 Diff->Parts[2] = parseDiagText(Text, StopAt::PipeOrCloseBrace); in parseDiagText() 1135 Diff->Parts[3] = parseDiagText(Text, StopAt::PipeOrCloseBrace); in parseDiagText() 1137 Diff->Indexes[0] = parseModifier(Text); in parseDiagText() 1139 Diff->Indexes[1] = parseModifier(Text); in parseDiagText() 1140 Parsed.push_back(Diff); in parseDiagText()
|