Searched refs:GEPA (Results 1 – 3 of 3) sorted by relevance
123 GetElementPtrInst *GEPA, GetElementPtrInst *GEPB,127 GetElementPtrInst *GEPA,131 GetElementPtrInst *GEPA,135 void transformByteCompare(GetElementPtrInst *GEPA, GetElementPtrInst *GEPB,301 GetElementPtrInst *GEPA = dyn_cast<GetElementPtrInst>(A); in recognizeByteCompare() local304 if (!GEPA || !GEPB) in recognizeByteCompare()307 Value *PtrA = GEPA->getPointerOperand(); in recognizeByteCompare()312 !GEPA->getResultElementType()->isIntegerTy(8) || in recognizeByteCompare()319 if (GEPA->getNumIndices() > 1 || GEPB->getNumIndices() > 1) in recognizeByteCompare()322 Value *IdxA = GEPA->getOperand(GEPA->getNumIndices()); in recognizeByteCompare()[all …]
1170 auto *GEPA = dyn_cast<GetElementPtrInst>(PtrA); in getConstantOffsetComplexAddrs() local1172 if (!GEPA || !GEPB) in getConstantOffsetComplexAddrs()1177 if (GEPA->getNumOperands() != GEPB->getNumOperands() || in getConstantOffsetComplexAddrs()1178 GEPA->getPointerOperand() != GEPB->getPointerOperand()) in getConstantOffsetComplexAddrs()1180 gep_type_iterator GTIA = gep_type_begin(GEPA); in getConstantOffsetComplexAddrs()1182 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in getConstantOffsetComplexAddrs()
3551 auto *GEPA = dyn_cast<GEPOperator>(A); in isNonEqualPointersWithRecursiveGEP() local3552 if (!GEPA || GEPA->getNumIndices() != 1 || !isa<Constant>(GEPA->idx_begin())) in isNonEqualPointersWithRecursiveGEP()3556 auto *PN = dyn_cast<PHINode>(GEPA->getPointerOperand()); in isNonEqualPointersWithRecursiveGEP()