14 EVT VT = TLI->getValueType(
DL, DataType);
24 unsigned C1NumRegs =
C1.NumRegs + (
C1.NumBaseAdds != 0);
26 return std::tie(
C1.Insns, C1NumRegs,
C1.AddRecCost,
C1.NumIVMuls,
27 C1.NumBaseAdds,
C1.ScaleCost,
C1.ImmCost,
C1.SetupCost) <
bool hasDivRemOp(Type *DataType, bool IsSigned) const override
bool isLSRCostLess(const TargetTransformInfo::LSRCost &C1, const TargetTransformInfo::LSRCost &C2) const override
The instances of the Type class are immutable: once they are created, they are never changed.
@ SDIVREM
SDIVREM/UDIVREM - Divide two integers and produce both a quotient and remainder result.
This is an optimization pass for GlobalISel generic memory operations.