| /openbsd-src/gnu/llvm/llvm/tools/llvm-diff/lib/ |
| 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() 50 return Diff[I].first; in getLeft() 53 return Diff[I].second; in getRight()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-tapi-diff/ |
| H A D | DiffEngine.cpp | 119 void addDiffForTargSlice(V Val, Target Targ, DiffOutput &Diff, in addDiffForTargSlice() argument 122 Diff.Values, [&](const std::unique_ptr<AttributeDiff> &RawTVec) { in addDiffForTargSlice() 127 if (TargetVector != Diff.Values.end()) { in addDiffForTargSlice() 134 Diff.Values.push_back(std::move(NewTargetVec)); in addDiffForTargSlice() 140 DiffOutput Diff(Name); in getSingleAttrDiff() local 141 Diff.Kind = AD_Str_Vec; in getSingleAttrDiff() 146 IRef.getInstallName(), Targ, Diff, Order); in getSingleAttrDiff() 147 return Diff; in getSingleAttrDiff() 153 DiffOutput Diff(Name); in getSingleAttrDiff() local 154 Diff.Kind = AD_Str_Vec; in getSingleAttrDiff() [all …]
|
| H A D | DiffEngine.h | 136 InlineDoc(StringRef InstName, std::vector<DiffOutput> Diff) in InlineDoc() argument 138 DocValues(std::move(Diff)){}; in InlineDoc()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86CmovConversion.cpp | 487 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates() local 517 if (Diff[1] < GainCycleThreshold) in checkForProfitableCmovCandidates() 521 if (Diff[1] == Diff[0]) in checkForProfitableCmovCandidates() 522 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates() 523 else if (Diff[1] > Diff[0]) in checkForProfitableCmovCandidates() 525 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates() 526 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/ |
| H A D | stack_trace_compressor.cpp | 73 uintptr_t Diff = Unpacked[CurrentDepth]; in pack() local 75 Diff -= Unpacked[CurrentDepth - 1]; in pack() 77 varIntEncode(zigzagEncode(Diff), Packed + Index, PackedMaxSize - Index); in pack()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | FileUtilities.cpp | 146 double Diff; in CompareNumbers() local 148 Diff = std::abs(V1/V2 - 1.0); in CompareNumbers() 150 Diff = std::abs(V2/V1 - 1.0); in CompareNumbers() 152 Diff = 0; // Both zero. in CompareNumbers() 153 if (Diff > RelTolerance) { in CompareNumbers() 157 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' in CompareNumbers()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Archive-Tar/bin/ |
| H A D | ptardiff | 15 unless ( eval { require Text::Diff; Text::Diff->import; 1 } ) {
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 545 uint64_t Diff = LimVal1 - LimVal2; in calculateOffsetDiff() local 546 return APInt(BW, Diff, true); in calculateOffsetDiff() 608 std::optional<APInt> Diff = calculateOffsetDiff( in maximizeConstantsInRange() local 610 if (Diff) { in maximizeConstantsInRange() 612 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, *Diff, Ty); in maximizeConstantsInRange() 614 LLVM_DEBUG(dbgs() << "Offset " << *Diff << " " in maximizeConstantsInRange() 652 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue(); in findAndMakeBaseConstant() local 653 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff); in findAndMakeBaseConstant() 703 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue(); in findBaseConstants() local 704 if ((Diff.getBitWidth() <= 64) && in findBaseConstants() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-remark-size-diff/ |
| H A D | RemarkSizeDiff.cpp | 402 for (auto &Diff : FunctionDiffs) { in getFunctionDiffListAsJSON() local 408 InstCountA = Diff.getInstCountA(); in getFunctionDiffListAsJSON() 409 StackSizeA = Diff.getStackSizeA(); in getFunctionDiffListAsJSON() 414 InstCountB = Diff.getInstCountB(); in getFunctionDiffListAsJSON() 415 StackSizeB = Diff.getStackSizeB(); in getFunctionDiffListAsJSON() 425 json::Object FunctionObject({{"FunctionName", Diff.FuncName}, in getFunctionDiffListAsJSON()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | ExpandMemCmp.cpp | 343 Value *Diff = Builder.CreateSub(Loads.Lhs, Loads.Rhs); in emitLoadCompareByteBlock() local 345 PhiRes->addIncoming(Diff, BB); in emitLoadCompareByteBlock() 350 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff, in emitLoadCompareByteBlock() 351 ConstantInt::get(Diff->getType(), 0)); in emitLoadCompareByteBlock() 376 Value *Diff = nullptr; in getCompareLoadPairs() local 403 Diff = Builder.CreateXor(Loads.Lhs, Loads.Rhs); in getCompareLoadPairs() 404 Diff = Builder.CreateZExt(Diff, MaxLoadType); in getCompareLoadPairs() 405 XorList.push_back(Diff); in getCompareLoadPairs() 432 assert(Diff && "Failed to find comparison diff"); in getCompareLoadPairs() 433 Cmp = Builder.CreateICmpNE(OrList[0], ConstantInt::get(Diff->getType(), 0)); in getCompareLoadPairs()
|
| H A D | MIRSampleProfile.cpp | 227 BranchProbability Diff; in setBranchProbs() local 229 Diff = OldProb - NewProb; in setBranchProbs() 231 Diff = NewProb - OldProb; in setBranchProbs() 232 Show = (Diff >= BranchProbability(FSProfileDebugProbDiffThreshold, 100)); in setBranchProbs()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 842 const SCEV *Diff = SE->getMinusSCEV(LSCEV, B.BaseSCEV); in addOneCandidate() local 843 if (isValidDiff(Diff)) { in addOneCandidate() 844 B.Elements.push_back(BucketElement(Diff, MemI)); in addOneCandidate() 1260 const SCEVConstant *Diff = dyn_cast<SCEVConstant>( in alreadyPrepared() local 1262 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared() 1406 auto isValidConstantDiff = [](const SCEV *Diff) { in runOnLoop() argument 1407 return dyn_cast<SCEVConstant>(Diff) != nullptr; in runOnLoop() 1412 auto isValidChainCommoningDiff = [](const SCEV *Diff) { in runOnLoop() argument 1413 assert(Diff && "Invalid Diff!\n"); in runOnLoop() 1416 if (isa<SCEVConstant>(Diff)) in runOnLoop() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ScalarEvolutionDivision.cpp | 229 const SCEV *Diff = SE.getMinusSCEV(Numerator, Remainder); in visitMulExpr() local 231 if (sizeOfSCEV(Diff) > sizeOfSCEV(Numerator)) in visitMulExpr() 233 divide(SE, Diff, Denominator, &Q, &R); in visitMulExpr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonConstExtenders.cpp | 408 Register ExtR, int32_t &Diff); 1721 Register ExtR, int32_t &Diff) { in replaceInstrExpr() argument 1741 int32_t D = isInt<16>(Diff) ? Diff : (Diff > 0 ? 32767 : -32768); in replaceInstrExpr() 1742 if (Diff > 32767) { in replaceInstrExpr() 1746 uint32_t UD = Diff; in replaceInstrExpr() 1755 Diff -= D; in replaceInstrExpr() 1761 if (!Uses.contains(-Diff)) in replaceInstrExpr() 1762 dbgs() << "Diff: " << -Diff << " out of range " << Uses in replaceInstrExpr() 1764 assert(Uses.contains(-Diff)); in replaceInstrExpr() 1787 Diff = 0; in replaceInstrExpr() [all …]
|
| H A D | HexagonFixupHwLoops.cpp | 148 unsigned Diff = AbsoluteDifference(InstOffset, in fixupLoopInstrs() local 150 if (Diff > MaxLoopRange) { in fixupLoopInstrs()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | PrintPasses.cpp | 234 std::string Diff; in doSystemDiff() local 237 Diff = (*B)->getBuffer().str(); in doSystemDiff() 244 return Diff; in doSystemDiff()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Test/lib/ |
| H A D | Test.pm | 510 require Algorithm::Diff; Algorithm::Diff->VERSION(1.15); 624 Algorithm::Diff::traverse_balanced(
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPreLegalizerCombiner.cpp | 79 const auto Diff = std::abs(Cmp2 - Cmp1); in matchClampI64ToI16() local 83 if (Diff == 0 || Diff == 1) in matchClampI64ToI16()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Pod-Simple/t/ |
| H A D | JustPod_corpus.t | 154 eval { require Text::Diff; }; 158 . " Text::Diff to see just the differences."); 162 diag Text::Diff::diff(\$input, \$output, { STYLE => 'Unified' });
|
| H A D | rtf_utf8.t | 59 eval { require Text::Diff; }; 63 . " Text::Diff to see just the differences."); 67 diag Text::Diff::diff(\$expected, \$output, { STYLE => 'Unified' });
|