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

  /external/llvm/lib/Transforms/IPO/
MergeFunctions.cpp 181 bool isEquivalentGEP(const GEPOperator *GEP1, const GEPOperator *GEP2);
183 const GetElementPtrInst *GEP2) {
184 return isEquivalentGEP(cast<GEPOperator>(GEP1), cast<GEPOperator>(GEP2));
346 const GEPOperator *GEP2) {
349 if (TD && GEP1->hasAllConstantIndices() && GEP2->hasAllConstantIndices()) {
351 SmallVector<Value *, 8> Indices2(GEP2->idx_begin(), GEP2->idx_end());
354 uint64_t Offset2 = TD->getIndexedOffset(GEP2->getPointerOperandType(),
360 GEP2->getPointerOperand()->getType())
363 if (GEP1->getNumOperands() != GEP2->getNumOperands()
    [all...]
  /external/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 79 GetElementPtrInst *GEP2 = dyn_cast<GetElementPtrInst>(Ptr2);
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, Idx, VariableIdxFound, TD)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp 435 GEPOperator *GEP1 = 0, *GEP2 = 0;
448 GEP2 = RHSGEP;
464 GEP2 = LHSGEP;
471 // Avoid duplicating the arithmetic if GEP2 has non-constant indices and
474 (GEP2 != 0 && !GEP2->hasAllConstantIndices() && !GEP2->hasOneUse()))
482 if (GEP2) {
483 Value *Offset = EmitGEPOffset(GEP2);
  /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
    [all...]

Completed in 130 milliseconds