Searched refs:GEP1 (Results 1 - 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 190 bool isEquivalentGEP(const GEPOperator *GEP1, const GEPOperator *GEP2); 191 bool isEquivalentGEP(const GetElementPtrInst *GEP1, argument 193 return isEquivalentGEP(cast<GEPOperator>(GEP1), cast<GEPOperator>(GEP2)); 353 bool FunctionComparator::isEquivalentGEP(const GEPOperator *GEP1, argument 360 GEP1->accumulateConstantOffset(*TD, Offset1) && 365 if (GEP1->getPointerOperand()->getType() != 369 if (GEP1->getNumOperands() != GEP2->getNumOperands()) 372 for (unsigned i = 0, e = GEP1->getNumOperands(); i != e; ++i) { 373 if (!enumerate(GEP1->getOperand(i), GEP2->getOperand(i))) 432 if (const GetElementPtrInst *GEP1 [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 78 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1); local 85 if (GEP1 && GEP2 == 0 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { 86 Offset = -GetOffsetFromIndex(GEP1, 1, VariableIdxFound, TD); 90 if (GEP2 && GEP1 == 0 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { 100 if (!GEP1 || !GEP2 || GEP1->getOperand(0) != GEP2->getOperand(0)) 105 for (; Idx != GEP1->getNumOperands() && Idx != GEP2->getNumOperands(); ++Idx) 106 if (GEP1->getOperand(Idx) != GEP2->getOperand(Idx)) 109 int64_t Offset1 = GetOffsetFromIndex(GEP1, Id [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 1292 GEPOperator *GEP1 = 0, *GEP2 = 0; local 1299 GEP1 = LHSGEP; 1306 GEP1 = LHSGEP; 1315 GEP1 = RHSGEP; 1322 GEP1 = RHSGEP; 1330 if (GEP1 == 0 || 1335 Value *Result = EmitGEPOffset(GEP1);
|
/external/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 408 /// decomposed GetElementPtr instructions GEP1 and GEP2 which have common base 409 /// pointers. Subtract the GEP2 indices from GEP1 to find the symbolic 877 /// anything about V2. UnderlyingV1 is GetUnderlyingObject(GEP1, TD), 881 BasicAliasAnalysis::aliasGEP(const GEPOperator *GEP1, uint64_t V1Size, argument 913 DecomposeGEPExpression(GEP1, GEP1BaseOffset, GEP1VariableIndices, TD); 937 DecomposeGEPExpression(GEP1, GEP1BaseOffset, GEP1VariableIndices, TD); 952 // Subtract the GEP2 pointer from the GEP1 pointer to find out their 977 DecomposeGEPExpression(GEP1, GEP1BaseOffset, GEP1VariableIndices, TD);
|
Completed in 93 milliseconds