Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2094 auto PtrAdd = Builder.buildPtrAdd(PtrTy, LHS, RHS); in applyCombineAddP2IToPtrAdd() local
2095 Builder.buildPtrToInt(Dst, PtrAdd); in applyCombineAddP2IToPtrAdd()
2101 auto &PtrAdd = cast<GPtrAdd>(MI); in matchCombineConstPtrAddToI2P() local
2102 Register LHS = PtrAdd.getBaseReg(); in matchCombineConstPtrAddToI2P()
2103 Register RHS = PtrAdd.getOffsetReg(); in matchCombineConstPtrAddToI2P()
2109 auto DstTy = MRI.getType(PtrAdd.getReg(0)); in matchCombineConstPtrAddToI2P()
2122 auto &PtrAdd = cast<GPtrAdd>(MI); in applyCombineConstPtrAddToI2P() local
2123 Register Dst = PtrAdd.getReg(0); in applyCombineConstPtrAddToI2P()
2127 PtrAdd.eraseFromParent(); in applyCombineConstPtrAddToI2P()
3136 auto &PtrAdd = cast<GPtrAdd>(MI); in matchPtrAddZero() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp6232 MachineInstr *PtrAdd = in selectAddrModeShiftedExtendXReg() local
6234 if (!PtrAdd || !isWorthFoldingIntoExtendedReg(*PtrAdd, MRI)) in selectAddrModeShiftedExtendXReg()
6240 getDefIgnoringCopies(PtrAdd->getOperand(2).getReg(), MRI); in selectAddrModeShiftedExtendXReg()
6241 return selectExtendedSHL(Root, PtrAdd->getOperand(1), in selectAddrModeShiftedExtendXReg()
6293 MachineInstr *PtrAdd = in selectAddrModeXRO() local
6295 if (!PtrAdd) in selectAddrModeXRO()
6312 getIConstantVRegValWithLookThrough(PtrAdd->getOperand(2).getReg(), MRI); in selectAddrModeXRO()
6366 MachineInstr *PtrAdd = in selectAddrModeWRO() local
6368 if (!PtrAdd || !isWorthFoldingIntoExtendedReg(*PtrAdd, MRI)) in selectAddrModeWRO()
6371 MachineOperand &LHS = PtrAdd->getOperand(1); in selectAddrModeWRO()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h836 bool reassociationCanBreakAddressingModePattern(MachineInstr &PtrAdd);
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.cpp1198 auto PtrAdd = B.buildPtrAdd(PtrTy, SPCopy, ScaledSize); in applyMappingDynStackAlloc() local
1199 B.buildMaskLowPtrBits(Dst, PtrAdd, in applyMappingDynStackAlloc()