Home
last modified time | relevance | path

Searched refs:getDevice (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Support/FileSystem/
H A DUniqueID.h47 uint64_t getDevice() const { return Device; } in getDevice() function
68 return hash_value(std::make_pair(Tag.getDevice(), Tag.getFile()));
/llvm-project-15.0.7/llvm/unittests/Support/
H A DFSUniqueIDTest.cpp18 EXPECT_EQ(20u, UniqueID(20, 10).getDevice()); in TEST()
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp104 auto Hash = llvm::hash_combine(UID.getDevice(), UID.getFile()); in getShardForUID()
/llvm-project-15.0.7/clang/tools/libclang/
H A DIndexing.cpp108 ID.AddInteger(UniqueID.getDevice()); in getHashValue()
H A DCIndex.cpp2440 Visitor->AddStmt(C->getDevice()); in VisitOMPDeviceClause()
4637 outID->data[0] = ID.getDevice(); in clang_getFileUniqueID()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtProfile.cpp805 if (C->getDevice()) in VisitOMPDeviceClause()
806 Profiler->VisitStmt(C->getDevice()); in VisitOMPDeviceClause()
H A DOpenMPClause.cpp1883 Node->getDevice()->printPretty(OS, nullptr, Policy, 0); in VisitOMPDeviceClause()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp6587 Device.setPointerAndInt(C->getDevice(), C->getModifier()); in emitCommonOMPTargetDirective()
6951 Device = EmitScalarExpr(C->getDevice()); in EmitOMPInteropDirective()
7350 Device = C->getDevice(); in EmitOMPTargetDataDirective()
7375 Device = C->getDevice(); in EmitOMPTargetEnterDataDirective()
7396 Device = C->getDevice(); in EmitOMPTargetExitDataDirective()
7788 Device = C->getDevice(); in EmitOMPTargetUpdateDirective()
H A DCGOpenMPRuntime.cpp1620 DeviceID = ID.getDevice(); in getTargetEntryUniqueInfo()
3157 if (I->getFirst()->getUniqueID().getDevice() == DeviceID && in createOffloadEntriesAndInfoMetadata()
4262 Device = C->getDevice(); in emitTaskInit()
H A DCodeGenModule.cpp6973 OS << llvm::format("%x", ID.getFile()) << llvm::format("%x", ID.getDevice()) in printPostfixForExternalizedDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DOpenMPClause.h4955 Expr *getDevice() { return cast<Expr>(Device); } in getDevice() function
4958 Expr *getDevice() const { return cast<Expr>(Device); } in getDevice() function
H A DRecursiveASTVisitor.h3674 TRY_TO(TraverseStmt(C->getDevice()));
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp6610 Record.AddStmt(C->getDevice()); in VisitOMPDeviceClause()
/llvm-project-15.0.7/clang/lib/Sema/
H A DTreeTransform.h10106 ExprResult E = getDerived().TransformExpr(C->getDevice()); in TransformOMPDeviceClause()