Home
last modified time | relevance | path

Searched refs:isLegal (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DomainReassignment.cpp84 virtual bool isLegal(const MachineInstr *MI, in isLegal() function in __anond9661d290111::InstrConverterBase
111 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
130 bool isLegal(const MachineInstr *MI, in isLegal() function in __anond9661d290111::InstrReplacer
132 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
145 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
173 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
207 bool isLegal(const MachineInstr *MI, in isLegal() function in __anond9661d290111::InstrCOPYReplacer
209 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
259 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
318 bool isLegal(RegDomain RD) const { return LegalDstDomains[RD]; } in isLegal() function in __anond9661d290111::Closure
[all …]
H A DX86CallFrameOptimization.cpp98 bool isLegal(MachineFunction &MF);
135 bool X86CallFrameOptimization::isLegal(MachineFunction &MF) { in isLegal() function in X86CallFrameOptimization
247 if (skipFunction(MF.getFunction()) || !isLegal(MF)) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerInfo.cpp384 bool LegalizerInfo::isLegal(const MachineInstr &MI, in isLegal() function in LegalizerInfo
H A DCombinerHelper.cpp155 bool CombinerHelper::isLegal(const LegalityQuery &Query) const { in isLegal() function in CombinerHelper
162 return isPreLegalize() || isLegal(Query); in isLegalOrBeforeLegalizer()
166 return isLegal(Query) || in isLegalOrHasWidenScalar()
177 return isLegal({TargetOpcode::G_BUILD_VECTOR, {Ty, EltTy}}) && in isConstantLegalOrBeforeLegalizer()
178 isLegal({TargetOpcode::G_CONSTANT, {EltTy}}); in isConstantLegalOrBeforeLegalizer()
1227 return isLegal(Q); in isIndexedLoadStoreLegal()
3507 !isLegal({TargetOpcode::G_CONCAT_VECTORS, {MidTy, UnmergeSrcTy}})) in matchUseVectorTruncate()
3510 if (!isLegal({TargetOpcode::G_TRUNC, {DstTy, MidTy}})) in matchUseVectorTruncate()
5559 if (!isLegal({TargetOpcode::G_SMULH, {DstTy}}) && in matchSDivByConst()
6611 if (isLegal({TargetOpcode::G_FMAXNUM, {DstTy}})) in getFPMinMaxOpcForSelect()
[all …]
H A DLegalizerHelper.cpp3860 if (!LI.isLegal({TargetOpcode::G_BUILD_VECTOR, {CastTy, SrcScalTy}})) { in bitcastConcatVector()
9122 (LI.isLegal({TargetOpcode::G_BITREVERSE, in lowerBitreverse()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h1384 bool isLegal(const LegalityQuery &Query) const { in isLegal() function
1393 bool isLegal(const MachineInstr &MI, const MachineRegisterInfo &MRI) const;
H A DCombinerHelper.h140 bool isLegal(const LegalityQuery &Query) const;
H A DLegalizationArtifactCombiner.h1102 if (!OpTy.isVector() || !LI.isLegal({TargetOpcode::G_UNMERGE_VALUES, in tryCombineUnmergeValues()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp19897 bool isLegal = false; in getPreIndexedAddressParts() local
19899 isLegal = Subtarget->hasMVEIntegerOps() && in getPreIndexedAddressParts()
19905 isLegal = getT2IndexedAddressParts(Ptr.getNode(), VT, isSEXTLoad, Base, in getPreIndexedAddressParts()
19908 isLegal = getARMIndexedAddressParts(Ptr.getNode(), VT, isSEXTLoad, Base, in getPreIndexedAddressParts()
19911 if (!isLegal) in getPreIndexedAddressParts()
19977 bool isLegal = false; in getPostIndexedAddressParts() local
19979 isLegal = Subtarget->hasMVEIntegerOps() && in getPostIndexedAddressParts()
19985 isLegal = getT2IndexedAddressParts(Op, VT, isSEXTLoad, Base, Offset, in getPostIndexedAddressParts()
19988 isLegal = getARMIndexedAddressParts(Op, VT, isSEXTLoad, Base, Offset, in getPostIndexedAddressParts()
19991 if (!isLegal) in getPostIndexedAddressParts()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4274 bool isLegal() const { return IsLegal; } in isLegal() function in llvm::slpvectorizer::BoUpSLP::ScalarsVectorizationLegality
10253 if (!Legality.isLegal()) { in buildTreeRec()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp20334 bool isLegal() const { in isLegal() function
20691 if (!LS.isLegal()) in SliceUpLoad()