Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp236 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements(); in FoldCmpLoadFromIndexedGlobal() local
237 if (ArrayElementCount > 1024) return nullptr; // Don't blow up on huge arrays. in FoldCmpLoadFromIndexedGlobal()
304 for (unsigned i = 0, e = ArrayElementCount; i != e; ++i) { in FoldCmpLoadFromIndexedGlobal()
483 if (ArrayElementCount <= Idx->getType()->getIntegerBitWidth()) in FoldCmpLoadFromIndexedGlobal()
486 Ty = DL.getSmallestLegalIntType(Init->getContext(), ArrayElementCount); in FoldCmpLoadFromIndexedGlobal()