/freebsd/contrib/llvm-project/clang/lib/Rewrite/ |
H A D | DeltaTree.cpp | 43 int Delta; member 46 SourceDelta Delta; in get() local 47 Delta.FileLoc = Loc; in get() 48 Delta.Delta = D; in get() 49 return Delta; in get() 109 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes); 141 FullDelta = IR.LHS->getFullDelta()+IR.RHS->getFullDelta()+IR.Split.Delta; in DeltaTreeInteriorNode() 173 NewFullDelta += Values[i].Delta; in RecomputeFullDeltaLocally() 184 bool DeltaTreeNode::DoInsertion(unsigned FileIndex, int Delta, in DoInsertion() argument 187 FullDelta += Delta; in DoInsertion() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DivisionByConstantInfo.cpp | 27 APInt Delta; in get() local 55 Delta = AD; in get() 56 Delta -= R2; in get() 57 } while (Q1.ult(Delta) || (Q1 == Delta && R1.isZero())); in get() 79 APInt Delta; in get() local 129 Delta = D; in get() 130 --Delta; in get() 131 Delta -= R2; in get() 133 (Q1.ult(Delta) || (Q1 == Delta && R1.isZero()))); in get()
|
H A D | DeltaAlgorithm.cpp | 43 DeltaAlgorithm::Delta(const changeset_ty &Changes, in Delta() function in DeltaAlgorithm 64 return Delta(Changes, SplitSets); in Delta() 77 Res = Delta(*it, Sets); in Search() 93 Res = Delta(Complement, ComplementSets); in Search() 111 return Delta(Changes, Sets); in Run()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegisterPressure.cpp | 953 RegPressureDelta &Delta, in computeExcessPressureDelta() argument 956 Delta.Excess = PressureChange(); in computeExcessPressureDelta() 977 Delta.Excess = PressureChange(i); in computeExcessPressureDelta() 978 Delta.Excess.setUnitInc(PDiff); in computeExcessPressureDelta() 994 RegPressureDelta &Delta) { in computeMaxPressureDelta() argument 995 Delta.CriticalMax = PressureChange(); in computeMaxPressureDelta() 996 Delta.CurrentMax = PressureChange(); in computeMaxPressureDelta() 1005 if (!Delta.CriticalMax.isValid()) { in computeMaxPressureDelta() 1012 Delta.CriticalMax = PressureChange(i); in computeMaxPressureDelta() 1013 Delta.CriticalMax.setUnitInc(PDiff); in computeMaxPressureDelta() [all …]
|
H A D | VLIWMachineScheduler.cpp | 598 RegPressureDelta &Delta, in SchedulingCost() argument 687 ResCount -= (Delta.Excess.getUnitInc() * PriorityOne); in SchedulingCost() 689 ResCount -= (Delta.CriticalMax.getUnitInc() * PriorityOne); in SchedulingCost() 692 ResCount -= (Delta.CurrentMax.getUnitInc() * PriorityTwo); in SchedulingCost() 697 (Delta.Excess.getUnitInc() || Delta.CriticalMax.getUnitInc() || in SchedulingCost() 698 Delta.CurrentMax.getUnitInc())) in SchedulingCost() 701 dbgs() << "RP " << Delta.Excess.getUnitInc() << "/" in SchedulingCost() 702 << Delta.CriticalMax.getUnitInc() << "/" in SchedulingCost() 703 << Delta.CurrentMax.getUnitInc() << ")|"; in SchedulingCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | aarch64.h | 511 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() local 512 if (Delta & 0x3) in applyFixup() 515 if (!isInt<21>(Delta)) in applyFixup() 517 uint32_t EncodedImm = ((static_cast<uint32_t>(Delta) >> 2) & 0x7ffff) << 5; in applyFixup() 526 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() local 527 if (!isInt<21>(Delta)) in applyFixup() 529 auto UDelta = static_cast<uint32_t>(Delta); in applyFixup() 542 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() local 543 if (Delta & 0x3) in applyFixup() 546 if (!isInt<16>(Delta)) in applyFixup() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_fdr_controller.h | 261 auto Delta = TSC - LatestTSC; in functionEnter() local 265 mask(FuncId), Delta); in functionEnter() 287 auto Delta = TSC - LatestTSC; in functionTailExit() local 290 mask(FuncId), Delta); in functionTailExit() 300 auto Delta = TSC - LatestTSC; in functionEnterArg() local 307 mask(FuncId), Delta, Arg); in functionEnterArg() 325 auto Delta = TSC - LatestTSC; in functionExit() local 330 Delta); in functionExit() 340 auto Delta = TSC - LatestTSC; in customEvent() local 344 return W.writeCustomEvent(Delta, Event, EventSize); in customEvent() [all …]
|
H A D | xray_fdr_log_writer.h | 129 bool writeFunction(FunctionRecordKind Kind, int32_t FuncId, int32_t Delta) { 134 R.TSCDelta = Delta; 140 int32_t Delta, uint64_t Arg) { 149 R.TSCDelta = Delta; 167 bool writeCustomEvent(int32_t Delta, const void *Event, int32_t EventSize) { 175 EventSize, Delta); 192 bool writeTypedEvent(int32_t Delta, uint16_t EventType, const void *Event, 198 EventSize, Delta, EventType);
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | DependenceAnalysis.cpp | 1076 const SCEV *Delta = SE->getMinusSCEV(X, Y); in isKnownPredicate() local 1079 return Delta->isZero(); in isKnownPredicate() 1081 return SE->isKnownNonZero(Delta); in isKnownPredicate() 1083 return SE->isKnownNonNegative(Delta); in isKnownPredicate() 1085 return SE->isKnownNonPositive(Delta); in isKnownPredicate() 1087 return SE->isKnownPositive(Delta); in isKnownPredicate() 1089 return SE->isKnownNegative(Delta); in isKnownPredicate() 1245 const SCEV *Delta = SE->getMinusSCEV(SrcConst, DstConst); in strongSIVtest() local 1246 LLVM_DEBUG(dbgs() << "\t Delta = " << *Delta); in strongSIVtest() 1247 LLVM_DEBUG(dbgs() << ", " << *Delta->getType() << "\n"); in strongSIVtest() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | LineTable.cpp | 25 int64_t Delta; member 27 DeltaInfo(int64_t D, uint32_t C) : Delta(D), Count(C) {} in DeltaInfo() 30 inline bool operator<(const DeltaInfo &LHS, int64_t Delta) { in operator <() argument 31 return LHS.Delta < Delta; in operator <() 146 if (Pos != End && Pos->Delta == LineDelta) in encode() 168 const int64_t FirstDelta = DeltaInfos[I].Delta; in encode() 172 auto LineRange = DeltaInfos[J].Delta - FirstDelta; in encode() 183 MinLineDelta = DeltaInfos[BestIndex].Delta; in encode() 184 MaxLineDelta = DeltaInfos[BestEndIndex].Delta; in encode() [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/ |
H A D | FDRRecords.h | 237 int32_t Delta = 0; variable 249 Size(S), Delta(D), Data(std::move(P)) {} in CustomEventRecordV5() 252 int32_t delta() const { return Delta; } in delta() 264 int32_t Delta = 0; variable 277 Size(S), Delta(D), Data(std::move(P)) {} in TypedEventRecord() 280 int32_t delta() const { return Delta; } in delta() 375 uint32_t Delta = 0; variable 384 : Record(RecordKind::RK_Function), Kind(K), FuncId(F), Delta(D) {} in FunctionRecord() 390 uint32_t delta() const { return Delta; } in delta()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InsertPrefetch.cpp | 51 int64_t Delta; member 220 int64_t Delta = PrefInfo.Delta; in runOnMachineFunction() local 240 Delta) in runOnMachineFunction() 247 CurrentOp, CurrentOp->getOffset() + Delta, CurrentOp->getSize())); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
H A D | ReductionRules.h | 108 RawMatrix Delta(YLen, ZLen); in applyR2() 119 Delta[i][j] = Min; in applyR2() 132 YZEId = G.addEdge(YNId, ZNId, Delta); in applyR2() 136 G.updateEdgeCosts(YZEId, Delta + YZECosts); in applyR2() 138 G.updateEdgeCosts(YZEId, Delta.transpose() + YZECosts); in applyR2()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveStaticOffset.cpp | 278 static GetElementPtrInst *reconstructGEP(CallInst *Call, int Delta) { in reconstructGEP() argument 280 Indices.append(Call->data_operands_begin() + 6 + Delta, in reconstructGEP() 282 Type *GEPPointeeType = Call->getParamElementType(Delta); in reconstructGEP() 284 GetElementPtrInst::Create(GEPPointeeType, Call->getOperand(Delta), in reconstructGEP() 286 GEP->setIsInBounds(getOperandAsUnsigned(Call, 5 + Delta)); in reconstructGEP() 292 int Delta) { in reconstructCommon() argument 293 Insn->setVolatile(getOperandAsUnsigned(Call, 1 + Delta)); in reconstructCommon() 294 Insn->setOrdering((AtomicOrdering)getOperandAsUnsigned(Call, 2 + Delta)); in reconstructCommon() 295 Insn->setSyncScopeID(getOperandAsUnsigned(Call, 3 + Delta)); in reconstructCommon() 296 unsigned AlignShiftValue = getOperandAsUnsigned(Call, 4 + Delta); in reconstructCommon()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | RegisterPressure.h | 481 RegPressureDelta &Delta, 487 RegPressureDelta &Delta, 496 RegPressureDelta &Delta, 504 RegPressureDelta &Delta, in getMaxPressureDelta() argument 508 return getMaxDownwardPressureDelta(MI, Delta, CriticalPSets, in getMaxPressureDelta() 512 return getMaxUpwardPressureDelta(MI, nullptr, Delta, CriticalPSets, in getMaxPressureDelta()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELF_riscv.cpp | 627 uint32_t Delta = 0; in relaxBlock() local 633 const auto Loc = BlockAddr + E->getOffset() - Delta; in relaxBlock() 652 SA[0].Sym->setSize(SA[0].Offset - Delta - SA[0].Sym->getOffset()); in relaxBlock() 654 SA[0].Sym->setOffset(SA[0].Offset - Delta); in relaxBlock() 657 Delta += Remove; in relaxBlock() 658 if (Delta != Cur) { in relaxBlock() 659 Cur = Delta; in relaxBlock() 666 A.Sym->setSize(A.Offset - Delta - A.Sym->getOffset()); in relaxBlock() 668 A.Sym->setOffset(A.Offset - Delta); in relaxBlock() 688 uint32_t Delta = 0; in finalizeBlockRelax() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeInlineSiteSymbol.cpp | 112 auto UpdateCodeOffset = [&](uint32_t Delta) { in getLineOffset() argument 116 CodeOffsetEnd = *CodeOffsetBase + Delta; in getLineOffset() 118 auto UpdateLineOffset = [&](int32_t Delta) { in getLineOffset() argument 119 LineOffset += Delta; in getLineOffset()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonMachineScheduler.cpp | 47 RegPressureDelta &Delta, in SchedulingCost() argument 50 ConvergingVLIWScheduler::SchedulingCost(Q, SU, Candidate, Delta, verbose); in SchedulingCost()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.cpp | 883 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local 884 writeInt16BE(LocalAddress, applyPPClo(Delta)); in resolvePPC64Relocation() 888 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local 889 writeInt16BE(LocalAddress, applyPPChi(Delta)); in resolvePPC64Relocation() 893 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local 894 writeInt16BE(LocalAddress, applyPPCha(Delta)); in resolvePPC64Relocation() 920 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local 921 writeInt64BE(LocalAddress, Delta); in resolvePPC64Relocation() 939 int64_t Delta = (Value + Addend) - Section.getLoadAddressWithOffset(Offset); in resolveSystemZRelocation() local 940 assert(int16_t(Delta / 2) * 2 == Delta && "R_390_PC16DBL overflow"); in resolveSystemZRelocation() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldCOFFX86_64.h | 50 void write32BitOffset(uint8_t *Target, int64_t Addend, uint64_t Delta) { in write32BitOffset() argument 51 uint64_t Result = Addend + Delta; in write32BitOffset() 100 // Delta is the distance from the start of the reloc to the end of the in resolveRelocation() 102 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); in resolveRelocation() local 103 Value -= FinalAddress + Delta; in resolveRelocation()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
H A D | executor_address.h | 140 ExecutorAddr &operator+=(const ExecutorAddrDiff Delta) { 141 Addr += Delta; 145 ExecutorAddr &operator-=(const ExecutorAddrDiff Delta) { 146 Addr -= Delta;
|
/freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
H A D | RustDemangle.cpp | 1137 auto Adapt = [&](size_t Delta, size_t NumPoints) { in decodePunycode() argument 1138 Delta /= Damp; in decodePunycode() 1139 Delta += Delta / NumPoints; in decodePunycode() 1143 while (Delta > (Base - TMin) * TMax / 2) { in decodePunycode() 1144 Delta /= Base - TMin; in decodePunycode() 1147 return K + (((Base - TMin + 1) * Delta) / (Delta + Skew)); in decodePunycode()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430InstrFormats.td | 111 let DecoderNamespace = "Delta"; 117 let DecoderNamespace = "Delta"; 174 let DecoderNamespace = "Delta"; 183 let DecoderNamespace = "Delta"; 238 let DecoderNamespace = "Delta"; 244 let DecoderNamespace = "Delta"; 301 let DecoderNamespace = "Delta"; 310 let DecoderNamespace = "Delta";
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | ExecutorAddress.h | 146 ExecutorAddr &operator+=(const ExecutorAddrDiff &Delta) { 147 Addr += Delta; 151 ExecutorAddr &operator-=(const ExecutorAddrDiff &Delta) { 152 Addr -= Delta;
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | aslcompile.c | 816 UINT32 Delta; in CmDumpAllEvents() local 836 Delta = (UINT32) (Event->EndTime - Event->StartTime); in CmDumpAllEvents() 838 MicroSeconds = Delta / ACPI_100NSEC_PER_USEC; in CmDumpAllEvents() 839 MilliSeconds = Delta / ACPI_100NSEC_PER_MSEC; in CmDumpAllEvents()
|