Home
last modified time | relevance | path

Searched refs:GEPL (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DFunctionComparator.h346 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const;
347 int cmpGEPs(const GetElementPtrInst *GEPL, in cmpGEPs() argument
349 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp500 if (const GetElementPtrInst *GEPL = dyn_cast<GetElementPtrInst>(L)) { in cmpOperations() local
504 cmpValues(GEPL->getPointerOperand(), GEPR->getPointerOperand())) in cmpOperations()
506 return cmpGEPs(GEPL, GEPR); in cmpOperations()
665 int FunctionComparator::cmpGEPs(const GEPOperator *GEPL, in cmpGEPs() argument
667 unsigned int ASL = GEPL->getPointerAddressSpace(); in cmpGEPs()
678 if (GEPL->accumulateConstantOffset(DL, OffsetL) && in cmpGEPs()
681 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpGEPs()
685 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs()
688 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs()
689 if (int Res = cmpValues(GEPL->getOperand(i), GEPR->getOperand(i))) in cmpGEPs()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp355 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const;
356 int cmpGEPs(const GetElementPtrInst *GEPL, in cmpGEPs() argument
358 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
1069 int FunctionComparator::cmpGEPs(const GEPOperator *GEPL, in cmpGEPs() argument
1072 unsigned int ASL = GEPL->getPointerAddressSpace(); in cmpGEPs()
1083 if (GEPL->accumulateConstantOffset(DL, OffsetL) && in cmpGEPs()
1086 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpGEPs()
1090 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs()
1093 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs()
1094 if (int Res = cmpValues(GEPL->getOperand(i), GEPR->getOperand(i))) in cmpGEPs()
[all …]