Searched refs:GEP2 (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 190 bool isEquivalentGEP(const GEPOperator *GEP1, const GEPOperator *GEP2); 192 const GetElementPtrInst *GEP2) { 193 return isEquivalentGEP(cast<GEPOperator>(GEP1), cast<GEPOperator>(GEP2)); 354 const GEPOperator *GEP2) { 361 GEP2->accumulateConstantOffset(*TD, Offset2)) { 366 GEP2->getPointerOperand()->getType()) 369 if (GEP1->getNumOperands() != GEP2->getNumOperands()) 373 if (!enumerate(GEP1->getOperand(i), GEP2->getOperand(i))) 433 const GetElementPtrInst *GEP2 = dyn_cast<GetElementPtrInst>(F2I); local 434 if (!GEP2) 191 isEquivalentGEP(const GetElementPtrInst *GEP1, const GetElementPtrInst *GEP2) argument 353 isEquivalentGEP(const GEPOperator *GEP1, const GEPOperator *GEP2) argument [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 79 GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2); local 85 if (GEP1 && GEP2 == 0 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { 90 if (GEP2 && GEP1 == 0 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { 91 Offset = GetOffsetFromIndex(GEP2, 1, VariableIdxFound, TD); 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)) 110 int64_t Offset2 = GetOffsetFromIndex(GEP2, Id [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 1285 GEPOperator *GEP1 = 0, *GEP2 = 0; local 1298 GEP2 = RHSGEP; 1314 GEP2 = LHSGEP; 1321 // Avoid duplicating the arithmetic if GEP2 has non-constant indices and 1324 (GEP2 != 0 && !GEP2->hasAllConstantIndices() && !GEP2->hasOneUse())) 1332 if (GEP2) { 1333 Value *Offset = EmitGEPOffset(GEP2);
|
/freebsd-10.0-release/contrib/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 397 /// decomposed GetElementPtr instructions GEP1 and GEP2 which have common base 398 /// pointers. Subtract the GEP2 indices from GEP1 to find the symbolic 882 if (const GEPOperator *GEP2 = dyn_cast<GEPOperator>(V2)) { 900 DecomposeGEPExpression(GEP2, GEP2BaseOffset, GEP2VariableIndices, TD); 931 DecomposeGEPExpression(GEP2, GEP2BaseOffset, GEP2VariableIndices, TD); 941 // Subtract the GEP2 pointer from the GEP1 pointer to find out their
|
Completed in 82 milliseconds