Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DomainReassignment.cpp92 virtual bool isLegal(const MachineInstr *MI, in isLegal() function in __anond9661d290111::InstrConverterBase
119 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
138 bool isLegal(const MachineInstr *MI, in isLegal() function in __anond9661d290111::InstrReplacer
140 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
153 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
181 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
215 bool isLegal(const MachineInstr *MI, in isLegal() function in __anond9661d290111::InstrCOPYReplacer
217 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
267 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
326 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
248 if (skipFunction(MF.getFunction()) || !isLegal(MF)) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerInfo.cpp362 bool LegalizerInfo::isLegal(const MachineInstr &MI, in isLegal() function in LegalizerInfo
H A DCombinerHelper.cpp143 bool CombinerHelper::isLegal(const LegalityQuery &Query) const { in isLegal() function in CombinerHelper
150 return isPreLegalize() || isLegal(Query); in isLegalOrBeforeLegalizer()
160 return isLegal({TargetOpcode::G_BUILD_VECTOR, {Ty, EltTy}}) && in isConstantLegalOrBeforeLegalizer()
161 isLegal({TargetOpcode::G_CONSTANT, {EltTy}}); in isConstantLegalOrBeforeLegalizer()
1159 return isLegal(Q); in isIndexedLoadStoreLegal()
6365 if (isLegal({TargetOpcode::G_FMAXNUM, {DstTy}})) in getFPMinMaxOpcForSelect()
6367 if (isLegal({TargetOpcode::G_FMAXIMUM, {DstTy}})) in getFPMinMaxOpcForSelect()
6378 if (isLegal({TargetOpcode::G_FMINNUM, {DstTy}})) in getFPMinMaxOpcForSelect()
6380 if (!isLegal({TargetOpcode::G_FMINIMUM, {DstTy}})) in getFPMinMaxOpcForSelect()
6442 if (!Opc || !isLegal({Opc, {DstTy}})) in matchFPSelectToMinMax()
H A DLegalizerHelper.cpp3448 if (!LI.isLegal({TargetOpcode::G_BUILD_VECTOR, {CastTy, SrcScalTy}})) { in bitcastConcatVector()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h1296 bool isLegal(const LegalityQuery &Query) const { in isLegal() function
1305 bool isLegal(const MachineInstr &MI, const MachineRegisterInfo &MRI) const;
H A DCombinerHelper.h136 bool isLegal(const LegalityQuery &Query) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp19962 bool isLegal = false; in getPreIndexedAddressParts() local
19964 isLegal = Subtarget->hasMVEIntegerOps() && in getPreIndexedAddressParts()
19970 isLegal = getT2IndexedAddressParts(Ptr.getNode(), VT, isSEXTLoad, Base, in getPreIndexedAddressParts()
19973 isLegal = getARMIndexedAddressParts(Ptr.getNode(), VT, isSEXTLoad, Base, in getPreIndexedAddressParts()
19976 if (!isLegal) in getPreIndexedAddressParts()
20042 bool isLegal = false; in getPostIndexedAddressParts() local
20044 isLegal = Subtarget->hasMVEIntegerOps() && in getPostIndexedAddressParts()
20050 isLegal = getT2IndexedAddressParts(Op, VT, isSEXTLoad, Base, Offset, in getPostIndexedAddressParts()
20053 isLegal = getARMIndexedAddressParts(Op, VT, isSEXTLoad, Base, Offset, in getPostIndexedAddressParts()
20056 if (!isLegal) in getPostIndexedAddressParts()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp19335 bool isLegal() const { in isLegal() function
19693 if (!LS.isLegal()) in SliceUpLoad()