Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp241 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements(); in FoldCmpLoadFromIndexedGlobal() local
242 if (ArrayElementCount > 1024) return nullptr; // Don't blow up on huge arrays. in FoldCmpLoadFromIndexedGlobal()
309 for (unsigned i = 0, e = ArrayElementCount; i != e; ++i) { in FoldCmpLoadFromIndexedGlobal()
486 if (ArrayElementCount <= Idx->getType()->getIntegerBitWidth()) in FoldCmpLoadFromIndexedGlobal()
489 Ty = DL.getSmallestLegalIntType(Init->getContext(), ArrayElementCount); in FoldCmpLoadFromIndexedGlobal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp182 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements(); in foldCmpLoadFromIndexedGlobal() local
184 if (ArrayElementCount > MaxArraySizeForCombine) in foldCmpLoadFromIndexedGlobal()
252 for (unsigned i = 0, e = ArrayElementCount; i != e; ++i) { in foldCmpLoadFromIndexedGlobal()
428 if (ArrayElementCount <= Idx->getType()->getIntegerBitWidth()) in foldCmpLoadFromIndexedGlobal()
431 Ty = DL.getSmallestLegalIntType(Init->getContext(), ArrayElementCount); in foldCmpLoadFromIndexedGlobal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp34724 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements(); in combineAndLoadToBZHI() local
34726 for (uint64_t j = 0; j < ArrayElementCount; j++) { in combineAndLoadToBZHI()