Home | History | Annotate | Download | only in VMCore

Lines Matching defs:Slot

294 // SlotTracker Class: Enumerate slot numbers for unnamed values
299 /// This class provides computation of slot numbers for LLVM Assembly writing.
303 /// ValueMap - A mapping of Values to slot numbers.
307 /// TheModule - The module for which we are holding slot numbers.
310 /// TheFunction - The function for which we are holding slot numbers.
314 /// mMap - The slot map for the module level data.
318 /// fMap - The slot map for the function level data.
331 /// Return the slot number of the specified value in it's type
361 /// CreateModuleSlot - Insert the specified GlobalValue* into the slot table.
364 /// CreateMetadataSlot - Insert the specified MDNode* into the slot table.
367 /// CreateFunctionSlot - Insert the specified Value* into the slot table.
421 // to be added to the slot table.
428 // function provided to be added to the slot table.
525 /// the function incorporation state that affects get*Slot/Create*Slot. Function
535 /// getGlobalSlot - Get the slot number of a global value.
545 /// getMetadataSlot - Get the slot number of a MDNode.
556 /// getLocalSlot - Get the slot number for a value that is local to a function.
558 assert(!isa<Constant>(V) && "Can't get a constant or global slot with this!");
568 /// CreateModuleSlot - Insert the specified GlobalValue* into the slot table.
571 assert(!V->getType()->isVoidTy() && "Doesn't need a slot!");
572 assert(!V->hasName() && "Doesn't need a slot!");
577 ST_DEBUG(" Inserting value [" << V->getType() << "] = " << V << " slot=" <<
585 /// CreateSlot - Create a new slot for the specified value if it has no name.
587 assert(!V->getType()->isVoidTy() && !V->hasName() && "Doesn't need a slot!");
593 ST_DEBUG(" Inserting value [" << V->getType() << "] = " << V << " slot=" <<
597 /// CreateModuleSlot - Insert the specified MDNode* into the slot table.
1029 // Print metadata inline, not via slot reference number.
1040 int Slot = Machine->getMetadataSlot(N);
1041 if (Slot == -1)
1044 Out << '!' << Slot;
1062 int Slot;
1066 Slot = Machine->getGlobalSlot(GV);
1069 Slot = Machine->getLocalSlot(V);
1074 if (Slot == -1)
1076 Slot = Machine->getLocalSlot(V);
1083 Slot = Machine->getGlobalSlot(GV);
1086 Slot = Machine->getLocalSlot(V);
1091 Slot = -1;
1094 if (Slot != -1)
1095 Out << Prefix << Slot;
1164 // which slot it occupies.
1324 int Slot = Machine.getMetadataSlot(NMD->getOperand(i));
1325 if (Slot == -1)
1328 Out << '!' << Slot;
1613 int Slot = Machine.getLocalSlot(BB);
1614 if (Slot != -1)
1615 Out << Slot;
1655 /// which slot it occupies.
1676 // Print out the def slot taken.