Searched refs:IsLegal (Results 1 – 3 of 3) sorted by relevance
506 bool IsLegal = TII->isOperandLegal(*MI, OpNo, OpToFold); in tryAddToFoldList() local507 if (!IsLegal && OpToFold->isImm()) { in tryAddToFoldList()509 IsLegal = canUseImmWithOpSel(Fold); in tryAddToFoldList()512 if (!IsLegal) { in tryAddToFoldList()
3406 bool IsLegal = (C >> 12 == 0) || ((C & 0xFFFULL) == 0 && C >> 24 == 0); in isLegalArithImmed() local3408 << " legal: " << (IsLegal ? "yes\n" : "no\n")); in isLegalArithImmed()3409 return IsLegal; in isLegalArithImmed()11267 bool IsLegal = false; in isFPImmLegal() local11278 IsLegal = AArch64_AM::getFP64Imm(ImmInt) != -1 || Imm.isPosZero(); in isFPImmLegal()11280 IsLegal = AArch64_AM::getFP32Imm(ImmInt) != -1 || Imm.isPosZero(); in isFPImmLegal()11282 IsLegal = in isFPImmLegal()11291 if (!IsLegal && (VT == MVT::f64 || VT == MVT::f32)) { in isFPImmLegal()11300 IsLegal = Insn.size() <= Limit; in isFPImmLegal()11303 LLVM_DEBUG(dbgs() << (IsLegal ? "Legal " : "Illegal ") << VT in isFPImmLegal()[all …]
11300 bool IsLegal = in lowerShuffleAsBitRotate() local11302 if (!IsLegal && Subtarget.hasSSE3()) in lowerShuffleAsBitRotate()11314 if (!IsLegal) { in lowerShuffleAsBitRotate()