Home
last modified time | relevance | path

Searched refs:BaseGV (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h305 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset,
321 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset,
540 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
545 virtual int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
650 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() argument
652 return Impl.isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode()
661 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument
663 return Impl.getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, Scale); in getScalingFactorCost()
DTargetTransformInfoImpl.h209 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() argument
213 return !BaseGV && BaseOffset == 0 && Scale <= 1; in isLegalAddressingMode()
220 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument
223 if (isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, Scale)) in getScalingFactorCost()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp100 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, in isLegalAddressingMode() argument
104 return TTIImpl->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode()
118 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument
122 return TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp228 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()
[all …]
DStraightLineStrengthReduce.cpp236 GlobalVariable *BaseGV = nullptr; in isGEPFoldable() local
242 BaseGV = GV; in isGEPFoldable()
266 return TTI->isLegalAddressingMode(GEP->getType()->getElementType(), BaseGV, in isGEPFoldable()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h127 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() argument
130 AM.BaseGV = BaseGV; in isLegalAddressingMode()
137 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument
140 AM.BaseGV = BaseGV; in getScalingFactorCost()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1554 (BaseGV == O.BaseGV) && (BaseOffs == O.BaseOffs) && in operator ==()
1569 if (BaseGV) { in print()
1572 BaseGV->printAsOperand(OS, /*PrintType=*/false); in print()
2850 if (!AddrMode.BaseGV) { in MatchAddr()
2851 AddrMode.BaseGV = GV; in MatchAddr()
2854 AddrMode.BaseGV = nullptr; in MatchAddr()
3282 if (AddrMode.BaseGV) { in OptimizeMemoryInst()
3286 ResultPtr = AddrMode.BaseGV; in OptimizeMemoryInst()
3430 if (AddrMode.BaseGV) { in OptimizeMemoryInst()
3431 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
DTargetLoweringBase.cpp1624 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/include/llvm/Target/
DTargetLowering.h1431 GlobalValue *BaseGV; member
1435 AddrMode() : BaseGV(nullptr), BaseOffs(0), HasBaseReg(false), Scale(0) {} in AddrMode()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2119 const GlobalValue *BaseGV = dyn_cast<GlobalValue>(BaseCst); in handleIndirectSymViaGOTPCRel() local
2120 if (!BaseGV) in handleIndirectSymViaGOTPCRel()
2123 const MCSymbol *BaseSym = AP.getSymbol(BaseGV); in handleIndirectSymViaGOTPCRel()
/external/llvm/lib/Target/R600/
DSIISelLowering.cpp268 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1927 if (AM.BaseGV) { in isLegalAddressingMode()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2491 if (AM.BaseGV) { in isLegalAddressingMode()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp3714 if (AM.BaseGV) { in isLegalAddressingMode()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp380 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp3518 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp17684 if (!X86::isOffsetSuitableForCodeModel(AM.BaseOffs, M, AM.BaseGV != nullptr)) in isLegalAddressingMode()
17687 if (AM.BaseGV) { in isLegalAddressingMode()
17689 Subtarget->ClassifyGlobalReference(AM.BaseGV, getTargetMachine()); in isLegalAddressingMode()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6760 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp10134 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp10747 if (AM.BaseGV) in isLegalAddressingMode()