Lines Matching refs:FuncInfo

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