Lines Matching refs:LZ

931   unsigned LZ = countLeadingZeros<uint64_t>(Imm);  in selectI64ImmDirect()  local
953 if (TZ > 15 && (LZ > 32 || LO > 32)) in selectI64ImmDirect()
959 assert(LZ < 64 && "Unexpected leading zeros here."); in selectI64ImmDirect()
961 unsigned FO = countLeadingOnes<uint64_t>(Imm << LZ); in selectI64ImmDirect()
977 if ((LZ + FO + TZ) > 48) { in selectI64ImmDirect()
981 getI32Imm(TZ), getI32Imm(LZ)); in selectI64ImmDirect()
998 if ((LZ + TO) > 48) { in selectI64ImmDirect()
1002 assert(LZ <= 32 && "Unexpected shift value."); in selectI64ImmDirect()
1004 getI32Imm((Imm >> (48 - LZ) & 0xffff))); in selectI64ImmDirect()
1006 getI32Imm(48 - LZ), getI32Imm(LZ)); in selectI64ImmDirect()
1024 if ((LZ + FO + TO) > 48) { in selectI64ImmDirect()
1028 getI32Imm(TO), getI32Imm(LZ)); in selectI64ImmDirect()
1034 if (LZ == 32 && ((Lo32 & 0x8000) == 0)) { in selectI64ImmDirect()
1076 if ((LZ + FO + TZ) > 32) { in selectI64ImmDirect()
1083 getI32Imm(TZ), getI32Imm(LZ)); in selectI64ImmDirect()
1090 if ((LZ + TO) > 32) { in selectI64ImmDirect()
1094 assert(LZ <= 32 && "Unexpected shift value."); in selectI64ImmDirect()
1096 getI32Imm((Imm >> (48 - LZ)) & 0xffff)); in selectI64ImmDirect()
1098 getI32Imm((Imm >> (32 - LZ)) & 0xffff)); in selectI64ImmDirect()
1100 getI32Imm(32 - LZ), getI32Imm(LZ)); in selectI64ImmDirect()
1108 if ((LZ + FO + TO) > 32) { in selectI64ImmDirect()
1114 getI32Imm(TO), getI32Imm(LZ)); in selectI64ImmDirect()
1160 unsigned LZ = countLeadingZeros<uint64_t>(Imm); in selectI64ImmDirectPrefix() local
1162 unsigned FO = countLeadingOnes<uint64_t>(LZ == 64 ? 0 : (Imm << LZ)); in selectI64ImmDirectPrefix()
1192 if ((LZ + FO + TZ) > 30) { in selectI64ImmDirectPrefix()
1198 getI32Imm(TZ), getI32Imm(LZ)); in selectI64ImmDirectPrefix()
1214 if ((LZ + TO) > 30) { in selectI64ImmDirectPrefix()
1215 APInt SignedInt34 = APInt(34, (Imm >> (30 - LZ)) & 0x3ffffffff); in selectI64ImmDirectPrefix()
1220 getI32Imm(30 - LZ), getI32Imm(LZ)); in selectI64ImmDirectPrefix()
1227 if ((LZ + FO + TO) > 30) { in selectI64ImmDirectPrefix()
1233 getI32Imm(TO), getI32Imm(LZ)); in selectI64ImmDirectPrefix()