Lines Matching refs:FuncInfo
621 SDValue getCopyFromRegs(SelectionDAG &DAG, FunctionLoweringInfo &FuncInfo,
647 FunctionLoweringInfo &FuncInfo,
685 FuncInfo.GetLiveOutRegInfo(Regs[Part+i]);
989 DenseMap<const Value *, unsigned>::iterator It = FuncInfo.ValueMap.find(V);
990 if (It != FuncInfo.ValueMap.end()) {
994 N = RFV.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(), Chain, NULL);
1007 /// don't look in FuncInfo.ValueMap for a virtual register.
1139 FuncInfo.StaticAllocaMap.find(AI);
1140 if (SI != FuncInfo.StaticAllocaMap.end())
1146 unsigned InReg = FuncInfo.InitializeRegForValue(Inst);
1149 return RFV.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(), Chain, NULL);
1160 if (!FuncInfo.CanLowerReturn) {
1161 unsigned DemoteReg = FuncInfo.DemoteRegister;
1262 DenseMap<const Value *, unsigned>::iterator VMI = FuncInfo.ValueMap.find(V);
1263 if (VMI != FuncInfo.ValueMap.end()) {
1277 if (FuncInfo.isExportedInst(V)) return;
1279 unsigned Reg = FuncInfo.InitializeRegForValue(V);
1293 return FuncInfo.isExportedInst(V);
1303 return FuncInfo.isExportedInst(V);
1313 BranchProbabilityInfo *BPI = FuncInfo.BPI;
1471 MachineBasicBlock *BrMBB = FuncInfo.MBB;
1474 MachineBasicBlock *Succ0MBB = FuncInfo.MBBMap[I.getSuccessor(0)];
1479 if (++BBI != FuncInfo.MF->end())
1498 MachineBasicBlock *Succ1MBB = FuncInfo.MBBMap[I.getSuccessor(1)];
1544 FuncInfo.MF->erase(SwitchCases[i].ThisBB);
1608 if (++BBI != FuncInfo.MF->end())
1666 unsigned JumpTableReg = FuncInfo.CreateReg(TLI.getPointerTy());
1684 if (++BBI != FuncInfo.MF->end())
1733 B.Reg = FuncInfo.CreateReg(VT);
1741 if (++BBI != FuncInfo.MF->end())
1811 if (++BBI != FuncInfo.MF->end())
1822 MachineBasicBlock *InvokeMBB = FuncInfo.MBB;
1825 MachineBasicBlock *Return = FuncInfo.MBBMap[I.getSuccessor(0)];
1826 MachineBasicBlock *LandingPad = FuncInfo.MBBMap[I.getSuccessor(1)];
1853 assert(FuncInfo.MBB->isLandingPad() &&
1856 MachineBasicBlock *MBB = FuncInfo.MBB;
1870 assert(FuncInfo.MBB->isLandingPad() &&
1913 MachineFunction *CurMF = FuncInfo.MF;
1919 if (++BBI != FuncInfo.MF->end())
2079 MachineFunction *CurMF = FuncInfo.MF;
2151 MachineFunction *CurMF = FuncInfo.MF;
2290 MachineFunction *CurMF = FuncInfo.MF;
2412 BranchProbabilityInfo *BPI = FuncInfo.BPI;
2417 MachineBasicBlock *SMBB = FuncInfo.MBBMap[SuccBB];
2443 if (BranchProbabilityInfo *BPI = FuncInfo.BPI) {
2480 MachineBasicBlock *SwitchMBB = FuncInfo.MBB;
2484 MachineBasicBlock *Default = FuncInfo.MBBMap[SI.getDefaultDest()];
2546 MachineBasicBlock *IndirectBrMBB = FuncInfo.MBB;
2556 MachineBasicBlock *Succ = FuncInfo.MBBMap[succs[i]];
3149 if (FuncInfo.StaticAllocaMap.count(&I))
3195 FuncInfo.MF->getFrameInfo()->CreateVariableSizedObject(Align ? Align : 1);
4419 Offset = FuncInfo.getArgumentFrameIndex(Arg);
4438 DenseMap<const Value *, unsigned>::iterator VMI = FuncInfo.ValueMap.find(V);
4439 if (VMI != FuncInfo.ValueMap.end())
4459 FuncInfo.ArgDbgValues.push_back(&*MIB);
4595 // virtual register info from the FuncInfo.ValueMap.
4612 // virtual register info from the FuncInfo.ValueMap.
4619 FuncInfo.StaticAllocaMap.find(AI);
4620 if (SI != FuncInfo.StaticAllocaMap.end()) {
4689 FuncInfo.StaticAllocaMap.find(AI);
4690 if (SI == FuncInfo.StaticAllocaMap.end())
4750 int FI = FuncInfo.StaticAllocaMap[FnCtx];
4995 int FI = FuncInfo.StaticAllocaMap[Slot];
5908 OpInfo.CallOperand = DAG.getBasicBlock(FuncInfo.MBBMap[BB]);
6271 SDValue Val = RetValRegs.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(),
6311 SDValue OutVal = OutRegs.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(),
6592 if (!FuncInfo->CanLowerReturn) {
6687 if (!FuncInfo->CanLowerReturn) {
6701 FuncInfo->DemoteRegister = SRetReg;
6750 FuncInfo->setArgumentFrameIndex(I, FI->getIndex());
6761 FuncInfo->setArgumentFrameIndex(I, FI->getIndex());
6773 FuncInfo->ValueMap[I] = Reg;
6778 FuncInfo->InitializeRegForValue(I);
6808 MachineBasicBlock *SuccMBB = FuncInfo.MBBMap[SuccBB];
6834 RegOut = FuncInfo.CreateRegs(C->getType());
6840 FuncInfo.ValueMap.find(PHIOp);
6841 if (I != FuncInfo.ValueMap.end())
6845 FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(PHIOp)) &&
6847 Reg = FuncInfo.CreateRegs(PHIOp->getType());
6860 FuncInfo.PHINodesToUpdate.push_back(std::make_pair(MBBI++, Reg+i));