Home
last modified time | relevance | path

Searched refs:BaseOffs (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1554 (BaseGV == O.BaseGV) && (BaseOffs == O.BaseOffs) && in operator ==()
1576 if (BaseOffs) { in print()
1578 << BaseOffs; in print()
2161 TestAddrMode.BaseOffs += CI->getSExtValue()*TestAddrMode.Scale; in MatchScaledValue()
2721 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()
2727 AddrMode.BaseOffs -= ConstantOffset; in MatchOperationAddr()
2736 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()
2761 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()
2844 AddrMode.BaseOffs += CI->getSExtValue(); in MatchAddr()
2847 AddrMode.BaseOffs -= CI->getSExtValue(); in MatchAddr()
[all …]
DTargetLoweringBase.cpp1620 if (AM.BaseOffs <= -(1LL << 16) || AM.BaseOffs >= (1LL << 16)-1) in isLegalAddressingMode()
1632 if (AM.HasBaseReg && AM.BaseOffs) // "r+r+i" is not allowed. in isLegalAddressingMode()
1637 if (AM.HasBaseReg || AM.BaseOffs) // 2*r+r or 2*r+i is not allowed. in isLegalAddressingMode()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp293 DecomposeGEPExpression(const Value *V, int64_t &BaseOffs, in DecomposeGEPExpression() argument
301 BaseOffs = 0; in DecomposeGEPExpression()
356 BaseOffs += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
363 BaseOffs += DL.getTypeAllocSize(*GTI) * CIdx->getSExtValue(); in DecomposeGEPExpression()
383 BaseOffs += IndexOffset.getSExtValue()*Scale; in DecomposeGEPExpression()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1923 return AM.Scale == 0 && isImmUs(AM.BaseOffs) && isImmUs4(AM.BaseOffs); in isLegalAddressingMode()
1929 AM.BaseOffs%4 == 0; in isLegalAddressingMode()
1936 return isImmUs(AM.BaseOffs); in isLegalAddressingMode()
1939 return AM.Scale == 1 && AM.BaseOffs == 0; in isLegalAddressingMode()
1944 return isImmUs2(AM.BaseOffs); in isLegalAddressingMode()
1947 return AM.Scale == 2 && AM.BaseOffs == 0; in isLegalAddressingMode()
1951 return isImmUs4(AM.BaseOffs); in isLegalAddressingMode()
1954 return AM.Scale == 4 && AM.BaseOffs == 0; in isLegalAddressingMode()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h131 AM.BaseOffs = BaseOffset; in isLegalAddressingMode()
141 AM.BaseOffs = BaseOffset; in getScalingFactorCost()
/external/llvm/include/llvm/Target/
DTargetLowering.h1432 int64_t BaseOffs; member
1435 AddrMode() : BaseGV(nullptr), BaseOffs(0), HasBaseReg(false), Scale(0) {} in AddrMode()
/external/llvm/lib/Target/R600/
DSIISelLowering.cpp273 if (!isUInt<16>(AM.BaseOffs)) in isLegalAddressingMode()
281 if (AM.HasBaseReg && AM.BaseOffs) // "r+r+i" is not allowed. in isLegalAddressingMode()
286 if (AM.HasBaseReg || AM.BaseOffs) // 2*r+r or 2*r+i is not allowed. in isLegalAddressingMode()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2486 if (AM.BaseOffs <= -(1LL << 13) || AM.BaseOffs >= (1LL << 13)-1) { in isLegalAddressingMode()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp10739 if (Ty->isVectorTy() && AM.BaseOffs != 0) in isLegalAddressingMode()
10743 if (AM.BaseOffs <= -(1LL << 16) || AM.BaseOffs >= (1LL << 16)-1) in isLegalAddressingMode()
10755 if (AM.HasBaseReg && AM.BaseOffs) // "r+r+i" is not allowed. in isLegalAddressingMode()
10760 if (AM.HasBaseReg || AM.BaseOffs) // 2*r+r or 2*r+i is not allowed. in isLegalAddressingMode()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp3715 if (AM.BaseOffs || AM.HasBaseReg || AM.Scale) in isLegalAddressingMode()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp384 if (!isInt<20>(AM.BaseOffs)) in isLegalAddressingMode()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6764 if (AM.HasBaseReg && AM.BaseOffs && AM.Scale) in isLegalAddressingMode()
6778 int64_t Offset = AM.BaseOffs; in isLegalAddressingMode()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp10130 if (!isLegalAddressImmediate(AM.BaseOffs, VT, Subtarget)) in isLegalAddressingMode()
10146 if (AM.BaseOffs) in isLegalAddressingMode()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8574 AM.BaseOffs = Offset->getSExtValue(); in canFoldInAddressingMode()
8582 AM.BaseOffs = -Offset->getSExtValue(); in canFoldInAddressingMode()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp17684 if (!X86::isOffsetSuitableForCodeModel(AM.BaseOffs, M, AM.BaseGV != nullptr)) in isLegalAddressingMode()
17702 Subtarget->is64Bit() && (AM.BaseOffs || AM.Scale > 1)) in isLegalAddressingMode()