Home
last modified time | relevance | path

Searched refs:XType (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp589 Type *XType = X1->getType(); in tryToRecognizeTableBasedCttz() local
590 auto Cttz = B.CreateIntrinsic(Intrinsic::cttz, {XType}, {X1, BoolConst}); in tryToRecognizeTableBasedCttz()
598 auto Cmp = B.CreateICmpEQ(X1, ConstantInt::get(XType, 0)); in tryToRecognizeTableBasedCttz()
600 B.CreateSelect(Cmp, ConstantInt::get(XType, ZeroTableElem), Cttz); in tryToRecognizeTableBasedCttz()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1877 Type *XType = X->getType(); in foldItoFPtoI() local
1898 if (DestType->getScalarSizeInBits() > XType->getScalarSizeInBits()) { in foldItoFPtoI()
1904 if (DestType->getScalarSizeInBits() < XType->getScalarSizeInBits()) in foldItoFPtoI()
1907 assert(XType == DestType && "Unexpected types for int to FP to int casts"); in foldItoFPtoI()
H A DInstCombineVectorOps.cpp2818 auto *XType = cast<FixedVectorType>(X->getType()); in visitShuffleVectorInst() local
2819 unsigned XNumElts = XType->getNumElements(); in visitShuffleVectorInst()
2832 if (auto *V = simplifyShuffleVectorInst(X, UndefValue::get(XType), in visitShuffleVectorInst()
2833 ScaledMask, XType, ShufQuery)) in visitShuffleVectorInst()
H A DInstCombineCompares.cpp1630 Type *XType = X->getType(); in foldICmpXorShiftConst() local
1633 Value *Add = Builder.CreateAdd(X, ConstantInt::get(XType, PowerOf2)); in foldICmpXorShiftConst()
1636 return new ICmpInst(Pred, Add, ConstantInt::get(XType, Bound)); in foldICmpXorShiftConst()
3221 Type *XType = X->getType(); in foldICmpBitCast() local
3224 if (!(XType->isPPC_FP128Ty() || SrcType->isPPC_FP128Ty())) { in foldICmpBitCast()
3225 Type *NewType = Builder.getIntNTy(XType->getScalarSizeInBits()); in foldICmpBitCast()
3226 if (auto *XVTy = dyn_cast<VectorType>(XType)) in foldICmpBitCast()
4168 auto *XType = X->getType(); in foldICmpWithTruncSignExtendedVal() local
4169 const unsigned XBitWidth = XType->getScalarSizeInBits(); in foldICmpWithTruncSignExtendedVal()
4184 Value *T0 = Builder.CreateAdd(X, ConstantInt::get(XType, AddCst)); in foldICmpWithTruncSignExtendedVal()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp229 QualType XType = X.getNonTypeTemplateArgumentType(); in checkDeducedTemplateArguments() local
230 if (!XType.isNull()) { in checkDeducedTemplateArguments()
232 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3496 EVT XType = SRASrc0.getValueType(); in tryABSOp() local
3497 unsigned Size = XType.getSizeInBits() - 1; in tryABSOp()
3499 if (XORSrc1 == SUBSrc1 && XORSrc0 == SRASrc0 && XType.isInteger() && in tryABSOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp27049 EVT XType = N0.getValueType(); in foldSelectCCToShiftAnd() local
27051 if (!isNullConstant(N3) || !XType.bitsGE(AType)) in foldSelectCCToShiftAnd()
27076 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()
27077 if (!TLI.shouldAvoidTransformToShift(XType, ShCt)) { in foldSelectCCToShiftAnd()
27079 SDValue Shift = DAG.getNode(ISD::SRL, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd()
27082 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()
27094 unsigned ShCt = XType.getSizeInBits() - 1; in foldSelectCCToShiftAnd()
27095 if (TLI.shouldAvoidTransformToShift(XType, ShCt)) in foldSelectCCToShiftAnd()
27099 SDValue Shift = DAG.getNode(ISD::SRA, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd()
27102 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()