Home
last modified time | relevance | path

Searched refs:Ref (Results 1 – 25 of 147) sorted by relevance

123456

/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp54 void Dumper::printEntry(const ResourceEntryRef &Ref) { in printEntry() argument
55 if (Ref.checkTypeString()) { in printEntry()
56 auto NarrowStr = stripUTF16(Ref.getTypeString()); in printEntry()
61 printResourceTypeName(Ref.getTypeID(), OS); in printEntry()
65 if (Ref.checkNameString()) { in printEntry()
66 auto NarrowStr = stripUTF16(Ref.getNameString()); in printEntry()
69 SW.printNumber("Resource name (int)", Ref.getNameID()); in printEntry()
71 SW.printNumber("Data version", Ref.getDataVersion()); in printEntry()
72 SW.printHex("Memory flags", Ref.getMemoryFlags()); in printEntry()
73 SW.printNumber("Language ID", Ref.getLanguage()); in printEntry()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DTrackingMDRef.h107 TrackingMDRef Ref; variable
111 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef()
113 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {} in TypedTrackingMDRef()
114 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {} in TypedTrackingMDRef()
117 Ref = std::move(X.Ref);
122 Ref = X.Ref;
126 T *get() const { return (T *)Ref.get(); } in get()
131 bool operator==(const TypedTrackingMDRef &X) const { return Ref == X.Ref; }
132 bool operator!=(const TypedTrackingMDRef &X) const { return Ref != X.Ref; }
134 void reset() { Ref.reset(); } in reset()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeHashing.cpp43 for (const auto &Ref : Refs) { in hashType() local
45 uint32_t PreLen = Ref.Offset - Off; in hashType()
48 auto Prev = (Ref.Kind == TiRefKind::IndexRef) ? PreviousIds : PreviousTypes; in hashType()
50 auto RefData = RecordData.slice(Ref.Offset, Ref.Count * sizeof(TypeIndex)); in hashType()
54 reinterpret_cast<const TypeIndex *>(RefData.data()), Ref.Count); in hashType()
72 Off = Ref.Offset + Ref.Count * sizeof(TypeIndex); in hashType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DBinaryStreamWriter.cpp18 BinaryStreamWriter::BinaryStreamWriter(WritableBinaryStreamRef Ref) in BinaryStreamWriter() argument
19 : Stream(Ref) {} in BinaryStreamWriter()
61 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref) { in writeStreamRef() argument
62 return writeStreamRef(Ref, Ref.getLength()); in writeStreamRef()
65 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref, uint64_t Length) { in writeStreamRef() argument
66 BinaryStreamReader SrcReader(Ref.slice(0, Length)); in writeStreamRef()
H A DBinaryStreamReader.cpp17 BinaryStreamReader::BinaryStreamReader(BinaryStreamRef Ref) : Stream(Ref) {} in BinaryStreamReader() argument
129 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref) { in readStreamRef() argument
130 return readStreamRef(Ref, bytesRemaining()); in readStreamRef()
133 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref, uint32_t Length) { in readStreamRef() argument
136 Ref = Stream.slice(Offset, Length); in readStreamRef()
141 Error BinaryStreamReader::readSubstream(BinarySubstreamRef &Ref, in readSubstream() argument
143 Ref.Offset = getOffset(); in readSubstream()
144 return readStreamRef(Ref.StreamData, Length); in readSubstream()
H A DRegex.cpp175 StringRef Ref = Repl.slice(2, End); in sub() local
177 if (End != StringRef::npos && !Ref.getAsInteger(10, RefValue)) { in sub()
183 ("invalid backreference string 'g<" + Twine(Ref) + ">'").str(); in sub()
209 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789")); in sub() local
210 Repl = Repl.substr(Ref.size()); in sub()
213 if (!Ref.getAsInteger(10, RefValue) && in sub()
217 *Error = ("invalid backreference string '" + Twine(Ref) + "'").str(); in sub()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DCOFFObjectFile.cpp156 return getCOFFSymbol(Ref).getValue(); in getSymbolValueImpl()
265 const coff_section *Sec = toSec(Ref); in moveSectionNext()
271 const coff_section *Sec = toSec(Ref); in getSectionName()
276 const coff_section *Sec = toSec(Ref); in getSectionAddress()
290 return getSectionSize(toSec(Ref)); in getSectionSize()
295 const coff_section *Sec = toSec(Ref); in getSectionContents()
303 const coff_section *Sec = toSec(Ref); in getSectionAlignment()
312 const coff_section *Sec = toSec(Ref); in isSectionText()
317 const coff_section *Sec = toSec(Ref); in isSectionData()
322 const coff_section *Sec = toSec(Ref); in isSectionBSS()
[all …]
H A DWasmObjectFile.cpp1644 DataRefImpl Ref; in symbol_begin() local
1646 Ref.d.b = 0; // Symbol index in symbol_begin()
1651 DataRefImpl Ref; in symbol_end() local
1759 DataRefImpl Ref; in getSymbolSection() local
1840 RelocRef.d.a = Ref.d.a; in section_rel_begin()
1848 RelocRef.d.a = Ref.d.a; in section_rel_end()
1895 DataRefImpl Ref; in section_begin() local
1896 Ref.d.a = 0; in section_begin()
1901 DataRefImpl Ref; in section_end() local
1902 Ref.d.a = Sections.size(); in section_end()
[all …]
H A DObjectFile.cpp56 Expected<uint64_t> ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
58 if (Error E = getSymbolFlags(Ref).moveInto(Flags)) in getSymbolValue()
65 return getCommonSymbolSize(Ref); in getSymbolValue()
66 return getSymbolValueImpl(Ref); in getSymbolValue()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h274 Ref = 0x0002, // 10, Reference enumerator
330 return type(B) == Ref; in contains()
383 using Ref = NodeAddr<RefNode *>; variable
573 assert(getType() == NodeAttrs::Ref); in isUse()
578 assert(getType() == NodeAttrs::Ref); in isDef()
794 Ref getNextRelated(Instr IA, Ref RA) const;
795 Ref getNextShadow(Instr IA, Ref RA, bool Create);
863 std::pair<Ref, Ref> locateNextRef(Instr IA, Ref RA, Predicate P) const;
882 void removeFromOwner(Ref RA) { in removeFromOwner()
920 Ref RA = NA; in getNextRef()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h63 friend llvm::hash_code hash_value(DirectoryEntryRef Ref) { in hash_value() argument
64 return llvm::hash_value(&Ref.getDirEntry()); in hash_value()
159 MapEntryOptionalStorage &operator=(RefTy Ref) {
160 MaybeRef = Ref;
184 OptionalStorage &operator=(clang::DirectoryEntryRef Ref) {
185 StorageImpl::operator=(Ref);
H A DFileEntry.h105 friend llvm::hash_code hash_value(FileEntryRef Ref) { in hash_value() argument
106 return llvm::hash_value(&Ref.getFileEntry()); in hash_value()
221 OptionalStorage &operator=(clang::FileEntryRef Ref) {
222 StorageImpl::operator=(Ref);
/freebsd-14.2/contrib/netbsd-tests/ipf/expected/
H A Dp326 Dev.0. Group 1020 Ref 2 Flags 0x8000
28 Dev.0. Group 1030 Ref 2 Flags 0x8000
30 Dev.0. Group 2020 Ref 3 Flags 0x4000
32 Dev.0. Group 2040 Ref 2 Flags 0x4000
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallString.h76 for (const StringRef &Ref : Refs) in append() local
77 SizeNeeded += Ref.size(); in append()
79 for (const StringRef &Ref : Refs) { in append() local
80 std::copy(Ref.begin(), Ref.end(), this->begin() + CurrentSize); in append()
81 CurrentSize += Ref.size(); in append()
/freebsd-14.2/tools/regression/geom/
H A DRunTest.sh27 if [ -f Ref/$b ] ; then
29 diff -I '$FreeBSD' -u Ref/$b - > $TMP; then
37 diskinfo /dev/md${MD}* > Ref/`basename $f`
H A DRunTest.t33 if [ -f Ref/$b ] ; then
35 diff -I '\$FreeBSD' -u Ref/$b - > $TMP; then
42 diskinfo /dev/md${MD}* > Ref/`basename $f`
/freebsd-14.2/contrib/llvm-project/lldb/source/API/
H A DSBMemoryRegionInfoList.cpp69 MemoryRegionInfos &Ref() { return m_regions; } in Ref() function in MemoryRegionInfoListImpl
71 const MemoryRegionInfos &Ref() const { return m_regions; } in Ref() function in MemoryRegionInfoListImpl
77 MemoryRegionInfos &SBMemoryRegionInfoList::ref() { return m_opaque_up->Ref(); } in ref()
80 return m_opaque_up->Ref(); in ref()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp77 case NodeAttrs::Ref: in operator <<()
789 Ref RA = NA; in cloneNode()
1163 Ref DataFlowGraph::getNextRelated(Instr IA, Ref RA) const { in getNextRelated()
1203 std::pair<Ref, Ref> DataFlowGraph::locateNextRef(Instr IA, Ref RA, in locateNextRef()
1207 Ref NA; in locateNextRef()
1220 return std::make_pair(RA, Ref()); in locateNextRef()
1225 Ref DataFlowGraph::getNextShadow(Instr IA, Ref RA, bool Create) { in getNextShadow()
1237 Ref NA = cloneNode(RA); in getNextShadow()
1486 for (Ref RA : Refs) { in removeUnusedPhis()
1725 for (Ref I : ReachedDefs) in unlinkDefDF()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DTypeReferenceTracker.cpp113 for (const auto &Ref : DepList) { in addReferencedTypes() local
116 RecData.drop_front(Ref.Offset).take_front(4 * Ref.Count); in addReferencedTypes()
124 addOneTypeRef(Ref.Kind, RefTI); in addReferencedTypes()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamReader.h32 explicit BinaryStreamReader(BinaryStreamRef Ref);
131 Error readStreamRef(BinaryStreamRef &Ref);
140 Error readStreamRef(BinaryStreamRef &Ref, uint32_t Length);
149 Error readSubstream(BinarySubstreamRef &Ref, uint32_t Length);
H A DModRef.h31 Ref = 1, enumerator
35 ModRef = Ref | Mod,
52 return static_cast<int>(MRI) & static_cast<int>(ModRefInfo::Ref); in isRefSet()
123 return MemoryEffectsBase(ModRefInfo::Ref); in readOnly()
H A DBinaryStreamWriter.h33 explicit BinaryStreamWriter(WritableBinaryStreamRef Ref);
112 Error writeStreamRef(BinaryStreamRef Ref);
120 Error writeStreamRef(BinaryStreamRef Ref, uint64_t Size);
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp199 assert(Ref && "Expected live reference"); in track()
203 R->addRef(Ref, Owner); in track()
216 assert(Ref && "Expected live reference"); in untrack()
218 R->dropRef(Ref); in untrack()
224 assert(Ref && "Expected live reference"); in retrack()
226 assert(Ref != New && "Expected change"); in retrack()
228 R->moveRef(Ref, New, MD); in retrack()
299 bool WasErased = UseMap.erase(Ref); in dropRef()
306 auto I = UseMap.find(Ref); in moveRef()
372 Ref = MD; in replaceAllUsesWith()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp83 if (auto *Ref = dyn_cast<DeclRefExpr>(E)) { in isASafeCallArg() local
84 if (auto *D = dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in isASafeCallArg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h160 Ref // Bit value same as the one described in RefI. enumerator
196 BitValue(unsigned Reg, uint16_t Pos) : Type(Ref), RefI(Reg, Pos) {} in BitValue()
201 if (Type == Ref && !(RefI == V.RefI))
231 if (Type == Ref && RefI == Self) // Bottom.meet(V) = Bottom (i.e. This) in meet()
247 Type = Ref; in meet()
272 if (V.Type != Ref) in ref()

123456