/external/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 103 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/ |
D | BasicTargetTransformInfo.cpp | 81 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()
|
D | CodeGenPrepare.cpp | 1048 (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()
|
D | TargetLoweringBase.cpp | 1438 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 229 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/ |
D | TargetTransformInfo.h | 267 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, 277 virtual int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 1250 GlobalValue *BaseGV; member 1254 AddrMode() : BaseGV(nullptr), BaseOffs(0), HasBaseReg(false), Scale(0) {} in AddrMode()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 1639 if (AM.BaseGV) { in isLegalAddressingMode()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1917 if (AM.BaseGV) { in isLegalAddressingMode()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 2569 if (AM.BaseGV) { in isLegalAddressingMode()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 357 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 3220 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 16653 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/ |
D | AArch64ISelLowering.cpp | 6200 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 8753 if (AM.BaseGV) in isLegalAddressingMode()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 9938 if (AM.BaseGV) in isLegalAddressingMode()
|