Home | History | Annotate | Download | only in PowerPC

Lines Matching full:funcinfo

96     explicit PPCFastISel(FunctionLoweringInfo &FuncInfo,
98 : FastISel(FuncInfo, LibInfo), TM(FuncInfo.MF->getTarget()),
99 PPCSubTarget(&FuncInfo.MF->getSubtarget<PPCSubtarget>()),
100 PPCFuncInfo(FuncInfo.MF->getInfo<PPCFunctionInfo>()),
103 Context(&FuncInfo.Fn->getContext()) {}
296 if (FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB)
310 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) ||
311 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
387 FuncInfo.StaticAllocaMap.find(AI);
388 if (SI != FuncInfo.StaticAllocaMap.end()) {
430 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDI8),
531 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
532 MachinePointerInfo::getFixedStack(*FuncInfo.MF, Addr.Base.FI,
537 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
545 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
569 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
595 unsigned AssignedReg = FuncInfo.ValueMap[I];
664 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
665 MachinePointerInfo::getFixedStack(*FuncInfo.MF, Addr.Base.FI,
670 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc))
681 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc))
702 auto MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc))
751 MachineBasicBlock *BrBB = FuncInfo.MBB;
752 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
753 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
765 if (FuncInfo.MBB->isLayoutSuccessor(TBB)) {
776 BuildMI(*BrBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::BCC))
885 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CmpOpc), DestReg)
888 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CmpOpc), DestReg)
927 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::FRSP), DestReg)
1048 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1081 unsigned AssignedReg = FuncInfo.ValueMap[I];
1126 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1146 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1171 unsigned AssignedReg = FuncInfo.ValueMap[I];
1239 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc),
1257 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
1274 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, ArgLocs, *Context);
1310 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1371 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1385 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1394 CCState CCInfo(CC, false, *FuncInfo.MF, RVLocs, *Context);
1415 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1422 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::FRSP),
1433 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1483 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, RVLocs, *Context);
1552 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::NOP));
1558 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1575 MIB.addRegMask(TRI.getCallPreservedMask(*FuncInfo.MF, CC));
1586 if (!FuncInfo.CanLowerReturn)
1602 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, *Context);
1623 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1680 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1687 MachineInstrBuilder MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1717 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1729 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::RLWINM),
1742 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1756 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::MTCTR8))
1758 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::BCTR8));
1762 FuncInfo.MBB->addSuccessor(FuncInfo.MBBMap[SuccBB]);
1786 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1821 unsigned AssignedReg = FuncInfo.ValueMap[I];
1898 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
1899 MachinePointerInfo::getConstantPool(*FuncInfo.MF),
1908 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::LDtocCPT),
1911 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1915 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDIStocHA),
1921 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::LDtocL),
1923 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1926 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1958 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::LDtoc),
1972 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDIStocHA),
1977 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::LDtocL),
1981 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDItocL),
2000 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2006 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2009 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2014 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2054 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::RLDICR),
2062 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ORIS8),
2069 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ORI8),
2086 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2102 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ImmReg)
2108 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ImmReg)
2147 if (!FuncInfo.StaticAllocaMap.count(AI)) return 0;
2153 FuncInfo.StaticAllocaMap.find(AI);
2155 if (SI != FuncInfo.StaticAllocaMap.end()) {
2157 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDI8),
2264 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2339 FastISel *PPC::createFastISel(FunctionLoweringInfo &FuncInfo,
2342 const PPCSubtarget &Subtarget = FuncInfo.MF->getSubtarget<PPCSubtarget>();
2344 return new PPCFastISel(FuncInfo, LibInfo);