| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | WindowsResourceDumper.cpp | 54 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 …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/ |
| H A D | crash47.C | 29 class Ref { 31 Ref(): rep(0) in Ref() function 33 Ref(const Ref<REP>& other): rep(other.rep) in Ref() function 35 ~Ref() in ~Ref() 39 Ref<REP>& operator=(const Ref<REP>& other) 58 Ref(REP *r): rep(r) in Ref() function 61 Ref<REP>& operator=(REP *r) 70 Ref<REP>::operator REP*() const // should be a valid() reference 75 operator==(const Ref<REP>& a, const Ref<REP>& b) 80 operator!=(const Ref<REP>& a, const Ref<REP>& b) [all …]
|
| H A D | template30.C | 8 template<class REP> class Ref { }; 10 class MapLS<String, Ref<X1> >: public MapLS<String, RefProto> { 15 MapLS<String, Ref<X1> >::~MapLS() { } in ~MapLS()
|
| H A D | template27.C | 7 template<class REP> class Ref { }; 9 class MapLS<String, Ref<X1> >: public MapLS<String, RefProto> { 14 MapLS<String, Ref<X1> >::~MapLS() { } in ~MapLS()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | TrackingMDRef.h | 107 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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeHashing.cpp | 43 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()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/template/ |
| H A D | conv6.C | 8 template <typename> struct Ref {}; struct 13 template <typename U> operator Ref<U> & (); 19 static_cast <Ref<int> &> (l); in Foo() 20 static_cast <Ref<int> const &> (l); in Foo() 21 static_cast <Ref<int> > (l); in Foo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Object/ |
| H A D | COFFObjectFile.cpp | 102 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb() 104 reinterpret_cast<const coff_symbol_type *>(Ref.p); in toSymb() 119 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec() 120 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); in toSec() 136 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext() 139 const coff_symbol16 *Symb = toSymb<coff_symbol16>(Ref); in moveSymbolNext() 141 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext() 143 const coff_symbol32 *Symb = toSymb<coff_symbol32>(Ref); in moveSymbolNext() 145 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext() 151 Expected<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName() [all …]
|
| H A D | WasmObjectFile.cpp | 1574 DataRefImpl Ref; in symbol_begin() local 1575 Ref.d.a = 1; // Arbitrary non-zero value so that Ref.p is non-null in symbol_begin() 1576 Ref.d.b = 0; // Symbol index in symbol_begin() 1577 return BasicSymbolRef(Ref, this); in symbol_begin() 1581 DataRefImpl Ref; in symbol_end() local 1582 Ref.d.a = 1; // Arbitrary non-zero value so that Ref.p is non-null in symbol_end() 1583 Ref.d.b = Symbols.size(); // Symbol index in symbol_end() 1584 return BasicSymbolRef(Ref, this); in symbol_end() 1679 DataRefImpl Ref; in getSymbolSection() local 1680 Ref.d.a = getSymbolSectionIdImpl(Sym); in getSymbolSection() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | DirectoryEntry.h | 62 friend llvm::hash_code hash_value(DirectoryEntryRef Ref) { in hash_value() argument 63 return llvm::hash_value(&Ref.getDirEntry()); in hash_value() 158 MapEntryOptionalStorage &operator=(RefTy Ref) { 159 MaybeRef = Ref; 183 OptionalStorage &operator=(clang::DirectoryEntryRef Ref) { 184 StorageImpl::operator=(Ref); 270 OptionalDirectoryEntryRefDegradesToDirectoryEntryPtr(DirectoryEntryRef Ref) 271 : OptionalDirectoryEntryRef(Ref) {} 281 OptionalDirectoryEntryRefDegradesToDirectoryEntryPtr &operator=(DirectoryEntryRef Ref) { 282 OptionalDirectoryEntryRef::operator=(Ref);
|
| H A D | FileEntry.h | 105 friend llvm::hash_code hash_value(FileEntryRef Ref) { in hash_value() argument 106 return llvm::hash_value(&Ref.getFileEntry()); in hash_value() 224 OptionalStorage &operator=(clang::FileEntryRef Ref) { 225 StorageImpl::operator=(Ref); 306 OptionalFileEntryRefDegradesToFileEntryPtr(FileEntryRef Ref) 307 : OptionalFileEntryRef(Ref) {} 315 OptionalFileEntryRefDegradesToFileEntryPtr &operator=(FileEntryRef Ref) { 316 OptionalFileEntryRef::operator=(Ref);
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | BinaryStreamWriter.cpp | 17 BinaryStreamWriter::BinaryStreamWriter(WritableBinaryStreamRef Ref) in BinaryStreamWriter() argument 18 : Stream(Ref) {} in BinaryStreamWriter() 60 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref) { in writeStreamRef() argument 61 return writeStreamRef(Ref, Ref.getLength()); in writeStreamRef() 64 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref, uint64_t Length) { in writeStreamRef() argument 65 BinaryStreamReader SrcReader(Ref.slice(0, Length)); in writeStreamRef()
|
| H A D | BinaryStreamReader.cpp | 18 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 D | Regex.cpp | 189 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | RDFGraph.h | 272 Ref = 0x0002, // 10, Reference enumerator 322 return type(B) == Ref; in contains() 503 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() 544 assert(getType() == NodeAttrs::Ref); in isUse() 549 assert(getType() == NodeAttrs::Ref); in isDef() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | SmallString.h | 76 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()
|
| /openbsd-src/gnu/llvm/lldb/source/API/ |
| H A D | SBMemoryRegionInfoList.cpp | 69 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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/ |
| H A D | TypeReferenceTracker.cpp | 113 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Metadata.cpp | 150 bool MetadataTracking::track(void *Ref, Metadata &MD, OwnerTy Owner) { in track() argument 151 assert(Ref && "Expected live reference"); in track() 152 assert((Owner || *static_cast<Metadata **>(Ref) == &MD) && in track() 155 R->addRef(Ref, Owner); in track() 161 PH->Use = static_cast<Metadata **>(Ref); in track() 167 void MetadataTracking::untrack(void *Ref, Metadata &MD) { in untrack() argument 168 assert(Ref && "Expected live reference"); in untrack() 170 R->dropRef(Ref); in untrack() 175 bool MetadataTracking::retrack(void *Ref, Metadata &MD, void *New) { in retrack() argument 176 assert(Ref && "Expected live reference"); in retrack() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | BinaryStreamReader.h | 32 explicit BinaryStreamReader(BinaryStreamRef Ref); 133 Error readStreamRef(BinaryStreamRef &Ref); 142 Error readStreamRef(BinaryStreamRef &Ref, uint32_t Length); 151 Error readSubstream(BinarySubstreamRef &Ref, uint32_t Length);
|
| H A D | ModRef.h | 31 Ref = 1, enumerator 35 ModRef = Ref | Mod, 52 return static_cast<int>(MRI) & static_cast<int>(ModRefInfo::Ref); in isRefSet() 124 return MemoryEffects(ModRefInfo::Ref); in readOnly()
|
| H A D | BinaryStreamWriter.h | 33 explicit BinaryStreamWriter(WritableBinaryStreamRef Ref); 113 Error writeStreamRef(BinaryStreamRef Ref); 121 Error writeStreamRef(BinaryStreamRef Ref, uint64_t Size);
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
| H A D | conv7.C | 24 template<class T, class Ref, class NodePtr, class ListPtr> 29 Ref operator*() const;
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGCXX.cpp | 141 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()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/ |
| H A D | weak.t | 74 $x->{Ref} = $y; 75 $y->{Ref} = $x; 79 weaken($x->{Ref});
|