Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp88 Value *decomposePtr(Value *Ptr, Value *&Offsets, int &Scale,
94 Value *decomposeGEP(Value *&Offsets, FixedVectorType *Ty,
122 Instruction *tryCreateMaskedScatterOffset(IntrinsicInst *I, Value *Offsets,
147 Value *foldGEP(GetElementPtrInst *GEP, Value *&Offsets, unsigned &Scale,
150 bool optimiseOffsets(Value *Offsets, BasicBlock *BB, LoopInfo *LI);
184 static bool checkOffsetSize(Value *Offsets, unsigned TargetElemCount) { in checkOffsetSize() argument
196 unsigned OffsetElemSize = cast<FixedVectorType>(Offsets->getType()) in checkOffsetSize()
200 Constant *ConstOff = dyn_cast<Constant>(Offsets); in checkOffsetSize()
226 Value *MVEGatherScatterLowering::decomposePtr(Value *Ptr, Value *&Offsets, in decomposePtr() argument
231 if (Value *V = decomposeGEP(Offsets, Ty, GEP, Builder)) { in decomposePtr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkParser.cpp32 Offsets.push_back(Split.first.data() - Buffer.data()); in ParsedStringTable()
38 if (Index >= Offsets.size()) in operator []()
42 Offsets.size()); in operator []()
44 size_t Offset = Offsets[Index]; in operator []()
48 (Index == Offsets.size() - 1) ? Buffer.size() : Offsets[Index + 1]; in operator []()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DBuiltins.cpp75 return (Twine(Shard.NamePrefix) + (*Shard.Strings)[Offsets.Name]).str(); in getName()
87 return (Twine("'") + Shard.NamePrefix + (*Shard.Strings)[I.Offsets.Name] + in getQuotedName()
94 return (*Shard.Strings)[I.Offsets.Type].data(); in getTypeString()
99 return (*Shard.Strings)[I.Offsets.Attributes].data(); in getAttributesString()
104 return (*Shard.Strings)[I.Offsets.Features].data(); in getRequiredFeatures()
129 if (FuncNameSuffix == (*Shard.Strings)[I.Offsets.Name] && in isBuiltinFunc()
130 (bool)strchr((*Shard.Strings)[I.Offsets.Attributes].data(), 'z') == in isBuiltinFunc()
132 return strchr((*Shard.Strings)[I.Offsets.Attributes].data(), 'f') != in isBuiltinFunc()
142 auto AttributesStr = Strings[BuiltinInfo.Offsets.Attributes]; in builtinIsSupported()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp82 SmallVectorImpl<TypeSize> *Offsets, in ComputeValueVTs() argument
92 const StructLayout *SL = Offsets ? DL.getStructLayout(STy) : nullptr; in ComputeValueVTs()
100 ComputeValueVTs(TLI, DL, *EI, ValueVTs, MemVTs, Offsets, in ComputeValueVTs()
110 ComputeValueVTs(TLI, DL, EltTy, ValueVTs, MemVTs, Offsets, in ComputeValueVTs()
121 if (Offsets) in ComputeValueVTs()
122 Offsets->push_back(StartingOffset); in ComputeValueVTs()
132 SmallVector<TypeSize, 4> Offsets; in ComputeValueVTs() local
133 ComputeValueVTs(TLI, DL, Ty, ValueVTs, MemVTs, &Offsets, Offset); in ComputeValueVTs()
134 for (TypeSize Offset : Offsets) in ComputeValueVTs()
143 SmallVectorImpl<uint64_t> *Offsets, in computeValueLLTs() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DOutputSections.h
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAnalysis.h68 SmallVectorImpl<TypeSize> *Offsets = nullptr,
79 SmallVectorImpl<TypeSize> *Offsets = nullptr,
81 ComputeValueVTs(TLI, DL, Ty, ValueVTs, nullptr, Offsets, StartingOffset);
99 SmallVectorImpl<uint64_t> *Offsets = nullptr,
/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.cpp127 const char **Modules, intptr_t *Offsets,
157 SmallVector<intptr_t, 0> Offsets(AddressCount, 0); in collectAddressSymbols() local
159 Offsets.data(), MainExecutableName, StrPool)) in collectAddressSymbols()
172 Input << Modules[AddrIdx] << " " << (void *)Offsets[AddrIdx] << "\n"; in collectAddressSymbols()
234 OS << "(" << Modules[AddrIdx] << '+' << format_hex(Offsets[AddrIdx], 0) in collectAddressSymbols()
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/clang/include/clang/Basic/
H A DBuiltins.h88 } Offsets; member
114 Offset += I.Offsets.Name.value(); in MakeInfos()
116 Offset += I.Offsets.Type.value(); in MakeInfos()
118 Offset += I.Offsets.Attributes.value(); in MakeInfos()
120 Offset += I.Offsets.Features.value(); in MakeInfos()
121 I.Offsets = NewOffsets; in MakeInfos()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEFrameLowering.h58 static const SpillSlot Offsets[] = { in getCalleeSavedSpillSlots() local
64 NumEntries = std::size(Offsets); in getCalleeSavedSpillSlots()
65 return Offsets; in getCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DR600MCCodeEmitter.cpp113 int64_t Offsets[3] = {MI.getOperand(6).getImm() & 0x1F, in encodeInstruction() local
120 SrcSelect[ELEMENT_W] << 29 | Offsets[0] << 0 | in encodeInstruction()
121 Offsets[1] << 5 | Offsets[2] << 10; in encodeInstruction()
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp40 Offsets("offset", variable
250 if (!Offsets.empty() || !Lengths.empty()) { in fillRanges()
280 if (Offsets.empty()) in fillRanges()
281 Offsets.push_back(0); in fillRanges()
284 if (Offsets.size() == 1 && EmptyLengths) { in fillRanges()
285 Length = Sources.getFileOffset(Sources.getLocForEndOfFile(ID)) - Offsets[0]; in fillRanges()
286 } else if (Offsets.size() != Lengths.size()) { in fillRanges()
290 for (unsigned I = 0, E = Offsets.size(), CodeSize = Code->getBufferSize(); in fillRanges()
292 const auto Offset = Offsets[I]; in fillRanges()
712 (!Offsets.empty() || !Lengths.empty() || !LineRanges.empty())) { in main()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordWriter.h118 void AddLookupOffsets(const LookupBlockOffsets &Offsets) { in AddLookupOffsets() argument
119 AddOffset(Offsets.LexicalOffset); in AddLookupOffsets()
120 AddOffset(Offsets.VisibleOffset); in AddLookupOffsets()
121 AddOffset(Offsets.ModuleLocalOffset); in AddLookupOffsets()
122 AddOffset(Offsets.TULocalOffset); in AddLookupOffsets()
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkParser.h66 std::vector<size_t> Offsets; member
76 size_t size() const { return Offsets.size(); } in size()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp513 if (*Offset >= Offsets.EntriesBase) { in extractAttributeEncoding()
539 if (*Offset >= Offsets.EntriesBase) { in extractAbbrev()
580 Offsets = dwarf::findDebugNamesOffsets(EndOfHeaderOffset, Hdr); in extract()
583 Offsets.EntryOffsetsBase + (Hdr.NameCount * SectionOffsetSize); in extract()
589 Offsets.EntriesBase = Offset + Hdr.AbbrevTableSize; in extract()
718 auto AbsoluteOffset = NameIdx->Offsets.EntriesBase + FormValue.getRawUValue(); in dumpParentIdx()
747 uint64_t Offset = Offsets.CUsBase + SectionOffsetSize * CU; in getCUOffset()
755 Offsets.CUsBase + SectionOffsetSize * (Hdr.CompUnitCount + TU); in getLocalTUOffset()
763 Offsets.CUsBase + in getForeignTUSignature()
799 Offsets.StringOffsetsBase + SectionOffsetSize * (Index - 1); in getNameTableEntry()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp320 ConstantRange Offsets = offsetFrom(Addr, Base); in getAccessRange() local
321 if (isUnsafe(Offsets)) in getAccessRange()
324 Offsets = addOverflowNever(Offsets, SizeRange); in getAccessRange()
325 if (isUnsafe(Offsets)) in getAccessRange()
327 return Offsets; in getAccessRange()
537 ConstantRange Offsets = offsetFrom(UI, Ptr); in analyzeAllUses() local
539 US.Calls.emplace(CallInfo<GlobalValue>(Callee, ArgNo), Offsets); in analyzeAllUses()
541 Insert.first->second = Insert.first->second.unionWith(Offsets); in analyzeAllUses()
618 const ConstantRange &Offsets) const;
624 const ConstantRange &Offsets) const { in getArgumentAccessRange()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h63 SmallVector<uint64_t, 16> Offsets; member
75 Offsets.push_back(Offset); in addOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.h95 static const SpillSlot Offsets[] = { in getCalleeSavedSpillSlots() local
103 NumEntries = std::size(Offsets); in getCalleeSavedSpillSlots()
104 return Offsets; in getCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp708 4 + Table.Offsets.size() * (Table.Format == dwarf::DWARF64 ? 8 : 4); in emitDebugStrOffsets()
714 for (uint64_t Offset : Table.Offsets) in emitDebugStrOffsets()
1149 std::vector<uint64_t> Offsets; in writeDWARFLists() local
1152 Offsets.push_back(ListBufferOS.tell()); in writeDWARFLists()
1175 OffsetEntryCount = Table.Offsets ? Table.Offsets->size() : Offsets.size(); in writeDWARFLists()
1191 auto EmitOffsets = [&](ArrayRef<uint64_t> Offsets, uint64_t OffsetsSize) { in writeDWARFLists() argument
1192 for (uint64_t Offset : Offsets) in writeDWARFLists()
1197 if (Table.Offsets) in writeDWARFLists()
1198 EmitOffsets(ArrayRef<uint64_t>((const uint64_t *)Table.Offsets->data(), in writeDWARFLists()
1199 Table.Offsets->size()), in writeDWARFLists()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp95 llvm::SmallVector<CharUnits, 32> Offsets; member in __anon9d6f04f10111::ConstantAggregateBuilder
111 ArrayRef<CharUnits> Offsets,
140 return buildFrom(CGM, Elems, Offsets, CharUnits::Zero(), Size, in build()
162 Offsets.push_back(Size); in add()
165 Offsets.push_back(Offset); in add()
184 replace(Offsets, *FirstElemToReplace, *LastElemToReplace, {Offset}); in add()
299 return Offsets.size(); in splitAt()
302 auto FirstAfterPos = llvm::upper_bound(Offsets, Pos); in splitAt()
303 if (FirstAfterPos == Offsets.begin()) in splitAt()
307 size_t LastAtOrBeforePosIndex = FirstAfterPos - Offsets.begin() - 1; in splitAt()
[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/CodeGen/GlobalISel/
H A DCallLowering.cpp290 SmallVectorImpl<uint64_t> *Offsets) const { in splitToValueTypes()
294 ComputeValueVTs(*TLI, DL, OrigArg.Ty, SplitVTs, Offsets, 0); in splitToValueTypes()
997 SmallVector<uint64_t, 4> Offsets; in insertSRetLoads() local
998 ComputeValueVTs(*TLI, DL, RetTy, SplitVTs, &Offsets, 0); in insertSRetLoads()
1012 MIRBuilder.materializePtrAdd(Addr, DemoteReg, OffsetLLTy, Offsets[I]); in insertSRetLoads()
1015 commonAlignment(BaseAlign, Offsets[I])); in insertSRetLoads()
1028 SmallVector<uint64_t, 4> Offsets; in insertSRetStores() local
1029 ComputeValueVTs(*TLI, DL, RetTy, SplitVTs, &Offsets, 0); in insertSRetStores()
1042 MIRBuilder.materializePtrAdd(Addr, DemoteReg, OffsetLLTy, Offsets[I]); in insertSRetStores()
1045 commonAlignment(BaseAlign, Offsets[I])); in insertSRetStores()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp228 SmallVector<int64_t, 4> Offsets; in ClusterNeighboringLoads() local
256 Offsets.push_back(Offset1); in ClusterNeighboringLoads()
258 Offsets.push_back(Offset2); in ClusterNeighboringLoads()
270 llvm::sort(Offsets); in ClusterNeighboringLoads()
275 int64_t BaseOff = Offsets[0]; in ClusterNeighboringLoads()
278 for (unsigned i = 1, e = Offsets.size(); i != e; ++i) { in ClusterNeighboringLoads()
279 int64_t Offset = Offsets[i]; in ClusterNeighboringLoads()

1234