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