| /src/contrib/llvm-project/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 …]
|
| /src/contrib/llvm-project/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 …]
|
| H A D | DebugProgramInstruction.h | 77 TrackingMDNodeRef Ref; variable 107 explicit operator bool() const { return Ref; } 110 MDNode *getAsMDNode() const { return Ref; } in getAsMDNode() 113 return Ref == Other.Ref; 116 return Ref != Other.Ref;
|
| /src/contrib/llvm-project/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()
|
| /src/contrib/llvm-project/llvm/lib/Object/ |
| H A D | COFFObjectFile.cpp | 101 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb() 103 reinterpret_cast<const coff_symbol_type *>(Ref.p); in toSymb() 118 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec() 119 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); in toSec() 135 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext() 138 const coff_symbol16 *Symb = toSymb<coff_symbol16>(Ref); in moveSymbolNext() 140 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext() 142 const coff_symbol32 *Symb = toSymb<coff_symbol32>(Ref); in moveSymbolNext() 144 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext() 150 Expected<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName() [all …]
|
| H A D | WasmObjectFile.cpp | 1800 DataRefImpl Ref; in symbol_begin() local 1801 Ref.d.a = 1; // Arbitrary non-zero value so that Ref.p is non-null in symbol_begin() 1802 Ref.d.b = 0; // Symbol index in symbol_begin() 1803 return BasicSymbolRef(Ref, this); in symbol_begin() 1807 DataRefImpl Ref; in symbol_end() local 1808 Ref.d.a = 1; // Arbitrary non-zero value so that Ref.p is non-null in symbol_end() 1809 Ref.d.b = Symbols.size(); // Symbol index in symbol_end() 1810 return BasicSymbolRef(Ref, this); in symbol_end() 1919 DataRefImpl Ref; in getSymbolSection() local 1920 Ref.d.a = getSymbolSectionIdImpl(Sym); in getSymbolSection() [all …]
|
| H A D | ObjectFile.cpp | 56 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()
|
| /src/contrib/llvm-project/llvm/lib/Support/ |
| H A D | BinaryStreamWriter.cpp | 18 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 D | BinaryStreamReader.cpp | 17 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 D | Regex.cpp | 175 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()
|
| /src/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 421 if (auto *Ref = dyn_cast<AllocaInst>(I)) { in deduceElementTypeHelper() local 422 maybeAssignPtrType(Ty, I, Ref->getAllocatedType(), UnknownElemTypeI8); in deduceElementTypeHelper() 423 } else if (auto *Ref = dyn_cast<GetElementPtrInst>(I)) { in deduceElementTypeHelper() local 424 Ty = Ref->getResultElementType(); in deduceElementTypeHelper() 425 } else if (auto *Ref = dyn_cast<GlobalValue>(I)) { in deduceElementTypeHelper() local 427 Ref->getValueType(), in deduceElementTypeHelper() 428 Ref->getNumOperands() > 0 ? Ref->getOperand(0) : nullptr, Visited, in deduceElementTypeHelper() 430 } else if (auto *Ref = dyn_cast<AddrSpaceCastInst>(I)) { in deduceElementTypeHelper() local 431 Type *RefTy = deduceElementTypeHelper(Ref->getPointerOperand(), Visited, in deduceElementTypeHelper() 434 } else if (auto *Ref = dyn_cast<BitCastInst>(I)) { in deduceElementTypeHelper() local [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | RDFGraph.h | 274 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() 583 Ref getNextRef(RegisterRef RR, Predicate P, bool NextOnly, 794 Ref getNextRelated(Instr IA, Ref RA) const; 795 Ref getNextShadow(Instr IA, Ref RA, bool Create); 797 NodeList getRelatedRefs(Instr IA, Ref RA) const; 818 return BA.Addr->getType() == NodeAttrs::Ref && BA.Addr->getKind() == Kind; in IsRef() [all …]
|
| /src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | DirectoryEntry.h | 56 friend llvm::hash_code hash_value(DirectoryEntryRef Ref) { in hash_value() argument 57 return llvm::hash_value(&Ref.getDirEntry()); in hash_value() 152 MapEntryOptionalStorage &operator=(RefTy Ref) { 153 MaybeRef = Ref; 177 OptionalStorage &operator=(clang::DirectoryEntryRef Ref) { 178 StorageImpl::operator=(Ref);
|
| /src/contrib/netbsd-tests/ipf/expected/ |
| H A D | p3 | 26 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
|
| /src/contrib/llvm-project/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()
|
| /src/tools/regression/geom/ |
| H A D | RunTest.sh | 27 if [ -f Ref/$b ] ; then 29 diff -I '$FreeBSD' -u Ref/$b - > $TMP; then 37 diskinfo /dev/md${MD}* > Ref/`basename $f`
|
| H A D | RunTest.t | 33 if [ -f Ref/$b ] ; then 35 diff -I '\$FreeBSD' -u Ref/$b - > $TMP; then 42 diskinfo /dev/md${MD}* > Ref/`basename $f`
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | RDFGraph.cpp | 77 case NodeAttrs::Ref: in operator <<() 111 static void printRefHeader(raw_ostream &OS, const Ref RA, in printRefHeader() 160 raw_ostream &operator<<(raw_ostream &OS, const Print<Ref> &P) { in operator <<() 403 assert(NodeAttrs::type(Attrs) == NodeAttrs::Ref); in getRegRef() 413 assert(NodeAttrs::type(Attrs) == NodeAttrs::Ref); in setRegRef() 421 assert(NodeAttrs::type(Attrs) == NodeAttrs::Ref); in setRegRef() 788 if (NA.Addr->getType() == NodeAttrs::Ref) { in cloneNode() 789 Ref RA = NA; in cloneNode() 804 Use UA = newNode(NodeAttrs::Ref | NodeAttrs::Use | Flags); in newUse() 811 PhiUse PUA = newNode(NodeAttrs::Ref | NodeAttrs::Use | Flags); in newPhiUse() [all …]
|
| /src/contrib/llvm-project/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()
|
| /src/contrib/llvm-project/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()
|
| /src/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | BinaryStreamReader.h | 32 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 D | ModRef.h | 31 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 D | BinaryStreamWriter.h | 33 explicit BinaryStreamWriter(WritableBinaryStreamRef Ref); 112 Error writeStreamRef(BinaryStreamRef Ref); 120 Error writeStreamRef(BinaryStreamRef Ref, uint64_t Size);
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Metadata.cpp | 206 bool MetadataTracking::track(void *Ref, Metadata &MD, OwnerTy Owner) { in track() argument 207 assert(Ref && "Expected live reference"); in track() 208 assert((Owner || *static_cast<Metadata **>(Ref) == &MD) && in track() 211 R->addRef(Ref, Owner); in track() 217 PH->Use = static_cast<Metadata **>(Ref); in track() 223 void MetadataTracking::untrack(void *Ref, Metadata &MD) { in untrack() argument 224 assert(Ref && "Expected live reference"); in untrack() 226 R->dropRef(Ref); in untrack() 231 bool MetadataTracking::retrack(void *Ref, Metadata &MD, void *New) { in retrack() argument 232 assert(Ref && "Expected live reference"); in retrack() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | BitTracker.h | 160 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()
|