Searched refs:GEP1 (Results 1 - 3 of 3) sorted by relevance
/external/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 542 /// GetElementPtr instructions GEP1 and GEP2 which have common base 543 /// pointers. Subtract the GEP2 indices from GEP1 to find the symbolic 889 aliasSameBasePointerGEPs(const GEPOperator *GEP1, uint64_t V1Size, argument 893 assert(GEP1->getPointerOperand() == GEP2->getPointerOperand() && 896 // Try to determine whether GEP1 and GEP2 index through arrays, into structs, 899 if (GEP1->getNumIndices() != GEP2->getNumIndices() || 900 GEP1->getNumIndices() < 2) 910 dyn_cast<ConstantInt>(GEP1->getOperand(GEP1->getNumOperands() - 1)); 928 assert(GEP1 985 aliasGEP(const GEPOperator *GEP1, uint64_t V1Size, const AAMDNodes &V1AAInfo, const Value *V2, uint64_t V2Size, const AAMDNodes &V2AAInfo, const Value *UnderlyingV1, const Value *UnderlyingV2) argument [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 88 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1); local 95 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { 96 Offset = -GetOffsetFromIndex(GEP1, 1, VariableIdxFound, DL); 100 if (GEP2 && !GEP1 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { 110 if (!GEP1 || !GEP2 || GEP1->getOperand(0) != GEP2->getOperand(0)) 115 for (; Idx != GEP1->getNumOperands() && Idx != GEP2->getNumOperands(); ++Idx) 116 if (GEP1->getOperand(Idx) != GEP2->getOperand(Idx)) 119 int64_t Offset1 = GetOffsetFromIndex(GEP1, Id [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 1446 GEPOperator *GEP1 = nullptr, *GEP2 = nullptr; local 1453 GEP1 = LHSGEP; 1460 GEP1 = LHSGEP; 1469 GEP1 = RHSGEP; 1476 GEP1 = RHSGEP; 1484 if (!GEP1 || 1489 Value *Result = EmitGEPOffset(GEP1);
|
Completed in 1059 milliseconds