Lines Matching refs:FuncInfo
81 I = FuncInfo.MBB->begin(), E = FuncInfo.MBB->end();
148 !FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(V))))
149 return FuncInfo.InitializeRegForValue(V);
214 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
237 DenseMap<const Value *, unsigned>::iterator I = FuncInfo.ValueMap.find(V);
238 if (I != FuncInfo.ValueMap.end())
255 unsigned &AssignedReg = FuncInfo.ValueMap[I];
262 FuncInfo.RegFixups[AssignedReg+i] = Reg+i;
294 FuncInfo.InsertPt = getLastLocalValue();
295 FuncInfo.MBB = FuncInfo.InsertPt->getParent();
296 ++FuncInfo.InsertPt;
298 FuncInfo.InsertPt = FuncInfo.MBB->getFirstNonPHI();
301 while (FuncInfo.InsertPt != FuncInfo.MBB->end() &&
302 FuncInfo.InsertPt->getOpcode() == TargetOpcode::EH_LABEL)
303 ++FuncInfo.InsertPt;
319 MachineBasicBlock::iterator OldInsertPt = FuncInfo.InsertPt;
328 if (FuncInfo.InsertPt != FuncInfo.MBB->begin())
329 LastLocalValue = llvm::prior(FuncInfo.InsertPt);
332 FuncInfo.InsertPt = OldInsertPt.InsertPt;
557 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
564 MachineModuleInfo &MMI = FuncInfo.MF->getMMI();
580 !FuncInfo.MF->getMMI().hasDebugInfo()) {
595 Offset = FuncInfo.getArgumentFrameIndex(Arg);
597 Reg = TRI.getFrameRegister(*FuncInfo.MF);
615 !FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(Address))))
616 Reg = FuncInfo.InitializeRegForValue(Address);
619 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
637 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
642 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
646 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
650 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
654 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
760 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
787 MachineBasicBlock::iterator SavedInsertPt = FuncInfo.InsertPt;
799 if (SavedInsertPt != FuncInfo.InsertPt)
800 removeDeadCode(FuncInfo.InsertPt, SavedInsertPt);
804 SavedInsertPt = FuncInfo.InsertPt;
812 if (SavedInsertPt != FuncInfo.InsertPt)
813 removeDeadCode(FuncInfo.InsertPt, SavedInsertPt);
825 if (FuncInfo.MBB->getBasicBlock()->size() > 1 && FuncInfo.MBB->isLayoutSuccessor(MSucc)) {
831 TII.InsertBranch(*FuncInfo.MBB, MSucc, NULL,
834 FuncInfo.MBB->addSuccessor(MSucc);
903 DenseMap<const Value *, unsigned>::iterator I = FuncInfo.ValueMap.find(Op0);
904 if (I != FuncInfo.ValueMap.end())
907 ResultReg = FuncInfo.InitializeRegForValue(Op0);
918 ResultReg += TLI.getNumRegisters(FuncInfo.Fn->getContext(), AggValueVTs[i]);
975 MachineBasicBlock *MSucc = FuncInfo.MBBMap[LLVMSucc];
991 if (FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(I)))
1040 FastISel::FastISel(FunctionLoweringInfo &funcInfo)
1041 : FuncInfo(funcInfo),
1042 MRI(FuncInfo.MF->getRegInfo()),
1043 MFI(*FuncInfo.MF->getFrameInfo()),
1044 MCP(*FuncInfo.MF->getConstantPool()),
1045 TM(FuncInfo.MF->getTarget()),
1134 IntegerType *ITy = IntegerType::get(FuncInfo.Fn->getContext(),
1152 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg);
1163 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg)
1166 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
1168 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1183 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg)
1187 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
1190 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1205 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg)
1210 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
1214 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1228 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg)
1232 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
1235 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1249 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg)
1254 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
1258 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1272 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg)
1276 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
1279 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1294 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg)
1299 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
1303 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1316 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg).addImm(Imm);
1318 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II).addImm(Imm);
1319 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1332 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg)
1335 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II).addImm(Imm1).addImm(Imm2);
1336 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(TargetOpcode::COPY),
1348 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt,
1370 unsigned OrigNumPHINodesToUpdate = FuncInfo.PHINodesToUpdate.size();
1377 MachineBasicBlock *SuccMBB = FuncInfo.MBBMap[SuccBB];
1406 FuncInfo.PHINodesToUpdate.resize(OrigNumPHINodesToUpdate);
1421 FuncInfo.PHINodesToUpdate.resize(OrigNumPHINodesToUpdate);
1424 FuncInfo.PHINodesToUpdate.push_back(std::make_pair(MBBI++, Reg));