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