Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp1945 Register PtrBase = MI.getOperand(2).getReg(); in selectDSAppendConsume() local
1946 LLT PtrTy = MRI->getType(PtrBase); in selectDSAppendConsume()
1950 std::tie(PtrBase, Offset) = selectDS1Addr1OffsetImpl(MI.getOperand(2)); in selectDSAppendConsume()
1953 if (!isDSOffsetLegal(PtrBase, Offset)) { in selectDSAppendConsume()
1954 PtrBase = MI.getOperand(2).getReg(); in selectDSAppendConsume()
1963 .addReg(PtrBase); in selectDSAppendConsume()
1964 if (!RBI.constrainGenericRegister(PtrBase, AMDGPU::SReg_32RegClass, *MRI)) in selectDSAppendConsume()
5347 Register PtrBase; in selectFlatOffsetImpl() local
5349 std::tie(PtrBase, ConstOffset) = in selectFlatOffsetImpl()
5360 return std::pair(PtrBase, ConstOffset); in selectFlatOffsetImpl()
[all …]
H A DAMDGPUISelDAGToDAG.cpp2664 SDValue PtrBase = Ptr.getOperand(0); in SelectDSAppendConsume() local
2668 if (isDSOffsetLegal(PtrBase, OffsetVal.getZExtValue())) { in SelectDSAppendConsume()
2669 N = glueCopyToM0(N, PtrBase); in SelectDSAppendConsume()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp644 Value *PtrBase = in transformToIndexedCompare() local
649 if (PtrBase->getType() != GEPLHS->getType()) in transformToIndexedCompare()
655 if (!canRewriteGEPAsOffset(RHS, PtrBase, NW, DL, Nodes)) in transformToIndexedCompare()
664 Value *NewRHS = rewriteGEPAsOffset(RHS, PtrBase, NW, DL, Nodes, IC); in transformToIndexedCompare()
755 Value *PtrBase = GEPLHS->getOperand(0); in foldGEPICmp() local
756 if (PtrBase != GEPRHS->getOperand(0)) { in foldGEPICmp()
782 PtrBase->stripPointerCasts() == in foldGEPICmp()