/freebsd/contrib/llvm-project/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()
|
H A D | DiffLog.h | 62 SmallVector<DiffRecord, 20> Diff; variable
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-tapi-diff/ |
H A D | DiffEngine.cpp |
|
H A D | DiffEngine.h |
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86CmovConversion.cpp | 491 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates() local 521 if (Diff[1] < GainCycleThreshold) in checkForProfitableCmovCandidates() 525 if (Diff[1] == Diff[0]) in checkForProfitableCmovCandidates() 526 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates() 527 else if (Diff[1] > Diff[0]) in checkForProfitableCmovCandidates() 529 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates() 530 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ConstantHoisting.cpp | 551 uint64_t Diff = LimVal1 - LimVal2; in calculateOffsetDiff() local 552 return APInt(BW, Diff, true); in calculateOffsetDiff() 611 std::optional<APInt> Diff = calculateOffsetDiff( in maximizeConstantsInRange() local 613 if (Diff) { in maximizeConstantsInRange() 615 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, *Diff, Ty); in maximizeConstantsInRange() 617 LLVM_DEBUG(dbgs() << "Offset " << *Diff << " " in maximizeConstantsInRange() 655 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue(); in findAndMakeBaseConstant() local 656 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff); in findAndMakeBaseConstant() 705 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue(); in findBaseConstants() local 706 if ((Diff.getBitWidth() <= 64) && in findBaseConstants() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | Z3CrosscheckVisitor.cpp | 83 llvm::TimeRecord Diff = llvm::TimeRecord::getCurrentTime(/*Start=*/false); in finalizeVisitor() local 84 Diff -= Start; in finalizeVisitor() 87 static_cast<unsigned>(Diff.getWallTime() * 1000), in finalizeVisitor()
|
/freebsd/contrib/diff/ |
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.
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 847 const SCEV *Diff = SE->getMinusSCEV(LSCEV, B.BaseSCEV); in addOneCandidate() local 848 if (isValidDiff(Diff)) { in addOneCandidate() 849 B.Elements.push_back(BucketElement(Diff, MemI)); in addOneCandidate() 1267 const SCEVConstant *Diff = dyn_cast<SCEVConstant>( in alreadyPrepared() local 1269 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared() 1413 auto isValidConstantDiff = [](const SCEV *Diff) { in runOnLoop() argument 1414 return dyn_cast<SCEVConstant>(Diff) != nullptr; in runOnLoop() 1419 auto isValidChainCommoningDiff = [](const SCEV *Diff) { in runOnLoop() argument 1420 assert(Diff && "Invalid Diff!\n"); in runOnLoop() 1423 if (isa<SCEVConstant>(Diff)) in runOnLoop() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandMemCmp.cpp | 383 Value *Diff = Builder.CreateSub(Loads.Lhs, Loads.Rhs); in emitLoadCompareByteBlock() local 385 PhiRes->addIncoming(Diff, BB); in emitLoadCompareByteBlock() 390 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff, in emitLoadCompareByteBlock() 391 ConstantInt::get(Diff->getType(), 0)); in emitLoadCompareByteBlock() 416 Value *Diff = nullptr; in getCompareLoadPairs() local 444 Diff = Builder.CreateXor(Loads.Lhs, Loads.Rhs); in getCompareLoadPairs() 445 Diff = Builder.CreateZExt(Diff, MaxLoadType); in getCompareLoadPairs() 446 XorList.push_back(Diff); in getCompareLoadPairs() 473 assert(Diff && "Failed to find comparison diff"); in getCompareLoadPairs() 474 Cmp = Builder.CreateICmpNE(OrList[0], ConstantInt::get(Diff->getType(), 0)); in getCompareLoadPairs()
|
H A D | MIRSampleProfile.cpp | 259 BranchProbability Diff; in setBranchProbs() local 261 Diff = OldProb - NewProb; in setBranchProbs() 263 Diff = NewProb - OldProb; in setBranchProbs() 264 Show = (Diff >= BranchProbability(FSProfileDebugProbDiffThreshold, 100)); in setBranchProbs()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstExtenders.cpp | 408 Register ExtR, int32_t &Diff); 1724 Register ExtR, int32_t &Diff) { in replaceInstrExpr() argument 1744 int32_t D = isInt<16>(Diff) ? Diff : (Diff > 0 ? 32767 : -32768); in replaceInstrExpr() 1745 if (Diff > 32767) { in replaceInstrExpr() 1749 uint32_t UD = Diff; in replaceInstrExpr() 1758 Diff -= D; in replaceInstrExpr() 1764 if (!Uses.contains(-Diff)) in replaceInstrExpr() 1765 dbgs() << "Diff: " << -Diff << " out of range " << Uses in replaceInstrExpr() 1767 assert(Uses.contains(-Diff)); in replaceInstrExpr() 1790 Diff = 0; in replaceInstrExpr() [all …]
|
H A D | HexagonFixupHwLoops.cpp | 148 unsigned Diff = AbsoluteDifference(InstOffset, in fixupLoopInstrs() local 150 if (Diff > MaxLoopRange) { in fixupLoopInstrs()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolutionDivision.cpp | 233 const SCEV *Diff = SE.getMinusSCEV(Numerator, Remainder); in visitMulExpr() local 235 if (sizeOfSCEV(Diff) > sizeOfSCEV(Numerator)) in visitMulExpr() 237 divide(SE, Diff, Denominator, &Q, &R); in visitMulExpr()
|
H A D | StackSafetyAnalysis.cpp | 302 const SCEV *Diff = SE.getMinusSCEV(AddrExp, BaseExp); in offsetFrom() local 303 if (isa<SCEVCouldNotCompute>(Diff)) in offsetFrom() 306 ConstantRange Offset = SE.getSignedRange(Diff); in offsetFrom() 394 const SCEV *Diff = SE.getMinusSCEV(AddrExp, BaseExp); in isSafeAccess() local 395 if (isa<SCEVCouldNotCompute>(Diff)) in isSafeAccess() 407 return SE.evaluatePredicateAt(ICmpInst::Predicate::ICMP_SGE, Diff, Min, I) in isSafeAccess() 409 SE.evaluatePredicateAt(ICmpInst::Predicate::ICMP_SLE, Diff, Max, I) in isSafeAccess()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPreLegalizerCombiner.cpp | 135 const auto Diff = std::abs(Cmp2 - Cmp1); in matchClampI64ToI16() local 139 if (Diff == 0 || Diff == 1) in matchClampI64ToI16()
|
H A D | GCNRegPressure.h | 141 GCNRegPressure Diff = P1; variable 142 Diff -= P2; 143 return Diff;
|
/freebsd/crypto/openssl/util/ |
H A D | c-compress-test.pl | 40 use Text::Diff;
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangDiagnosticsEmitter.cpp | 737 CASE(Diff); in Visit() 1130 DiffPiece *Diff = New<DiffPiece>(); in parseDiagText() local 1132 Diff->Parts[0] = parseDiagText(Text, StopAt::Dollar); in parseDiagText() 1134 Diff->Parts[1] = parseDiagText(Text, StopAt::Dollar); in parseDiagText() 1136 Diff->Parts[2] = parseDiagText(Text, StopAt::PipeOrCloseBrace); in parseDiagText() 1138 Diff->Parts[3] = parseDiagText(Text, StopAt::PipeOrCloseBrace); in parseDiagText() 1140 Diff->Indexes[0] = parseModifier(Text); in parseDiagText() 1142 Diff->Indexes[1] = parseModifier(Text); in parseDiagText() 1143 Parsed.push_back(Diff); in parseDiagText()
|