HomeSort by relevance Sort by last modified time
    Searched refs:GEP1 (Results 1 - 3 of 3) sorted by null

  /external/llvm/lib/Analysis/
BasicAliasAnalysis.cpp 755 static AliasResult aliasSameBasePointerGEPs(const GEPOperator *GEP1,
761 assert(GEP1->getPointerOperand() == GEP2->getPointerOperand() &&
764 // Try to determine whether GEP1 and GEP2 index through arrays, into structs,
767 if (GEP1->getNumIndices() != GEP2->getNumIndices() ||
768 GEP1->getNumIndices() < 2)
778 dyn_cast<ConstantInt>(GEP1->getOperand(GEP1->getNumOperands() - 1));
795 assert(GEP1->getNumIndices() > 1 && "Not enough GEP indices to examine");
796 IntermediateIndices.push_back(GEP1->getOperand(1));
800 for (unsigned i = 1, e = GEP1->getNumIndices() - 1; i != e; ++i)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 89 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1);
96 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) {
97 Offset = -GetOffsetFromIndex(GEP1, 1, VariableIdxFound, DL);
101 if (GEP2 && !GEP1 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) {
111 if (!GEP1 || !GEP2 || GEP1->getOperand(0) != GEP2->getOperand(0))
116 for (; Idx != GEP1->getNumOperands() && Idx != GEP2->getNumOperands(); ++Idx)
117 if (GEP1->getOperand(Idx) != GEP2->getOperand(Idx))
120 int64_t Offset1 = GetOffsetFromIndex(GEP1, Idx, VariableIdxFound, DL)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp     [all...]

Completed in 97 milliseconds