Home
last modified time | relevance | path

Searched refs:IsSext (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1893 bool IsSext = match(Op0, m_SExt(m_Value(X))); in narrowMathIfNoOverflow() local
1894 if (!IsSext && !match(Op0, m_ZExt(m_Value(X)))) in narrowMathIfNoOverflow()
1899 CastInst::CastOps CastOpc = IsSext ? Instruction::SExt : Instruction::ZExt; in narrowMathIfNoOverflow()
1921 if (!willNotOverflow(BO.getOpcode(), X, Y, BO, IsSext)) in narrowMathIfNoOverflow()
1928 if (IsSext) in narrowMathIfNoOverflow()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2495 bool IsSext = N->getOpcode() == ISD::SIGN_EXTEND; in performVectorExtendCombine() local
2498 unsigned Op = IsSext ? (IsLow ? WebAssemblyISD::EXTEND_LOW_S in performVectorExtendCombine()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp3873 bool IsSext = ConvOpts == SetccInGPROpts::SExtOrig || in getSETCCInGPR() local
3876 if (IsSext && Inputs32Bit) in getSETCCInGPR()
3880 else if (IsSext) in getSETCCInGPR()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp233 bool IsSext = Op1Sext || Op2Sext; in getArithmeticInstrCost() local
234 if (IsConstant || IsZeroExtended || IsSext) in getArithmeticInstrCost()
H A DX86ISelLowering.cpp50354 auto IsSext = [&DAG](SDValue V) { in combinePMULH() local
50361 bool IsSigned = IsSext(LHS) && IsSext(RHS); in combinePMULH()