Lines Matching defs:LowerGEP
81 // Another improvement enabled by the LowerGEP flag is to lower a GEP with
347 SeparateConstOffsetFromGEPLegacyPass(bool LowerGEP = false)
348 : FunctionPass(ID), LowerGEP(LowerGEP) {
364 bool LowerGEP;
374 function_ref<TargetTransformInfo &(Function &)> GetTTI, bool LowerGEP)
375 : DT(DT), LI(LI), TLI(TLI), GetTTI(GetTTI), LowerGEP(LowerGEP) {}
420 /// LowerGEP is true, it finds in indices of both sequential and structure
483 bool LowerGEP;
507 FunctionPass *llvm::createSeparateConstOffsetFromGEPPass(bool LowerGEP) {
508 return new SeparateConstOffsetFromGEPLegacyPass(LowerGEP);
848 } else if (LowerGEP) {
1038 // If LowerGEP is disabled, before really splitting the GEP, check whether the
1041 // If LowerGEP is enabled, even the extracted constant offset can not match
1045 if (!LowerGEP) {
1057 // Notice that we don't remove struct field indices here. If LowerGEP is
1059 // one. If LowerGEP is enabled, a structure index is accumulated in the
1110 if (LowerGEP) {
1174 SeparateConstOffsetFromGEP Impl(DT, LI, TLI, GetTTI, LowerGEP);
1395 if (LowerGEP)
1408 SeparateConstOffsetFromGEP Impl(DT, LI, TLI, GetTTI, LowerGEP);