Home
last modified time | relevance | path

Searched refs:PtrAdd (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp5511 MachineInstr *PtrAdd = in selectAddrModeShiftedExtendXReg() local
5513 if (!PtrAdd || !isWorthFoldingIntoExtendedReg(*PtrAdd, MRI)) in selectAddrModeShiftedExtendXReg()
5519 getDefIgnoringCopies(PtrAdd->getOperand(2).getReg(), MRI); in selectAddrModeShiftedExtendXReg()
5520 return selectExtendedSHL(Root, PtrAdd->getOperand(1), in selectAddrModeShiftedExtendXReg()
5572 MachineInstr *PtrAdd = in selectAddrModeXRO() local
5574 if (!PtrAdd) in selectAddrModeXRO()
5645 MachineInstr *PtrAdd = in selectAddrModeWRO() local
5647 if (!PtrAdd || !isWorthFoldingIntoExtendedReg(*PtrAdd, MRI)) in selectAddrModeWRO()
5650 MachineOperand &LHS = PtrAdd->getOperand(1); in selectAddrModeWRO()
5651 MachineOperand &RHS = PtrAdd->getOperand(2); in selectAddrModeWRO()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2406 auto PtrAdd = Builder.buildPtrAdd(PtrTy, LHS, RHS); in applyCombineAddP2IToPtrAdd() local
2407 Builder.buildPtrToInt(Dst, PtrAdd); in applyCombineAddP2IToPtrAdd()
4134 MachineInstr &PtrAdd) { in reassociationCanBreakAddressingModePattern() argument
4135 assert(PtrAdd.getOpcode() == TargetOpcode::G_PTR_ADD); in reassociationCanBreakAddressingModePattern()
4137 Register Src1Reg = PtrAdd.getOperand(1).getReg(); in reassociationCanBreakAddressingModePattern()
4142 Register Src2Reg = PtrAdd.getOperand(2).getReg(); in reassociationCanBreakAddressingModePattern()
4185 PtrAdd.getMF()->getFunction().getContext()); in reassociationCanBreakAddressingModePattern()
4186 const auto &TLI = *PtrAdd.getMF()->getSubtarget().getTargetLowering(); in reassociationCanBreakAddressingModePattern()
4187 if (!TLI.isLegalAddressingMode(PtrAdd.getMF()->getDataLayout(), AM, in reassociationCanBreakAddressingModePattern()
4193 if (!TLI.isLegalAddressingMode(PtrAdd.getMF()->getDataLayout(), AM, in reassociationCanBreakAddressingModePattern()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h620 bool reassociationCanBreakAddressingModePattern(MachineInstr &PtrAdd);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.cpp1281 auto PtrAdd = B.buildPtrAdd(PtrTy, SPCopy, ScaledSize); in applyMappingDynStackAlloc() local
1282 B.buildMaskLowPtrBits(Dst, PtrAdd, in applyMappingDynStackAlloc()