Home
last modified time | relevance | path

Searched refs:UniqueID (Results 1 – 25 of 125) sorted by relevance

12345

/external/llvm-project/llvm/unittests/Support/
DFSUniqueIDTest.cpp18 EXPECT_EQ(20u, UniqueID(20, 10).getDevice()); in TEST()
19 EXPECT_EQ(10u, UniqueID(20, 10).getFile()); in TEST()
23 EXPECT_TRUE(UniqueID(20, 10) == UniqueID(20, 10)); in TEST()
24 EXPECT_FALSE(UniqueID(20, 20) == UniqueID(20, 10)); in TEST()
25 EXPECT_FALSE(UniqueID(10, 10) == UniqueID(20, 10)); in TEST()
29 EXPECT_FALSE(UniqueID(20, 2) < UniqueID(20, 2)); in TEST()
30 EXPECT_FALSE(UniqueID(20, 3) < UniqueID(20, 2)); in TEST()
31 EXPECT_FALSE(UniqueID(30, 2) < UniqueID(20, 2)); in TEST()
32 EXPECT_FALSE(UniqueID(30, 2) < UniqueID(20, 40)); in TEST()
33 EXPECT_TRUE(UniqueID(20, 2) < UniqueID(20, 3)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCContext.h199 unsigned UniqueID; member
202 unsigned UniqueID) in ELFSectionKey()
203 : SectionName(SectionName), GroupName(GroupName), UniqueID(UniqueID) { in ELFSectionKey()
211 return UniqueID < Other.UniqueID;
219 unsigned UniqueID; member
222 int SelectionKey, unsigned UniqueID) in COFFSectionKey()
224 SelectionKey(SelectionKey), UniqueID(UniqueID) {} in COFFSectionKey()
233 return UniqueID < Other.UniqueID;
240 unsigned UniqueID; member
243 unsigned UniqueID) in WasmSectionKey()
[all …]
DMCSectionWasm.h32 unsigned UniqueID; variable
50 unsigned UniqueID, MCSymbol *Begin) in MCSectionWasm() argument
51 : MCSection(SV_Wasm, K, Begin), SectionName(Section), UniqueID(UniqueID), in MCSectionWasm()
73 bool isUnique() const { return UniqueID != ~0U; } in isUnique()
74 unsigned getUniqueID() const { return UniqueID; } in getUniqueID()
DMCSectionELF.h38 unsigned UniqueID; variable
54 unsigned entrySize, const MCSymbolELF *group, unsigned UniqueID, in MCSectionELF() argument
57 Flags(flags), UniqueID(UniqueID), EntrySize(entrySize), Group(group), in MCSectionELF()
83 bool isUnique() const { return UniqueID != ~0U; } in isUnique()
84 unsigned getUniqueID() const { return UniqueID; } in getUniqueID()
/external/llvm-project/llvm/include/llvm/MC/
DMCContext.h209 unsigned UniqueID; member
212 StringRef LinkedToName, unsigned UniqueID) in ELFSectionKey()
214 LinkedToName(LinkedToName), UniqueID(UniqueID) {} in ELFSectionKey()
223 return UniqueID < Other.UniqueID;
231 unsigned UniqueID; member
234 int SelectionKey, unsigned UniqueID) in COFFSectionKey()
236 SelectionKey(SelectionKey), UniqueID(UniqueID) {} in COFFSectionKey()
245 return UniqueID < Other.UniqueID;
252 unsigned UniqueID; member
255 unsigned UniqueID) in WasmSectionKey()
[all …]
DMCSectionWasm.h27 unsigned UniqueID; variable
46 unsigned UniqueID, MCSymbol *Begin) in MCSectionWasm() argument
47 : MCSection(SV_Wasm, Name, K, Begin), UniqueID(UniqueID), Group(group) {} in MCSectionWasm()
67 bool isUnique() const { return UniqueID != ~0U; } in isUnique()
68 unsigned getUniqueID() const { return UniqueID; } in getUniqueID()
DMCSectionELF.h34 unsigned UniqueID; variable
52 unsigned entrySize, const MCSymbolELF *group, unsigned UniqueID, in MCSectionELF() argument
55 UniqueID(UniqueID), EntrySize(entrySize), Group(group), in MCSectionELF()
83 bool isUnique() const { return UniqueID != NonUniqueID; } in isUnique()
84 unsigned getUniqueID() const { return UniqueID; } in getUniqueID()
/external/clang/include/clang/Basic/
DFileManager.h60 llvm::sys::fs::UniqueID UniqueID; variable
73 : UniqueID(0, 0), IsNamedPipe(false), InPCH(false), IsValid(false) in FileEntry()
80 FileEntry(const FileEntry &FE) : UniqueID(FE.UniqueID), in FileEntry()
90 const llvm::sys::fs::UniqueID &getUniqueID() const { return UniqueID; } in getUniqueID()
97 bool operator<(const FileEntry &RHS) const { return UniqueID < RHS.UniqueID; }
122 std::map<llvm::sys::fs::UniqueID, DirectoryEntry> UniqueRealDirs;
125 std::map<llvm::sys::fs::UniqueID, FileEntry> UniqueRealFiles;
/external/llvm-project/llvm/include/llvm/Support/FileSystem/
DUniqueID.h23 class UniqueID {
28 UniqueID() = default;
29 UniqueID(uint64_t Device, uint64_t File) : Device(Device), File(File) {} in UniqueID() function
31 bool operator==(const UniqueID &Other) const {
34 bool operator!=(const UniqueID &Other) const { return !(*this == Other); }
35 bool operator<(const UniqueID &Other) const {
/external/skia/src/gpu/
DGrSurfaceProxy.h154 class UniqueID {
156 static UniqueID InvalidID() { in InvalidID()
157 return UniqueID(uint32_t(SK_InvalidUniqueID)); in InvalidID()
161 explicit UniqueID(const GrGpuResource::UniqueID& id) : fID(id.asUInt()) { } in UniqueID() function
163 UniqueID() : fID(GrGpuResource::CreateUniqueID()) { } in UniqueID() function
167 bool operator==(const UniqueID& other) const {
170 bool operator!=(const UniqueID& other) const {
178 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID() function
198 UniqueID uniqueID() const { return fUniqueID; } in uniqueID()
200 UniqueID underlyingUniqueID() const { in underlyingUniqueID()
[all …]
DGrGpuResource.h148 class UniqueID {
150 UniqueID() = default;
152 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID() function
156 bool operator==(const UniqueID& other) const { return fID == other.fID; }
157 bool operator!=(const UniqueID& other) const { return !(*this == other); }
171 UniqueID uniqueID() const { return fUniqueID; } in uniqueID()
313 const UniqueID fUniqueID;
DGrAuditTrail.h85 void addOp(const GrOp*, GrRenderTargetProxy::UniqueID proxyID);
114 GrSurfaceProxy::UniqueID fProxyUniqueID;
141 OpNode(const GrSurfaceProxy::UniqueID& proxyID) : fProxyUniqueID(proxyID) { } in OpNode()
146 const GrSurfaceProxy::UniqueID fProxyUniqueID;
/external/llvm/include/llvm/MC/
DMCContext.h185 unsigned UniqueID; member
187 unsigned UniqueID) in ELFSectionKey()
188 : SectionName(SectionName), GroupName(GroupName), UniqueID(UniqueID) { in ELFSectionKey()
195 return UniqueID < Other.UniqueID;
203 unsigned UniqueID; member
205 int SelectionKey, unsigned UniqueID) in COFFSectionKey()
207 SelectionKey(SelectionKey), UniqueID(UniqueID) {} in COFFSectionKey()
215 return UniqueID < Other.UniqueID;
367 const Twine &Group, unsigned UniqueID) { in getELFSection() argument
368 return getELFSection(Section, Type, Flags, EntrySize, Group, UniqueID, in getELFSection()
[all …]
DMCSectionELF.h41 unsigned UniqueID; variable
56 unsigned entrySize, const MCSymbolELF *group, unsigned UniqueID, in MCSectionELF() argument
59 Flags(flags), UniqueID(UniqueID), EntrySize(entrySize), Group(group), in MCSectionELF()
86 bool isUnique() const { return UniqueID != ~0U; } in isUnique()
87 unsigned getUniqueID() const { return UniqueID; } in getUniqueID()
/external/skqp/include/gpu/
DGrGpuResource.h180 class UniqueID {
182 static UniqueID InvalidID() { in InvalidID()
183 return UniqueID(uint32_t(SK_InvalidUniqueID)); in InvalidID()
186 UniqueID() {} in UniqueID() function
188 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID() function
192 bool operator==(const UniqueID& other) const {
195 bool operator!=(const UniqueID& other) const {
211 UniqueID uniqueID() const { return fUniqueID; } in uniqueID()
352 const UniqueID fUniqueID;
/external/skqp/include/private/
DGrSurfaceProxy.h269 class UniqueID {
271 static UniqueID InvalidID() { in InvalidID()
272 return UniqueID(uint32_t(SK_InvalidUniqueID)); in InvalidID()
276 explicit UniqueID(const GrGpuResource::UniqueID& id) : fID(id.asUInt()) { } in UniqueID() function
278 UniqueID() : fID(GrGpuResource::CreateUniqueID()) { } in UniqueID() function
282 bool operator==(const UniqueID& other) const {
285 bool operator!=(const UniqueID& other) const {
293 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID() function
313 UniqueID uniqueID() const { return fUniqueID; } in uniqueID()
315 UniqueID underlyingUniqueID() const { in underlyingUniqueID()
[all …]
DGrAuditTrail.h85 void addOp(const GrOp*, GrRenderTargetProxy::UniqueID proxyID);
114 GrSurfaceProxy::UniqueID fProxyUniqueID;
141 OpNode(const GrSurfaceProxy::UniqueID& proxyID) : fProxyUniqueID(proxyID) { } in OpNode()
146 const GrSurfaceProxy::UniqueID fProxyUniqueID;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCContext.cpp319 unsigned UniqueID = Section->getUniqueID(); in renameELFSection() local
321 ELFSectionKey{Section->getSectionName(), GroupName, UniqueID}); in renameELFSection()
323 ELFSectionKey{Name, GroupName, UniqueID}, in renameELFSection()
334 unsigned UniqueID, in createELFSectionImpl() argument
355 Section, Type, Flags, K, EntrySize, Group, UniqueID, R, Associated); in createELFSectionImpl()
388 const Twine &Group, unsigned UniqueID, in getELFSection() argument
394 return getELFSection(Section, Type, Flags, EntrySize, GroupSym, UniqueID, in getELFSection()
401 unsigned UniqueID, in getELFSection() argument
408 std::make_pair(ELFSectionKey{Section.str(), Group, UniqueID}, nullptr)); in getELFSection()
424 CachedName, Type, Flags, Kind, EntrySize, GroupSym, UniqueID, Associated); in getELFSection()
[all …]
/external/llvm-project/llvm/lib/MC/
DMCContext.cpp400 unsigned UniqueID = Section->getUniqueID(); in renameELFSection() local
402 ELFSectionKey{Section->getName(), GroupName, "", UniqueID}); in renameELFSection()
405 ELFSectionKey{Name, GroupName, "", UniqueID}, Section)) in renameELFSection()
415 unsigned UniqueID, in createELFSectionImpl() argument
436 Section, Type, Flags, K, EntrySize, Group, UniqueID, R, LinkedToSym); in createELFSectionImpl()
469 const Twine &Group, unsigned UniqueID, in getELFSection() argument
475 return getELFSection(Section, Type, Flags, EntrySize, GroupSym, UniqueID, in getELFSection()
482 unsigned UniqueID, in getELFSection() argument
491 LinkedToSym ? LinkedToSym->getName() : "", UniqueID}, in getELFSection()
509 UniqueID, LinkedToSym); in getELFSection()
[all …]
/external/llvm/lib/MC/
DMCContext.cpp301 unsigned UniqueID = Section->getUniqueID(); in renameELFSection() local
303 ELFSectionKey{Section->getSectionName(), GroupName, UniqueID}); in renameELFSection()
305 ELFSectionKey{Name, GroupName, UniqueID}, in renameELFSection()
335 const Twine &Group, unsigned UniqueID, in getELFSection() argument
341 return getELFSection(Section, Type, Flags, EntrySize, GroupSym, UniqueID, in getELFSection()
348 unsigned UniqueID, in getELFSection() argument
356 std::make_pair(ELFSectionKey{Section.str(), Group, UniqueID}, nullptr)); in getELFSection()
374 MCSectionELF(CachedName, Type, Flags, Kind, EntrySize, GroupSym, UniqueID, in getELFSection()
391 unsigned UniqueID, in getCOFFSection() argument
401 COFFSectionKey T{Section, COMDATSymName, Selection, UniqueID}; in getCOFFSection()
[all …]
/external/clang/tools/libclang/
DIndexing.cpp72 llvm::sys::fs::UniqueID UniqueID; member in __anon01b0ce3e0111::PPRegion
76 PPRegion() : UniqueID(0, 0), ModTime(), Offset() {} in PPRegion()
77 PPRegion(llvm::sys::fs::UniqueID UniqueID, unsigned offset, time_t modTime) in PPRegion() argument
78 : UniqueID(UniqueID), ModTime(modTime), Offset(offset) {} in PPRegion()
80 const llvm::sys::fs::UniqueID &getUniqueID() const { return UniqueID; } in getUniqueID()
87 return lhs.UniqueID == rhs.UniqueID && lhs.Offset == rhs.Offset && in operator ==()
104 return PPRegion(llvm::sys::fs::UniqueID(0, 0), unsigned(-1), 0); in getEmptyKey()
107 return PPRegion(llvm::sys::fs::UniqueID(0, 0), unsigned(-2), 0); in getTombstoneKey()
112 const llvm::sys::fs::UniqueID &UniqueID = S.getUniqueID(); in getHashValue() local
113 ID.AddInteger(UniqueID.getFile()); in getHashValue()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DFileEntry.h68 inline const llvm::sys::fs::UniqueID &getUniqueID() const;
334 llvm::sys::fs::UniqueID UniqueID;
364 const llvm::sys::fs::UniqueID &getUniqueID() const { return UniqueID; }
370 bool operator<(const FileEntry &RHS) const { return UniqueID < RHS.UniqueID; }
385 const llvm::sys::fs::UniqueID &FileEntryRef::getUniqueID() const {
/external/llvm-project/clang/tools/libclang/
DIndexing.cpp71 llvm::sys::fs::UniqueID UniqueID; member in __anond32f18ac0111::PPRegion
75 PPRegion() : UniqueID(0, 0), ModTime(), Offset() {} in PPRegion()
76 PPRegion(llvm::sys::fs::UniqueID UniqueID, unsigned offset, time_t modTime) in PPRegion() argument
77 : UniqueID(UniqueID), ModTime(modTime), Offset(offset) {} in PPRegion()
79 const llvm::sys::fs::UniqueID &getUniqueID() const { return UniqueID; } in getUniqueID()
86 return lhs.UniqueID == rhs.UniqueID && lhs.Offset == rhs.Offset && in operator ==()
98 return PPRegion(llvm::sys::fs::UniqueID(0, 0), unsigned(-1), 0); in getEmptyKey()
101 return PPRegion(llvm::sys::fs::UniqueID(0, 0), unsigned(-2), 0); in getTombstoneKey()
106 const llvm::sys::fs::UniqueID &UniqueID = S.getUniqueID(); in getHashValue() local
107 ID.AddInteger(UniqueID.getFile()); in getHashValue()
[all …]
/external/clang/lib/Lex/
DPTHLexer.cpp635 llvm::sys::fs::UniqueID UniqueID; member in __anon3226c9c70211::PTHStatData
638 PTHStatData(uint64_t Size, time_t ModTime, llvm::sys::fs::UniqueID UniqueID, in PTHStatData() argument
640 : HasData(true), Size(Size), ModTime(ModTime), UniqueID(UniqueID), in PTHStatData()
676 llvm::sys::fs::UniqueID UniqueID(Device, File); in ReadData() local
679 return data_type(Size, ModTime, UniqueID, IsDirectory); in ReadData()
716 Data.UniqueID = D.UniqueID; in getStat()
/external/llvm/test/CodeGen/PowerPC/
DBreakableToken-reduced.ll86UniqueID, std::pair<const llvm::sys::fs::UniqueID, clang::DirectoryEntry>, std::_Select1st<std::pa…
87UniqueID, std::pair<const llvm::sys::fs::UniqueID, clang::DirectoryEntry>, std::_Select1st<std::pa…
91UniqueID, std::pair<const llvm::sys::fs::UniqueID, clang::FileEntry>, std::_Select1st<std::pair<co…
92UniqueID, std::pair<const llvm::sys::fs::UniqueID, clang::FileEntry>, std::_Select1st<std::pair<co…
133 … i64, i64, %"class.clang::DirectoryEntry"*, i32, %"class.llvm::sys::fs::UniqueID", i8, i8, i8, %"c…
135 %"class.llvm::sys::fs::UniqueID" = type { i64, i64 }

12345