HomeSort by: relevance | last modified time | path
    Searched refs:Diff (Results 1 - 25 of 59) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
DiffLog.cpp 32 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; }
DiffLog.h 59 /// A temporary-object class for building up diff messages.
62 SmallVector<DiffRecord, 20> Diff;
  /src/external/apache2/llvm/dist/llvm/tools/bugpoint/
FindBugs.cpp 79 Expected<bool> Diff = diffProgram(*Program, Filename, "", false);
80 if (Error E = Diff.takeError()) {
84 if (*Diff) {
90 outs() << "\n*** diff'd output matches!\n";
BugDriver.cpp 48 // program. If this filename is set, it is used as the reference diff source,
213 // Diff the output of the raw program against the reference output. If it
217 Expected<bool> Diff = diffProgram(*Program, "", "", false);
218 if (Error E = Diff.takeError()) {
222 if (!*Diff) {
231 outs() << "\n*** Input program does not match reference diff!\n";
Miscompilation.cpp 82 Expected<bool> Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "",
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) {
222 /// if the program matches the diff. If there is an error, return NULL. If not
    [all...]
ExecutionDriver.cpp 78 cl::desc("Append the exit code to the output so it gets diff'd too"),
439 if (int Diff = DiffFilesWithTolerance(ReferenceOutputFile, *Output,
441 if (Diff == 2) {
  /src/crypto/external/apache2/openssl/dist/util/
c-compress-test.pl 40 use Text::Diff;
52 print "MISMATCH:\n", diff \$expected, \$got;
  /src/crypto/external/bsd/openssl/dist/util/
c-compress-test.pl 40 use Text::Diff;
52 print "MISMATCH:\n", diff \$expected, \$got;
  /src/external/apache2/llvm/dist/llvm/lib/Support/
FileUtilities.cpp 103 // The diff failed.
148 double Diff;
150 Diff = std::abs(V1/V2 - 1.0);
152 Diff = std::abs(V2/V1 - 1.0);
154 Diff = 0; // Both zero.
155 if (Diff > RelTolerance) {
159 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n'
177 /// error occurs, allowing the caller to distinguish between a failed diff and
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
Clustering.h 115 const auto Diff = P[I].PerInstructionValue - Q[I].PerInstructionValue;
116 DistanceSquared += Diff * Diff;
  /src/external/apache2/llvm/dist/clang/tools/clang-diff/
ClangDiff.cpp 23 static cl::OptionCategory ClangDiffCategory("clang-diff options");
40 cl::desc("Output a side-by-side diff in HTML."),
52 static cl::opt<std::string> StopAfter("stop-diff-after",
248 static std::string getChangeKindAbbr(diff::ChangeKind Kind) {
250 case diff::None:
252 case diff::Delete:
254 case diff::Update:
256 case diff::Insert:
258 case diff::Move:
260 case diff::UpdateMove
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86CmovConversion.cpp 422 // Depth-Diff[i]:
473 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth,
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[1] == Diff[0]
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
ConstantHoisting.cpp 538 uint64_t Diff = LimVal1 - LimVal2;
539 return APInt(BW, Diff, true);
601 Optional<APInt> Diff = calculateOffsetDiff(
604 if (Diff) {
606 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty);
608 LLVM_DEBUG(dbgs() << "Offset " << Diff.getValue() << " "
646 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue();
647 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff);
697 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
Lookup.cpp 64 unsigned Diff = UseNamespaces.size() - FromNamespaces.size();
69 auto UseIter = UseNamespaces.begin() + Diff;
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonFixupHwLoops.cpp 148 unsigned Diff = AbsoluteDifference(InstOffset,
150 if (Diff > MaxLoopRange) {
HexagonConstExtenders.cpp 406 Register ExtR, int32_t &Diff);
1719 Register ExtR, int32_t &Diff) {
1732 // Most of the time, simply adding Diff will make the addi produce exact
1733 // result, but if Diff is outside of the 16-bit range, some adjustment
1738 // Clamp Diff to the 16 bit range.
1739 int32_t D = isInt<16>(Diff) ? Diff : (Diff > 0 ? 32767 : -32768);
1740 if (Diff > 32767) {
1741 // Split Diff into two values: one that is close to min/max int16
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ScalarEvolutionDivision.cpp 231 const SCEV *Diff = SE.getMinusSCEV(Numerator, Remainder);
233 if (sizeOfSCEV(Diff) > sizeOfSCEV(Numerator))
235 divide(SE, Diff, Denominator, &Q, &R);
LoopAccessAnalysis.cpp 272 const SCEV *Diff = SE->getMinusSCEV(J, I);
273 const SCEVConstant *C = dyn_cast<const SCEVConstant>(Diff);
1171 const auto *Diff =
1173 if (!Diff)
1175 Val = Diff->getAPInt().getSExtValue();
1207 Optional<int> Diff =
1209 if (!Diff)
1213 int64_t Offset = *Diff;
1241 Optional<int> Diff =
1243 return Diff && *Diff == 1
    [all...]
LoopCacheAnalysis.cpp 182 const SCEVConstant *Diff = dyn_cast<SCEVConstant>(
185 if (Diff == nullptr) {
193 bool InSameCacheLine = (Diff->getValue()->getSExtValue() < CLS);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
ExpandMemCmp.cpp 340 Value *Diff = Builder.CreateSub(Loads.Lhs, Loads.Rhs);
342 PhiRes->addIncoming(Diff, BB);
347 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff,
348 ConstantInt::get(Diff->getType(), 0));
373 Value *Diff = nullptr;
400 Diff = Builder.CreateXor(Loads.Lhs, Loads.Rhs);
401 Diff = Builder.CreateZExt(Diff, MaxLoadType);
402 XorList.push_back(Diff);
429 assert(Diff && "Failed to find comparison diff")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUPreLegalizerCombiner.cpp 76 const auto Diff = std::abs(Cmp2 - Cmp1);
80 if (Diff == 0 || Diff == 1)
AMDGPUPerfHintAnalysis.cpp 353 uint64_t Diff = Offset > Reference.Offset ? Offset - Reference.Offset
355 bool Result = Diff > LargeStrideThresh;
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangDiagnosticsEmitter.cpp 458 return "diff";
729 CASE(Diff);
914 // Render %diff{a $ b $ c|d}e,f as %select{a %e b %f c|d}.
983 Result += "%diff{";
1049 .Case("diff", MT_Diff)
1127 DiffPiece *Diff = New<DiffPiece>();
1129 Diff->Parts[0] = parseDiagText(Text, StopAt::Dollar);
1131 Diff->Parts[1] = parseDiagText(Text, StopAt::Dollar);
1133 Diff->Parts[2] = parseDiagText(Text, StopAt::PipeOrCloseBrace);
1135 Diff->Parts[3] = parseDiagText(Text, StopAt::PipeOrCloseBrace)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCLoopInstrFormPrep.cpp 317 const SCEV *Diff = SE->getMinusSCEV(LSCEV, B.BaseSCEV);
318 if (const auto *CDiff = dyn_cast<SCEVConstant>(Diff)) {
782 const SCEVConstant *Diff = dyn_cast<SCEVConstant>(
784 if (Diff && !Diff->getAPInt().urem(Form)) {
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCObjectStreamer.cpp 146 if (Optional<uint64_t> Diff = absoluteSymbolDiff(getAssembler(), Hi, Lo)) {
147 emitIntValue(*Diff, Size);
155 if (Optional<uint64_t> Diff = absoluteSymbolDiff(getAssembler(), Hi, Lo)) {
156 emitULEB128IntValue(*Diff);

Completed in 52 milliseconds

1 2 3