Lines Matching refs:SlotTracker
696 class SlotTracker : public AbstractSlotTrackerStorage { class
757 explicit SlotTracker(const Module *M,
765 explicit SlotTracker(const Function *F,
769 explicit SlotTracker(const ModuleSummaryIndex *Index);
771 SlotTracker(const SlotTracker &) = delete;
772 SlotTracker &operator=(const SlotTracker &) = delete;
774 ~SlotTracker() = default;
876 ModuleSlotTracker::ModuleSlotTracker(SlotTracker &Machine, const Module *M, in ModuleSlotTracker()
887 SlotTracker *ModuleSlotTracker::getMachine() { in getMachine()
893 std::make_unique<SlotTracker>(M, ShouldInitializeAllMetadata); in getMachine()
933 static SlotTracker *createSlotTracker(const Value *V) { in createSlotTracker()
935 return new SlotTracker(FA->getParent()); in createSlotTracker()
939 return new SlotTracker(I->getParent()->getParent()); in createSlotTracker()
942 return new SlotTracker(BB->getParent()); in createSlotTracker()
945 return new SlotTracker(GV->getParent()); in createSlotTracker()
948 return new SlotTracker(GA->getParent()); in createSlotTracker()
951 return new SlotTracker(GIF->getParent()); in createSlotTracker()
954 return new SlotTracker(Func); in createSlotTracker()
967 SlotTracker::SlotTracker(const Module *M, bool ShouldInitializeAllMetadata) in SlotTracker() function in SlotTracker
972 SlotTracker::SlotTracker(const Function *F, bool ShouldInitializeAllMetadata) in SlotTracker() function in SlotTracker
976 SlotTracker::SlotTracker(const ModuleSummaryIndex *Index) in SlotTracker() function in SlotTracker
979 inline void SlotTracker::initializeIfNeeded() { in initializeIfNeeded()
989 int SlotTracker::initializeIndexIfNeeded() { in initializeIndexIfNeeded()
999 void SlotTracker::processModule() { in processModule()
1050 void SlotTracker::processFunction() { in processFunction()
1095 int SlotTracker::processIndex() { in processIndex()
1129 void SlotTracker::processGlobalObjectMetadata(const GlobalObject &GO) { in processGlobalObjectMetadata()
1136 void SlotTracker::processFunctionMetadata(const Function &F) { in processFunctionMetadata()
1147 void SlotTracker::processDbgRecordMetadata(const DbgRecord &DR) { in processDbgRecordMetadata()
1169 void SlotTracker::processInstructionMetadata(const Instruction &I) { in processInstructionMetadata()
1189 void SlotTracker::purgeFunction() { in purgeFunction()
1198 int SlotTracker::getGlobalSlot(const GlobalValue *V) { in getGlobalSlot()
1207 void SlotTracker::setProcessHook( in setProcessHook()
1213 void SlotTracker::setProcessHook( in setProcessHook()
1220 void SlotTracker::createMetadataSlot(const MDNode *N) { CreateMetadataSlot(N); } in createMetadataSlot()
1223 int SlotTracker::getMetadataSlot(const MDNode *N) { in getMetadataSlot()
1233 int SlotTracker::getLocalSlot(const Value *V) { in getLocalSlot()
1243 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) { in getAttributeGroupSlot()
1252 int SlotTracker::getModulePathSlot(StringRef Path) { in getModulePathSlot()
1261 int SlotTracker::getGUIDSlot(GlobalValue::GUID GUID) { in getGUIDSlot()
1270 int SlotTracker::getTypeIdSlot(StringRef Id) { in getTypeIdSlot()
1279 int SlotTracker::getTypeIdCompatibleVtableSlot(StringRef Id) { in getTypeIdCompatibleVtableSlot()
1289 void SlotTracker::CreateModuleSlot(const GlobalValue *V) { in CreateModuleSlot()
1307 void SlotTracker::CreateFunctionSlot(const Value *V) { in CreateFunctionSlot()
1319 void SlotTracker::CreateMetadataSlot(const MDNode *N) { in CreateMetadataSlot()
1337 void SlotTracker::CreateAttributeSetSlot(AttributeSet AS) { in CreateAttributeSetSlot()
1349 void SlotTracker::CreateModulePathSlot(StringRef Path) { in CreateModulePathSlot()
1354 void SlotTracker::CreateGUIDSlot(GlobalValue::GUID GUID) { in CreateGUIDSlot()
1359 void SlotTracker::CreateTypeIdSlot(StringRef Id) { in CreateTypeIdSlot()
1364 void SlotTracker::CreateTypeIdCompatibleVtableSlot(StringRef Id) { in CreateTypeIdCompatibleVtableSlot()
1372 SlotTracker *Machine = nullptr;
1375 AsmWriterContext(TypePrinting *TP, SlotTracker *ST, const Module *M = nullptr) in AsmWriterContext()
2651 std::unique_ptr<SlotTracker> MachineStorage; in WriteAsOperandInternal()
2654 MachineStorage = std::make_unique<SlotTracker>(WriterCtx.Context); in WriteAsOperandInternal()
2694 std::unique_ptr<SlotTracker> SlotTrackerStorage;
2695 SlotTracker &Machine;
2709 AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac, const Module *M,
2713 AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac,
2800 AssemblyWriter::AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac, in AssemblyWriter()
2813 AssemblyWriter::AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac, in AssemblyWriter()
4854 SlotTracker SlotTable(this->getParent()); in print()
4865 SlotTracker SlotTable(this->getParent()); in print()
4875 SlotTracker SlotTable(this); in print()
4883 SlotTracker SlotTable(getParent()); in print()
4891 std::optional<SlotTracker> LocalST; in print()
4892 SlotTracker *SlotTable; in print()
4971 SlotTracker EmptySlotTable(static_cast<const Module *>(nullptr)); in print()
4972 SlotTracker &SlotTable = in print()
4992 SlotTracker EmptySlotTable(static_cast<const Module *>(nullptr)); in print()
4993 SlotTracker &SlotTable = in print()
5009 SlotTracker EmptySlotTable(static_cast<const Module *>(nullptr)); in print()
5010 SlotTracker &SlotTable = in print()
5036 SlotTracker EmptySlotTable(static_cast<const Module *>(nullptr)); in print()
5037 SlotTracker &SlotTable = in print()
5083 SlotTracker *Machine, const Module *M) { in printWithoutType()
5114 SlotTracker Machine( in printAsOperand()
5155 MDTreeAsmWriterContext(TypePrinting *TP, SlotTracker *ST, const Module *M, in MDTreeAsmWriterContext()
5245 SlotTracker SlotTable(this); in print()
5253 SlotTracker *ST = MachineStorage.get(); in collectMDNodes()