| /llvm-project-15.0.7/libc/src/__support/FPUtil/x86_64/ |
| H A D | LongDoubleBits.h | 102 template <typename XType, 103 cpp::EnableIfType<cpp::IsSame<long double, XType>::Value, int> = 0> 104 explicit FPBits(XType x) : bits(__llvm_libc::bit_cast<UIntType>(x)) { 110 template <typename XType, 111 cpp::EnableIfType<cpp::IsSame<XType, UIntType>::Value, int> = 0> 112 explicit FPBits(XType x) : bits(x) {}
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/ |
| H A D | FPBits.h | 106 template <typename XType, 107 cpp::EnableIfType<cpp::IsSame<T, XType>::Value, int> = 0> 108 constexpr explicit FPBits(XType x) in FPBits() 111 template <typename XType, 112 cpp::EnableIfType<cpp::IsSame<XType, UIntType>::Value, int> = 0> 113 constexpr explicit FPBits(XType x) : bits(x) {} in FPBits()
|
| /llvm-project-15.0.7/libc/utils/MPFRWrapper/ |
| H A D | MPFRUtils.cpp | 123 template <typename XType, 124 cpp::EnableIfType<cpp::IsSame<float, XType>::Value, int> = 0> 125 explicit MPFRNumber(XType x, int precision = ExtraPrecision<XType>::VALUE, in MPFRNumber() 133 template <typename XType, 134 cpp::EnableIfType<cpp::IsSame<double, XType>::Value, int> = 0> 135 explicit MPFRNumber(XType x, int precision = ExtraPrecision<XType>::VALUE, in MPFRNumber() 143 template <typename XType, 145 explicit MPFRNumber(XType x, int precision = ExtraPrecision<XType>::VALUE, in MPFRNumber() 153 template <typename XType, 154 cpp::EnableIfType<cpp::IsIntegral<XType>::Value, int> = 0> [all …]
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-c99.cpp | 10 template<typename T, typename XType, typename YType> 12 void f(XType x, YType y) { in f()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 2589 auto *XType = cast<FixedVectorType>(X->getType()); in visitShuffleVectorInst() local 2590 unsigned XNumElts = XType->getNumElements(); in visitShuffleVectorInst() 2603 if (auto *V = simplifyShuffleVectorInst(X, UndefValue::get(XType), in visitShuffleVectorInst() 2604 ScaledMask, XType, ShufQuery)) in visitShuffleVectorInst()
|
| H A D | InstCombineCasts.cpp | 1978 Type *XType = X->getType(); in foldItoFPtoI() local 1999 if (DestType->getScalarSizeInBits() > XType->getScalarSizeInBits()) { in foldItoFPtoI() 2005 if (DestType->getScalarSizeInBits() < XType->getScalarSizeInBits()) in foldItoFPtoI() 2008 assert(XType == DestType && "Unexpected types for int to FP to int casts"); in foldItoFPtoI()
|
| H A D | InstCombineCompares.cpp | 3023 Type *XType = X->getType(); in foldICmpBitCast() local 3026 if (!(XType->isPPC_FP128Ty() || SrcType->isPPC_FP128Ty())) { in foldICmpBitCast() 3027 Type *NewType = Builder.getIntNTy(XType->getScalarSizeInBits()); in foldICmpBitCast() 3028 if (auto *XVTy = dyn_cast<VectorType>(XType)) in foldICmpBitCast() 3778 auto *XType = X->getType(); in foldICmpWithTruncSignExtendedVal() local 3779 const unsigned XBitWidth = XType->getScalarSizeInBits(); in foldICmpWithTruncSignExtendedVal() 3794 Value *T0 = Builder.CreateAdd(X, ConstantInt::get(XType, AddCst)); in foldICmpWithTruncSignExtendedVal() 3796 Value *T1 = Builder.CreateICmp(DstPred, T0, ConstantInt::get(XType, ICmpCst)); in foldICmpWithTruncSignExtendedVal()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 226 QualType XType = X.getNonTypeTemplateArgumentType(); in checkDeducedTemplateArguments() local 227 if (!XType.isNull()) { in checkDeducedTemplateArguments() 229 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 3493 EVT XType = SRASrc0.getValueType(); in tryABSOp() local 3494 unsigned Size = XType.getSizeInBits() - 1; in tryABSOp() 3496 if (XORSrc1 == SUBSrc1 && XORSrc0 == SRASrc0 && XType.isInteger() && in tryABSOp()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 23890 EVT XType = N0.getValueType(); in foldSelectCCToShiftAnd() local 23892 if (!isNullConstant(N3) || !XType.bitsGE(AType)) in foldSelectCCToShiftAnd() 23917 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd() 23918 if (!TLI.shouldAvoidTransformToShift(XType, ShCt)) { in foldSelectCCToShiftAnd() 23920 SDValue Shift = DAG.getNode(ISD::SRL, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd() 23923 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd() 23935 unsigned ShCt = XType.getSizeInBits() - 1; in foldSelectCCToShiftAnd() 23936 if (TLI.shouldAvoidTransformToShift(XType, ShCt)) in foldSelectCCToShiftAnd() 23940 SDValue Shift = DAG.getNode(ISD::SRA, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd() 23943 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()
|