Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DFastISel.cpp263 unsigned IdxN = getRegForValue(Idx); in getRegForGEPIndex() local
264 if (IdxN == 0) in getRegForGEPIndex()
274 IdxN = FastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::SIGN_EXTEND, in getRegForGEPIndex()
275 IdxN, IdxNIsKill); in getRegForGEPIndex()
279 IdxN = FastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::TRUNCATE, in getRegForGEPIndex()
280 IdxN, IdxNIsKill); in getRegForGEPIndex()
283 return std::pair<unsigned, bool>(IdxN, IdxNIsKill); in getRegForGEPIndex()
468 unsigned IdxN = Pair.first; in SelectGetElementPtr() local
470 if (IdxN == 0) in SelectGetElementPtr()
475 IdxN = FastEmit_ri_(VT, ISD::MUL, IdxN, IdxNIsKill, ElementSize, VT); in SelectGetElementPtr()
[all …]
DSelectionDAGBuilder.cpp3086 SDValue IdxN = getValue(Idx); in visitGetElementPtr() local
3090 IdxN = DAG.getSExtOrTrunc(IdxN, getCurDebugLoc(), N.getValueType()); in visitGetElementPtr()
3097 IdxN = DAG.getNode(ISD::SHL, getCurDebugLoc(), in visitGetElementPtr()
3098 N.getValueType(), IdxN, in visitGetElementPtr()
3102 IdxN = DAG.getNode(ISD::MUL, getCurDebugLoc(), in visitGetElementPtr()
3103 N.getValueType(), IdxN, Scale); in visitGetElementPtr()
3108 N.getValueType(), N, IdxN); in visitGetElementPtr()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp318 unsigned IdxN = getRegForValue(Idx); in getRegForGEPIndex() local
319 if (IdxN == 0) in getRegForGEPIndex()
329 IdxN = fastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::SIGN_EXTEND, IdxN, in getRegForGEPIndex()
333 IdxN = in getRegForGEPIndex()
334 fastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::TRUNCATE, IdxN, IdxNIsKill); in getRegForGEPIndex()
337 return std::pair<unsigned, bool>(IdxN, IdxNIsKill); in getRegForGEPIndex()
523 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue(); in selectGetElementPtr() local
524 TotalOffs += DL.getTypeAllocSize(Ty) * IdxN; in selectGetElementPtr()
545 unsigned IdxN = Pair.first; in selectGetElementPtr() local
547 if (!IdxN) // Unhandled operand. Halt "fast" selection and bail. in selectGetElementPtr()
[all …]
DSelectionDAGBuilder.cpp3350 SDValue IdxN = getValue(Idx); in visitGetElementPtr() local
3352 if (!IdxN.getValueType().isVector() && VectorWidth) { in visitGetElementPtr()
3353 MVT VT = MVT::getVectorVT(IdxN.getValueType().getSimpleVT(), VectorWidth); in visitGetElementPtr()
3354 SmallVector<SDValue, 16> Ops(VectorWidth, IdxN); in visitGetElementPtr()
3355 IdxN = DAG.getNode(ISD::BUILD_VECTOR, dl, VT, Ops); in visitGetElementPtr()
3359 IdxN = DAG.getSExtOrTrunc(IdxN, dl, N.getValueType()); in visitGetElementPtr()
3366 IdxN = DAG.getNode(ISD::SHL, dl, in visitGetElementPtr()
3367 N.getValueType(), IdxN, in visitGetElementPtr()
3368 DAG.getConstant(Amt, dl, IdxN.getValueType())); in visitGetElementPtr()
3370 SDValue Scale = DAG.getConstant(ElementSize, dl, IdxN.getValueType()); in visitGetElementPtr()
[all …]
DDAGCombiner.cpp13289 auto *IdxN = dyn_cast<ConstantSDNode>(V->getOperand(2)); in simplifyShuffleOperandRecursively() local
13290 if (!IdxN) in simplifyShuffleOperandRecursively()
13294 int Idx = IdxN->getZExtValue(); in simplifyShuffleOperandRecursively()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp4819 unsigned IdxN = getRegForValue(Idx); in getRegForGEPIndex() local
4820 if (IdxN == 0) in getRegForGEPIndex()
4830 IdxN = emitIntExt(IdxVT.getSimpleVT(), IdxN, PtrVT, /*IsZExt=*/false); in getRegForGEPIndex()
4834 return std::pair<unsigned, bool>(IdxN, IdxNIsKill); in getRegForGEPIndex()
4882 unsigned IdxN = Pair.first; in selectGetElementPtr() local
4884 if (!IdxN) in selectGetElementPtr()
4891 IdxN = emitMul_rr(VT, IdxN, IdxNIsKill, C, true); in selectGetElementPtr()
4892 if (!IdxN) in selectGetElementPtr()
4896 N = fastEmit_rr(VT, VT, ISD::ADD, N, NIsKill, IdxN, IdxNIsKill); in selectGetElementPtr()