Home
last modified time | relevance | path

Searched refs:Offsets (Results 1 – 25 of 74) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp266 Offsets = GEP->getOperand(1); in decomposeGEP()
276 Offsets = GEP->getOperand(1); in decomposeGEP()
297 if (Ty != Offsets->getType()) { in decomposeGEP()
300 Offsets = Builder.CreateTrunc(Offsets, Ty); in decomposeGEP()
302 Offsets = Builder.CreateZExt(Offsets, VectorType::getInteger(Ty)); in decomposeGEP()
548 Value *Offsets; in tryCreateMaskedGatherOffset() local
701 Value *Offsets; in tryCreateMaskedScatterOffset() local
745 Value *Offsets; in tryCreateIncrementingGatScat() local
1186 Offsets = GEP->getOperand(1); in foldGEP()
1200 if (Offsets == nullptr) in foldGEP()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp82 SmallVectorImpl<TypeSize> *Offsets, in ComputeValueVTs() argument
118 if (Offsets) in ComputeValueVTs()
119 Offsets->push_back(StartingOffset); in ComputeValueVTs()
144 SmallVector<TypeSize, 4> Offsets; in ComputeValueVTs() local
145 ComputeValueVTs(TLI, DL, Ty, ValueVTs, &Offsets, Offset); in ComputeValueVTs()
146 for (TypeSize Offset : Offsets) in ComputeValueVTs()
169 SmallVector<TypeSize, 4> Offsets; in ComputeValueVTs() local
171 for (TypeSize Offset : Offsets) in ComputeValueVTs()
200 computeValueLLTs(DL, *EltTy, ValueTys, Offsets, in computeValueLLTs()
209 if (Offsets != nullptr) in computeValueLLTs()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAnalysis.h67 SmallVectorImpl<TypeSize> *Offsets,
71 SmallVectorImpl<TypeSize> *Offsets = nullptr,
82 SmallVectorImpl<TypeSize> *Offsets,
87 SmallVectorImpl<TypeSize> *Offsets = nullptr,
104 SmallVectorImpl<uint64_t> *Offsets = nullptr,
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkParser.cpp31 Offsets.push_back(Split.first.data() - Buffer.data()); in ParsedStringTable()
37 if (Index >= Offsets.size()) in operator []()
41 Offsets.size()); in operator []()
43 size_t Offset = Offsets[Index]; in operator []()
47 (Index == Offsets.size() - 1) ? Buffer.size() : Offsets[Index + 1]; in operator []()
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp40 Offsets("offset", variable
241 if (!Offsets.empty() || !Lengths.empty()) { in fillRanges()
271 if (Offsets.empty()) in fillRanges()
272 Offsets.push_back(0); in fillRanges()
273 if (Offsets.size() != Lengths.size() && in fillRanges()
274 !(Offsets.size() == 1 && Lengths.empty())) { in fillRanges()
278 for (unsigned i = 0, e = Offsets.size(); i != e; ++i) { in fillRanges()
279 if (Offsets[i] >= Code->getBufferSize()) { in fillRanges()
284 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); in fillRanges()
287 if (Offsets[i] + Lengths[i] > Code->getBufferSize()) { in fillRanges()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DCBufferDataLayout.cpp26 SmallVector<uint32_t> Offsets; member
29 assert(Idx < Offsets.size() && "Invalid element idx!"); in getElementLegacyOffset()
30 uint32_t Offset = Offsets[Idx]; in getElementLegacyOffset()
106 Layout.Offsets.emplace_back(Offset); in getStructLayout()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp90 auto *Offsets = new std::vector<T>(); in GetOrCreateOffsetCache() local
96 Offsets->push_back(static_cast<T>(N)); in GetOrCreateOffsetCache()
99 OffsetCache = Offsets; in GetOrCreateOffsetCache()
100 return *Offsets; in GetOrCreateOffsetCache()
105 std::vector<T> &Offsets = in getLineNumberSpecialized() local
117 return llvm::lower_bound(Offsets, PtrOffset) - Offsets.begin() + 1; in getLineNumberSpecialized()
137 std::vector<T> &Offsets = in getPointerForLineNumberSpecialized() local
150 if (LineNo > Offsets.size()) in getPointerForLineNumberSpecialized()
152 return BufStart + Offsets[LineNo - 1] + 1; in getPointerForLineNumberSpecialized()
H A DSignals.cpp128 const char **Modules, intptr_t *Offsets,
177 std::vector<intptr_t> Offsets(Depth, 0); in printSymbolizedStackTrace() local
178 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(), in printSymbolizedStackTrace()
192 Input << Modules[i] << " " << (void*)Offsets[i] << "\n"; in printSymbolizedStackTrace()
249 OS << "(" << Modules[i] << '+' << format_hex(Offsets[i], 0) << ")"; in printSymbolizedStackTrace()
H A DIntervalMap.cpp19 void Path::replaceRoot(void *Root, unsigned Size, IdxPair Offsets) { in replaceRoot() argument
21 path.front() = Entry(Root, Size, Offsets.first); in replaceRoot()
22 path.insert(path.begin() + 1, Entry(subtree(0), Offsets.second)); in replaceRoot()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEFrameLowering.h59 static const SpillSlot Offsets[] = { in getCalleeSavedSpillSlots() local
65 NumEntries = std::size(Offsets); in getCalleeSavedSpillSlots()
66 return Offsets; in getCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DR600MCCodeEmitter.cpp116 int64_t Offsets[3] = { in encodeInstruction() local
125 SrcSelect[ELEMENT_W] << 29 | Offsets[0] << 0 | Offsets[1] << 5 | in encodeInstruction()
126 Offsets[2] << 10; in encodeInstruction()
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkParser.h65 std::vector<size_t> Offsets; member
75 size_t size() const { return Offsets.size(); } in size()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp296 ConstantRange Offsets = offsetFrom(Addr, Base); in getAccessRange() local
297 if (isUnsafe(Offsets)) in getAccessRange()
300 Offsets = addOverflowNever(Offsets, SizeRange); in getAccessRange()
301 if (isUnsafe(Offsets)) in getAccessRange()
303 return Offsets; in getAccessRange()
515 ConstantRange Offsets = offsetFrom(UI, Ptr); in analyzeAllUses() local
519 Insert.first->second = Insert.first->second.unionWith(Offsets); in analyzeAllUses()
602 const ConstantRange &Offsets) const { in getArgumentAccessRange()
616 return addOverflowNever(Access, Offsets); in getArgumentAccessRange()
1147 assert(!Call.Offsets.isFullSet()); in generateParamAccessSummary()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h62 SmallVector<uint64_t, 16> Offsets; member
74 Offsets.push_back(Offset); in addOffset()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp681 4 + Table.Offsets.size() * (Table.Format == dwarf::DWARF64 ? 8 : 4); in emitDebugStrOffsets()
687 for (uint64_t Offset : Table.Offsets) in emitDebugStrOffsets()
935 std::vector<uint64_t> Offsets; in writeDWARFLists() local
938 Offsets.push_back(ListBufferOS.tell()); in writeDWARFLists()
961 OffsetEntryCount = Table.Offsets ? Table.Offsets->size() : Offsets.size(); in writeDWARFLists()
977 auto EmitOffsets = [&](ArrayRef<uint64_t> Offsets, uint64_t OffsetsSize) { in writeDWARFLists() argument
978 for (uint64_t Offset : Offsets) in writeDWARFLists()
983 if (Table.Offsets) in writeDWARFLists()
984 EmitOffsets(ArrayRef<uint64_t>((const uint64_t *)Table.Offsets->data(), in writeDWARFLists()
985 Table.Offsets->size()), in writeDWARFLists()
[all …]
H A DDXContainerEmitter.cpp100 SmallVector<uint32_t> Offsets(ObjectFile.Header.PartOffsets->begin(), in writeHeader() local
103 for (auto &O : Offsets) in writeHeader()
105 OS.write(reinterpret_cast<char *>(Offsets.data()), in writeHeader()
106 Offsets.size() * sizeof(uint32_t)); in writeHeader()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp87 llvm::SmallVector<CharUnits, 32> Offsets; member in __anondd3698b90111::ConstantAggregateBuilder
154 Offsets.push_back(Size); in add()
157 Offsets.push_back(Offset); in add()
291 return Offsets.size(); in splitAt()
295 if (FirstAfterPos == Offsets.begin()) in splitAt()
304 if (Offsets[LastAtOrBeforePosIndex] + in splitAt()
320 CharUnits Offset = Offsets[Index]; in split()
335 Offsets, Index, Index + 1, in split()
343 replace(Offsets, Index, Index + 1, in split()
363 replace(Offsets, Index, Index + 1, in split()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.h92 static const SpillSlot Offsets[] = { in getCalleeSavedSpillSlots() local
100 NumEntries = std::size(Offsets); in getCalleeSavedSpillSlots()
101 return Offsets; in getCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp261 SmallVectorImpl<uint64_t> *Offsets) const { in splitToValueTypes()
265 ComputeValueVTs(*TLI, DL, OrigArg.Ty, SplitVTs, Offsets, 0); in splitToValueTypes()
883 SmallVector<uint64_t, 4> Offsets; in insertSRetLoads() local
884 ComputeValueVTs(*TLI, DL, RetTy, SplitVTs, &Offsets, 0); in insertSRetLoads()
898 MIRBuilder.materializePtrAdd(Addr, DemoteReg, OffsetLLTy, Offsets[I]); in insertSRetLoads()
901 commonAlignment(BaseAlign, Offsets[I])); in insertSRetLoads()
914 SmallVector<uint64_t, 4> Offsets; in insertSRetStores() local
915 ComputeValueVTs(*TLI, DL, RetTy, SplitVTs, &Offsets, 0); in insertSRetStores()
928 MIRBuilder.materializePtrAdd(Addr, DemoteReg, OffsetLLTy, Offsets[I]); in insertSRetStores()
931 commonAlignment(BaseAlign, Offsets[I])); in insertSRetStores()
H A DIRTranslator.cpp195 auto *Offsets = VMap.getOffsets(Val); in allocateVRegs() local
198 Offsets->empty() ? Offsets : nullptr); in allocateVRegs()
214 auto *Offsets = VMap.getOffsets(Val); in getOrCreateVRegs() local
221 Offsets->empty() ? Offsets : nullptr); in getOrCreateVRegs()
1372 ArrayRef<uint64_t> Offsets = *VMap.getOffsets(LI); in translateLoad() local
1402 MIRBuilder.materializePtrAdd(Addr, Base, OffsetTy, Offsets[i] / 8); in translateLoad()
1404 MachinePointerInfo Ptr(LI.getPointerOperand(), Offsets[i] / 8); in translateLoad()
1408 commonAlignment(BaseAlign, Offsets[i] / 8), AAInfo, Ranges, in translateLoad()
1444 MachinePointerInfo Ptr(SI.getPointerOperand(), Offsets[i] / 8); in translateStore()
1484 ArrayRef<uint64_t> Offsets = *VMap.getOffsets(*Src); in translateExtractValue() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDbgEntityHistoryCalculator.cpp139 SmallVector<size_t, 4> Offsets; in trimLocationRanges() local
238 Offsets.assign(HistoryMapEntries.size(), 0); in trimLocationRanges()
248 Offsets[EntryIdx] = CurOffset; in trimLocationRanges()
255 Entry.EndIndex -= Offsets[Entry.EndIndex]; in trimLocationRanges()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp4354 assert(Offsets.Splits.empty() && in presplitLoadsAndStores()
4356 Offsets.S = &S; in presplitLoadsAndStores()
4370 assert(!Offsets.Splits.empty() && in presplitLoadsAndStores()
4372 assert(Offsets.Splits.back() == in presplitLoadsAndStores()
4379 Offsets.Splits.push_back(P.endOffset() - Offsets.S->beginOffset()); in presplitLoadsAndStores()
4466 unsigned SliceSize = Offsets.S->endOffset() - Offsets.S->beginOffset(); in presplitLoadsAndStores()
4515 PartOffset = Offsets.Splits[Idx]; in presplitLoadsAndStores()
4579 Offsets.S->kill(); in presplitLoadsAndStores()
4595 assert(StoreSize == Offsets.S->endOffset() - Offsets.S->beginOffset() && in presplitLoadsAndStores()
4672 PartOffset = Offsets.Splits[Idx]; in presplitLoadsAndStores()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp227 SmallVector<int64_t, 4> Offsets; in ClusterNeighboringLoads() local
255 Offsets.push_back(Offset1); in ClusterNeighboringLoads()
257 Offsets.push_back(Offset2); in ClusterNeighboringLoads()
269 llvm::sort(Offsets); in ClusterNeighboringLoads()
274 int64_t BaseOff = Offsets[0]; in ClusterNeighboringLoads()
277 for (unsigned i = 1, e = Offsets.size(); i != e; ++i) { in ClusterNeighboringLoads()
278 int64_t Offset = Offsets[i]; in ClusterNeighboringLoads()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DArchive.cpp1016 const char *Offsets = Buf; in getMember() local
1019 Offsets += sizeof(uint64_t); in getMember()
1021 Offsets += sizeof(uint32_t); in getMember()
1024 Offset = read32be(Offsets + SymbolIndex * 4); in getMember()
1026 Offset = read64be(Offsets + SymbolIndex * 8); in getMember()
1034 Offset = read32le(Offsets + SymbolIndex * 8 + 4); in getMember()
1042 Offset = read64le(Offsets + SymbolIndex * 16 + 8); in getMember()
1073 Offset = read32le(Offsets + OffsetIndex * 4); in getMember()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp178 if (Offsets) { in ComputePTXValueVTs()
233 if (Offsets) in ComputePTXValueVTs()
238 if (Offsets) in ComputePTXValueVTs()
239 Offsets->push_back(Off); in ComputePTXValueVTs()
296 if (Offsets[Idx] & (AccessSize - 1)) in CanMergeParamLoadStoresStartingAt()
325 if (Offsets[j] - Offsets[j - 1] != EltSize) in CanMergeParamLoadStoresStartingAt()
1778 SmallVector<uint64_t, 16> Offsets; in LowerCall() local
1853 int CurOffset = Offsets[j]; in LowerCall()
2105 SmallVector<uint64_t, 16> Offsets; in LowerCall() local
3242 SmallVector<uint64_t, 16> Offsets; in LowerReturn() local
[all …]

123