Home
last modified time | relevance | path

Searched refs:IdxN (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp315 unsigned IdxN = getRegForValue(Idx); in getRegForGEPIndex() local
316 if (IdxN == 0) in getRegForGEPIndex()
326 IdxN = fastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::SIGN_EXTEND, IdxN, in getRegForGEPIndex()
330 IdxN = in getRegForGEPIndex()
331 fastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::TRUNCATE, IdxN, IdxNIsKill); in getRegForGEPIndex()
334 return std::pair<unsigned, bool>(IdxN, IdxNIsKill); in getRegForGEPIndex()
522 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue(); in selectGetElementPtr() local
523 TotalOffs += DL.getTypeAllocSize(Ty) * IdxN; in selectGetElementPtr()
544 unsigned IdxN = Pair.first; in selectGetElementPtr() local
546 if (!IdxN) // Unhandled operand. Halt "fast" selection and bail. in selectGetElementPtr()
[all …]
DSelectionDAGBuilder.cpp3417 SDValue IdxN = getValue(Idx); in visitGetElementPtr() local
3421 IdxN = DAG.getSExtOrTrunc(IdxN, getCurSDLoc(), N.getValueType()); in visitGetElementPtr()
3428 IdxN = DAG.getNode(ISD::SHL, getCurSDLoc(), in visitGetElementPtr()
3429 N.getValueType(), IdxN, in visitGetElementPtr()
3430 DAG.getConstant(Amt, IdxN.getValueType())); in visitGetElementPtr()
3432 SDValue Scale = DAG.getConstant(ElementSize, IdxN.getValueType()); in visitGetElementPtr()
3433 IdxN = DAG.getNode(ISD::MUL, getCurSDLoc(), in visitGetElementPtr()
3434 N.getValueType(), IdxN, Scale); in visitGetElementPtr()
3439 N.getValueType(), N, IdxN); in visitGetElementPtr()
DDAGCombiner.cpp11821 auto *IdxN = dyn_cast<ConstantSDNode>(V->getOperand(2)); in simplifyShuffleOperandRecursively() local
11822 if (!IdxN) in simplifyShuffleOperandRecursively()
11826 int Idx = IdxN->getZExtValue(); in simplifyShuffleOperandRecursively()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp4799 unsigned IdxN = getRegForValue(Idx); in getRegForGEPIndex() local
4800 if (IdxN == 0) in getRegForGEPIndex()
4810 IdxN = emitIntExt(IdxVT.getSimpleVT(), IdxN, PtrVT, /*IsZExt=*/false); in getRegForGEPIndex()
4814 return std::pair<unsigned, bool>(IdxN, IdxNIsKill); in getRegForGEPIndex()
4862 unsigned IdxN = Pair.first; in selectGetElementPtr() local
4864 if (!IdxN) in selectGetElementPtr()
4871 IdxN = emitMul_rr(VT, IdxN, IdxNIsKill, C, true); in selectGetElementPtr()
4872 if (!IdxN) in selectGetElementPtr()
4876 N = fastEmit_rr(VT, VT, ISD::ADD, N, NIsKill, IdxN, IdxNIsKill); in selectGetElementPtr()