Home
last modified time | relevance | path

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

123456

/freebsd-13.1/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-13.1/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-13.1/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-13.1/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.cpp1481 DataRefImpl Ref; in symbol_begin() local
1483 Ref.d.b = 0; // Symbol index in symbol_begin()
1488 DataRefImpl Ref; in symbol_end() local
1584 DataRefImpl Ref; in getSymbolSection() local
1683 RelocRef.d.a = Ref.d.a; in section_rel_begin()
1691 RelocRef.d.a = Ref.d.a; in section_rel_end()
1738 DataRefImpl Ref; in section_begin() local
1739 Ref.d.a = 0; in section_begin()
1744 DataRefImpl Ref; in section_end() local
1745 Ref.d.a = Sections.size(); in section_end()
[all …]
H A DObjectFile.cpp57 Expected<uint64_t> ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
58 if (Expected<uint32_t> FlagsOrErr = getSymbolFlags(Ref)) { in getSymbolValue()
62 return getCommonSymbolSize(Ref); in getSymbolValue()
66 return getSymbolValueImpl(Ref); in getSymbolValue()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h53 friend llvm::hash_code hash_value(DirectoryEntryRef Ref) { in hash_value() argument
54 return llvm::hash_value(&Ref.getDirEntry()); in hash_value()
149 MapEntryOptionalStorage &operator=(RefTy Ref) {
150 MaybeRef = Ref;
176 OptionalStorage &operator=(clang::DirectoryEntryRef Ref) {
177 StorageImpl::operator=(Ref);
263 OptionalDirectoryEntryRefDegradesToDirectoryEntryPtr(DirectoryEntryRef Ref)
264 : Optional<DirectoryEntryRef>(Ref) {}
272 OptionalDirectoryEntryRefDegradesToDirectoryEntryPtr &operator=(DirectoryEntryRef Ref) {
273 Optional<DirectoryEntryRef>::operator=(Ref);
H A DFileEntry.h99 friend llvm::hash_code hash_value(FileEntryRef Ref) { in hash_value() argument
100 return llvm::hash_value(&Ref.getFileEntry()); in hash_value()
212 OptionalStorage &operator=(clang::FileEntryRef Ref) {
213 StorageImpl::operator=(Ref);
294 OptionalFileEntryRefDegradesToFileEntryPtr(FileEntryRef Ref)
295 : Optional<FileEntryRef>(Ref) {}
303 OptionalFileEntryRefDegradesToFileEntryPtr &operator=(FileEntryRef Ref) {
304 Optional<FileEntryRef>::operator=(Ref);
/freebsd-13.1/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, uint32_t Length) { in writeStreamRef() argument
66 BinaryStreamReader SrcReader(Ref.slice(0, Length)); in writeStreamRef()
H A DBinaryStreamReader.cpp18 BinaryStreamReader::BinaryStreamReader(BinaryStreamRef Ref) : Stream(Ref) {} in BinaryStreamReader() argument
130 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref) { in readStreamRef() argument
131 return readStreamRef(Ref, bytesRemaining()); in readStreamRef()
134 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref, uint32_t Length) { in readStreamRef() argument
137 Ref = Stream.slice(Offset, Length); in readStreamRef()
142 Error BinaryStreamReader::readSubstream(BinarySubstreamRef &Ref, in readSubstream() argument
144 Ref.Offset = getOffset(); in readSubstream()
145 return readStreamRef(Ref.StreamData, Length); in readSubstream()
H A DRegex.cpp189 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789")); in sub() local
190 Repl = Repl.substr(Ref.size()); in sub()
193 if (!Ref.getAsInteger(10, RefValue) && in sub()
197 *Error = ("invalid backreference string '" + Twine(Ref) + "'").str(); in sub()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h502 Ref_struct Ref; member
522 return *Ref.Op; in getOp()
529 return Ref.RD; in getReachingDef()
532 Ref.RD = RD; in setReachingDef()
536 return Ref.Sib; in getSibling()
539 Ref.Sib = Sib; in setSibling()
560 return Ref.Def.DD; in getReachedDef()
563 Ref.Def.DD = D; in setReachedDef()
566 return Ref.Def.DU; in getReachedUse()
569 Ref.Def.DU = U; in setReachedUse()
[all …]
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallString.h74 for (const StringRef &Ref : Refs) in append() local
75 SizeNeeded += Ref.size(); in append()
78 for (const StringRef &Ref : Refs) { in append() local
79 this->uninitialized_copy(Ref.begin(), Ref.end(), CurEnd); in append()
80 CurEnd += Ref.size(); in append()
/freebsd-13.1/tools/regression/geom/
H A DRunTest.sh28 if [ -f Ref/$b ] ; then
30 diff -I '$FreeBSD' -u Ref/$b - > $TMP; then
38 diskinfo /dev/md${MD}* > Ref/`basename $f`
H A DRunTest.t34 if [ -f Ref/$b ] ; then
36 diff -I '\$FreeBSD' -u Ref/$b - > $TMP; then
43 diskinfo /dev/md${MD}* > Ref/`basename $f`
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBMemoryRegionInfoList.cpp59 MemoryRegionInfos &Ref() { return m_regions; } in Ref() function in MemoryRegionInfoListImpl
61 const MemoryRegionInfos &Ref() const { return m_regions; } in Ref() function in MemoryRegionInfoListImpl
67 MemoryRegionInfos &SBMemoryRegionInfoList::ref() { return m_opaque_up->Ref(); } in ref()
70 return m_opaque_up->Ref(); in ref()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp155 assert(Ref && "Expected live reference"); in track()
159 R->addRef(Ref, Owner); in track()
172 assert(Ref && "Expected live reference"); in untrack()
174 R->dropRef(Ref); in untrack()
180 assert(Ref && "Expected live reference"); in retrack()
182 assert(Ref != New && "Expected change"); in retrack()
184 R->moveRef(Ref, New, MD); in retrack()
229 bool WasErased = UseMap.erase(Ref); in dropRef()
236 auto I = UseMap.find(Ref); in moveRef()
272 Ref = MD; in replaceAllUsesWith()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DTypeReferenceTracker.cpp110 for (const auto &Ref : DepList) { in addReferencedTypes() local
113 RecData.drop_front(Ref.Offset).take_front(4 * Ref.Count); in addReferencedTypes()
121 addOneTypeRef(Ref.Kind, RefTI); in addReferencedTypes()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamReader.h34 explicit BinaryStreamReader(BinaryStreamRef Ref);
140 Error readStreamRef(BinaryStreamRef &Ref);
149 Error readStreamRef(BinaryStreamRef &Ref, uint32_t Length);
158 Error readSubstream(BinarySubstreamRef &Ref, uint32_t Length);
H A DBinaryStreamWriter.h34 explicit BinaryStreamWriter(WritableBinaryStreamRef Ref);
119 Error writeStreamRef(BinaryStreamRef Ref);
127 Error writeStreamRef(BinaryStreamRef Ref, uint32_t Size);
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp141 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitBaseDestructorAsAlias() local
142 llvm::Constant *Aliasee = Ref; in TryEmitBaseDestructorAsAlias()
143 if (Ref->getType() != AliasType) in TryEmitBaseDestructorAsAlias()
144 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitBaseDestructorAsAlias()
173 if (Ref->isDeclarationForLinker()) in TryEmitBaseDestructorAsAlias()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp84 if (auto *Ref = dyn_cast<DeclRefExpr>(E)) { in isASafeCallArg() local
85 if (auto *D = dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in isASafeCallArg()
/freebsd-13.1/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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateArgumentVisitor.h23 template <template <typename> class Ref, typename ImplClass,
27 #define REF(CLASS) typename Ref<CLASS>::type

123456