Lines Matching full:funcinfo
97 explicit PPCFastISel(FunctionLoweringInfo &FuncInfo,
99 : FastISel(FuncInfo, LibInfo), TM(FuncInfo.MF->getTarget()),
100 PPCSubTarget(&FuncInfo.MF->getSubtarget<PPCSubtarget>()),
101 PPCFuncInfo(FuncInfo.MF->getInfo<PPCFunctionInfo>()),
104 Context(&FuncInfo.Fn->getContext()) {}
313 return FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB;
324 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) ||
325 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
401 FuncInfo.StaticAllocaMap.find(AI);
402 if (SI != FuncInfo.StaticAllocaMap.end()) {
444 FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDI8),
544 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
545 MachinePointerInfo::getFixedStack(*FuncInfo.MF, Addr.Base.FI,
550 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
558 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
582 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
608 unsigned AssignedReg = FuncInfo.ValueMap[I];
677 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
678 MachinePointerInfo::getFixedStack(*FuncInfo.MF, Addr.Base.FI,
683 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc))
694 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc))
715 auto MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc))
764 MachineBasicBlock *BrBB = FuncInfo.MBB;
765 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
766 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
778 if (FuncInfo.MBB->isLayoutSuccessor(TBB)) {
789 BuildMI(*BrBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::BCC))
898 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CmpOpc), DestReg)
901 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CmpOpc), DestReg)
940 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::FRSP), DestReg)
1061 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1094 unsigned AssignedReg = FuncInfo.ValueMap[I];
1138 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1158 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1183 unsigned AssignedReg = FuncInfo.ValueMap[I];
1251 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc),
1269 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
1286 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, ArgLocs, *Context);
1322 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1383 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1397 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1406 CCState CCInfo(CC, false, *FuncInfo.MF, RVLocs, *Context);
1427 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1434 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::FRSP),
1445 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1495 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, RVLocs, *Context);
1564 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::NOP));
1570 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1587 MIB.addRegMask(TRI.getCallPreservedMask(*FuncInfo.MF, CC));
1598 if (!FuncInfo.CanLowerReturn)
1601 if (TLI.supportSplitCSR(FuncInfo.MF))
1617 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, *Context);
1638 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1695 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1702 MachineInstrBuilder MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1732 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1744 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::RLWINM),
1757 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1771 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::MTCTR8))
1773 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::BCTR8));
1777 FuncInfo.MBB->addSuccessor(FuncInfo.MBBMap[SuccBB]);
1801 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1836 unsigned AssignedReg = FuncInfo.ValueMap[I];
1913 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
1914 MachinePointerInfo::getConstantPool(*FuncInfo.MF),
1923 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::LDtocCPT),
1926 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1930 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDIStocHA),
1936 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::LDtocL),
1938 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1941 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), DestReg)
1973 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::LDtoc),
1987 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDIStocHA),
1992 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::LDtocL),
1996 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDItocL),
2015 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2021 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2024 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2029 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2069 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::RLDICR),
2077 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ORIS8),
2084 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ORI8),
2100 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2120 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ImmReg)
2157 if (!FuncInfo.StaticAllocaMap.count(AI)) return 0;
2163 FuncInfo.StaticAllocaMap.find(AI);
2165 if (SI != FuncInfo.StaticAllocaMap.end()) {
2167 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDI8),
2274 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2349 FastISel *PPC::createFastISel(FunctionLoweringInfo &FuncInfo,
2352 const PPCSubtarget &Subtarget = FuncInfo.MF->getSubtarget<PPCSubtarget>();
2354 return new PPCFastISel(FuncInfo, LibInfo);