Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp592 Type *XType = X1->getType(); in tryToRecognizeTableBasedCttz() local
593 auto Cttz = B.CreateIntrinsic(Intrinsic::cttz, {XType}, {X1, BoolConst}); in tryToRecognizeTableBasedCttz()
601 auto Cmp = B.CreateICmpEQ(X1, ConstantInt::get(XType, 0)); in tryToRecognizeTableBasedCttz()
603 B.CreateSelect(Cmp, ConstantInt::get(XType, ZeroTableElem), Cttz); in tryToRecognizeTableBasedCttz()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1920 Type *XType = X->getType(); in foldItoFPtoI() local
1941 if (DestType->getScalarSizeInBits() > XType->getScalarSizeInBits()) { in foldItoFPtoI()
1947 if (DestType->getScalarSizeInBits() < XType->getScalarSizeInBits()) in foldItoFPtoI()
1950 assert(XType == DestType && "Unexpected types for int to FP to int casts"); in foldItoFPtoI()
H A DInstCombineVectorOps.cpp2842 auto *XType = cast<FixedVectorType>(X->getType()); in visitShuffleVectorInst() local
2843 unsigned XNumElts = XType->getNumElements(); in visitShuffleVectorInst()
2848 if (auto *V = simplifyShuffleVectorInst(X, UndefValue::get(XType), in visitShuffleVectorInst()
2849 ScaledMask, XType, ShufQuery)) in visitShuffleVectorInst()
H A DInstCombineCompares.cpp1647 Type *XType = X->getType(); in foldICmpXorShiftConst() local
1650 Value *Add = Builder.CreateAdd(X, ConstantInt::get(XType, PowerOf2)); in foldICmpXorShiftConst()
1653 return new ICmpInst(Pred, Add, ConstantInt::get(XType, Bound)); in foldICmpXorShiftConst()
3316 Type *XType = X->getType(); in foldICmpBitCast() local
3319 if (!(XType->isPPC_FP128Ty() || SrcType->isPPC_FP128Ty())) { in foldICmpBitCast()
3320 Type *NewType = Builder.getIntNTy(XType->getScalarSizeInBits()); in foldICmpBitCast()
3321 if (auto *XVTy = dyn_cast<VectorType>(XType)) in foldICmpBitCast()
4462 auto *XType = X->getType(); in foldICmpWithTruncSignExtendedVal() local
4463 const unsigned XBitWidth = XType->getScalarSizeInBits(); in foldICmpWithTruncSignExtendedVal()
4478 Value *T0 = Builder.CreateAdd(X, ConstantInt::get(XType, AddCst)); in foldICmpWithTruncSignExtendedVal()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp231 QualType XType = X.getNonTypeTemplateArgumentType(); in checkDeducedTemplateArguments() local
232 if (!XType.isNull()) { in checkDeducedTemplateArguments()
234 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3497 EVT XType = SRASrc0.getValueType(); in tryABSOp() local
3498 unsigned Size = XType.getSizeInBits() - 1; in tryABSOp()
3500 if (XORSrc1 == SUBSrc1 && XORSrc0 == SRASrc0 && XType.isInteger() && in tryABSOp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp27443 EVT XType = N0.getValueType(); in foldSelectCCToShiftAnd() local
27445 if (!isNullConstant(N3) || !XType.bitsGE(AType)) in foldSelectCCToShiftAnd()
27469 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()
27470 if (!TLI.shouldAvoidTransformToShift(XType, ShCt)) { in foldSelectCCToShiftAnd()
27471 SDValue ShiftAmt = DAG.getShiftAmountConstant(ShCt, XType, DL); in foldSelectCCToShiftAnd()
27472 SDValue Shift = DAG.getNode(ISD::SRL, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd()
27475 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()
27487 unsigned ShCt = XType.getSizeInBits() - 1; in foldSelectCCToShiftAnd()
27488 if (TLI.shouldAvoidTransformToShift(XType, ShCt)) in foldSelectCCToShiftAnd()
27491 SDValue ShiftAmt = DAG.getShiftAmountConstant(ShCt, XType, DL); in foldSelectCCToShiftAnd()
[all …]