/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 305 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()
|
D | TargetTransformInfoImpl.h | 209 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/ |
D | TargetTransformInfo.cpp | 100 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/ |
D | LoopStrengthReduce.cpp | 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() [all …]
|
D | StraightLineStrengthReduce.cpp | 236 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/ |
D | BasicTTIImpl.h | 127 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/ |
D | CodeGenPrepare.cpp | 1554 (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()
|
D | TargetLoweringBase.cpp | 1624 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 1431 GlobalValue *BaseGV; member 1435 AddrMode() : BaseGV(nullptr), BaseOffs(0), HasBaseReg(false), Scale(0) {} in AddrMode()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 2119 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/ |
D | SIISelLowering.cpp | 268 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1927 if (AM.BaseGV) { in isLegalAddressingMode()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 2491 if (AM.BaseGV) { in isLegalAddressingMode()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 3714 if (AM.BaseGV) { in isLegalAddressingMode()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 380 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 3518 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 17684 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/ |
D | AArch64ISelLowering.cpp | 6760 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 10747 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 10134 if (AM.BaseGV) in isLegalAddressingMode()
|