Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp56 void Dumper::printEntry(const ResourceEntryRef &Ref) { in printEntry() argument
57 if (Ref.checkTypeString()) { in printEntry()
58 auto NarrowStr = stripUTF16(Ref.getTypeString()); in printEntry()
61 SW.printNumber("Resource type (int)", Ref.getTypeID()); in printEntry()
63 if (Ref.checkNameString()) { in printEntry()
64 auto NarrowStr = stripUTF16(Ref.getNameString()); in printEntry()
67 SW.printNumber("Resource name (int)", Ref.getNameID()); in printEntry()
69 SW.printNumber("Data version", Ref.getDataVersion()); in printEntry()
70 SW.printHex("Memory flags", Ref.getMemoryFlags()); in printEntry()
71 SW.printNumber("Language ID", Ref.getLanguage()); in printEntry()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DTrackingMDRef.h108 TrackingMDRef Ref; variable
112 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef()
114 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {} in TypedTrackingMDRef()
115 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {} in TypedTrackingMDRef()
118 Ref = std::move(X.Ref);
123 Ref = X.Ref;
127 T *get() const { return (T *)Ref.get(); } in get()
132 bool operator==(const TypedTrackingMDRef &X) const { return Ref == X.Ref; }
133 bool operator!=(const TypedTrackingMDRef &X) const { return Ref != X.Ref; }
135 void reset() { Ref.reset(); } in reset()
[all …]
H A DMetadata.h230 static bool track(void *Ref, Metadata &MD, Metadata &Owner) { in track() argument
231 return track(Ref, MD, &Owner); in track()
239 static bool track(void *Ref, Metadata &MD, MetadataAsValue &Owner) { in track() argument
240 return track(Ref, MD, &Owner); in track()
247 static void untrack(void *Ref, Metadata &MD);
260 static bool retrack(void *Ref, Metadata &MD, void *New);
271 static bool track(void *Ref, Metadata &MD, OwnerTy Owner);
312 void addRef(void *Ref, OwnerTy Owner);
313 void dropRef(void *Ref);
314 void moveRef(void *Ref, void *New, const Metadata &MD);
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DTypeHashing.cpp44 for (const auto &Ref : Refs) { in hashType() local
46 uint32_t PreLen = Ref.Offset - Off; in hashType()
49 auto Prev = (Ref.Kind == TiRefKind::IndexRef) ? PreviousIds : PreviousTypes; in hashType()
51 auto RefData = RecordData.slice(Ref.Offset, Ref.Count * sizeof(TypeIndex)); in hashType()
55 reinterpret_cast<const TypeIndex *>(RefData.data()), Ref.Count); in hashType()
67 Off = Ref.Offset + Ref.Count * sizeof(TypeIndex); in hashType()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DCOFFObjectFile.cpp159 return getCOFFSymbol(Ref).getValue(); in getSymbolValueImpl()
170 uint64_t Result = getSymbolValue(Ref); in getSymbolAddress()
268 const coff_section *Sec = toSec(Ref); in moveSectionNext()
275 const coff_section *Sec = toSec(Ref); in getSectionName()
280 const coff_section *Sec = toSec(Ref); in getSectionAddress()
294 return getSectionSize(toSec(Ref)); in getSectionSize()
299 const coff_section *Sec = toSec(Ref); in getSectionContents()
307 const coff_section *Sec = toSec(Ref); in getSectionAlignment()
316 const coff_section *Sec = toSec(Ref); in isSectionText()
321 const coff_section *Sec = toSec(Ref); in isSectionData()
[all …]
H A DWasmObjectFile.cpp1169 DataRefImpl Ref; in symbol_begin() local
1170 Ref.d.a = 0; in symbol_begin()
1175 DataRefImpl Ref; in symbol_end() local
1257 DataRefImpl Ref; in getSymbolSection() local
1260 Ref.d.a = CodeSection; in getSymbolSection()
1266 Ref.d.a = DataSection; in getSymbolSection()
1357 RelocRef.d.a = Ref.d.a; in section_rel_begin()
1365 RelocRef.d.a = Ref.d.a; in section_rel_end()
1412 DataRefImpl Ref; in section_begin() local
1413 Ref.d.a = 0; in section_begin()
[all …]
H A DObjectFile.cpp51 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
52 uint32_t Flags = getSymbolFlags(Ref); in getSymbolValue()
56 return getCommonSymbolSize(Ref); in getSymbolValue()
57 return getSymbolValueImpl(Ref); in getSymbolValue()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DBinaryStreamWriter.cpp18 BinaryStreamWriter::BinaryStreamWriter(WritableBinaryStreamRef Ref) in BinaryStreamWriter() argument
19 : Stream(Ref) {} in BinaryStreamWriter()
49 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref) { in writeStreamRef() argument
50 return writeStreamRef(Ref, Ref.getLength()); in writeStreamRef()
53 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref, uint32_t Length) { in writeStreamRef() argument
54 BinaryStreamReader SrcReader(Ref.slice(0, Length)); in writeStreamRef()
H A DBinaryStreamReader.cpp18 BinaryStreamReader::BinaryStreamReader(BinaryStreamRef Ref) : Stream(Ref) {} in BinaryStreamReader() argument
100 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref) { in readStreamRef() argument
101 return readStreamRef(Ref, bytesRemaining()); in readStreamRef()
104 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref, uint32_t Length) { in readStreamRef() argument
107 Ref = Stream.slice(Offset, Length); in readStreamRef()
H A DRegex.cpp171 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789")); in sub() local
172 Repl = Repl.substr(Ref.size()); in sub()
175 if (!Ref.getAsInteger(10, RefValue) && in sub()
179 *Error = ("invalid backreference string '" + Twine(Ref) + "'").str(); in sub()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DRDFGraph.h503 Ref_struct Ref; member
523 return *Ref.Op; in getOp()
530 return Ref.RD; in getReachingDef()
533 Ref.RD = RD; in setReachingDef()
537 return Ref.Sib; in getSibling()
540 Ref.Sib = Sib; in setSibling()
561 return Ref.Def.DD; in getReachedDef()
564 Ref.Def.DD = D; in setReachedDef()
567 return Ref.Def.DU; in getReachedUse()
570 Ref.Def.DU = U; in setReachedUse()
[all …]
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()
H A DRDFGraph.cpp85 case NodeAttrs::Ref: in operator <<()
430 return G.unpack(Ref.PR); in getRegRef()
431 assert(Ref.Op != nullptr); in getRegRef()
432 return G.makeRegRef(*Ref.Op); in getRegRef()
440 Ref.PR = G.pack(RR); in setRegRef()
449 Ref.Op = Op; in setRegRef()
466 Ref.RD = DA.Id; in linkToDef()
467 Ref.Sib = DA.Addr->getReachedDef(); in linkToDef()
473 Ref.RD = DA.Id; in linkToDef()
474 Ref.Sib = DA.Addr->getReachedUse(); in linkToDef()
[all …]
/freebsd-12.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-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBMemoryRegionInfoList.cpp60 MemoryRegionInfos &Ref() { return m_regions; } in Ref() function in MemoryRegionInfoListImpl
62 const MemoryRegionInfos &Ref() const { return m_regions; } in Ref() function in MemoryRegionInfoListImpl
69 return m_opaque_ap->Ref(); in ref()
73 return m_opaque_ap->Ref(); in ref()
/freebsd-12.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-12.1/contrib/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()
210 bool WasErased = UseMap.erase(Ref); in dropRef()
217 auto I = UseMap.find(Ref); in moveRef()
253 Ref = MD; in replaceAllUsesWith()
[all …]
/freebsd-12.1/contrib/llvm/tools/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-12.1/contrib/llvm/include/llvm/Support/
H A DBinaryStreamWriter.h35 explicit BinaryStreamWriter(WritableBinaryStreamRef Ref);
106 Error writeStreamRef(BinaryStreamRef Ref);
114 Error writeStreamRef(BinaryStreamRef Ref, uint32_t Size);
H A DBinaryStreamReader.h35 explicit BinaryStreamReader(BinaryStreamRef Ref);
129 Error readStreamRef(BinaryStreamRef &Ref);
138 Error readStreamRef(BinaryStreamRef &Ref, uint32_t Length);
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h224 template <typename T> T *resolve(TypedDINodeRef<T> Ref) const { in resolve() argument
225 return Ref.resolve(); in resolve()
259 template <typename T> T *resolve(TypedDINodeRef<T> Ref) const { in resolve() argument
260 return Ref.resolve(); in resolve()
689 template <typename T> T *resolve(TypedDINodeRef<T> Ref) const { in resolve() argument
690 return Ref.resolve(); in resolve()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTemplateArgumentVisitor.h24 template <template <typename> class Ref, typename ImplClass,
28 #define REF(CLASS) typename Ref<CLASS>::type
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp204 auto *Ref = dyn_cast<const MCSymbolRefExpr>(S); in copyLocalEntry() local
205 if (!Ref) in copyLocalEntry()
207 const auto &RhsSym = cast<MCSymbolELF>(Ref->getSymbol()); in copyLocalEntry()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DPDB.cpp779 for (const TiReference &Ref : TypeRefs) { in remapTypesInSymbolRecord() local
780 unsigned ByteSize = Ref.Count * sizeof(TypeIndex); in remapTypesInSymbolRecord()
781 if (Contents.size() < Ref.Offset + ByteSize) in remapTypesInSymbolRecord()
786 bool IsItemIndex = Ref.Kind == TiRefKind::IndexRef; in remapTypesInSymbolRecord()
791 reinterpret_cast<TypeIndex *>(Contents.data() + Ref.Offset), Ref.Count); in remapTypesInSymbolRecord()
1254 for (ulittle32_t *Ref : StringTableReferences) in finish()
1255 *Ref = translateStringTableIndex(*Ref, CVStrTab, Linker.PDBStrTab); in finish()
1700 auto Ref = SS.getRecordData(); in findLineTable() local
1701 ExitOnErr(Ref.readLongestContiguousChunk(0, Bytes)); in findLineTable()
1711 ExitOnErr(LinesTmp.initialize(BinaryStreamReader(Ref))); in findLineTable()
[all …]

12345