Home
last modified time | relevance | path

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

/external/llvm-project/libc/utils/FPUtil/
DLongDoubleBitsX86.h52 template <typename XType,
53 cpp::EnableIfType<cpp::IsSame<long double, XType>::Value, int> = 0>
54 explicit FPBits<long double>(XType x) {
89 template <typename XType,
90 cpp::EnableIfType<cpp::IsSame<UIntType, XType>::Value, int> = 0>
91 explicit FPBits<long double>(XType x) {
DFPBits.h86 template <typename XType,
87 cpp::EnableIfType<cpp::IsSame<T, XType>::Value, int> = 0>
88 explicit FPBits(XType x) {
109 template <typename XType,
110 cpp::EnableIfType<cpp::IsSame<UIntType, XType>::Value, int> = 0>
111 explicit FPBits<long double>(XType x) {
/external/rust/crates/plotters/src/element/
Derrorbar.rs8 type XType; typedef
11 fn make_coord(key: K, val: V) -> (Self::XType, Self::YType); in make_coord() argument
20 type XType = V; typedef
36 type XType = K; typedef
97 impl<'a, K: Clone, V: Clone, O: ErrorBarOrient<K, V>> PointCollection<'a, (O::XType, O::YType)>
100 type Point = (O::XType, O::YType);
Dboxplot.rs10 type XType; typedef
13 fn make_coord(key: K, val: V) -> (Self::XType, Self::YType); in make_coord() argument
24 type XType = K; typedef
37 type XType = V; typedef
180 impl<'a, K: Clone, O: BoxplotOrient<K, f32>> PointCollection<'a, (O::XType, O::YType)>
183 type Point = (O::XType, O::YType);
/external/llvm-project/libc/utils/MPFRWrapper/
DMPFRUtils.cpp51 template <typename XType,
52 cpp::EnableIfType<cpp::IsSame<float, XType>::Value, int> = 0>
53 explicit MPFRNumber(XType x) { in MPFRNumber()
58 template <typename XType,
59 cpp::EnableIfType<cpp::IsSame<double, XType>::Value, int> = 0>
60 explicit MPFRNumber(XType x) { in MPFRNumber()
65 template <typename XType,
66 cpp::EnableIfType<cpp::IsSame<long double, XType>::Value, int> = 0>
67 explicit MPFRNumber(XType x) { in MPFRNumber()
72 template <typename XType,
[all …]
/external/clang/test/SemaTemplate/
Dinstantiate-c99.cpp8 template<typename T, typename XType, typename YType>
10 void f(XType x, YType y) { in f()
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-c99.cpp10 template<typename T, typename XType, typename YType>
12 void f(XType x, YType y) { in f()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp2306 auto *XType = cast<FixedVectorType>(X->getType()); in visitShuffleVectorInst() local
2307 unsigned XNumElts = XType->getNumElements(); in visitShuffleVectorInst()
2320 if (auto *V = SimplifyShuffleVectorInst(X, UndefValue::get(XType), in visitShuffleVectorInst()
2321 ScaledMask, XType, ShufQuery)) in visitShuffleVectorInst()
DInstCombineCasts.cpp1865 Type *XType = X->getType(); in foldItoFPtoI() local
1886 if (DestType->getScalarSizeInBits() > XType->getScalarSizeInBits()) { in foldItoFPtoI()
1892 if (DestType->getScalarSizeInBits() < XType->getScalarSizeInBits()) in foldItoFPtoI()
1895 assert(XType == DestType && "Unexpected types for int to FP to int casts"); in foldItoFPtoI()
DInstCombineCompares.cpp2823 Type *XType = X->getType(); in foldICmpBitCast() local
2826 if (!(XType->isPPC_FP128Ty() || BCSrcOp->getType()->isPPC_FP128Ty())) { in foldICmpBitCast()
2828 Type *NewType = Builder.getIntNTy(XType->getScalarSizeInBits()); in foldICmpBitCast()
2829 if (auto *XVTy = dyn_cast<VectorType>(XType)) in foldICmpBitCast()
3482 auto *XType = X->getType(); in foldICmpWithTruncSignExtendedVal() local
3483 const unsigned XBitWidth = XType->getScalarSizeInBits(); in foldICmpWithTruncSignExtendedVal()
3498 Value *T0 = Builder.CreateAdd(X, ConstantInt::get(XType, AddCst)); in foldICmpWithTruncSignExtendedVal()
3500 Value *T1 = Builder.CreateICmp(DstPred, T0, ConstantInt::get(XType, ICmpCst)); in foldICmpWithTruncSignExtendedVal()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp14259 EVT XType = N0.getValueType(); in SimplifySelectCC() local
14261 if (XType.bitsGE(AType)) { in SimplifySelectCC()
14266 ShCtV = XType.getSizeInBits() - ShCtV - 1; in SimplifySelectCC()
14270 XType, N0, ShCt); in SimplifySelectCC()
14273 if (XType.bitsGT(AType)) { in SimplifySelectCC()
14282 XType, N0, in SimplifySelectCC()
14283 DAG.getConstant(XType.getSizeInBits() - 1, in SimplifySelectCC()
14288 if (XType.bitsGT(AType)) { in SimplifySelectCC()
14388 EVT XType = N0.getValueType(); in SimplifySelectCC() local
14389 if (SubC && SubC->isNullValue() && XType.isInteger()) { in SimplifySelectCC()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3439 auto *XType = X->getType(); in foldICmpWithTruncSignExtendedVal() local
3440 const unsigned XBitWidth = XType->getScalarSizeInBits(); in foldICmpWithTruncSignExtendedVal()
3455 Value *T0 = Builder.CreateAdd(X, ConstantInt::get(XType, AddCst)); in foldICmpWithTruncSignExtendedVal()
3457 Value *T1 = Builder.CreateICmp(DstPred, T0, ConstantInt::get(XType, ICmpCst)); in foldICmpWithTruncSignExtendedVal()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2482 EVT XType = SRASrc0.getValueType(); in tryABSOp() local
2483 unsigned Size = XType.getSizeInBits() - 1; in tryABSOp()
2486 XType.isInteger() && SRAConstant != nullptr && in tryABSOp()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateDeduction.cpp240 QualType XType = X.getNonTypeTemplateArgumentType(); in checkDeducedTemplateArguments() local
241 if (!XType.isNull()) { in checkDeducedTemplateArguments()
243 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2981 EVT XType = SRASrc0.getValueType(); in tryABSOp() local
2982 unsigned Size = XType.getSizeInBits() - 1; in tryABSOp()
2985 XType.isInteger() && SRAConstant != nullptr && in tryABSOp()
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp3187 EVT XType = SRASrc0.getValueType(); in tryABSOp() local
3188 unsigned Size = XType.getSizeInBits() - 1; in tryABSOp()
3191 XType.isInteger() && SRAConstant != nullptr && in tryABSOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp20236 EVT XType = N0.getValueType(); in foldSelectCCToShiftAnd() local
20238 if (!isNullConstant(N3) || !XType.bitsGE(AType)) in foldSelectCCToShiftAnd()
20263 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()
20264 if (!TLI.shouldAvoidTransformToShift(XType, ShCt)) { in foldSelectCCToShiftAnd()
20266 SDValue Shift = DAG.getNode(ISD::SRL, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd()
20269 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()
20281 unsigned ShCt = XType.getSizeInBits() - 1; in foldSelectCCToShiftAnd()
20282 if (TLI.shouldAvoidTransformToShift(XType, ShCt)) in foldSelectCCToShiftAnd()
20286 SDValue Shift = DAG.getNode(ISD::SRA, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd()
20289 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp21671 EVT XType = N0.getValueType(); in foldSelectCCToShiftAnd() local
21673 if (!isNullConstant(N3) || !XType.bitsGE(AType)) in foldSelectCCToShiftAnd()
21698 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()
21699 if (!TLI.shouldAvoidTransformToShift(XType, ShCt)) { in foldSelectCCToShiftAnd()
21701 SDValue Shift = DAG.getNode(ISD::SRL, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd()
21704 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()
21716 unsigned ShCt = XType.getSizeInBits() - 1; in foldSelectCCToShiftAnd()
21717 if (TLI.shouldAvoidTransformToShift(XType, ShCt)) in foldSelectCCToShiftAnd()
21721 SDValue Shift = DAG.getNode(ISD::SRA, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd()
21724 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.td2843 // Template Class -- XType Vector Instructions