Lines Matching refs:FuncInfo
60 explicit X86FastISel(FunctionLoweringInfo &funcInfo) : FastISel(funcInfo) {
225 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt,
244 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
275 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt,
304 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt,
344 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(V)) ||
345 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
382 FuncInfo.StaticAllocaMap.find(A);
383 if (SI != FuncInfo.StaticAllocaMap.end()) {
434 FuncInfo.MBBMap[cast<Instruction>(Op)->getParent()]
435 == FuncInfo.MBB) &&
514 AM.Base.Reg = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
561 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(Opc), LoadReg);
712 if (!FuncInfo.CanLowerReturn)
725 if (FuncInfo.MF->getInfo<X86MachineFunctionInfo>()
745 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, TM, ValLocs,
803 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
811 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::RET));
889 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(CompareImmOpc))
901 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(CompareOpc))
925 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::SETEr), EReg);
926 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
928 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
939 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::SETNEr), NEReg);
940 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::SETPr), PReg);
941 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::OR8rr),ResultReg)
981 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(SetCCOpc), ResultReg);
1020 MachineBasicBlock *TrueMBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
1021 MachineBasicBlock *FalseMBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
1032 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) {
1081 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(BranchOpc))
1087 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::JP_4))
1092 FuncInfo.MBB->addSuccessor(TrueMBB);
1112 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TestOpc))
1116 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) {
1121 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(JmpOpc))
1124 FuncInfo.MBB->addSuccessor(TrueMBB);
1136 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::TEST8ri))
1138 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::JNE_4))
1141 FuncInfo.MBB->addSuccessor(TrueMBB);
1197 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1203 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
1208 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(OpReg), ResultReg)
1244 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::TEST8rr))
1247 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(Opc), ResultReg)
1262 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
1281 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
1320 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1447 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II), AM).
1452 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::TRAP));
1488 unsigned ResultReg = FuncInfo.CreateRegs(I.getType());
1489 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(OpC), ResultReg)
1495 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(Opc), ResultReg+1);
1555 *FuncInfo.MF, FTy->isVarArg(),
1669 CCState CCInfo(CC, isVarArg, *FuncInfo.MF, TM, ArgLocs,
1683 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(AdjStackDown))
1743 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1775 unsigned Base = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
1776 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1787 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::MOV8ri),
1800 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(CallOpc))
1834 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(CallOpc));
1862 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(AdjStackUp))
1891 CCState CCRetInfo(CC, false, *FuncInfo.MF, TM, RVLocs,
1893 unsigned ResultReg = FuncInfo.CreateRegs(I->getType());
1908 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(X86::FpPOP_RETVAL),
1911 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1924 addFrameReference(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
1928 addFrameReference(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
2054 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
2073 PICBase = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
2076 PICBase = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF);
2085 addConstantPoolReference(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
2100 if (!FuncInfo.StaticAllocaMap.count(C))
2109 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
2148 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(Opc), ResultReg);
2172 XII.foldMemoryOperandImpl(*FuncInfo.MF, MI, OpNo, AddrOps, Size, Alignment);
2175 FuncInfo.MBB->insert(FuncInfo.InsertPt, Result);
2182 FastISel *X86::createFastISel(FunctionLoweringInfo &funcInfo) {
2183 return new X86FastISel(funcInfo);