Searched refs:Diff (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDiffLog.cpp32 Diff.push_back(DiffRecord(L, R));
36 Diff.push_back(DiffRecord(L, DiffRecord::second_type(nullptr)));
40 Diff.push_back(DiffRecord(DiffRecord::first_type(nullptr), R));
43 unsigned DiffLogBuilder::getNumLines() const { return Diff.size(); }
46 return (Diff[I].first ? (Diff[I].second ? DC_match : DC_left)
49 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; }
50 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; }
H A DDiffLog.h62 SmallVector<DiffRecord, 20> Diff; member in class:llvm::DiffLogBuilder
H A DDifferenceEngine.cpp577 DiffLogBuilder Diff(Engine.getConsumer());
600 Diff.addMatch(L, R);
607 Diff.addLeft(&*LI);
613 Diff.addRight(&*RI);
/freebsd-12-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DFindBugs.cpp79 Expected<bool> Diff = diffProgram(*Program, Filename, "", false); local
80 if (Error E = Diff.takeError()) {
84 if (*Diff) {
H A DBugDriver.cpp213 // Diff the output of the raw program against the reference output. If it
217 Expected<bool> Diff = diffProgram(*Program, "", "", false); local
218 if (Error E = Diff.takeError()) {
222 if (!*Diff) {
H A DMiscompilation.cpp82 Expected<bool> Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", local
84 if (Error E = Diff.takeError())
86 if (*Diff) {
124 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", false);
125 if (Error E = Diff.takeError())
127 if (*Diff) {
169 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "",
171 if (Error E = Diff.takeError())
173 if (*Diff) {
238 Expected<bool> Diff local
[all...]
H A DExecutionDriver.cpp451 if (int Diff = DiffFilesWithTolerance(ReferenceOutputFile, *Output,
453 if (Diff == 2) {
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dstack_trace_compressor.cpp73 uintptr_t Diff = Unpacked[CurrentDepth]; local
75 Diff -= Unpacked[CurrentDepth - 1];
77 varIntEncode(zigzagEncode(Diff), Packed + Index, PackedMaxSize - Index);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A DFileUtilities.cpp147 double Diff; local
149 Diff = std::abs(V1/V2 - 1.0);
151 Diff = std::abs(V2/V1 - 1.0);
153 Diff = 0; // Both zero.
154 if (Diff > RelTolerance) {
158 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n'
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp422 // Depth-Diff[i]:
473 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, local
479 // case 1: Diff[1] == Diff[0]
487 // case 2: Diff[1] > Diff[0]
493 // the gain - the change in Depth-Diff compared to the change in
499 // threshold. Thus, the check (Diff[1] >= GainCycleThreshold) must apply.
503 if (Diff[1] < GainCycleThreshold)
507 if (Diff[
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp527 uint64_t Diff = LimVal1 - LimVal2;
528 return APInt(BW, Diff, true);
589 Optional<APInt> Diff = calculateOffsetDiff( local
592 if (Diff) {
594 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty);
596 LLVM_DEBUG(dbgs() << "Offset " << Diff.getValue() << " "
634 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue(); local
635 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff);
685 APInt Diff local
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DLookup.cpp62 unsigned Diff = UseNamespaces.size() - FromNamespaces.size(); local
67 auto UseIter = UseNamespaces.begin() + Diff;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFixupHwLoops.cpp148 unsigned Diff = AbsoluteDifference(InstOffset, local
150 if (Diff > MaxLoopRange) {
H A DHexagonConstExtenders.cpp407 Register ExtR, int32_t &Diff);
1702 Register ExtR, int32_t &Diff) {
1715 // Most of the time, simply adding Diff will make the addi produce exact
1716 // result, but if Diff is outside of the 16-bit range, some adjustment
1721 // Clamp Diff to the 16 bit range.
1722 int32_t D = isInt<16>(Diff) ? Diff : (Diff > 0 ? 32767 : -32768);
1723 if (Diff > 32767) {
1724 // Split Diff int
1701 replaceInstrExpr(const ExtDesc &ED, const ExtenderInit &ExtI, Register ExtR, int32_t &Diff) argument
1839 int32_t Diff = EV.Offset - DefV.Offset; local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp296 Value *Diff = Builder.CreateSub(LoadSrc1, LoadSrc2); local
298 PhiRes->addIncoming(Diff, LoadCmpBlocks[BlockIndex]);
303 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff,
304 ConstantInt::get(Diff->getType(), 0));
323 Value *Diff = nullptr;
372 Diff = Builder.CreateXor(LoadSrc1, LoadSrc2);
373 Diff = Builder.CreateZExt(Diff, MaxLoadType);
374 XorList.push_back(Diff);
401 assert(Diff
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp316 const SCEV *Diff = SE->getMinusSCEV(LSCEV, B.BaseSCEV); local
317 if (const auto *CDiff = dyn_cast<SCEVConstant>(Diff)) {
773 const SCEVConstant *Diff = dyn_cast<SCEVConstant>( local
775 if (Diff && !Diff->getAPInt().urem(Form)) {
H A DPPCMIPeephole.cpp1359 int Diff = Imm1 - Imm2; local
1360 if (Diff < -2 || Diff > 2)
1367 if (Diff == 2) {
1375 else if (Diff == 1) {
1385 else if (Diff == -1) {
1395 else if (Diff == -2) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopCacheAnalysis.cpp173 const SCEVConstant *Diff = dyn_cast<SCEVConstant>(
176 if (Diff == nullptr) {
184 bool InSameCacheLine = (Diff->getValue()->getSExtValue() < CLS);
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp131 Diff("diff",
241 DumpOpts.ShowAddresses = !Diff;
580 if (Diff && Verbose) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp357 uint64_t Diff = Offset > Reference.Offset ? Offset - Reference.Offset
359 bool Result = Diff > LargeStrideThresh;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectStreamer.cpp147 if (Optional<uint64_t> Diff = absoluteSymbolDiff(getAssembler(), Hi, Lo)) {
148 EmitIntValue(*Diff, Size);
156 if (Optional<uint64_t> Diff = absoluteSymbolDiff(getAssembler(), Hi, Lo)) {
157 EmitULEB128IntValue(*Diff);
H A DMCWin64EH.cpp55 const MCExpr *Diff = local
58 Streamer.EmitValue(Diff, 1);
254 const MCExpr *Diff = local
262 if (!Diff->evaluateAsAbsolute(value, OS->getAssembler()))
H A DMCStreamer.cpp1025 const MCExpr *Diff = local
1031 EmitValue(Diff, Size);
1037 EmitAssignment(SetLabel, Diff);
1044 const MCExpr *Diff = local
1048 EmitULEB128Value(Diff);
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp739 CASE(Diff);
1107 DiffPiece *Diff = New<DiffPiece>(); local
1109 Diff->Options[0] = parseDiagText(Text, true);
1111 Diff->Options[1] = parseDiagText(Text, true);
1114 Diff->Indexes[0] = parseModifier(Text);
1116 Diff->Indexes[1] = parseModifier(Text);
1117 Parsed.push_back(Diff);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp6322 ExprResult Diff;
6496 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Sub, Upper, Lower);
6498 if (!Diff.isUsable() && VarType->getAsCXXRecordDecl()) {
6507 if (!Diff.isUsable())
6512 Diff = SemaRef.BuildBinOp(
6513 S, DefaultLoc, BO_Sub, Diff.get(),
6515 if (!Diff.isUsable())
6522 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Add, Diff.get(), NewStep.get());
6523 if (!Diff
[all...]

Completed in 405 milliseconds

12