Lines Matching full:funcinfo
165 WebAssemblyFastISel(FunctionLoweringInfo &FuncInfo,
167 : FastISel(FuncInfo, LibInfo, /*SkipTargetIndependentISel=*/true) {
168 Subtarget = &FuncInfo.MF->getSubtarget<WebAssemblySubtarget>();
169 Context = &FuncInfo.Fn->getContext();
186 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) ||
187 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
280 FuncInfo.StaticAllocaMap.find(AI);
281 if (SI != FuncInfo.StaticAllocaMap.end()) {
334 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), Reg)
403 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
408 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
430 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
435 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
441 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
459 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
478 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
509 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
517 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
525 FuncInfo.StaticAllocaMap.find(AI);
527 if (SI != FuncInfo.StaticAllocaMap.end()) {
534 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
550 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
560 if (!FuncInfo.CanLowerReturn)
563 const Function *F = FuncInfo.Fn;
607 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
698 auto MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc));
762 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
780 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
871 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
932 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg)
963 MachineBasicBlock::iterator Iter = FuncInfo.InsertPt;
1017 auto MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc),
1075 auto MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc),
1087 MachineBasicBlock *MSucc = FuncInfo.MBBMap[Br->getSuccessor(0)];
1092 MachineBasicBlock *TBB = FuncInfo.MBBMap[Br->getSuccessor(0)];
1093 MachineBasicBlock *FBB = FuncInfo.MBBMap[Br->getSuccessor(1)];
1102 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc))
1111 if (!FuncInfo.CanLowerReturn)
1117 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1138 if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::SExt))
1140 else if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::ZExt))
1145 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)).addReg(Reg);
1150 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
1180 FastISel *WebAssembly::createFastISel(FunctionLoweringInfo &FuncInfo,
1182 return new WebAssemblyFastISel(FuncInfo, LibInfo);