Searched refs:PtrBase (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstructionSelector.cpp | 1730 Register PtrBase = MI.getOperand(2).getReg(); in selectDSAppendConsume() local 1731 LLT PtrTy = MRI->getType(PtrBase); in selectDSAppendConsume() 1735 std::tie(PtrBase, Offset) = selectDS1Addr1OffsetImpl(MI.getOperand(2)); in selectDSAppendConsume() 1738 if (!isDSOffsetLegal(PtrBase, Offset)) { in selectDSAppendConsume() 1739 PtrBase = MI.getOperand(2).getReg(); in selectDSAppendConsume() 1748 .addReg(PtrBase); in selectDSAppendConsume() 1749 if (!RBI.constrainGenericRegister(PtrBase, AMDGPU::SReg_32RegClass, *MRI)) in selectDSAppendConsume() 4313 Register PtrBase; in selectFlatOffsetImpl() local 4315 std::tie(PtrBase, ConstOffset) = in selectFlatOffsetImpl() 4326 return std::pair(PtrBase, ConstOffset); in selectFlatOffsetImpl() [all …]
|
H A D | AMDGPUISelDAGToDAG.cpp | 2547 SDValue PtrBase = Ptr.getOperand(0); in SelectDSAppendConsume() local 2551 if (isDSOffsetLegal(PtrBase, OffsetVal.getZExtValue())) { in SelectDSAppendConsume() 2552 N = glueCopyToM0(N, PtrBase); in SelectDSAppendConsume()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 642 Value *PtrBase = in transformToIndexedCompare() local 647 if (PtrBase->getType() != GEPLHS->getType()) in transformToIndexedCompare() 653 if (!canRewriteGEPAsOffset(RHS, PtrBase, DL, Nodes)) in transformToIndexedCompare() 662 Value *NewRHS = rewriteGEPAsOffset(RHS, PtrBase, DL, Nodes, IC); in transformToIndexedCompare() 690 Value *PtrBase = GEPLHS->getOperand(0); in foldGEPICmp() local 691 if (PtrBase == RHS && (GEPLHS->isInBounds() || ICmpInst::isEquality(Cond))) { in foldGEPICmp() 730 if (PtrBase != GEPRHS->getOperand(0)) { in foldGEPICmp() 755 PtrBase->stripPointerCasts() == in foldGEPICmp()
|