Lines Matching refs:FuncInfo

247   explicit AArch64FastISel(FunctionLoweringInfo &FuncInfo,  in AArch64FastISel()  argument
249 : FastISel(FuncInfo, LibInfo, /*SkipTargetIndependentISel=*/true) { in AArch64FastISel()
251 &static_cast<const AArch64Subtarget &>(FuncInfo.MF->getSubtarget()); in AArch64FastISel()
252 Context = &FuncInfo.Fn->getContext(); in AArch64FastISel()
316 if (!FuncInfo.StaticAllocaMap.count(AI)) in fastMaterializeAlloca()
320 FuncInfo.StaticAllocaMap.find(AI); in fastMaterializeAlloca()
322 if (SI != FuncInfo.StaticAllocaMap.end()) { in fastMaterializeAlloca()
324 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADDXri), in fastMaterializeAlloca()
347 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::COPY), in materializeInt()
380 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc1), TmpReg) in materializeFP()
384 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in materializeFP()
399 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADRP), in materializeFP()
404 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in materializeFP()
431 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADRP), in materializeGV()
436 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::LDRXui), in materializeGV()
443 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADRP), in materializeGV()
448 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADDXri), in materializeGV()
512 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) || in computeAddress()
513 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in computeAddress()
598 FuncInfo.StaticAllocaMap.find(AI); in computeAddress()
599 if (SI != FuncInfo.StaticAllocaMap.end()) { in computeAddress()
665 if (FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in computeAddress()
749 if (FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in computeAddress()
862 InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock(); in computeCallAddress()
945 return FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB; in isValueAvailable()
978 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADDXri), in simplifyAddress()
1052 MMO = FuncInfo.MF->getMachineMemOperand( in addLoadStoreOperands()
1053 MachinePointerInfo::getFixedStack(*FuncInfo.MF, FI, Offset), Flags, in addLoadStoreOperands()
1263 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in emitAddSub_rr()
1307 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in emitAddSub_ri()
1348 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in emitAddSub_rs()
1391 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in emitAddSub_rx()
1450 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in emitFCmp()
1461 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in emitFCmp()
1810 MachineInstrBuilder MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emitLoad()
1825 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emitLoad()
1965 std::prev(FuncInfo.InsertPt)->eraseFromParent(); in selectLoad()
1966 ResultReg = std::prev(FuncInfo.InsertPt)->getOperand(0).getReg(); in selectLoad()
2062 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II).addReg(SrcReg); in emitStore()
2185 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)]; in emitCompareAndBranch()
2186 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; in emitCompareAndBranch()
2189 if (FuncInfo.MBB->isLayoutSuccessor(TBB)) { in emitCompareAndBranch()
2279 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in emitCompareAndBranch()
2292 MachineBasicBlock *MSucc = FuncInfo.MBBMap[BI->getSuccessor(0)]; in selectBranch()
2297 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)]; in selectBranch()
2298 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; in selectBranch()
2320 if (FuncInfo.MBB->isLayoutSuccessor(TBB)) { in selectBranch()
2349 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::Bcc)) in selectBranch()
2355 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::Bcc)) in selectBranch()
2365 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::B)) in selectBranch()
2369 if (FuncInfo.BPI) { in selectBranch()
2370 auto BranchProbability = FuncInfo.BPI->getEdgeProbability( in selectBranch()
2372 FuncInfo.MBB->addSuccessor(Target, BranchProbability); in selectBranch()
2374 FuncInfo.MBB->addSuccessorWithoutProb(Target); in selectBranch()
2386 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::Bcc)) in selectBranch()
2402 if (FuncInfo.MBB->isLayoutSuccessor(TBB)) { in selectBranch()
2410 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in selectBranch()
2428 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II).addReg(AddrReg); in selectIndirectBr()
2432 FuncInfo.MBB->addSuccessor(FuncInfo.MBBMap[Succ]); in selectIndirectBr()
2452 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in selectCmp()
2492 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::CSINCWr), in selectCmp()
2497 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::CSINCWr), in selectCmp()
2511 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::CSINCWr), in selectCmp()
2682 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, in selectSelect()
2718 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::FCVTDSr), in selectFPExt()
2734 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::FCVTSDr), in selectFPTrunc()
2768 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in selectFPToInt()
2821 if (!FuncInfo.CanLowerReturn) in fastLowerArguments()
2824 const Function *F = FuncInfo.Fn; in fastLowerArguments()
2918 unsigned DstReg = FuncInfo.MF->addLiveIn(SrcReg, RC); in fastLowerArguments()
2923 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastLowerArguments()
2936 CCState CCInfo(CC, false, *FuncInfo.MF, ArgLocs, *Context); in processCallArgs()
2944 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AdjStackDown)) in processCallArgs()
2984 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in processCallArgs()
3010 MachineMemOperand *MMO = FuncInfo.MF->getMachineMemOperand( in processCallArgs()
3011 MachinePointerInfo::getStack(*FuncInfo.MF, Addr.getOffset()), in processCallArgs()
3027 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AdjStackUp)) in finishCall()
3033 CCState CCInfo(CC, false, *FuncInfo.MF, RVLocs, *Context); in finishCall()
3048 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in finishCall()
3129 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II); in fastLowerCall()
3143 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADRP), in fastLowerCall()
3148 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastLowerCall()
3163 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II).addReg(CallReg); in fastLowerCall()
3172 MIB.addRegMask(TRI.getCallPreservedMask(*FuncInfo.MF, CC)); in fastLowerCall()
3335 MachineFrameInfo *MFI = FuncInfo.MF->getFrameInfo(); in fastLowerIntrinsicCall()
3340 unsigned FramePtr = RegInfo->getFrameRegister(*(FuncInfo.MF)); in fastLowerIntrinsicCall()
3342 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastLowerIntrinsicCall()
3485 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in fastLowerIntrinsicCall()
3491 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::BRK)) in fastLowerIntrinsicCall()
3651 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastLowerIntrinsicCall()
3672 if (!FuncInfo.CanLowerReturn) in selectRet()
3682 if (TLI.supportSplitCSR(FuncInfo.MF)) in selectRet()
3695 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, I->getContext()); in selectRet()
3755 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in selectRet()
3762 MachineInstrBuilder MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in selectRet()
3826 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in selectTrunc()
3850 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emiti1Ext()
3956 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emitLSL_ri()
4003 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emitLSL_ri()
4063 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emitLSR_ri()
4124 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emitLSR_ri()
4184 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emitASR_ri()
4233 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emitASR_ri()
4292 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in emitIntExt()
4389 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in optimizeIntExtLoad()
4432 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in selectIntExt()
4992 llvm::FastISel *AArch64::createFastISel(FunctionLoweringInfo &FuncInfo, in createFastISel() argument
4994 return new AArch64FastISel(FuncInfo, LibInfo); in createFastISel()