Home
last modified time | relevance | path

Searched refs:TotalOffs (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp491 uint64_t TotalOffs = 0; in selectGetElementPtr() local
504 TotalOffs += DL.getStructLayout(StTy)->getElementOffset(Field); in selectGetElementPtr()
505 if (TotalOffs >= MaxOffs) { in selectGetElementPtr()
506 N = fastEmit_ri_(VT, ISD::ADD, N, NIsKill, TotalOffs, VT); in selectGetElementPtr()
510 TotalOffs = 0; in selectGetElementPtr()
523 TotalOffs += DL.getTypeAllocSize(Ty) * IdxN; in selectGetElementPtr()
524 if (TotalOffs >= MaxOffs) { in selectGetElementPtr()
525 N = fastEmit_ri_(VT, ISD::ADD, N, NIsKill, TotalOffs, VT); in selectGetElementPtr()
529 TotalOffs = 0; in selectGetElementPtr()
533 if (TotalOffs) { in selectGetElementPtr()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp4829 uint64_t TotalOffs = 0; in selectGetElementPtr() local
4838 TotalOffs += DL.getStructLayout(StTy)->getElementOffset(Field); in selectGetElementPtr()
4847 TotalOffs += in selectGetElementPtr()
4851 if (TotalOffs) { in selectGetElementPtr()
4852 N = emitAdd_ri_(VT, N, NIsKill, TotalOffs); in selectGetElementPtr()
4856 TotalOffs = 0; in selectGetElementPtr()
4881 if (TotalOffs) { in selectGetElementPtr()
4882 N = emitAdd_ri_(VT, N, NIsKill, TotalOffs); in selectGetElementPtr()