Lines Matching defs:SlotTracker

297 // SlotTracker Class: Enumerate slot numbers for unnamed values
301 class SlotTracker {
331 explicit SlotTracker(const Module *M);
333 explicit SlotTracker(const Function *F);
336 /// plane. If something is not in the SlotTracker, return -1.
343 /// this method to get its data into the SlotTracker.
350 /// most recently incorporated function from the SlotTracker. This
392 SlotTracker(const SlotTracker &) LLVM_DELETED_FUNCTION;
393 void operator=(const SlotTracker &) LLVM_DELETED_FUNCTION;
396 SlotTracker *createSlotTracker(const Module *M) {
397 return new SlotTracker(M);
400 static SlotTracker *createSlotTracker(const Value *V) {
402 return new SlotTracker(FA->getParent());
406 return new SlotTracker(I->getParent()->getParent());
409 return new SlotTracker(BB->getParent());
412 return new SlotTracker(GV->getParent());
415 return new SlotTracker(GA->getParent());
418 return new SlotTracker(Func);
422 return new SlotTracker(MD->getFunction());
424 return new SlotTracker((Function *)0);
438 SlotTracker::SlotTracker(const Module *M)
445 SlotTracker::SlotTracker(const Function *F)
450 inline void SlotTracker::initialize() {
462 void SlotTracker::processModule() {
498 void SlotTracker::processFunction() {
560 void SlotTracker::purgeFunction() {
569 int SlotTracker::getGlobalSlot(const GlobalValue *V) {
579 int SlotTracker::getMetadataSlot(const MDNode *N) {
590 int SlotTracker::getLocalSlot(const Value *V) {
600 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) {
610 void SlotTracker::CreateModuleSlot(const GlobalValue *V) {
611 assert(V && "Can't insert a null Value into SlotTracker!");
627 void SlotTracker::CreateFunctionSlot(const Value *V) {
639 void SlotTracker::CreateMetadataSlot(const MDNode *N) {
640 assert(N && "Can't insert a null Value into SlotTracker!");
659 void SlotTracker::CreateAttributeSetSlot(AttributeSet AS) {
677 SlotTracker *Machine,
768 SlotTracker *Machine,
1048 SlotTracker *Machine,
1075 SlotTracker *Machine,
1115 Machine = new SlotTracker(N->getFunction());
1117 Machine = new SlotTracker(Context);
1142 // If we have a SlotTracker, use it.
1210 AssemblyWriter::AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac,
2097 for (SlotTracker::mdn_iterator I = Machine.mdn_begin(), E = Machine.mdn_end();
2116 for (SlotTracker::as_iterator I = Machine.as_begin(), E = Machine.as_end();
2133 SlotTracker SlotTable(this);
2140 SlotTracker SlotTable(getParent());
2170 SlotTracker SlotTable(F);
2174 SlotTracker SlotTable(BB->getParent());
2178 SlotTracker SlotTable(GV->getParent());
2188 SlotTracker SlotTable(F);