Searched refs:PtrAdd (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 2076 Builder.buildPtrToInt(Dst, PtrAdd); in applyCombineAddP2IToPtrAdd() 2082 auto &PtrAdd = cast<GPtrAdd>(MI); in matchCombineConstPtrAddToI2P() local 2103 auto &PtrAdd = cast<GPtrAdd>(MI); in applyCombineConstPtrAddToI2P() local 2104 Register Dst = PtrAdd.getReg(0); in applyCombineConstPtrAddToI2P() 2108 PtrAdd.eraseFromParent(); in applyCombineConstPtrAddToI2P() 3064 auto &PtrAdd = cast<GPtrAdd>(MI); in matchPtrAddZero() local 3083 auto &PtrAdd = cast<GPtrAdd>(MI); in applyPtrAddZero() local 3085 Builder.buildIntToPtr(PtrAdd.getReg(0), PtrAdd.getOffsetReg()); in applyPtrAddZero() 3086 PtrAdd.eraseFromParent(); in applyPtrAddZero() 4447 MachineInstr &PtrAdd) { in reassociationCanBreakAddressingModePattern() argument [all …]
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/ |
| H A D | PatternMatchTest.cpp | 211 auto PtrAdd = B.buildPtrAdd(p0, {B.buildUndef(p0)}, Copies[0]); in TEST_F() local 212 match = mi_match(PtrAdd.getReg(0), *MRI, m_GPtrAdd(m_Reg(Src0), m_Reg(Src1))); in TEST_F() 214 EXPECT_EQ(Src0, PtrAdd->getOperand(1).getReg()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 6170 MachineInstr *PtrAdd = in selectAddrModeShiftedExtendXReg() local 6172 if (!PtrAdd || !isWorthFoldingIntoExtendedReg(*PtrAdd, MRI)) in selectAddrModeShiftedExtendXReg() 6178 getDefIgnoringCopies(PtrAdd->getOperand(2).getReg(), MRI); in selectAddrModeShiftedExtendXReg() 6179 return selectExtendedSHL(Root, PtrAdd->getOperand(1), in selectAddrModeShiftedExtendXReg() 6231 MachineInstr *PtrAdd = in selectAddrModeXRO() local 6233 if (!PtrAdd) in selectAddrModeXRO() 6304 MachineInstr *PtrAdd = in selectAddrModeWRO() local 6306 if (!PtrAdd || !isWorthFoldingIntoExtendedReg(*PtrAdd, MRI)) in selectAddrModeWRO() 6309 MachineOperand &LHS = PtrAdd->getOperand(1); in selectAddrModeWRO() 6310 MachineOperand &RHS = PtrAdd->getOperand(2); in selectAddrModeWRO() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.h | 787 bool reassociationCanBreakAddressingModePattern(MachineInstr &PtrAdd);
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegisterBankInfo.cpp | 1197 auto PtrAdd = B.buildPtrAdd(PtrTy, SPCopy, ScaledSize); in applyMappingDynStackAlloc() local 1198 B.buildMaskLowPtrBits(Dst, PtrAdd, in applyMappingDynStackAlloc()
|