Home
last modified time | relevance | path

Searched refs:shouldMergeGEPs (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp789 static bool shouldMergeGEPs(GEPOperator &GEP, GEPOperator &Src) { in shouldMergeGEPs() function
845 if (!shouldMergeGEPs(*cast<GEPOperator>(&GEP), *Src)) in visitGetElementPtrInst()
853 if (SrcGEP->getNumOperands() == 2 && shouldMergeGEPs(*Src, *SrcGEP)) in visitGetElementPtrInst()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp986 static bool shouldMergeGEPs(GEPOperator &GEP, GEPOperator &Src) { in shouldMergeGEPs() function
1488 if (!shouldMergeGEPs(*cast<GEPOperator>(&GEP), *Src)) in visitGetElementPtrInst()
1496 if (SrcGEP->getNumOperands() == 2 && shouldMergeGEPs(*Src, *SrcGEP)) in visitGetElementPtrInst()