| /freebsd-13.1/contrib/llvm-project/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() 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
|
| H A D | DifferenceEngine.cpp | 682 DiffLogBuilder Diff(Engine.getConsumer()); in runBlockDiff() local 705 Diff.addMatch(L, R); in runBlockDiff() 712 Diff.addLeft(&*LI); in runBlockDiff() 718 Diff.addRight(&*RI); in runBlockDiff()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-tapi-diff/ |
| H A D | DiffEngine.cpp | 141 DiffOutput Diff(Name); in getSingleAttrDiff() local 142 Diff.Kind = AD_Str_Vec; in getSingleAttrDiff() 148 return Diff; in getSingleAttrDiff() 154 DiffOutput Diff(Name); in getSingleAttrDiff() local 160 return Diff; in getSingleAttrDiff() 165 DiffOutput Diff(Name); in getSingleAttrDiff() local 170 return Diff; in getSingleAttrDiff() 178 return Diff; in getSingleAttrDiff() 291 return Diff; in recordDifferences() 301 return Diff; in recordDifferences() [all …]
|
| H A D | DiffEngine.h | 137 InlineDoc(StringRef InstName, std::vector<DiffOutput> Diff) in InlineDoc() argument 139 DocValues(std::move(Diff)){}; in InlineDoc()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/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 | 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 239 if (Error E = Diff.takeError()) in testMergedProgram() [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()
|
| H A D | ExecutionDriver.cpp | 439 if (int Diff = DiffFilesWithTolerance(ReferenceOutputFile, *Output, in diffProgram() local 441 if (Diff == 2) { in diffProgram()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86CmovConversion.cpp | 474 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates() local 504 if (Diff[1] < GainCycleThreshold) in checkForProfitableCmovCandidates() 508 if (Diff[1] == Diff[0]) in checkForProfitableCmovCandidates() 509 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates() 510 else if (Diff[1] > Diff[0]) in checkForProfitableCmovCandidates() 512 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates() 513 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/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() 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() 699 TTI->isLegalAddImmediate(Diff.getSExtValue()) && in findBaseConstants() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/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 | 274 const SCEV *Diff = SE->getMinusSCEV(J, I); in getMinFromExprs() local 275 const SCEVConstant *C = dyn_cast<const SCEVConstant>(Diff); in getMinFromExprs() 1189 const auto *Diff = in getPointersDiff() local 1191 if (!Diff) in getPointersDiff() 1193 Val = Diff->getAPInt().getSExtValue(); in getPointersDiff() 1224 Optional<int> Diff = getPointersDiff(ElemTy, Ptr0, ElemTy, Ptr, DL, SE, in sortPtrAccesses() local 1226 if (!Diff) in sortPtrAccesses() 1230 int64_t Offset = *Diff; in sortPtrAccesses() 1260 Optional<int> Diff = getPointersDiff(ElemTyA, PtrA, ElemTyB, PtrB, DL, SE, in isConsecutiveAccess() local 1262 return Diff && *Diff == 1; in isConsecutiveAccess()
|
| H A D | LoopCacheAnalysis.cpp | 180 const SCEVConstant *Diff = dyn_cast<SCEVConstant>( in hasSpacialReuse() local 183 if (Diff == nullptr) { in hasSpacialReuse() 191 bool InSameCacheLine = (Diff->getValue()->getSExtValue() < CLS); in hasSpacialReuse()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonConstExtenders.cpp | 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() 1762 assert(Uses.contains(-Diff)); in replaceInstrExpr() 1785 Diff = 0; in replaceInstrExpr() 1827 MIB.addImm(Diff); in replaceInstrExpr() 1856 int32_t Diff = EV.Offset - DefV.Offset; in replaceInstr() local [all …]
|
| H A D | HexagonFixupHwLoops.cpp | 148 unsigned Diff = AbsoluteDifference(InstOffset, in fixupLoopInstrs() local 150 if (Diff > MaxLoopRange) { in fixupLoopInstrs()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_diff/ |
| H A D | libsvn_diff.pc.in | 7 Description: Subversion Diff Library
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|