Home
last modified time | relevance | path

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

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