Lines Matching defs:TpiSource

49 class TypeServerSource : public TpiSource {
52 : TpiSource(ctx, PDB, nullptr), pdbInputFile(f) {
78 // TpiSource for IPI stream.
88 class TypeServerIpiSource : public TpiSource {
91 : TpiSource(ctx, PDBIpi, nullptr) {}
95 // All of the TpiSource methods are no-ops. The parent TypeServerSource
105 class UseTypeServerSource : public TpiSource {
110 : TpiSource(ctx, UsingPDB, f), typeServerDependency(ts) {}
127 class PrecompSource : public TpiSource {
129 PrecompSource(COFFLinkerContext &ctx, ObjFile *f) : TpiSource(ctx, PCH, f) {
151 class UsePrecompSource : public TpiSource {
154 : TpiSource(ctx, UsingPCH, f), precompDependency(precomp) {}
175 TpiSource::TpiSource(COFFLinkerContext &ctx, TpiKind k, ObjFile *f)
181 TpiSource::~TpiSource() {
186 TpiSource *lld::coff::makeTpiSource(COFFLinkerContext &ctx, ObjFile *file) {
187 return make<TpiSource>(ctx, TpiSource::Regular, file);
190 TpiSource *lld::coff::makeTypeServerSource(COFFLinkerContext &ctx,
199 TpiSource *lld::coff::makeUseTypeServerSource(COFFLinkerContext &ctx,
205 TpiSource *lld::coff::makePrecompSource(COFFLinkerContext &ctx, ObjFile *file) {
209 TpiSource *lld::coff::makeUsePrecompSource(COFFLinkerContext &ctx,
215 bool TpiSource::remapTypeIndex(TypeIndex &ti, TiRefKind refKind) const {
228 void TpiSource::remapRecord(MutableArrayRef<uint8_t> rec,
256 void TpiSource::remapTypesInTypeRecord(MutableArrayRef<uint8_t> rec) {
263 bool TpiSource::remapTypesInSymbolRecord(MutableArrayRef<uint8_t> rec) {
309 Error TpiSource::mergeDebugT(TypeMerger *m) {
558 return TpiSource::mergeDebugT(m);
565 if (Error e = TpiSource::mergeDebugT(m))
591 void TpiSource::loadGHashes() {
608 void TpiSource::assignGHashesFromVector(
633 void TpiSource::fillIsItemIndexFromDebugT() {
643 void TpiSource::mergeTypeRecord(TypeIndex curIndex, CVType ty) {
689 void TpiSource::mergeUniqueTypeRecords(ArrayRef<uint8_t> typeRecords,
737 void TpiSource::remapTpiWithGHashes(GHashState *g) {
990 /// Extract the index into the ghash array of the TpiSource.
1082 [&](TpiSource *source) { source->loadGHashes(); });
1084 [&](TpiSource *source) { source->loadGHashes(); });
1099 for (TpiSource *source : ctx.tpiSourceList)
1114 TpiSource *source = ctx.tpiSourceList[tpiSrcIdx];
1169 TpiSource *source = ctx.tpiSourceList[tpiSrcIdx];
1182 for (TpiSource *source : dependencySources)
1184 parallelForEach(objectSources, [&](TpiSource *source) {
1189 for (TpiSource *source : ctx.tpiSourceList) {
1200 std::vector<TpiSource *> deps;
1201 std::vector<TpiSource *> objs;
1202 for (TpiSource *s : ctx.tpiSourceList)
1224 for (TpiSource *src : ctx.tpiSourceList) {
1235 void TpiSource::fillMapFromGHashes(GHashState *g) {