Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp103 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, in isLegalAddressingMode() argument
107 return PrevTTI->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode()
111 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument
115 return PrevTTI->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost()
494 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode()
499 return !BaseGV && BaseOffset == 0 && Scale <= 1; in isLegalAddressingMode()
502 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost()
505 if(isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, Scale)) in getScalingFactorCost()
/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp81 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
84 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
148 bool BasicTTI::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, in isLegalAddressingMode() argument
152 AM.BaseGV = BaseGV; in isLegalAddressingMode()
159 int BasicTTI::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument
163 AM.BaseGV = BaseGV; in getScalingFactorCost()
DCodeGenPrepare.cpp1048 (BaseGV == O.BaseGV) && (BaseOffs == O.BaseOffs) && in operator ==()
1063 if (BaseGV) { in print()
1066 BaseGV->printAsOperand(OS, /*PrintType=*/false); in print()
2198 if (!AddrMode.BaseGV) { in MatchAddr()
2199 AddrMode.BaseGV = GV; in MatchAddr()
2202 AddrMode.BaseGV = nullptr; in MatchAddr()
2624 if (AddrMode.BaseGV) { in OptimizeMemoryInst()
2628 ResultPtr = AddrMode.BaseGV; in OptimizeMemoryInst()
2771 if (AddrMode.BaseGV) { in OptimizeMemoryInst()
2772 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
DTargetLoweringBase.cpp1438 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp229 GlobalValue *BaseGV; member
262 : BaseGV(nullptr), BaseOffset(0), HasBaseReg(false), Scale(0), in Formula()
423 BaseGV ? BaseGV->getType() : in getType()
456 if (BaseGV) { in print()
458 BaseGV->printAsOperand(OS, /*PrintType=*/false); in print()
1033 if (F.BaseGV) in RateFormula()
1384 GlobalValue *BaseGV, int64_t BaseOffset, in isAMCompletelyFolded() argument
1388 return TTI.isLegalAddressingMode(AccessTy, BaseGV, BaseOffset, HasBaseReg, Scale); in isAMCompletelyFolded()
1396 if (BaseGV) in isAMCompletelyFolded()
1426 return !BaseGV && Scale == 0 && BaseOffset == 0; in isAMCompletelyFolded()
[all …]
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h267 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
277 virtual int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
/external/llvm/include/llvm/Target/
DTargetLowering.h1250 GlobalValue *BaseGV; member
1254 AddrMode() : BaseGV(nullptr), BaseOffs(0), HasBaseReg(false), Scale(0) {} in AddrMode()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1639 if (AM.BaseGV) { in isLegalAddressingMode()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1917 if (AM.BaseGV) { in isLegalAddressingMode()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp2569 if (AM.BaseGV) { in isLegalAddressingMode()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp357 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp3220 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp16653 if (!X86::isOffsetSuitableForCodeModel(AM.BaseOffs, M, AM.BaseGV != nullptr)) in isLegalAddressingMode()
16656 if (AM.BaseGV) { in isLegalAddressingMode()
16658 Subtarget->ClassifyGlobalReference(AM.BaseGV, getTargetMachine()); in isLegalAddressingMode()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6200 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp8753 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9938 if (AM.BaseGV) in isLegalAddressingMode()