Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp1508 .addReg(PtrBase); in selectDSAppendConsume()
3968 Register PtrBase; in selectFlatOffsetImpl() local
4016 Register PtrBase; in selectGlobalSAddr() local
4027 Addr = PtrBase; in selectGlobalSAddr()
4127 Register PtrBase; in selectScratchSAddr() local
4138 Addr = PtrBase; in selectScratchSAddr()
4203 Register PtrBase; in selectScratchSVAddr() local
4213 Addr = PtrBase; in selectScratchSVAddr()
4446 Register PtrBase; in selectDS1Addr1OffsetImpl() local
4511 Register PtrBase; in selectDSReadWrite2Impl() local
[all …]
H A DAMDGPUISelDAGToDAG.cpp2357 SDValue PtrBase = Ptr.getOperand(0); in SelectDSAppendConsume() local
2361 if (isDSOffsetLegal(PtrBase, OffsetVal.getZExtValue())) { in SelectDSAppendConsume()
2362 N = glueCopyToM0(N, PtrBase); in SelectDSAppendConsume()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp801 Value *PtrBase, *Index; in transformToIndexedCompare() local
802 std::tie(PtrBase, Index) = getAsConstantIndexedAddress(ElemTy, GEPLHS, DL); in transformToIndexedCompare()
807 if (!canRewriteGEPAsOffset(ElemTy, RHS, PtrBase, DL, Nodes)) in transformToIndexedCompare()
816 Value *NewRHS = rewriteGEPAsOffset(ElemTy, RHS, PtrBase, DL, Nodes); in transformToIndexedCompare()
843 Value *PtrBase = GEPLHS->getOperand(0); in foldGEPICmp() local
845 if (PtrBase == RHS && GEPLHS->isInBounds() && in foldGEPICmp()
892 if (PtrBase != GEPRHS->getOperand(0)) { in foldGEPICmp()
917 PtrBase->stripPointerCasts() == in foldGEPICmp()