Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp506 bool IsLegal = TII->isOperandLegal(*MI, OpNo, OpToFold); in tryAddToFoldList() local
507 if (!IsLegal && OpToFold->isImm()) { in tryAddToFoldList()
509 IsLegal = canUseImmWithOpSel(Fold); in tryAddToFoldList()
512 if (!IsLegal) { in tryAddToFoldList()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3406 bool IsLegal = (C >> 12 == 0) || ((C & 0xFFFULL) == 0 && C >> 24 == 0); in isLegalArithImmed() local
3408 << " legal: " << (IsLegal ? "yes\n" : "no\n")); in isLegalArithImmed()
3409 return IsLegal; in isLegalArithImmed()
11267 bool IsLegal = false; in isFPImmLegal() local
11278 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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp11300 bool IsLegal = in lowerShuffleAsBitRotate() local
11302 if (!IsLegal && Subtarget.hasSSE3()) in lowerShuffleAsBitRotate()
11314 if (!IsLegal) { in lowerShuffleAsBitRotate()