Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp71 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
129 bool BasicTTI::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, in isLegalAddressingMode() argument
133 AM.BaseGV = BaseGV; in isLegalAddressingMode()
DTargetLoweringBase.cpp1286 if (AM.BaseGV) in isLegalAddressingMode()
/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()
451 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode()
455 return !BaseGV && BaseOffset == 0 && Scale <= 1; in isLegalAddressingMode()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp228 GlobalValue *BaseGV; member
253 : BaseGV(0), BaseOffset(0), HasBaseReg(false), Scale(0), ScaledReg(0), in Formula()
362 BaseGV ? BaseGV->getType() : in getType()
395 if (BaseGV) { in print()
397 WriteAsOperand(OS, BaseGV, /*PrintType=*/false); in print()
941 if (F.BaseGV) in RateFormula()
1284 Type *AccessTy, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalUse() argument
1288 return TTI.isLegalAddressingMode(AccessTy, BaseGV, BaseOffset, HasBaseReg, Scale); in isLegalUse()
1296 if (BaseGV) in isLegalUse()
1326 return !BaseGV && Scale == 0 && BaseOffset == 0; in isLegalUse()
[all …]
DCodeGenPrepare.cpp835 (BaseGV == O.BaseGV) && (BaseOffs == O.BaseOffs) && in operator ==()
848 if (BaseGV) { in print()
851 WriteAsOperand(OS, BaseGV, /*PrintType=*/false); in print()
1190 if (AddrMode.BaseGV == 0) { in MatchAddr()
1191 AddrMode.BaseGV = GV; in MatchAddr()
1194 AddrMode.BaseGV = 0; in MatchAddr()
1616 if (AddrMode.BaseGV) { in OptimizeMemoryInst()
1617 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h224 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
/external/llvm/include/llvm/Target/
DTargetLowering.h1137 GlobalValue *BaseGV; member
1141 AddrMode() : BaseGV(0), BaseOffs(0), HasBaseReg(false), Scale(0) {} in AddrMode()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1341 if (AM.BaseGV) { in isLegalAddressingMode()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1616 if (AM.BaseGV) { in isLegalAddressingMode()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1595 if (AM.BaseGV) { in isLegalAddressingMode()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp3285 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp12570 if (!X86::isOffsetSuitableForCodeModel(AM.BaseOffs, M, AM.BaseGV != NULL)) in isLegalAddressingMode()
12573 if (AM.BaseGV) { in isLegalAddressingMode()
12575 Subtarget->ClassifyGlobalReference(AM.BaseGV, getTargetMachine()); in isLegalAddressingMode()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp6736 if (AM.BaseGV) in isLegalAddressingMode()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9693 if (AM.BaseGV) in isLegalAddressingMode()