Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp232 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth() local
234 if (!DstTy->isVectorTy() && FromLegal && !ToLegal) in getMinBitWidth()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp216 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType() local
226 if (FromLegal && !ToLegal) in shouldChangeType()
231 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()