Home
last modified time | relevance | path

Searched refs:PtrBase (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp1687 Register PtrBase = MI.getOperand(2).getReg(); in selectDSAppendConsume() local
1688 LLT PtrTy = MRI->getType(PtrBase); in selectDSAppendConsume()
1692 std::tie(PtrBase, Offset) = selectDS1Addr1OffsetImpl(MI.getOperand(2)); in selectDSAppendConsume()
1695 if (!isDSOffsetLegal(PtrBase, Offset)) { in selectDSAppendConsume()
1696 PtrBase = MI.getOperand(2).getReg(); in selectDSAppendConsume()
1705 .addReg(PtrBase); in selectDSAppendConsume()
1706 if (!RBI.constrainGenericRegister(PtrBase, AMDGPU::SReg_32RegClass, *MRI)) in selectDSAppendConsume()
3902 Register PtrBase; in selectFlatOffsetImpl() local
3904 std::tie(PtrBase, ConstOffset) = in selectFlatOffsetImpl()
3913 return std::pair(PtrBase, ConstOffset); in selectFlatOffsetImpl()
[all …]
H A DAMDGPUISelDAGToDAG.cpp2346 SDValue PtrBase = Ptr.getOperand(0); in SelectDSAppendConsume() local
2350 if (isDSOffsetLegal(PtrBase, OffsetVal.getZExtValue())) { in SelectDSAppendConsume()
2351 N = glueCopyToM0(N, PtrBase); in SelectDSAppendConsume()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp700 Value *PtrBase, *Index; in transformToIndexedCompare() local
701 std::tie(PtrBase, Index) = getAsConstantIndexedAddress(ElemTy, GEPLHS, DL); in transformToIndexedCompare()
706 if (!canRewriteGEPAsOffset(ElemTy, RHS, PtrBase, DL, Nodes)) in transformToIndexedCompare()
715 Value *NewRHS = rewriteGEPAsOffset(ElemTy, RHS, PtrBase, DL, Nodes); in transformToIndexedCompare()
742 Value *PtrBase = GEPLHS->getOperand(0); in foldGEPICmp() local
743 if (PtrBase == RHS && GEPLHS->isInBounds()) { in foldGEPICmp()
782 if (PtrBase != GEPRHS->getOperand(0)) { in foldGEPICmp()
807 PtrBase->stripPointerCasts() == in foldGEPICmp()