reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/GlobalISel/CallLowering.cpp
  467     auto MIB = MIRBuilder.buildAnyExt(LocTy, ValReg);
  472     MIRBuilder.buildSExt(NewReg, ValReg);
  477     MIRBuilder.buildZExt(NewReg, ValReg);
lib/Target/AArch64/AArch64CallLowering.cpp
   62     auto &MFI = MIRBuilder.getMF().getFrameInfo();
   64     MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI);
   66     MIRBuilder.buildFrameIndex(AddrReg, FI);
   76       MIRBuilder.buildCopy(ValVReg, PhysReg);
   81       auto Copy = MIRBuilder.buildCopy(LLT{VA.getLocVT()}, PhysReg);
   82       MIRBuilder.buildTrunc(ValVReg, Copy);
   91     auto MMO = MIRBuilder.getMF().getMachineMemOperand(
   94     MIRBuilder.buildLoad(ValVReg, Addr, *MMO);
  113     MIRBuilder.getMRI()->addLiveIn(PhysReg);
  114     MIRBuilder.getMBB().addLiveIn(PhysReg);
  143     MachineFunction &MF = MIRBuilder.getMF();
  151       MIRBuilder.buildFrameIndex(FIReg, FI);
  157     MIRBuilder.buildCopy(SPReg, Register(AArch64::SP));
  160     MIRBuilder.buildConstant(OffsetReg, Offset);
  163     MIRBuilder.buildGEP(AddrReg, SPReg, OffsetReg);
  173     MIRBuilder.buildCopy(PhysReg, ExtReg);
  180       ValVReg = MIRBuilder.buildAnyExt(LLT::scalar(Size * 8), ValVReg)
  184     auto MMO = MIRBuilder.getMF().getMachineMemOperand(
  186     MIRBuilder.buildStore(ValVReg, Addr, *MMO);
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
   58       ExtReg = MIRBuilder.buildAnyExt(LLT::scalar(32), ValVReg).getReg(0);
   62     MIRBuilder.buildCopy(PhysReg, ExtReg);
   84     auto &MFI = MIRBuilder.getMF().getFrameInfo();
   86     MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI);
   89     MIRBuilder.buildFrameIndex(AddrReg, FI);
  101       auto Copy = MIRBuilder.buildCopy(LLT::scalar(32), PhysReg);
  102       MIRBuilder.buildTrunc(ValVReg, Copy);
  110       auto Copy = MIRBuilder.buildCopy(LLT{VA.getLocVT()}, PhysReg);
  111       MIRBuilder.buildTrunc(ValVReg, Copy);
  115       MIRBuilder.buildCopy(ValVReg, PhysReg);
  123     auto MMO = MIRBuilder.getMF().getMachineMemOperand(
  125     MIRBuilder.buildLoad(ValVReg, Addr, *MMO);
  143     MIRBuilder.getMBB().addLiveIn(PhysReg);
lib/Target/ARM/ARMCallLowering.cpp
  103     MIRBuilder.buildCopy(SPReg, Register(ARM::SP));
  106     MIRBuilder.buildConstant(OffsetReg, Offset);
  109     MIRBuilder.buildGEP(AddrReg, SPReg, OffsetReg);
  111     MPO = MachinePointerInfo::getStack(MIRBuilder.getMF(), Offset);
  124     MIRBuilder.buildCopy(PhysReg, ExtReg);
  134     auto MMO = MIRBuilder.getMF().getMachineMemOperand(
  137     MIRBuilder.buildStore(ExtReg, Addr, *MMO);
  160     MIRBuilder.buildUnmerge(NewRegs, Arg.Regs[0]);
  162     bool IsLittle = MIRBuilder.getMF().getSubtarget<ARMSubtarget>().isLittle();
  297     auto &MFI = MIRBuilder.getMF().getFrameInfo();
  300     MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI);
  304     MIRBuilder.buildFrameIndex(AddrReg, FI);
  323       MIRBuilder.buildTrunc(ValVReg, LoadVReg);
  332     auto MMO = MIRBuilder.getMF().getMachineMemOperand(
  334     MIRBuilder.buildLoad(Val, Addr, *MMO);
  350       MIRBuilder.buildCopy(ValVReg, PhysReg);
  359       MIRBuilder.buildCopy(PhysRegToVReg, PhysReg);
  360       MIRBuilder.buildTrunc(ValVReg, PhysRegToVReg);
  388     bool IsLittle = MIRBuilder.getMF().getSubtarget<ARMSubtarget>().isLittle();
  392     MIRBuilder.buildMerge(Arg.Regs[0], NewRegs);
  409     MIRBuilder.getMRI()->addLiveIn(PhysReg);
  410     MIRBuilder.getMBB().addLiveIn(PhysReg);
lib/Target/X86/X86CallLowering.cpp
  112     MIRBuilder.buildCopy(SPReg, STI.getRegisterInfo()->getStackRegister());
  115     MIRBuilder.buildConstant(OffsetReg, Offset);
  118     MIRBuilder.buildGEP(AddrReg, SPReg, OffsetReg);
  120     MPO = MachinePointerInfo::getStack(MIRBuilder.getMF(), Offset);
  141       auto MIB = MIRBuilder.buildAnyExt(LLT::scalar(PhysRegSize), ValVReg);
  146     MIRBuilder.buildCopy(PhysReg, ExtReg);
  152     auto MMO = MIRBuilder.getMF().getMachineMemOperand(
  155     MIRBuilder.buildStore(ExtReg, Addr, *MMO);
  239     auto &MFI = MIRBuilder.getMF().getFrameInfo();
  241     MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI);
  245     MIRBuilder.buildFrameIndex(AddrReg, FI);
  251     auto MMO = MIRBuilder.getMF().getMachineMemOperand(
  254     MIRBuilder.buildLoad(ValVReg, Addr, *MMO);
  274         auto Copy = MIRBuilder.buildCopy(LLT::scalar(PhysRegSize), PhysReg);
  275         MIRBuilder.buildTrunc(ValVReg, Copy);
  279       MIRBuilder.buildCopy(ValVReg, PhysReg);
  285       auto Copy = MIRBuilder.buildCopy(LLT{VA.getLocVT()}, PhysReg);
  286       MIRBuilder.buildTrunc(ValVReg, Copy);
  307     MIRBuilder.getMRI()->addLiveIn(PhysReg);
  308     MIRBuilder.getMBB().addLiveIn(PhysReg);