/third_party/glslang/SPIRV/ |
H A D | SpvBuilder.h | 92 spv::Id getStringId(const std::string& str) in getStringId() 97 spv::Id strId = getUniqueId(); in getStringId() 106 spv::Id getSourceFile() const in getSourceFile() 149 spv::Id incId = getStringId(name); in addInclude() 152 Id import(const char*); 162 Id getUniqueId() { return ++uniqueId; } in getUniqueId() 165 Id getUniqueIds(int numIds) in getUniqueIds() 167 Id id = uniqueId + 1; in getUniqueIds() 183 void addLine(Id fileName, int line, int column); 184 void addDebugScopeAndLine(Id fileNam [all...] |
H A D | SPVRemapper.h | 82 const Id NoResult = 0; 114 typedef std::unordered_map<spv::Id, spv::Id> idmap_t; 115 typedef std::unordered_set<spv::Id> idset_t; 116 typedef std::unordered_map<spv::Id, int> blockmap_t; 121 typedef std::unordered_map<std::string, spv::Id> namemap_t; 126 typedef std::function<void(spv::Id&)> idfn_t; 130 static const spv::Id unmapped; // unchanged from default value 131 static const spv::Id unused; // unused ID 138 typedef std::map<spv::Id, typeentry_ [all...] |
H A D | SpvBuilder.cpp | 84 Id Builder::import(const char* name) in import() 124 spv::Id strId = getStringId(filename); in setLine() 133 void Builder::addLine(Id fileName, int lineNum, int column) in addLine() 142 void Builder::addDebugScopeAndLine(Id fileName, int lineNum, int column) in addDebugScopeAndLine() 146 spv::Id resultId = getUniqueId(); in addDebugScopeAndLine() 154 spv::Id resultId = getUniqueId(); in addDebugScopeAndLine() 167 Id Builder::makeVoidType() in makeVoidType() 171 Id typeId = getUniqueId(); in makeVoidType() 185 Id Builder::makeBoolType() in makeBoolType() 206 Id Builde [all...] |
H A D | spvIR.h | 66 const Id NoResult = 0; 67 const Id NoType = 0; 85 bool isId; // true if word is an Id, false if word is an immediate 96 Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode), block(nullptr) { } in Instruction() 99 void addIdOperand(Id id) { in addIdOperand() 145 Id getResultId() const { return resultId; } in getResultId() 146 Id getTypeId() const { return typeId; } in getTypeId() 147 Id getIdOperand(int op) const { in getIdOperand() 181 Id resultI [all...] |
H A D | SPVRemapper.cpp | 129 unsigned spirvbin_t::typeSizeInWords(spv::Id id) const in typeSizeInWords() 147 unsigned spirvbin_t::idTypeSizeInWords(spv::Id id) const in idTypeSizeInWords() 250 const auto op_fn_nop = [](spv::Id&) { }; 255 const spv::Id spirvbin_t::unmapped = spv::Id(-10000); 256 const spv::Id spirvbin_t::unused = spv::Id(-10001); 259 spv::Id spirvbin_t::nextUnusedId(spv::Id id) in nextUnusedId() 267 spv::Id spirvbin_ [all...] |
H A D | GlslangToSpv.cpp | 108 void addNoContraction(spv::Builder& builder, spv::Id t) { builder.addDecoration(t, noContraction); } in addNoContraction() 109 void addNonUniform(spv::Builder& builder, spv::Id t) { builder.addDecoration(t, nonUniform); } in addNonUniform() 161 spv::Id createSpvVariable(const glslang::TIntermSymbol*, spv::Id forcedType); 162 spv::Id getSampledType(const glslang::TSampler&); 163 spv::Id getInvertedSwizzleType(const glslang::TIntermTyped&); 164 spv::Id createInvertedSwizzle(spv::Decoration precision, const glslang::TIntermTyped&, spv::Id parentResult); 166 spv::Id convertGlslangToSpvType(const glslang::TType& type, bool forwardReferenceOnly = false); 167 spv::Id convertGlslangToSpvTyp [all...] |
/third_party/rust/crates/clap/src/util/ |
H A D | id.rs | 9 pub struct Id(Str); structure names 11 impl Id { impls 20 /// Get the raw string of the `Id` 30 impl From<&'_ Id> for Id { 31 fn from(id: &'_ Id) -> Self { in from() 36 impl From<Str> for Id { in from() 42 impl From<&'_ Str> for Id { 49 impl From<std::string::String> for Id { in from() 56 impl From<&'_ std::string::String> for Id { [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | pkey.rs | 77 pub struct Id(c_int); structure names 79 impl Id { impls 80 pub const RSA: Id = Id(ffi::EVP_PKEY_RSA); 82 pub const HMAC: Id = Id(ffi::EVP_PKEY_HMAC); 84 pub const CMAC: Id = Id(ffi::EVP_PKEY_CMAC); 85 pub const DSA: Id = Id(ff [all...] |
/third_party/rust/crates/clap/src/builder/ |
H A D | arg_group.rs | 3 use crate::util::Id; 56 /// # use clap::{Command, arg, ArgGroup, Id}; 72 /// .get_one::<Id>("vers") 87 pub(crate) id: Id, 88 pub(crate) args: Vec<Id>, 90 pub(crate) requires: Vec<Id>, 91 pub(crate) conflicts: Vec<Id>, 109 pub fn new(id: impl Into<Id>) -> Self { in new() 123 pub fn id(mut self, id: impl Into<Id>) -> Self { in id() 152 pub fn arg(mut self, arg_id: impl IntoResettable<Id>) [all...] |
H A D | arg.rs | 22 use crate::Id; 55 pub(crate) id: Id, 60 pub(crate) blacklist: Vec<Id>, 62 pub(crate) overrides: Vec<Id>, 63 pub(crate) groups: Vec<Id>, 64 pub(crate) requires: Vec<(ArgPredicate, Id)>, 65 pub(crate) r_ifs: Vec<(Id, OsStr)>, 66 pub(crate) r_ifs_all: Vec<(Id, OsStr)>, 67 pub(crate) r_unless: Vec<Id>, 68 pub(crate) r_unless_all: Vec<Id>, [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | RemoteObjectLayer.h | 135 /// with the given Id. 137 RemoteSymbolId Id) in RemoteSymbolMaterializer() 138 : C(C), Id(Id) {} in RemoteSymbolMaterializer() 141 : C(Other.C), Id(Other.Id) { in RemoteSymbolMaterializer() 142 Other.Id = 0; in RemoteSymbolMaterializer() 149 if (Id) in ~RemoteSymbolMaterializer() 150 C.releaseRemoteSymbol(Id); in ~RemoteSymbolMaterializer() 155 auto Addr = C.materializeRemoteSymbol(Id); in materialize() 136 RemoteSymbolMaterializer(RemoteObjectLayer &C, RemoteSymbolId Id) RemoteSymbolMaterializer() argument 162 RemoteSymbolId Id; global() member in llvm::orc::RemoteObjectLayer::RemoteSymbolMaterializer 185 badRemoteSymbolIdError(RemoteSymbolId Id) badRemoteSymbolIdError() argument 197 auto Id = SymbolIdMgr.getNext(); jitSymbolToRemote() local 230 releaseRemoteSymbol(RemoteSymbolId Id) releaseRemoteSymbol() argument 237 materializeRemoteSymbol(RemoteSymbolId Id) materializeRemoteSymbol() argument 242 handleReleaseRemoteSymbol(RemoteSymbolId Id) handleReleaseRemoteSymbol() argument 253 handleMaterializeRemoteSymbol(RemoteSymbolId Id) handleMaterializeRemoteSymbol() argument 459 lookup(ObjHandleT Id, const std::string &Name) lookup() argument 464 lookupInLogicalDylib(ObjHandleT Id, const std::string &Name) lookupInLogicalDylib() argument 471 auto Id = HandleIdMgr.getNext(); addObject() local [all...] |
H A D | OrcRemoteTargetClient.h | 64 Client.destroyRemoteAllocator(Id); in ~RemoteRTDyldMemoryManager() 65 LLVM_DEBUG(dbgs() << "Destroyed remote allocator " << Id << "\n"); in ~RemoteRTDyldMemoryManager() 80 LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated code for " 93 LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated ro-data for " 102 LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated rw-data for " 114 LLVM_DEBUG(dbgs() << "Allocator " << Id << " reserved:\n"); 118 Client.reserveMem(Id, CodeSize, CodeAlign); 129 Client.reserveMem(Id, RODataSize, RODataAlign); 140 Client.reserveMem(Id, RWDataSize, RWDataAlign); 166 LLVM_DEBUG(dbgs() << "Allocator " << Id << " applie 262 RemoteRTDyldMemoryManager(OrcRemoteTargetClient &Client, ResourceIdMgr::ResourceId Id) RemoteRTDyldMemoryManager() argument 320 ResourceIdMgr::ResourceId Id; global() member in llvm::orc::remote::OrcRemoteTargetClient::RemoteRTDyldMemoryManager 335 RemoteIndirectStubsManager(OrcRemoteTargetClient &Client, ResourceIdMgr::ResourceId Id) RemoteIndirectStubsManager() argument 446 ResourceIdMgr::ResourceId Id; global() member in llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager 542 auto Id = AllocatorIds.getNext(); createRemoteMemoryManager() local 553 auto Id = IndirectStubOwnerIds.getNext(); createIndirectStubsManager() local 612 destroyRemoteAllocator(ResourceIdMgr::ResourceId Id) destroyRemoteAllocator() argument 621 destroyIndirectStubsManager(ResourceIdMgr::ResourceId Id) destroyIndirectStubsManager() argument 628 emitIndirectStubs(ResourceIdMgr::ResourceId Id, uint32_t NumStubsRequired) emitIndirectStubs() argument 652 reserveMem(ResourceIdMgr::ResourceId Id, uint64_t Size, uint32_t Align) reserveMem() argument 662 setProtections(ResourceIdMgr::ResourceId Id, JITTargetAddress RemoteSegAddr, unsigned ProtFlags) setProtections() argument [all...] |
H A D | OrcRemoteTargetServer.h | 206 Error handleCreateRemoteAllocator(ResourceIdMgr::ResourceId Id) { in handleCreateRemoteAllocator() argument 207 auto I = Allocators.find(Id); in handleCreateRemoteAllocator() 211 LLVM_DEBUG(dbgs() << " Created allocator " << Id << "\n"); in handleCreateRemoteAllocator() 212 Allocators[Id] = Allocator(); in handleCreateRemoteAllocator() 216 Error handleCreateIndirectStubsOwner(ResourceIdMgr::ResourceId Id) { in handleCreateIndirectStubsOwner() argument 217 auto I = IndirectStubsOwners.find(Id); in handleCreateIndirectStubsOwner() 221 LLVM_DEBUG(dbgs() << " Create indirect stubs owner " << Id << "\n"); in handleCreateIndirectStubsOwner() 222 IndirectStubsOwners[Id] = ISBlockOwnerList(); in handleCreateIndirectStubsOwner() 235 Error handleDestroyRemoteAllocator(ResourceIdMgr::ResourceId Id) { in handleDestroyRemoteAllocator() argument 236 auto I = Allocators.find(Id); in handleDestroyRemoteAllocator() 245 handleDestroyIndirectStubsOwner(ResourceIdMgr::ResourceId Id) handleDestroyIndirectStubsOwner() argument 255 handleEmitIndirectStubs(ResourceIdMgr::ResourceId Id, uint32_t NumStubsRequired) handleEmitIndirectStubs() argument 376 handleReserveMem(ResourceIdMgr::ResourceId Id, uint64_t Size, uint32_t Align) handleReserveMem() argument 397 handleSetProtections(ResourceIdMgr::ResourceId Id, JITTargetAddress Addr, uint32_t Flags) handleSetProtections() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
H A D | SymbolCache.cpp | 66 // Id 0 is reserved for the invalid symbol. in SymbolCache() 183 SymIndexId Id = 0; in findSymbolByTypeIndex() local 186 Id = createSymbolForType<NativeTypeEnum, EnumRecord>(Index, std::move(CVT)); in findSymbolByTypeIndex() 189 Id = createSymbolForType<NativeTypeArray, ArrayRecord>(Index, in findSymbolByTypeIndex() 195 Id = createSymbolForType<NativeTypeUDT, ClassRecord>(Index, std::move(CVT)); in findSymbolByTypeIndex() 198 Id = createSymbolForType<NativeTypeUDT, UnionRecord>(Index, std::move(CVT)); in findSymbolByTypeIndex() 201 Id = createSymbolForType<NativeTypePointer, PointerRecord>(Index, in findSymbolByTypeIndex() 205 Id = createSymbolForModifiedType(Index, std::move(CVT)); in findSymbolByTypeIndex() 208 Id = createSymbolForType<NativeTypeFunctionSig, ProcedureRecord>( in findSymbolByTypeIndex() 212 Id in findSymbolByTypeIndex() 265 SymIndexId Id = 0; getOrCreateGlobalSymbolByOffset() local [all...] |
/third_party/rust/crates/clap/src/parser/ |
H A D | arg_matcher.rs | 13 use crate::util::Id; 47 pub(crate) fn propagate_globals(&mut self, global_arg_vec: &[Id]) { 58 global_arg_vec: &[Id], in fill_in_global_values() 59 vals_map: &mut FlatMap<Id, MatchedArg>, in fill_in_global_values() 96 pub(crate) fn get(&self, arg: &Id) -> Option<&MatchedArg> { 100 pub(crate) fn get_mut(&mut self, arg: &Id) -> Option<&mut MatchedArg> { 104 pub(crate) fn remove(&mut self, arg: &Id) -> bool { 108 pub(crate) fn contains(&self, arg: &Id) -> bool { 112 pub(crate) fn arg_ids(&self) -> std::slice::Iter<'_, Id> { 116 pub(crate) fn args(&self) -> crate::util::flat_map::Iter<'_, Id, MatchedAr [all...] |
H A D | validator.rs | 10 use crate::util::Id; 15 required: ChildGraph<Id>, 154 name: &Id, in build_conflict_err() 155 conflict_ids: &[Id], in build_conflict_err() 194 conflicting_keys: &[Id], in build_conflict_err_usage() 196 let used_filtered: Vec<Id> = matcher in build_conflict_err_usage() 207 let required: Vec<Id> = used_filtered in build_conflict_err_usage() 228 let is_relevant = |(val, req_arg): &(ArgPredicate, Id)| -> Option<Id> { in gather_requires() 400 raw_req_args: Vec<Id>, in missing_required_error() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | RDFGraph.cpp | 110 OS << Print<NodeId>(RA.Id, G) << '<' in printRefHeader() 177 OS << Print<NodeId>(I.Id, P.G); in operator <<() 219 OS << Print<NodeId>(P.Obj.Id, P.G) << ": phi [" in operator <<() 227 OS << Print<NodeId>(P.Obj.Id, P.G) << ": " << P.G.getTII().getName(Opc); in operator <<() 259 OS << "instr? " << Print<NodeId>(P.Obj.Id, P.G); in operator <<() 279 OS << Print<NodeId>(P.Obj.Id, P.G) << ": --- " << printMBBReference(*BB) in operator <<() 299 OS << "DFG dump:[\n" << Print<NodeId>(P.Obj.Id, P.G) << ": Function: " in operator <<() 323 OS << Print<NodeId>(I->Id, P.G) in operator <<() 399 if (Next != NA.Id) { in append() 400 Next = NA.Id; in append() [all...] |
H A D | RDFDeadCode.cpp | 89 if (!LiveNodes.count(RA.Id)) in scanInstr() 90 WorkQ.push_back(RA.Id); in scanInstr() 98 if (!LiveNodes.count(UA.Id)) in processDef() 99 WorkQ.push_back(UA.Id); in processDef() 102 LiveNodes.insert(TA.Id); in processDef() 108 if (!LiveNodes.count(DA.Id)) in processUse() 109 WorkQ.push_back(DA.Id); in processUse() 152 if (LiveNodes.count(DA.Id)) in collect() 160 if (!LiveNodes.count(RA.Id)) in collect() 161 DeadNodes.insert(RA.Id); in collect() [all...] |
H A D | RDFLiveness.cpp | 124 NodeId Start = RefA.Id; in getAllReachingDefs() 164 Defs.insert(TA.Id); in getAllReachingDefs() 165 Owners.insert(TA.Addr->getOwner(DFG).Id); in getAllReachingDefs() 228 Defs.count(TA.Id); in getAllReachingDefs() 295 TmpDefs.insert(R.Id); in getAllReachingDefsRecImpl() 300 Result.insert(DA.Id); in getAllReachingDefsRecImpl() 304 if (Visited.count(PA.Id)) in getAllReachingDefsRecImpl() 306 Visited.insert(PA.Id); in getAllReachingDefsRecImpl() 326 NodeId FindId = IA.Id; in getNearestAliasedRef() 330 return T.Id in getNearestAliasedRef() [all...] |
/third_party/node/deps/v8/src/tasks/ |
H A D | cancelable-task.h | 34 using Id = uint64_t; 35 static constexpr Id kInvalidTaskId = 0; 50 Id Register(Cancelable* task); 53 TryAbortResult TryAbort(Id id); 76 void RemoveFinishedTask(Id id); 79 Id task_id_counter_; 82 std::unordered_map<Id, Cancelable*> cancelable_tasks_; 108 CancelableTaskManager::Id id() { return id_; } in id() 141 const CancelableTaskManager::Id id_;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/ |
H A D | PDBSymbol.h | 26 auto PublicName##Id() const->decltype(RawSymbol->PrivateName##Id()) { \ 27 return RawSymbol->PrivateName##Id(); \ 30 uint32_t Id = PublicName##Id(); \ 31 return getConcreteSymbolByIdHelper<ConcreteType>(Id); \ 156 std::unique_ptr<PDBSymbol> getSymbolByIdHelper(uint32_t Id) const; 159 std::unique_ptr<ConcreteType> getConcreteSymbolByIdHelper(uint32_t Id) const { in getConcreteSymbolByIdHelper() 160 return unique_dyn_cast_or_null<ConcreteType>(getSymbolByIdHelper(Id)); in getConcreteSymbolByIdHelper()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/ |
H A D | ArgList.cpp | 46 void ArgList::eraseArg(OptSpecifier Id) { in eraseArg() argument 49 for (Arg *const &A : filtered(Id)) { in eraseArg() 54 OptRanges.erase(Id.getID()); in eraseArg() 60 for (auto Id : Ids) { in getRange() 61 auto I = OptRanges.find(Id.getID()); in getRange() 86 StringRef ArgList::getLastArgValue(OptSpecifier Id, StringRef Default) const { in getLastArgValue() argument 87 if (Arg *A = getLastArg(Id)) in getLastArgValue() 92 std::vector<std::string> ArgList::getAllArgValues(OptSpecifier Id) const { in getAllArgValues() 94 AddAllArgValues(Values, Id); in getAllArgValues() 103 for (OptSpecifier Id in AddAllArgsExcept() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/ |
H A D | DIALineNumber.cpp | 63 DWORD Id = 0; in getSourceFileId() local 64 return (S_OK == LineNumber->get_sourceFileId(&Id)) ? Id : 0; in getSourceFileId() 68 DWORD Id = 0; in getCompilandId() local 69 return (S_OK == LineNumber->get_compilandId(&Id)) ? Id : 0; in getCompilandId()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | schedule.h | 46 class Id { class in v8::internal::compiler::final 50 static Id FromSize(size_t index) { return Id(index); } in FromSize() 51 static Id FromInt(int index) { return Id(static_cast<size_t>(index)); } in FromInt() 54 explicit Id(size_t index) : index_(index) {} in Id() function in v8::internal::compiler::final::Id 58 BasicBlock(Zone* zone, Id id); 62 Id id() const { return id_; } in id() 191 Id id_; 196 std::ostream& operator<<(std::ostream&, const BasicBlock::Id [all...] |
/third_party/rust/crates/cxx/src/ |
H A D | extern_type.rs | 80 /// type Id = type_id!("folly::StringPiece"); 109 /// type Id = cxx::type_id!("name::space::of::TypeName"); 113 type Id; types 134 /// # type Id = cxx::type_id!("name::space::of::TypeName"); 184 pub fn verify_extern_type<T: ExternType<Id = Id>, Id>() {} in verify_extern_type() 196 type Id = crate::type_id!($cxxpath); types
|