Changeset View
Changeset View
Standalone View
Standalone View
lib/Target/X86/X86ISelLowering.h
Show First 20 Lines • Show All 809 Lines • ▼ Show 20 Lines | public: | ||||
bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override; | bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override; | ||||
bool hasAndNotCompare(SDValue Y) const override; | bool hasAndNotCompare(SDValue Y) const override; | ||||
bool hasAndNot(SDValue Y) const override; | bool hasAndNot(SDValue Y) const override; | ||||
bool preferShiftsToClearExtremeBits(SDValue Y) const override; | bool preferShiftsToClearExtremeBits(SDValue Y) const override; | ||||
bool shouldTransformSignedTruncationCheck(EVT XVT, | |||||
unsigned KeptBits) const override; | |||||
bool convertSetCCLogicToBitwiseLogic(EVT VT) const override { | bool convertSetCCLogicToBitwiseLogic(EVT VT) const override { | ||||
return VT.isScalarInteger(); | return VT.isScalarInteger(); | ||||
} | } | ||||
/// Vector-sized comparisons are fast using PCMPEQ + PMOVMSK or PTEST. | /// Vector-sized comparisons are fast using PCMPEQ + PMOVMSK or PTEST. | ||||
MVT hasFastEqualityCompare(unsigned NumBits) const override; | MVT hasFastEqualityCompare(unsigned NumBits) const override; | ||||
/// Allow multiple load pairs per block for smaller and faster code. | /// Allow multiple load pairs per block for smaller and faster code. | ||||
▲ Show 20 Lines • Show All 716 Lines • Show Last 20 Lines |