Lines Matching full:funcinfo
61 explicit X86FastISel(FunctionLoweringInfo &funcInfo,
63 : FastISel(funcInfo, libInfo) {
64 Subtarget = &funcInfo.MF->getSubtarget<X86Subtarget>();
422 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg);
425 MIB->addMemOperand(*FuncInfo.MF, MMO);
449 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
515 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc));
518 MIB->addMemOperand(*FuncInfo.MF, MMO);
549 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc));
553 MIB->addMemOperand(*FuncInfo.MF, MMO);
606 AM.Base.Reg = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
653 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), LoadReg);
698 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(V)) ||
699 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
737 FuncInfo.StaticAllocaMap.find(A);
738 if (SI != FuncInfo.StaticAllocaMap.end()) {
882 InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock();
1000 FuncInfo.MF->getInfo<X86MachineFunctionInfo>();
1002 if (!FuncInfo.CanLowerReturn)
1037 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, I->getContext());
1094 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1111 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1118 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1219 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, CurDbgLoc, TII.get(CompareImmOpc))
1231 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, CurDbgLoc, TII.get(CompareOpc))
1252 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV32r0),
1262 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV8ri),
1304 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[0]),
1306 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[1]),
1308 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[2]),
1327 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg);
1364 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(MovInst), Result32)
1368 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::SUBREG_TO_REG),
1386 MachineBasicBlock *TrueMBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
1387 MachineBasicBlock *FalseMBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
1419 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) {
1453 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(BranchOpc))
1459 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::JP_1))
1483 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TestOpc))
1487 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) {
1492 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(JmpOpc))
1508 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(BranchOpc))
1520 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::TEST8ri))
1522 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::JNE_1))
1580 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::COPY),
1586 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1591 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(OpReg), ResultReg)
1692 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1697 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1701 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1708 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1712 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1716 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1723 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1739 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1743 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::SHR16ri),
1753 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Copy), ResultReg)
1819 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[0]),
1821 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(SETFOpc[1]),
1826 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, TmpReg)
1829 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II)
1855 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::TEST8ri))
1971 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2027 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::TEST8ri))
2073 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2127 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2149 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpc),
2208 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2300 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2322 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2331 MachineFunction *MF = FuncInfo.MF;
2365 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2377 addDirectMem(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2436 MFI.setStackProtectorIndex(FuncInfo.StaticAllocaMap[Slot]);
2455 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II), AM)
2462 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::TRAP));
2500 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2506 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc),
2586 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2613 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2624 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2638 unsigned ResultReg2 = FuncInfo.CreateRegs(CondTy);
2640 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CondOpc),
2706 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
2716 if (!FuncInfo.CanLowerReturn)
2719 const Function *F = FuncInfo.Fn;
2797 unsigned DstReg = FuncInfo.MF->addLiveIn(SrcReg, RC);
2802 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
2931 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, ArgLocs, CLI.RetTy->getContext());
2944 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AdjStackDown))
3019 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3035 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
3036 MachinePointerInfo::getStack(*FuncInfo.MF, LocMemOffset),
3060 unsigned Base = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
3061 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3082 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV8ri),
3106 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CallOpc))
3134 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CallOpc));
3143 MIB.addRegMask(TRI.getCallPreservedMask(*FuncInfo.MF, CC));
3160 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AdjStackUp))
3165 CCState CCRetInfo(CC, IsVarArg, *FuncInfo.MF, RVLocs,
3170 unsigned ResultReg = FuncInfo.CreateRegs(CLI.RetTy);
3191 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3203 addFrameReference(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3207 addFrameReference(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3317 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3345 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3402 PICBase = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
3405 PICBase = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
3417 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV64ri),
3420 MachineInstrBuilder MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3423 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand(
3424 MachinePointerInfo::getConstantPool(*FuncInfo.MF),
3426 MIB->addMemOperand(*FuncInfo.MF, MMO);
3430 addConstantPoolReference(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3455 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(X86::MOV64ri),
3463 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3497 if (!FuncInfo.StaticAllocaMap.count(C))
3510 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
3549 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg);
3573 *FuncInfo.MF, MI, OpNo, AddrOps, FuncInfo.InsertPt, Size, Alignment,
3597 Result->addMemOperand(*FuncInfo.MF, createMachineMemOperandFor(LI));
3604 FastISel *X86::createFastISel(FunctionLoweringInfo &funcInfo,
3606 return new X86FastISel(funcInfo, libInfo);