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

  /external/llvm/lib/Transforms/IPO/
MergeFunctions.cpp 181 bool isEquivalentGEP(const GEPOperator *GEP1, const GEPOperator *GEP2);
182 bool isEquivalentGEP(const GetElementPtrInst *GEP1,
184 return isEquivalentGEP(cast<GEPOperator>(GEP1), cast<GEPOperator>(GEP2));
345 bool FunctionComparator::isEquivalentGEP(const GEPOperator *GEP1,
352 GEP1->accumulateConstantOffset(*TD, Offset1) &&
357 if (GEP1->getPointerOperand()->getType() !=
361 if (GEP1->getNumOperands() != GEP2->getNumOperands())
364 for (unsigned i = 0, e = GEP1->getNumOperands(); i != e; ++i) {
365 if (!enumerate(GEP1->getOperand(i), GEP2->getOperand(i)))
424 if (const GetElementPtrInst *GEP1 = dyn_cast<GetElementPtrInst>(F1I))
    [all...]
  /external/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 78 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1);
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, Idx, VariableIdxFound, TD)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp     [all...]
  /external/llvm/lib/Analysis/
BasicAliasAnalysis.cpp 368 /// decomposed GetElementPtr instructions GEP1 and GEP2 which have common base
369 /// pointers. Subtract the GEP2 indices from GEP1 to find the symbolic
837 /// anything about V2. UnderlyingV1 is GetUnderlyingObject(GEP1, TD),
841 BasicAliasAnalysis::aliasGEP(const GEPOperator *GEP1, uint64_t V1Size,
    [all...]

Completed in 689 milliseconds