Lines Matching refs:BaseGV

228   GlobalValue *BaseGV;  member
261 : BaseGV(nullptr), BaseOffset(0), HasBaseReg(false), Scale(0), in Formula()
422 BaseGV ? BaseGV->getType() : in getType()
455 if (BaseGV) { in print()
457 BaseGV->printAsOperand(OS, /*PrintType=*/false); in print()
1032 if (F.BaseGV) in RateFormula()
1380 GlobalValue *BaseGV, int64_t BaseOffset, in isAMCompletelyFolded() argument
1384 return TTI.isLegalAddressingMode(AccessTy, BaseGV, BaseOffset, HasBaseReg, Scale); in isAMCompletelyFolded()
1392 if (BaseGV) in isAMCompletelyFolded()
1422 return !BaseGV && Scale == 0 && BaseOffset == 0; in isAMCompletelyFolded()
1426 return !BaseGV && (Scale == 0 || Scale == -1) && BaseOffset == 0; in isAMCompletelyFolded()
1435 GlobalValue *BaseGV, int64_t BaseOffset, in isAMCompletelyFolded() argument
1447 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MinOffset, in isAMCompletelyFolded()
1449 isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MaxOffset, in isAMCompletelyFolded()
1466 F.BaseGV, F.BaseOffset, F.HasBaseReg, F.Scale); in isAMCompletelyFolded()
1472 GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, in isLegalUse() argument
1475 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, BaseGV, in isLegalUse()
1481 BaseGV, BaseOffset, true, 0)); in isLegalUse()
1487 return isLegalUse(TTI, MinOffset, MaxOffset, Kind, AccessTy, F.BaseGV, in isLegalUse()
1494 LU.AccessTy, F.BaseGV, F.BaseOffset, F.HasBaseReg, in isAMCompletelyFolded()
1513 TTI.getScalingFactorCost(LU.AccessTy, F.BaseGV, in getScalingFactorCost()
1517 TTI.getScalingFactorCost(LU.AccessTy, F.BaseGV, in getScalingFactorCost()
1538 GlobalValue *BaseGV, int64_t BaseOffset, in isAlwaysFoldable() argument
1541 if (BaseOffset == 0 && !BaseGV) return true; in isAlwaysFoldable()
1554 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, BaseOffset, in isAlwaysFoldable()
1568 GlobalValue *BaseGV = ExtractSymbol(S, SE); in isAlwaysFoldable() local
1574 if (BaseOffset == 0 && !BaseGV) return true; in isAlwaysFoldable()
1580 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, BaseGV, in isAlwaysFoldable()
2359 F.BaseGV == OrigF.BaseGV && in FindUseWithSimilarFormula()
3404 F.BaseGV = GV; in GenerateSymbolicOffsetsImpl()
3418 if (Base.BaseGV) return; in GenerateSymbolicOffsets()
3503 assert(!Base.BaseGV && "ICmpZero use is not legal!"); in GenerateICmpZeroScales()
3615 !Base.HasBaseReg && Base.BaseOffset == 0 && !Base.BaseGV) in GenerateScales()
3645 if (Base.BaseGV) return; in GenerateTruncates()
4074 if (!F.BaseGV) { in NarrowSearchSpaceByDetectingSupersets()
4076 NewF.BaseGV = GV; in NarrowSearchSpaceByDetectingSupersets()
4611 if (F.BaseGV) { in Expand()
4618 Ops.push_back(SE.getUnknown(F.BaseGV)); in Expand()
4671 assert(!F.BaseGV && "ICmp does not support folding a global value and " in Expand()