Lines Matching refs:Machine
698 ModuleSlotTracker::ModuleSlotTracker(SlotTracker &Machine, const Module *M, in ModuleSlotTracker() argument
700 : M(M), F(F), Machine(&Machine) {} in ModuleSlotTracker()
711 return Machine; in getMachine()
716 Machine = MachineStorage.get(); in getMachine()
717 return Machine; in getMachine()
729 Machine->purgeFunction(); in incorporateFunction()
730 Machine->incorporateFunction(&F); in incorporateFunction()
736 return Machine->getLocalSlot(V); in getLocalSlot()
1036 SlotTracker *Machine,
1041 SlotTracker *Machine, const Module *Context,
1130 SlotTracker *Machine, in WriteConstantInternal() argument
1228 WriteAsOperandInternal(Out, BA->getFunction(), &TypePrinter, Machine, in WriteConstantInternal()
1231 WriteAsOperandInternal(Out, BA->getBasicBlock(), &TypePrinter, Machine, in WriteConstantInternal()
1243 &TypePrinter, Machine, in WriteConstantInternal()
1249 WriteAsOperandInternal(Out, CA->getOperand(i), &TypePrinter, Machine, in WriteConstantInternal()
1271 &TypePrinter, Machine, in WriteConstantInternal()
1278 Machine, Context); in WriteConstantInternal()
1295 WriteAsOperandInternal(Out, CS->getOperand(0), &TypePrinter, Machine, in WriteConstantInternal()
1303 WriteAsOperandInternal(Out, CS->getOperand(i), &TypePrinter, Machine, in WriteConstantInternal()
1321 Machine, Context); in WriteConstantInternal()
1327 Machine, Context); in WriteConstantInternal()
1363 WriteAsOperandInternal(Out, *OI, &TypePrinter, Machine, Context); in WriteConstantInternal()
1387 TypePrinting *TypePrinter, SlotTracker *Machine, in writeMDTuple() argument
1398 WriteAsOperandInternal(Out, V, TypePrinter, Machine, Context); in writeMDTuple()
1400 WriteAsOperandInternal(Out, MD, TypePrinter, Machine, Context); in writeMDTuple()
1426 SlotTracker *Machine; member
1430 : Out(Out), TypePrinter(nullptr), Machine(nullptr), Context(nullptr) {} in MDFieldPrinter()
1432 SlotTracker *Machine, const Module *Context) in MDFieldPrinter()
1433 : Out(Out), TypePrinter(TypePrinter), Machine(Machine), Context(Context) { in MDFieldPrinter()
1480 SlotTracker *Machine, in writeMetadataAsOperand() argument
1486 WriteAsOperandInternal(Out, MD, TypePrinter, Machine, Context); in writeMetadataAsOperand()
1495 writeMetadataAsOperand(Out, MD, TypePrinter, Machine, Context); in printMetadata()
1549 TypePrinting *TypePrinter, SlotTracker *Machine, in writeGenericDINode() argument
1552 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeGenericDINode()
1560 writeMetadataAsOperand(Out, I, TypePrinter, Machine, Context); in writeGenericDINode()
1568 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDILocation() argument
1571 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDILocation()
1613 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDIDerivedType() argument
1616 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDIDerivedType()
1634 SlotTracker *Machine, const Module *Context) { in writeDICompositeType() argument
1636 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDICompositeType()
1658 SlotTracker *Machine, const Module *Context) { in writeDISubroutineType() argument
1660 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDISubroutineType()
1680 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDICompileUnit() argument
1683 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDICompileUnit()
1704 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDISubprogram() argument
1707 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDISubprogram()
1734 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDILexicalBlock() argument
1737 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDILexicalBlock()
1748 SlotTracker *Machine, in writeDILexicalBlockFile() argument
1751 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDILexicalBlockFile()
1760 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDINamespace() argument
1763 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDINamespace()
1772 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDIMacro() argument
1775 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDIMacro()
1784 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDIMacroFile() argument
1787 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDIMacroFile()
1795 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDIModule() argument
1798 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDIModule()
1811 SlotTracker *Machine, in writeDITemplateTypeParameter() argument
1814 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDITemplateTypeParameter()
1823 SlotTracker *Machine, in writeDITemplateValueParameter() argument
1826 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDITemplateValueParameter()
1837 SlotTracker *Machine, const Module *Context) { in writeDIGlobalVariable() argument
1839 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDIGlobalVariable()
1855 SlotTracker *Machine, const Module *Context) { in writeDILocalVariable() argument
1857 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDILocalVariable()
1869 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDIExpression() argument
1890 TypePrinting *TypePrinter, SlotTracker *Machine, in writeDIObjCProperty() argument
1893 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDIObjCProperty()
1906 SlotTracker *Machine, const Module *Context) { in writeDIImportedEntity() argument
1908 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDIImportedEntity()
1920 SlotTracker *Machine, in WriteMDNodeBodyInternal() argument
1932 write##CLASS(Out, cast<CLASS>(Node), TypePrinter, Machine, Context); \ in WriteMDNodeBodyInternal()
1942 SlotTracker *Machine, in WriteAsOperandInternal() argument
1952 WriteConstantInternal(Out, CV, *TypePrinter, Machine, Context); in WriteAsOperandInternal()
1974 WriteAsOperandInternal(Out, MD->getMetadata(), TypePrinter, Machine, in WriteAsOperandInternal()
1982 if (Machine) { in WriteAsOperandInternal()
1984 Slot = Machine->getGlobalSlot(GV); in WriteAsOperandInternal()
1987 Slot = Machine->getLocalSlot(V); in WriteAsOperandInternal()
1993 if ((Machine = createSlotTracker(V))) { in WriteAsOperandInternal()
1994 Slot = Machine->getLocalSlot(V); in WriteAsOperandInternal()
1995 delete Machine; in WriteAsOperandInternal()
1998 } else if ((Machine = createSlotTracker(V))) { in WriteAsOperandInternal()
2001 Slot = Machine->getGlobalSlot(GV); in WriteAsOperandInternal()
2004 Slot = Machine->getLocalSlot(V); in WriteAsOperandInternal()
2006 delete Machine; in WriteAsOperandInternal()
2007 Machine = nullptr; in WriteAsOperandInternal()
2020 SlotTracker *Machine, const Module *Context, in WriteAsOperandInternal() argument
2024 if (!Machine) { in WriteAsOperandInternal()
2026 Machine = MachineStorage.get(); in WriteAsOperandInternal()
2028 int Slot = Machine->getMetadataSlot(N); in WriteAsOperandInternal()
2052 WriteAsOperandInternal(Out, V->getValue(), TypePrinter, Machine, Context); in WriteAsOperandInternal()
2060 SlotTracker &Machine; member in __anon7e0791c30611::AssemblyWriter
2124 : Out(o), TheModule(M), Machine(Mac), AnnotationWriter(AAW), in AssemblyWriter()
2144 WriteAsOperandInternal(Out, Operand, &TypePrinter, &Machine, TheModule); in writeOperand()
2189 WriteAsOperandInternal(Out, Operand, &TypePrinter, &Machine, TheModule); in writeParamOperand()
2220 WriteAsOperandInternal(Out, Input, &TypePrinter, &Machine, TheModule); in writeOperandBundles()
2230 Machine.initialize(); in printModule()
2306 if (!Machine.as_empty()) { in printModule()
2318 if (!Machine.mdn_empty()) { in printModule()
2352 int Slot = Machine.getMetadataSlot(NMD->getOperand(i)); in printNamedMDNode()
2461 WriteAsOperandInternal(Out, GV, &TypePrinter, &Machine, GV->getParent()); in printGlobal()
2506 WriteAsOperandInternal(Out, GIS, &TypePrinter, &Machine, GIS->getParent()); in printIndirectSymbol()
2617 Machine.incorporateFunction(F); in printFunction()
2643 WriteAsOperandInternal(Out, F, &TypePrinter, &Machine, F->getParent()); in printFunction()
2680 Out << " #" << Machine.getAttributeGroupSlot(Attrs.getFnAttributes()); in printFunction()
2722 Machine.purgeFunction(); in printFunction()
2753 int Slot = Machine.getLocalSlot(BB); in printBasicBlock()
2833 int SlotNum = Machine.getLocalSlot(&I); in printInstruction()
3042 Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttributes()); in printInstruction()
3078 Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttributes()); in printInstruction()
3213 WriteAsOperandInternal(Out, I.second, &TypePrinter, &Machine, TheModule); in printMetadataAttachments()
3225 Nodes.resize(Machine.mdn_size()); in writeAllMDNodes()
3226 for (SlotTracker::mdn_iterator I = Machine.mdn_begin(), E = Machine.mdn_end(); in writeAllMDNodes()
3236 WriteMDNodeBodyInternal(Out, Node, &TypePrinter, &Machine, TheModule); in printMDNodeBody()
3241 asVec.resize(Machine.as_size()); in writeAllAttributeGroups()
3243 for (SlotTracker::as_iterator I = Machine.as_begin(), E = Machine.as_end(); in writeAllAttributeGroups()
3253 bool IsInFunction = Machine.getFunction(); in printUseListOrder()
3445 SlotTracker *Machine, const Module *M) { in printWithoutType() argument
3448 WriteAsOperandInternal(O, &V, nullptr, Machine, M); in printWithoutType()
3477 SlotTracker Machine( in printAsOperand() local
3479 ModuleSlotTracker MST(Machine, M); in printAsOperand()