/external/swiftshader/third_party/LLVM/tools/llvm-diff/ |
D | DiffLog.cpp | 35 Diff.push_back(DiffRecord(L, R)); in addMatch() 39 Diff.push_back(DiffRecord(L, DiffRecord::second_type(0))); in addLeft() 43 Diff.push_back(DiffRecord(DiffRecord::first_type(0), R)); in addRight() 46 unsigned DiffLogBuilder::getNumLines() const { return Diff.size(); } in getNumLines() 49 return (Diff[I].first ? (Diff[I].second ? DC_match : DC_left) in getLineKind() 52 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; } in getLeft() 53 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; } in getRight()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-diff/ |
D | DiffLog.cpp | 33 Diff.push_back(DiffRecord(L, R)); in addMatch() 37 Diff.push_back(DiffRecord(L, DiffRecord::second_type(nullptr))); in addLeft() 41 Diff.push_back(DiffRecord(DiffRecord::first_type(nullptr), R)); in addRight() 44 unsigned DiffLogBuilder::getNumLines() const { return Diff.size(); } in getNumLines() 47 return (Diff[I].first ? (Diff[I].second ? DC_match : DC_left) in getLineKind() 50 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; } in getLeft() 51 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; } in getRight()
|
/external/llvm/tools/llvm-diff/ |
D | DiffLog.cpp | 34 Diff.push_back(DiffRecord(L, R)); in addMatch() 38 Diff.push_back(DiffRecord(L, DiffRecord::second_type(nullptr))); in addLeft() 42 Diff.push_back(DiffRecord(DiffRecord::first_type(nullptr), R)); in addRight() 45 unsigned DiffLogBuilder::getNumLines() const { return Diff.size(); } in getNumLines() 48 return (Diff[I].first ? (Diff[I].second ? DC_match : DC_left) in getLineKind() 51 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; } in getLeft() 52 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; } in getRight()
|
/external/swiftshader/third_party/LLVM/test/Transforms/EarlyCSE/ |
D | basic.ll | 40 %Diff = sub i32 %V1, %V2 41 ret i32 %Diff 55 %Diff = sub i32 %V1, %V2 56 ret i32 %Diff 73 %Diff = sub i32 %V1, %V2 74 ret i32 %Diff 76 ; CHECK: ret i32 %Diff 86 %Diff = sub i32 %V1, %V2 87 ret i32 %Diff 116 %Diff = sub i32 %V1, %V2 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/BasicAA/ |
D | modref.ll | 158 %Diff = sub i32 %V1, %V2 159 ret i32 %Diff 163 ; CHECK: ret i32 %Diff 172 %Diff = sub i32 %V1, %V2 173 ret i32 %Diff 185 %Diff = sub i32 %V1, %V2 186 ret i32 %Diff 190 ; CHECK: ret i32 %Diff 198 %Diff = sub i32 %V1, %V2 199 ret i32 %Diff [all …]
|
D | 2003-09-19-LocalArgument.ll | 13 %Diff = sub i32 %V1, %V2 14 ret i32 %Diff
|
/external/llvm/test/Analysis/BasicAA/ |
D | modref.ll | 158 %Diff = sub i32 %V1, %V2 159 ret i32 %Diff 163 ; CHECK: ret i32 %Diff 172 %Diff = sub i32 %V1, %V2 173 ret i32 %Diff 185 %Diff = sub i32 %V1, %V2 186 ret i32 %Diff 190 ; CHECK: ret i32 %Diff 198 %Diff = sub i32 %V1, %V2 199 ret i32 %Diff [all …]
|
D | 2003-09-19-LocalArgument.ll | 13 %Diff = sub i32 %V1, %V2 14 ret i32 %Diff
|
/external/libcxx/test/std/containers/unord/ |
D | iterator_difference_type.pass.cpp | 21 typedef typename Map::difference_type Diff; in testUnorderedMap() typedef 27 static_assert((std::is_same<typename It::difference_type, Diff>::value), ""); in testUnorderedMap() 34 static_assert((std::is_same<typename It::difference_type, Diff>::value), ""); in testUnorderedMap() 41 static_assert((std::is_same<typename It::difference_type, Diff>::value), ""); in testUnorderedMap() 48 static_assert((std::is_same<typename It::difference_type, Diff>::value), ""); in testUnorderedMap() 59 typedef typename Set::difference_type Diff; in testUnorderedSet() typedef 65 static_assert((std::is_same<typename It::difference_type, Diff>::value), ""); in testUnorderedSet() 73 static_assert((std::is_same<typename It::difference_type, Diff>::value), ""); in testUnorderedSet()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/EarlyCSE/ |
D | basic.ll | 42 %Diff = sub i32 %V1, %V2 43 ret i32 %Diff 52 %Diff = sub i32 %V1, %V2 53 ret i32 %Diff 67 %Diff = sub i32 %V1, %V2 68 ret i32 %Diff 83 %Diff = sub i32 %V1, %V2 84 ret i32 %Diff 101 %Diff = sub i32 %V1, %V2 102 ret i32 %Diff [all …]
|
/external/llvm/test/Transforms/EarlyCSE/ |
D | basic.ll | 41 %Diff = sub i32 %V1, %V2 42 ret i32 %Diff 51 %Diff = sub i32 %V1, %V2 52 ret i32 %Diff 66 %Diff = sub i32 %V1, %V2 67 ret i32 %Diff 82 %Diff = sub i32 %V1, %V2 83 ret i32 %Diff 100 %Diff = sub i32 %V1, %V2 101 ret i32 %Diff [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | FileUtilities.cpp | 145 double Diff; in CompareNumbers() local 147 Diff = std::abs(V1/V2 - 1.0); in CompareNumbers() 149 Diff = std::abs(V2/V1 - 1.0); in CompareNumbers() 151 Diff = 0; // Both zero. in CompareNumbers() 152 if (Diff > RelTolerance) { in CompareNumbers() 156 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' in CompareNumbers()
|
/external/llvm/lib/Support/ |
D | FileUtilities.cpp | 141 double Diff; in CompareNumbers() local 143 Diff = std::abs(V1/V2 - 1.0); in CompareNumbers() 145 Diff = std::abs(V2/V1 - 1.0); in CompareNumbers() 147 Diff = 0; // Both zero. in CompareNumbers() 148 if (Diff > RelTolerance) { in CompareNumbers() 152 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' in CompareNumbers()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | FileUtilities.cpp | 142 double Diff; in CompareNumbers() local 144 Diff = std::abs(V1/V2 - 1.0); in CompareNumbers() 146 Diff = std::abs(V2/V1 - 1.0); in CompareNumbers() 148 Diff = 0; // Both zero. in CompareNumbers() 149 if (Diff > RelTolerance) { in CompareNumbers() 153 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' in CompareNumbers()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 303 uint64_t Diff = LimVal1 - LimVal2; in calculateOffsetDiff() local 304 return APInt(BW, Diff, true); in calculateOffsetDiff() 361 llvm::Optional<APInt> Diff = calculateOffsetDiff( in maximizeConstantsInRange() local 364 if (Diff) { in maximizeConstantsInRange() 366 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty); in maximizeConstantsInRange() 368 DEBUG(dbgs() << "Offset " << Diff.getValue() << " " in maximizeConstantsInRange() 402 APInt Diff = ConstCand->ConstInt->getValue() - in findAndMakeBaseConstant() local 404 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff); in findAndMakeBaseConstant() 430 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue(); in findBaseConstants() local 431 if ((Diff.getBitWidth() <= 64) && in findBaseConstants() [all …]
|
/external/libcxx/test/std/containers/associative/ |
D | iterator_types.pass.cpp | 21 typedef typename Map::difference_type Diff; in testMap() typedef 27 static_assert((std::is_same<typename It::difference_type, Diff>::value), ""); in testMap() 34 static_assert((std::is_same<typename It::difference_type, Diff>::value), ""); in testMap() 43 typedef typename Set::difference_type Diff; in testSet() typedef 49 static_assert((std::is_same<typename It::difference_type, Diff>::value), ""); in testSet()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/ |
D | FindBugs.cpp | 80 Expected<bool> Diff = diffProgram(*Program, Filename, "", false); in runManyPasses() local 81 if (Error E = Diff.takeError()) { in runManyPasses() 85 if (*Diff) { in runManyPasses()
|
D | Miscompilation.cpp | 83 Expected<bool> Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest() local 85 if (Error E = Diff.takeError()) in doTest() 87 if (*Diff) { in doTest() 125 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", false); in doTest() 126 if (Error E = Diff.takeError()) in doTest() 128 if (*Diff) { in doTest() 170 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest() 172 if (Error E = Diff.takeError()) in doTest() 174 if (*Diff) { in doTest() 239 Expected<bool> Diff = BD.diffProgram(*Merged, "", "", false); in testMergedProgram() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 461 uint64_t Diff = LimVal1 - LimVal2; in calculateOffsetDiff() local 462 return APInt(BW, Diff, true); in calculateOffsetDiff() 520 Optional<APInt> Diff = calculateOffsetDiff( in maximizeConstantsInRange() local 523 if (Diff) { in maximizeConstantsInRange() 525 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty); in maximizeConstantsInRange() 527 LLVM_DEBUG(dbgs() << "Offset " << Diff.getValue() << " " in maximizeConstantsInRange() 561 APInt Diff = ConstCand->ConstInt->getValue() - in findAndMakeBaseConstant() local 563 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff); in findAndMakeBaseConstant() 589 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue(); in findBaseConstants() local 590 if ((Diff.getBitWidth() <= 64) && in findBaseConstants() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86CmovConversion.cpp | 479 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates() local 509 if (Diff[1] < GainCycleThreshold) in checkForProfitableCmovCandidates() 513 if (Diff[1] == Diff[0]) in checkForProfitableCmovCandidates() 514 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates() 515 else if (Diff[1] > Diff[0]) in checkForProfitableCmovCandidates() 517 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates() 518 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ExpandMemCmp.cpp | 222 Value *Diff = Builder.CreateSub(LoadSrc1, LoadSrc2); in emitLoadCompareByteBlock() local 224 PhiRes->addIncoming(Diff, LoadCmpBlocks[BlockIndex]); in emitLoadCompareByteBlock() 229 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff, in emitLoadCompareByteBlock() 230 ConstantInt::get(Diff->getType(), 0)); in emitLoadCompareByteBlock() 249 Value *Diff; in getCompareLoadPairs() local 312 Diff = Builder.CreateXor(LoadSrc1, LoadSrc2); in getCompareLoadPairs() 313 Diff = Builder.CreateZExt(Diff, MaxLoadType); in getCompareLoadPairs() 314 XorList.push_back(Diff); in getCompareLoadPairs() 340 Cmp = Builder.CreateICmpNE(OrList[0], ConstantInt::get(Diff->getType(), 0)); in getCompareLoadPairs()
|
/external/swiftshader/third_party/LLVM/test/Analysis/BasicAA/ |
D | 2003-09-19-LocalArgument.ll | 10 %Diff = sub i32 %V1, %V2 11 ret i32 %Diff
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/ |
D | Clustering.cpp | 56 const auto Diff = P[I].Value - Q[I].Value; in isNeighbour() local 57 DistanceSquared += Diff * Diff; in isNeighbour()
|
/external/llvm/tools/bugpoint/ |
D | FindBugs.cpp | 93 bool Diff = diffProgram(Program, Filename, "", false, &Error); in runManyPasses() local 94 if (Error.empty() && Diff) { in runManyPasses()
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | FindBugs.cpp | 92 bool Diff = diffProgram(Program, Filename, "", false, &Error); in runManyPasses() local 93 if (Error.empty() && Diff) { in runManyPasses()
|