/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/ |
H A D | Option.cpp | 109 Arg *Option::acceptInternal(const ArgList &Args, unsigned &Index, in acceptInternal() argument 111 StringRef Spelling = StringRef(Args.getArgString(Index), ArgSize); in acceptInternal() 114 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal() 116 return new Arg(*this, Spelling, Index++); in acceptInternal() 119 const char *Value = Args.getArgString(Index) + ArgSize; in acceptInternal() 120 return new Arg(*this, Spelling, Index++, Value); in acceptInternal() 124 const char *Str = Args.getArgString(Index) + ArgSize; in acceptInternal() 125 Arg *A = new Arg(*this, Spelling, Index++); in acceptInternal() 153 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal() 156 Index in acceptInternal() 233 accept(const ArgList &Args, unsigned &Index, unsigned ArgSize) const accept() argument [all...] |
/third_party/lzma/CS/7zip/Compress/LZMA/ |
H A D | LzmaBase.cs | 17 public uint Index;
field 18 public void Init() { Index = 0; }
in Init() 21 if (Index < 4) Index = 0;
in UpdateChar() 22 else if (Index < 10) Index -= 3;
in UpdateChar() 23 else Index -= 6;
in UpdateChar() 25 public void UpdateMatch() { Index = (uint)(Index < 7 ? 7 : 10); }
in UpdateMatch() 26 public void UpdateRep() { Index in UpdateMatch() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonBlockRanges.h | 54 IndexType(unsigned Idx) : Index(Idx) {} in IndexType() 56 static bool isInstr(IndexType X) { return X.Index >= First; } in isInstr() 72 unsigned Index = None; variable 175 assert(Index >= First); in operator unsigned() 176 return Index; in operator unsigned() 180 return Index == x; in operator ==() 184 return Index == Idx.Index; in operator ==() 188 return Index != x; in operator !=() 192 return Index ! in operator !=() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
H A D | SymbolCache.cpp | 96 SymIndexId SymbolCache::createSimpleType(TypeIndex Index, in createSimpleType() argument 98 if (Index.getSimpleMode() != codeview::SimpleTypeMode::Direct) in createSimpleType() 99 return createSymbol<NativeTypePointer>(Index); in createSimpleType() 101 const auto Kind = Index.getSimpleKind(); in createSimpleType() 142 SymIndexId SymbolCache::findSymbolByTypeIndex(codeview::TypeIndex Index) { in findSymbolByTypeIndex() argument 144 const auto Entry = TypeIndexToSymbolId.find(Index); in findSymbolByTypeIndex() 149 if (Index.isSimple()) { in findSymbolByTypeIndex() 150 SymIndexId Result = createSimpleType(Index, ModifierOptions::None); in findSymbolByTypeIndex() 151 assert(TypeIndexToSymbolId.count(Index) == 0); in findSymbolByTypeIndex() 152 TypeIndexToSymbolId[Index] in findSymbolByTypeIndex() 285 getOrCreateCompiland(uint32_t Index) getOrCreateCompiland() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | LoopPass.cpp | 100 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in cloneBasicBlockSimpleAnalysis() 101 LoopPass *LP = getContainedPass(Index); in cloneBasicBlockSimpleAnalysis() 113 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in deleteSimpleAnalysisValue() 114 LoopPass *LP = getContainedPass(Index); in deleteSimpleAnalysisValue() 121 for (unsigned Index = 0; Index < getNumContainedPasse in deleteSimpleAnalysisLoop() [all...] |
H A D | RegionPass.cpp | 68 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() 69 RegionPass *RP = (RegionPass *)getContainedPass(Index); in runOnFunction() 82 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() 83 RegionPass *P = (RegionPass*)getContainedPass(Index); in runOnFunction() 139 for (unsigned Index = 0; Index < getNumContainedPasse in runOnFunction() [all...] |
H A D | ModuleSummaryAnalysis.cpp | 89 static bool findRefEdges(ModuleSummaryIndex &Index, const User *CurUser, in findRefEdges() argument 117 RefEdges.insert(Index.getOrInsertValueInfo(GV)); in findRefEdges() 242 static void computeFunctionSummary(ModuleSummaryIndex &Index, const Module &M, in computeFunctionSummary() argument 267 findRefEdges(Index, &F, RefEdges, Visited); in computeFunctionSummary() 300 RefEdges.insert(Index.getOrInsertValueInfo(GV)); in computeFunctionSummary() 302 findRefEdges(Index, U, RefEdges, Visited); in computeFunctionSummary() 306 findRefEdges(Index, &I, RefEdges, Visited); in computeFunctionSummary() 354 auto &ValueInfo = CallGraphEdges[Index.getOrInsertValueInfo( in computeFunctionSummary() 380 CallGraphEdges[Index.getOrInsertValueInfo(Callee)]; in computeFunctionSummary() 390 CallGraphEdges[Index in computeFunctionSummary() 488 findFuncPointers(const Constant *I, uint64_t StartingOffset, const Module &M, ModuleSummaryIndex &Index, VTableFuncList &VTableFuncs) findFuncPointers() argument 515 StartingOffset + Offset, M, Index, VTableFuncs); findFuncPointers() local 523 StartingOffset + i * EltSize, M, Index, VTableFuncs); findFuncPointers() local 529 computeVTableFuncs(ModuleSummaryIndex &Index, const GlobalVariable &V, const Module &M, VTableFuncList &VTableFuncs) computeVTableFuncs() argument 553 recordTypeIdCompatibleVtableReferences(ModuleSummaryIndex &Index, const GlobalVariable &V, SmallVectorImpl<MDNode *> &Types) recordTypeIdCompatibleVtableReferences() argument 570 computeVariableSummary(ModuleSummaryIndex &Index, const GlobalVariable &V, DenseSet<GlobalValue::GUID> &CantBePromoted, const Module &M, SmallVectorImpl<MDNode *> &Types) computeVariableSummary() argument 615 computeAliasSummary(ModuleSummaryIndex &Index, const GlobalAlias &A, DenseSet<GlobalValue::GUID> &CantBePromoted) computeAliasSummary() argument 634 setLiveRoot(ModuleSummaryIndex &Index, StringRef Name) setLiveRoot() argument [all...] |
H A D | BlockFrequencyInfoImpl.cpp | 183 combineWeight(Combined[W.TargetNode.Index], W); 302 BlockNode Resolved = Working[Succ.Index].getResolvedNode(); in addToDist() 323 if (Working[Resolved.Index].getContainingLoop() != OuterLoop) { in addToDist() 405 if (auto *Loop = Working[M.Index].getPackagedLoop()) in packageLoop() 407 LLVM_DEBUG(dbgs() << " - node: " << getBlockName(M.Index) << "\n"); in packageLoop() 428 BlockMass Mass = Working[Source.Index].getMass(); in distributeMass() 438 Working[W.TargetNode.Index].getMass() += Taken; in distributeMass() 486 for (size_t Index = 0; Index < BFI.Freqs.size(); ++Index) { in convertFloatingToInteger() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
H A D | LazyRandomTypeCollection.cpp | 83 uint32_t LazyRandomTypeCollection::getOffsetOfType(TypeIndex Index) { in getOffsetOfType() argument 84 error(ensureTypeExists(Index)); in getOffsetOfType() 85 assert(contains(Index)); in getOffsetOfType() 87 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType() 90 CVType LazyRandomTypeCollection::getType(TypeIndex Index) { in getType() argument 91 assert(!Index.isSimple()); in getType() 93 auto EC = ensureTypeExists(Index); in getType() 95 assert(contains(Index)); in getType() 97 return Records[Index.toArrayIndex()].Type; in getType() 100 Optional<CVType> LazyRandomTypeCollection::tryGetType(TypeIndex Index) { in tryGetType() argument 113 getTypeName(TypeIndex Index) getTypeName() argument 135 contains(TypeIndex Index) contains() argument 157 ensureCapacityFor(TypeIndex Index) ensureCapacityFor() argument [all...] |
H A D | TypeTableCollection.cpp | 37 CVType TypeTableCollection::getType(TypeIndex Index) { in getType() argument 38 assert(Index.toArrayIndex() < Records.size()); in getType() 39 return CVType(Records[Index.toArrayIndex()]); in getType() 42 StringRef TypeTableCollection::getTypeName(TypeIndex Index) { in getTypeName() argument 43 if (Index.isNoneType() || Index.isSimple()) in getTypeName() 44 return TypeIndex::simpleTypeName(Index); in getTypeName() 46 uint32_t I = Index.toArrayIndex(); in getTypeName() 48 StringRef Result = NameStorage.save(computeTypeName(*this, Index)); in getTypeName() 54 bool TypeTableCollection::contains(TypeIndex Index) { in contains() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceLiveness.h | 86 SizeT Index = Node->getIndex(); in getLiveIn() local 87 resize(Index); in getLiveIn() 88 return Nodes[Index].LiveIn; in getLiveIn() 91 SizeT Index = Node->getIndex(); in getLiveOut() local 92 resize(Index); in getLiveOut() 93 return Nodes[Index].LiveOut; in getLiveOut() 97 SizeT Index = Node->getIndex(); in getLiveBegin() local 98 resize(Index); in getLiveBegin() 99 return &Nodes[Index].LiveBegin; in getLiveBegin() 102 SizeT Index in getLiveEnd() local 130 resize(SizeT Index) resize() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | ityp_vector.h | 27 // indices must be a particular type |Index|. 28 template <typename Index, typename Value> 30 using I = UnderlyingType<Index>; 47 explicit vector(Index size) : Base(static_cast<I>(size)) { in vector() 50 vector(Index size, const Value& init) : Base(static_cast<I>(size), init) { in vector() 72 Value& operator[](Index i) { in operator []() 73 ASSERT(i >= Index(0) && i < size()); in operator []() 77 constexpr const Value& operator[](Index i) const { in operator []() 78 ASSERT(i >= Index(0) && i < size()); in operator []() 82 Value& at(Index [all...] |
H A D | SlabAllocator.h | 61 using Index = uint16_t; 69 IndexLinkNode(Index index, Index nextIndex); 71 const Index index; // The index of this block in the slab. 72 Index nextIndex; // The index of the next available block. kInvalidIndex, if none. 89 Index blocksInUse; 92 SlabAllocatorImpl(Index blocksPerSlab, uint32_t objectSize, uint32_t objectAlignment); 103 static Index kInvalidIndex; 106 IndexLinkNode* OffsetFrom(IndexLinkNode* node, std::make_signed_t<Index> offset) const; 145 const Index mBlocksPerSla [all...] |
/third_party/mesa3d/src/mesa/program/ |
H A D | programopt.c | 91 newInst[i].DstReg.Index = VARYING_SLOT_POS; in insert_mvp_dp4_code() 94 newInst[i].SrcReg[0].Index = mvpRef[i]; in insert_mvp_dp4_code() 97 newInst[i].SrcReg[1].Index = VERT_ATTRIB_POS; in insert_mvp_dp4_code() 162 newInst[0].DstReg.Index = hposTemp; in insert_mvp_mad_code() 165 newInst[0].SrcReg[0].Index = VERT_ATTRIB_POS; in insert_mvp_mad_code() 168 newInst[0].SrcReg[1].Index = mvpRef[0]; in insert_mvp_mad_code() 174 newInst[i].DstReg.Index = hposTemp; in insert_mvp_mad_code() 177 newInst[i].SrcReg[0].Index = VERT_ATTRIB_POS; in insert_mvp_mad_code() 180 newInst[i].SrcReg[1].Index = mvpRef[i]; in insert_mvp_mad_code() 183 newInst[i].SrcReg[2].Index in insert_mvp_mad_code() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | BinaryStreamArray.h | 280 const T &operator[](uint32_t Index) const { in operator []() 281 assert(Index < size()); in operator []() 282 uint32_t Off = Index * sizeof(T); in operator []() 324 FixedStreamArrayIterator(const FixedStreamArray<T> &Array, uint32_t Index) 325 : Array(Array), Index(Index) {} 328 : Array(Other.Array), Index(Other.Index) {} 332 Index = Other.Index; 368 uint32_t Index; global() member in llvm::FixedStreamArray [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
H A D | ThinLTOCodeGenerator.cpp | 130 const ModuleSummaryIndex &Index, in computePrevailingCopies() 136 for (auto &I : Index) { in computePrevailingCopies() 154 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index) { in promoteModule() argument 155 if (renameModuleForThinLTO(TheModule, Index)) in promoteModule() 206 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule() argument 215 FunctionImporter Importer(Index, Loader); in crossImportIntoModule() 231 ModuleSummaryIndex *Index) { in optimizeModule() 245 PMB.ImportSummary = Index; in optimizeModule() 315 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() 324 if (!Index in ModuleCacheEntry() 129 computePrevailingCopies( const ModuleSummaryIndex &Index, DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy) computePrevailingCopies() argument 229 optimizeModule(Module &TheModule, TargetMachine &TM, unsigned OptLevel, bool Freestanding, ModuleSummaryIndex *Index) optimizeModule() argument 314 ModuleCacheEntry( StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, const FunctionImporter::ImportMapTy &ImportList, const FunctionImporter::ExportSetTy &ExportList, const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, const GVSummaryMapTy &DefinedGVSummaries, unsigned OptLevel, bool Freestanding, const TargetMachineBuilder &TMBuilder) ModuleCacheEntry() argument 400 ProcessThinLTOModule(Module &TheModule, ModuleSummaryIndex &Index, StringMap<lto::InputFile *> &ModuleMap, TargetMachine &TM, const FunctionImporter::ImportMapTy &ImportList, const FunctionImporter::ExportSetTy &ExportList, const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols, const GVSummaryMapTy &DefinedGlobals, const ThinLTOCodeGenerator::CachingOptions &CacheOptions, bool DisableCodeGen, StringRef SaveTempsDir, bool Freestanding, unsigned OptLevel, unsigned count) ProcessThinLTOModule() argument 450 auto Index = buildModuleSummaryIndex(TheModule, nullptr, &PSI); ProcessThinLTOModule() local 464 resolvePrevailingInIndex( ModuleSummaryIndex &Index, StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> &ResolvedODR, const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols, const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy) resolvePrevailingInIndex() argument 616 computeDeadSymbolsInIndex( ModuleSummaryIndex &Index, const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) computeDeadSymbolsInIndex() argument 633 promote(Module &TheModule, ModuleSummaryIndex &Index, const lto::InputFile &File) promote() argument 681 crossModuleImport(Module &TheModule, ModuleSummaryIndex &Index, const lto::InputFile &File) crossModuleImport() argument 713 gatherImportedSummariesForModule( Module &TheModule, ModuleSummaryIndex &Index, std::map<std::string, GVSummaryMapTy> &ModuleToSummariesForIndex, const lto::InputFile &File) gatherImportedSummariesForModule() argument 747 emitImports(Module &TheModule, StringRef OutputName, ModuleSummaryIndex &Index, const lto::InputFile &File) emitImports() argument 788 internalize(Module &TheModule, ModuleSummaryIndex &Index, const lto::InputFile &File) internalize() argument 936 auto Index = linkCombinedIndex(); run() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | Attributes.cpp | 899 static constexpr unsigned attrIdxToArrayIdx(unsigned Index) { in attrIdxToArrayIdx() argument 900 return Index == AttributeList::FunctionIndex ? 0 : Index + 1; in attrIdxToArrayIdx() 994 unsigned Index = I->first; in get() local 996 while (I != E && I->first == Index) { in get() 1001 AttrPairVec.emplace_back(Index, AttributeSet::get(C, AttrVec)); in get() 1080 AttributeList AttributeList::get(LLVMContext &C, unsigned Index, in get() argument 1084 Index = attrIdxToArrayIdx(Index); in get() 1085 SmallVector<AttributeSet, 8> AttrSets(Index in get() 1090 get(LLVMContext &C, unsigned Index, ArrayRef<Attribute::AttrKind> Kinds) get() argument 1098 get(LLVMContext &C, unsigned Index, ArrayRef<StringRef> Kinds) get() argument 1132 addAttribute(LLVMContext &C, unsigned Index, Attribute::AttrKind Kind) const addAttribute() argument 1140 addAttribute(LLVMContext &C, unsigned Index, StringRef Kind, StringRef Value) const addAttribute() argument 1148 addAttribute(LLVMContext &C, unsigned Index, Attribute A) const addAttribute() argument 1155 addAttributes(LLVMContext &C, unsigned Index, const AttrBuilder &B) const addAttributes() argument 1195 unsigned Index = attrIdxToArrayIdx(ArgNo + FirstArgIndex); addParamAttribute() local 1204 removeAttribute(LLVMContext &C, unsigned Index, Attribute::AttrKind Kind) const removeAttribute() argument 1258 addDereferenceableAttr(LLVMContext &C, unsigned Index, uint64_t Bytes) const addDereferenceableAttr() argument 1267 addDereferenceableOrNullAttr(LLVMContext &C, unsigned Index, uint64_t Bytes) const addDereferenceableOrNullAttr() argument 1275 addAllocSizeAttr(LLVMContext &C, unsigned Index, unsigned ElemSizeArg, const Optional<unsigned> &NumElemsArg) addAllocSizeAttr() argument 1301 hasAttribute(unsigned Index, Attribute::AttrKind Kind) const hasAttribute() argument 1306 hasAttribute(unsigned Index, StringRef Kind) const hasAttribute() argument 1342 getAttribute(unsigned Index, Attribute::AttrKind Kind) const getAttribute() argument 1347 getAttribute(unsigned Index, StringRef Kind) const getAttribute() argument 1380 getAsString(unsigned Index, bool InAttrGrp) const getAsString() argument 1425 AttrBuilder(AttributeList AL, unsigned Index) AttrBuilder() argument 1504 removeAttributes(AttributeList A, uint64_t Index) removeAttributes() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
H A D | Attributes.h | 216 AttributeSetNode *getAttributes(unsigned Index) const; 240 static AttributeSet get(LLVMContext &C, unsigned Index, 242 static AttributeSet get(LLVMContext &C, unsigned Index, 244 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B); 248 AttributeSet addAttribute(LLVMContext &C, unsigned Index, 253 AttributeSet addAttribute(LLVMContext &C, unsigned Index, StringRef Kind, 263 AttributeSet addAttributes(LLVMContext &C, unsigned Index, 269 AttributeSet removeAttribute(LLVMContext &C, unsigned Index, 275 AttributeSet removeAttribute(LLVMContext &C, unsigned Index, 281 AttributeSet removeAttributes(LLVMContext &C, unsigned Index, [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
H A D | TapiUniversal.h | 30 int Index; member in llvm::object::TapiUniversal::ObjectForArch 33 ObjectForArch(const TapiUniversal *Parent, int Index) in ObjectForArch() argument 34 : Parent(Parent), Index(Index) {} in ObjectForArch() 36 ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); } in getNext() 39 return (Parent == Other.Parent) && (Index == Other.Index); in operator ==() 44 MachO::getCPUTypeFromArchitecture(Parent->Architectures[Index]); in getCPUType() 50 MachO::getCPUTypeFromArchitecture(Parent->Architectures[Index]); in getCPUSubType() 55 return MachO::getArchitectureName(Parent->Architectures[Index]); in getArchFlagName() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGAddressAnalysis.cpp | 33 if ((Other.Index == Index) && (Other.IsIndexSignExt == IsIndexSignExt)) { in equalBaseIndex() 173 SDValue Index = SDValue(); in matchLSNode() local 241 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt); in matchLSNode() 243 // Look at Base + Index + Offset cases. in matchLSNode() 244 Index = Base->getOperand(1); in matchLSNode() 248 if (Index->getOpcode() == ISD::SIGN_EXTEND) { in matchLSNode() 249 Index = Index->getOperand(0); in matchLSNode() 253 // Check if Index Offse in matchLSNode() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeIndex.h | 103 TypeIndex() : Index(static_cast<uint32_t>(SimpleTypeKind::None)) {} in TypeIndex() 104 explicit TypeIndex(uint32_t Index) : Index(Index) {} in TypeIndex() argument 106 : Index(static_cast<uint32_t>(Kind)) {} in TypeIndex() 108 : Index(static_cast<uint32_t>(Kind) | static_cast<uint32_t>(Mode)) {} in TypeIndex() 110 uint32_t getIndex() const { return Index; } in getIndex() 111 void setIndex(uint32_t I) { Index = I; } in setIndex() 112 bool isSimple() const { return Index < FirstNonSimpleIndex; } in isSimple() 113 bool isDecoratedItemId() const { return !!(Index in isSimple() 122 fromArrayIndex(uint32_t Index) fromArrayIndex() argument 266 support::ulittle32_t Index; global() member in llvm::codeview::SimpleTypeMode::TypeIndex [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/ |
H A D | ResourceManager.cpp | 65 ResourceState::ResourceState(const MCProcResourceDesc &Desc, unsigned Index, in ResourceState() argument 67 : ProcResourceDescIndex(Index), ResourceMask(Mask), in ResourceState() 123 unsigned Index = getResourceStateIndex(ProcResID2Mask[I]); in ResourceManager() local 124 ResIndex2ProcResID[Index] = I; in ResourceManager() 129 unsigned Index = getResourceStateIndex(Mask); in ResourceManager() local 130 Resources[Index] = in ResourceManager() 132 Strategies[Index] = getStrategyFor(*Resources[Index]); in ResourceManager() 137 unsigned Index = getResourceStateIndex(Mask); in ResourceManager() local 138 const ResourceState &RS = *Resources[Index]; in ResourceManager() 160 unsigned Index = getResourceStateIndex(ResourceMask); setCustomStrategyImpl() local 178 unsigned Index = getResourceStateIndex(ResourceID); selectPipe() local 286 unsigned Index = getResourceStateIndex(E.first); checkAvailability() local 344 const unsigned Index = getResourceStateIndex(ResourceID); reserveResource() local 353 const unsigned Index = getResourceStateIndex(ResourceID); releaseResource() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
H A D | FunctionImport.cpp | 177 selectCallee(const ModuleSummaryIndex &Index, in selectCallee() argument 187 if (!Index.isGlobalValueLive(GVSummary)) { in selectCallee() 270 updateValueInfoForIndirectCalls(const ModuleSummaryIndex &Index, ValueInfo VI) { in updateValueInfoForIndirectCalls() argument 278 auto GUID = Index.getGUIDFromOriginalID(VI.getGUID()); in updateValueInfoForIndirectCalls() 281 return Index.getValueInfo(GUID); in updateValueInfoForIndirectCalls() 285 const FunctionSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForReferencedGlobals() 316 Index.canImportGlobalVar(RefSummary.get(), /* AnalyzeRefs */ true) && in computeImportForReferencedGlobals() 327 if (!Index.isWriteOnly(cast<GlobalVarSummary>(RefSummary.get()))) in computeImportForReferencedGlobals() 363 const FunctionSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForFunction() 369 computeImportForReferencedGlobals(Summary, Index, DefinedGVSummarie in computeImportForFunction() 284 computeImportForReferencedGlobals( const FunctionSummary &Summary, const ModuleSummaryIndex &Index, const GVSummaryMapTy &DefinedGVSummaries, FunctionImporter::ImportMapTy &ImportList, StringMap<FunctionImporter::ExportSetTy> *ExportLists) computeImportForReferencedGlobals() argument 362 computeImportForFunction( const FunctionSummary &Summary, const ModuleSummaryIndex &Index, const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, SmallVectorImpl<EdgeInfo> &Worklist, FunctionImporter::ImportMapTy &ImportList, StringMap<FunctionImporter::ExportSetTy> *ExportLists, FunctionImporter::ImportThresholdsTy &ImportThresholds) computeImportForFunction() argument 538 ComputeImportForModule( const GVSummaryMapTy &DefinedGVSummaries, const ModuleSummaryIndex &Index, StringRef ModName, FunctionImporter::ImportMapTy &ImportList, StringMap<FunctionImporter::ExportSetTy> *ExportLists = nullptr) ComputeImportForModule() argument 607 isGlobalVarSummary(const ModuleSummaryIndex &Index, ValueInfo VI) isGlobalVarSummary() argument 614 isGlobalVarSummary(const ModuleSummaryIndex &Index, GlobalValue::GUID G) isGlobalVarSummary() argument 622 numGlobalVarSummaries(const ModuleSummaryIndex &Index, T &Cont) numGlobalVarSummaries() argument 634 checkVariableImport(const ModuleSummaryIndex &Index, StringMap<FunctionImporter::ImportMapTy> &ImportLists, StringMap<FunctionImporter::ExportSetTy> &ExportLists) checkVariableImport() argument 666 ComputeCrossModuleImport( const ModuleSummaryIndex &Index, const StringMap<GVSummaryMapTy> &ModuleToDefinedGVSummaries, StringMap<FunctionImporter::ImportMapTy> &ImportLists, StringMap<FunctionImporter::ExportSetTy> &ExportLists) ComputeCrossModuleImport() argument 722 dumpImportListForModule(const ModuleSummaryIndex &Index, StringRef ModulePath, FunctionImporter::ImportMapTy &ImportList) dumpImportListForModule() argument 739 ComputeCrossModuleImportForModule( StringRef ModulePath, const ModuleSummaryIndex &Index, FunctionImporter::ImportMapTy &ImportList) ComputeCrossModuleImportForModule() argument 758 ComputeCrossModuleImportForModuleFromIndex( StringRef ModulePath, const ModuleSummaryIndex &Index, FunctionImporter::ImportMapTy &ImportList) ComputeCrossModuleImportForModuleFromIndex() argument 782 computeDeadSymbols( ModuleSummaryIndex &Index, const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols, function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing) computeDeadSymbols() argument 898 computeDeadSymbolsWithConstProp( ModuleSummaryIndex &Index, const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols, function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing, bool ImportEnabled) computeDeadSymbolsWithConstProp() argument 1260 std::unique_ptr<ModuleSummaryIndex> Index = std::move(*IndexPtrOrErr); doImportingForModule() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/ |
H A D | ArchitectureSet.h | 70 ArchSetType Index; member in llvm::MachO::ArchitectureSet::arch_iterator 74 if (Index == EndIndexVal) in findNextSetBit() 76 while (++Index < sizeof(Ty) * 8) { in findNextSetBit() 77 if (*ArchSet & (1UL << Index)) in findNextSetBit() 81 Index = EndIndexVal; in findNextSetBit() 85 arch_iterator(Ty *ArchSet, ArchSetType Index = 0) in arch_iterator() 86 : Index(Index), ArchSet(ArchSet) { in arch_iterator() 87 if (Index != EndIndexVal && !(*ArchSet & (1UL << Index))) in arch_iterator() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/ |
H A D | LookupResult.cpp | 19 std::string LookupResult::getSourceFile(uint32_t Index) const { in getSourceFile() 21 if (Index < Locations.size()) { in getSourceFile() 22 if (!Locations[Index].Dir.empty()) { in getSourceFile() 23 if (Locations[Index].Base.empty()) { in getSourceFile() 24 Fullpath = Locations[Index].Dir; in getSourceFile() 27 llvm::sys::path::append(Storage, Locations[Index].Dir, in getSourceFile() 28 Locations[Index].Base); in getSourceFile() 31 } else if (!Locations[Index].Base.empty()) in getSourceFile() 32 Fullpath = Locations[Index].Base; in getSourceFile()
|