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

1 2

  /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...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
DiffLog.h 59 /// A temporary-object class for building up diff messages.
62 SmallVector<DiffRecord, 20> Diff;
  /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...]
HexagonVectorCombine.cpp 744 int Diff = Start - (OffAtMax + Adjust);
745 AlignVal = HVC.getConstInt(Diff);
747 assert(Diff >= 0);
748 assert(static_cast<decltype(MinNeeded.value())>(Diff) < MinNeeded.value());
1335 if (auto *Diff = dyn_cast<ConstantInt>(
1337 return Diff->getSExtValue() * Scale;
  /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);
StackSafetyAnalysis.cpp 265 const SCEV *Diff = SE.getMinusSCEV(AddrExp, BaseExp);
267 ConstantRange Offset = SE.getSignedRange(Diff);
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...]
  /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/llvm/lib/CodeGen/
RegisterScavenging.cpp 457 unsigned SI = Scavenged.size(), Diff = std::numeric_limits<unsigned>::max();
477 if (D < Diff) {
479 Diff = D;
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...]
ModuloSchedule.cpp 90 unsigned Diff = 0;
92 Diff = UseStage - DefStage;
95 ++Diff;
99 MaxDiff = std::max(Diff, MaxDiff);
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCWin64EH.cpp 55 const MCExpr *Diff =
58 Streamer.emitValue(Diff, 1);
255 const MCExpr *Diff =
263 if (!Diff->evaluateAsAbsolute(value, OS->getAssembler()))
MCStreamer.cpp 1101 const MCExpr *Diff =
1107 emitValue(Diff, Size);
1113 emitAssignment(SetLabel, Diff);
1120 const MCExpr *Diff =
1124 emitULEB128Value(Diff);
  /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)) {
PPCMIPeephole.cpp 1388 int Diff = Imm1 - Imm2;
1389 if (Diff < -2 || Diff > 2)
1396 if (Diff == 2) {
1404 else if (Diff == 1) {
1414 else if (Diff == -1) {
1424 else if (Diff == -2) {
  /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...]
LoopFuse.cpp 747 int Diff = TC0 - TC1;
749 if (Diff > 0)
750 Difference = Diff;
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGStmt.cpp 1366 llvm::Value *Diff =
1369 Builder.CreateICmpULE(Diff, Builder.getInt(Range), "inbounds");
  /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...]

Completed in 58 milliseconds

1 2