Lines Matching refs:SlotTracker
689 class SlotTracker : public AbstractSlotTrackerStorage { class
750 explicit SlotTracker(const Module *M,
758 explicit SlotTracker(const Function *F,
762 explicit SlotTracker(const ModuleSummaryIndex *Index);
764 SlotTracker(const SlotTracker &) = delete;
765 SlotTracker &operator=(const SlotTracker &) = delete;
767 ~SlotTracker() = default;
869 ModuleSlotTracker::ModuleSlotTracker(SlotTracker &Machine, const Module *M, in ModuleSlotTracker()
880 SlotTracker *ModuleSlotTracker::getMachine() { in getMachine()
886 std::make_unique<SlotTracker>(M, ShouldInitializeAllMetadata); in getMachine()
926 static SlotTracker *createSlotTracker(const Value *V) { in createSlotTracker()
928 return new SlotTracker(FA->getParent()); in createSlotTracker()
932 return new SlotTracker(I->getParent()->getParent()); in createSlotTracker()
935 return new SlotTracker(BB->getParent()); in createSlotTracker()
938 return new SlotTracker(GV->getParent()); in createSlotTracker()
941 return new SlotTracker(GA->getParent()); in createSlotTracker()
944 return new SlotTracker(GIF->getParent()); in createSlotTracker()
947 return new SlotTracker(Func); in createSlotTracker()
960 SlotTracker::SlotTracker(const Module *M, bool ShouldInitializeAllMetadata) in SlotTracker() function in SlotTracker
965 SlotTracker::SlotTracker(const Function *F, bool ShouldInitializeAllMetadata) in SlotTracker() function in SlotTracker
969 SlotTracker::SlotTracker(const ModuleSummaryIndex *Index) in SlotTracker() function in SlotTracker
972 inline void SlotTracker::initializeIfNeeded() { in initializeIfNeeded()
982 int SlotTracker::initializeIndexIfNeeded() { in initializeIndexIfNeeded()
992 void SlotTracker::processModule() { in processModule()
1043 void SlotTracker::processFunction() { in processFunction()
1088 int SlotTracker::processIndex() { in processIndex()
1122 void SlotTracker::processGlobalObjectMetadata(const GlobalObject &GO) { in processGlobalObjectMetadata()
1129 void SlotTracker::processFunctionMetadata(const Function &F) { in processFunctionMetadata()
1140 void SlotTracker::processDPValueMetadata(const DPValue &DPV) { in processDPValueMetadata()
1148 void SlotTracker::processInstructionMetadata(const Instruction &I) { in processInstructionMetadata()
1168 void SlotTracker::purgeFunction() { in purgeFunction()
1177 int SlotTracker::getGlobalSlot(const GlobalValue *V) { in getGlobalSlot()
1186 void SlotTracker::setProcessHook( in setProcessHook()
1192 void SlotTracker::setProcessHook( in setProcessHook()
1199 void SlotTracker::createMetadataSlot(const MDNode *N) { CreateMetadataSlot(N); } in createMetadataSlot()
1202 int SlotTracker::getMetadataSlot(const MDNode *N) { in getMetadataSlot()
1212 int SlotTracker::getLocalSlot(const Value *V) { in getLocalSlot()
1222 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) { in getAttributeGroupSlot()
1231 int SlotTracker::getModulePathSlot(StringRef Path) { in getModulePathSlot()
1240 int SlotTracker::getGUIDSlot(GlobalValue::GUID GUID) { in getGUIDSlot()
1249 int SlotTracker::getTypeIdSlot(StringRef Id) { in getTypeIdSlot()
1258 int SlotTracker::getTypeIdCompatibleVtableSlot(StringRef Id) { in getTypeIdCompatibleVtableSlot()
1268 void SlotTracker::CreateModuleSlot(const GlobalValue *V) { in CreateModuleSlot()
1286 void SlotTracker::CreateFunctionSlot(const Value *V) { in CreateFunctionSlot()
1298 void SlotTracker::CreateMetadataSlot(const MDNode *N) { in CreateMetadataSlot()
1316 void SlotTracker::CreateAttributeSetSlot(AttributeSet AS) { in CreateAttributeSetSlot()
1328 void SlotTracker::CreateModulePathSlot(StringRef Path) { in CreateModulePathSlot()
1333 void SlotTracker::CreateGUIDSlot(GlobalValue::GUID GUID) { in CreateGUIDSlot()
1338 void SlotTracker::CreateTypeIdSlot(StringRef Id) { in CreateTypeIdSlot()
1343 void SlotTracker::CreateTypeIdCompatibleVtableSlot(StringRef Id) { in CreateTypeIdCompatibleVtableSlot()
1351 SlotTracker *Machine = nullptr;
1354 AsmWriterContext(TypePrinting *TP, SlotTracker *ST, const Module *M = nullptr) in AsmWriterContext()
2564 std::unique_ptr<SlotTracker> MachineStorage; in WriteAsOperandInternal()
2567 MachineStorage = std::make_unique<SlotTracker>(WriterCtx.Context); in WriteAsOperandInternal()
2607 std::unique_ptr<SlotTracker> SlotTrackerStorage;
2608 SlotTracker &Machine;
2622 AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac, const Module *M,
2626 AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac,
2710 AssemblyWriter::AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac, in AssemblyWriter()
2723 AssemblyWriter::AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac, in AssemblyWriter()
4737 SlotTracker SlotTable(this->getParent()); in print()
4748 SlotTracker SlotTable(this->getParent()); in print()
4763 SlotTracker SlotTable(this); in print()
4774 SlotTracker SlotTable(getParent()); in print()
4782 std::optional<SlotTracker> LocalST; in print()
4783 SlotTracker *SlotTable; in print()
4864 SlotTracker EmptySlotTable(static_cast<const Module *>(nullptr)); in print()
4865 SlotTracker &SlotTable = in print()
4881 SlotTracker EmptySlotTable(static_cast<const Module *>(nullptr)); in print()
4882 SlotTracker &SlotTable = in print()
4908 SlotTracker EmptySlotTable(static_cast<const Module *>(nullptr)); in print()
4909 SlotTracker &SlotTable = in print()
4955 SlotTracker *Machine, const Module *M) { in printWithoutType()
4986 SlotTracker Machine( in printAsOperand()
5027 MDTreeAsmWriterContext(TypePrinting *TP, SlotTracker *ST, const Module *M, in MDTreeAsmWriterContext()
5117 SlotTracker SlotTable(this); in print()
5125 SlotTracker *ST = MachineStorage.get(); in collectMDNodes()