Searched refs:GEPA (Results 1 – 3 of 3) sorted by relevance
153 GetElementPtrInst *GEPA, GetElementPtrInst *GEPB,157 GetElementPtrInst *GEPA,161 GetElementPtrInst *GEPA,165 void transformByteCompare(GetElementPtrInst *GEPA, GetElementPtrInst *GEPB,350 GetElementPtrInst *GEPA = dyn_cast<GetElementPtrInst>(A); in recognizeByteCompare() local353 if (!GEPA || !GEPB) in recognizeByteCompare()356 Value *PtrA = GEPA->getPointerOperand(); in recognizeByteCompare()361 !GEPA->getResultElementType()->isIntegerTy(8) || in recognizeByteCompare()368 if (GEPA->getNumIndices() > 1 || GEPB->getNumIndices() > 1) in recognizeByteCompare()371 Value *IdxA = GEPA->getOperand(GEPA->getNumIndices()); in recognizeByteCompare()[all …]
1186 auto *GEPA = dyn_cast<GetElementPtrInst>(PtrA); in getConstantOffsetComplexAddrs() local1188 if (!GEPA || !GEPB) in getConstantOffsetComplexAddrs()1193 if (GEPA->getNumOperands() != GEPB->getNumOperands() || in getConstantOffsetComplexAddrs()1194 GEPA->getPointerOperand() != GEPB->getPointerOperand()) in getConstantOffsetComplexAddrs()1196 gep_type_iterator GTIA = gep_type_begin(GEPA); in getConstantOffsetComplexAddrs()1198 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in getConstantOffsetComplexAddrs()
3781 auto *GEPA = dyn_cast<GEPOperator>(A); in isNonEqualPointersWithRecursiveGEP() local3782 if (!GEPA || GEPA->getNumIndices() != 1 || !isa<Constant>(GEPA->idx_begin())) in isNonEqualPointersWithRecursiveGEP()3786 auto *PN = dyn_cast<PHINode>(GEPA->getPointerOperand()); in isNonEqualPointersWithRecursiveGEP()