Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2332 auto *XType = cast<FixedVectorType>(X->getType()); in visitShuffleVectorInst() local
2333 unsigned XNumElts = XType->getNumElements(); in visitShuffleVectorInst()
2346 if (auto *V = SimplifyShuffleVectorInst(X, UndefValue::get(XType), in visitShuffleVectorInst()
2347 ScaledMask, XType, ShufQuery)) in visitShuffleVectorInst()
H A DInstCombineCasts.cpp1883 Type *XType = X->getType(); in foldItoFPtoI() local
1904 if (DestType->getScalarSizeInBits() > XType->getScalarSizeInBits()) { in foldItoFPtoI()
1910 if (DestType->getScalarSizeInBits() < XType->getScalarSizeInBits()) in foldItoFPtoI()
1913 assert(XType == DestType && "Unexpected types for int to FP to int casts"); in foldItoFPtoI()
H A DInstCombineCompares.cpp2829 Type *XType = X->getType(); in foldICmpBitCast() local
2832 if (!(XType->isPPC_FP128Ty() || BCSrcOp->getType()->isPPC_FP128Ty())) { in foldICmpBitCast()
2834 Type *NewType = Builder.getIntNTy(XType->getScalarSizeInBits()); in foldICmpBitCast()
2835 if (auto *XVTy = dyn_cast<VectorType>(XType)) in foldICmpBitCast()
3487 auto *XType = X->getType(); in foldICmpWithTruncSignExtendedVal() local
3488 const unsigned XBitWidth = XType->getScalarSizeInBits(); in foldICmpWithTruncSignExtendedVal()
3503 Value *T0 = Builder.CreateAdd(X, ConstantInt::get(XType, AddCst)); in foldICmpWithTruncSignExtendedVal()
3505 Value *T1 = Builder.CreateICmp(DstPred, T0, ConstantInt::get(XType, ICmpCst)); in foldICmpWithTruncSignExtendedVal()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3299 EVT XType = SRASrc0.getValueType(); in tryABSOp() local
3300 unsigned Size = XType.getSizeInBits() - 1; in tryABSOp()
3303 XType.isInteger() && SRAConstant != nullptr && in tryABSOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp22126 EVT XType = N0.getValueType(); in foldSelectCCToShiftAnd() local
22128 if (!isNullConstant(N3) || !XType.bitsGE(AType)) in foldSelectCCToShiftAnd()
22153 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()
22154 if (!TLI.shouldAvoidTransformToShift(XType, ShCt)) { in foldSelectCCToShiftAnd()
22156 SDValue Shift = DAG.getNode(ISD::SRL, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd()
22159 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()
22171 unsigned ShCt = XType.getSizeInBits() - 1; in foldSelectCCToShiftAnd()
22172 if (TLI.shouldAvoidTransformToShift(XType, ShCt)) in foldSelectCCToShiftAnd()
22176 SDValue Shift = DAG.getNode(ISD::SRA, DL, XType, N0, ShiftAmt); in foldSelectCCToShiftAnd()
22179 if (XType.bitsGT(AType)) { in foldSelectCCToShiftAnd()