Home | History | Annotate | Download | only in X86

Lines Matching full:funcinfo

61   explicit X86FastISel(FunctionLoweringInfo &funcInfo,
63 : FastISel(funcInfo, libInfo) {
64 Subtarget = &funcInfo.MF->getSubtarget<X86Subtarget>();
490 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg);
493 MIB->addMemOperand(*FuncInfo.MF, MMO);
517 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
641 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, Desc);
644 MIB->addMemOperand(*FuncInfo.MF, MMO);
675 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc));
679 MIB->addMemOperand(*FuncInfo.MF, MMO);
732 AM.Base.Reg = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
779 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), LoadReg);
824 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(V)) ||
825 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
863 FuncInfo.StaticAllocaMap.find(A);
864 if (SI != FuncInfo.StaticAllocaMap.end()) {
1007 InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock();
1138 FuncInfo.MF->getInfo<X86MachineFunctionInfo>();
1140 if (!FuncInfo.CanLowerReturn)
1147 if (TLI.supportSplitCSR(FuncInfo.MF))
1184 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, I->getContext());
1241 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1260 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1268 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1272 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1389 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, CurDbgLoc, TII.get(CompareImmOpc))
1401 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, CurDbgLoc, TII.get(CompareOpc))
1425 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV32r0),
1435 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV8ri),
1477 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[0]),
1479 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[1]),
1481 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[2]),
1500 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg);
1537 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(MovInst), Result32)
1541 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::SUBREG_TO_REG),
1559 MachineBasicBlock *TrueMBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
1560 MachineBasicBlock *FalseMBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
1592 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) {
1626 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(BranchOpc))
1632 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::JP_1))
1656 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TestOpc))
1660 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) {
1665 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(JmpOpc))
1681 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(BranchOpc))
1693 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::TEST8ri))
1695 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::JNE_1))
1753 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::COPY),
1759 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1764 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(OpReg), ResultReg)
1865 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1870 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1874 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1881 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1885 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1889 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1896 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1912 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1916 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::SHR16ri),
1926 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Copy), ResultReg)
1992 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[0]),
1994 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[1]),
1999 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, TmpReg)
2002 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II)
2028 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::TEST8ri))
2144 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2200 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::TEST8ri))
2246 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2300 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2322 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpc),
2381 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2475 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2497 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2506 MachineFunction *MF = FuncInfo.MF;
2540 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2552 addDirectMem(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2611 MFI.setStackProtectorIndex(FuncInfo.StaticAllocaMap[Slot]);
2630 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II), AM)
2637 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::TRAP));
2675 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2681 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc),
2761 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2788 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2799 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2813 unsigned ResultReg2 = FuncInfo.CreateRegs(CondTy);
2815 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CondOpc),
2881 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
2891 if (!FuncInfo.CanLowerReturn)
2894 const Function *F = FuncInfo.Fn;
2974 unsigned DstReg = FuncInfo.MF->addLiveIn(SrcReg, RC);
2979 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3110 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, ArgLocs, CLI.RetTy->getContext());
3123 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AdjStackDown))
3213 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3229 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
3230 MachinePointerInfo::getStack(*FuncInfo.MF, LocMemOffset),
3254 unsigned Base = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
3255 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3276 FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV8ri),
3300 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CallOpc))
3313 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CallOpc));
3322 MIB.addRegMask(TRI.getCallPreservedMask(*FuncInfo.MF, CC));
3342 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AdjStackUp))
3347 CCState CCRetInfo(CC, IsVarArg, *FuncInfo.MF, RVLocs,
3352 unsigned ResultReg = FuncInfo.CreateRegs(CLI.RetTy);
3373 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3385 addFrameReference(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3389 addFrameReference(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3499 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3527 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3583 PICBase = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
3585 PICBase = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
3595 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV64ri),
3598 MachineInstrBuilder MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3601 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
3602 MachinePointerInfo::getConstantPool(*FuncInfo.MF),
3604 MIB->addMemOperand(*FuncInfo.MF, MMO);
3608 addConstantPoolReference(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3633 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV64ri),
3641 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3675 if (!FuncInfo.StaticAllocaMap.count(C))
3688 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3727 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg);
3751 *FuncInfo.MF, *MI, OpNo, AddrOps, FuncInfo.InsertPt, Size, Alignment,
3775 Result->addMemOperand(*FuncInfo.MF, createMachineMemOperandFor(LI));
3782 FastISel *X86::createFastISel(FunctionLoweringInfo &funcInfo,
3784 return new X86FastISel(funcInfo, libInfo);