Searched refs:SrcBits (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DBoolean.h93 template <unsigned SrcBits, bool SrcSign>
94 static typename std::enable_if<SrcBits != 0, Boolean>::type from(
95 Integral<SrcBits, SrcSign> Value) {
H A DIntegral.h76 template <unsigned SrcBits, bool SrcSign>
77 explicit Integral(Integral<SrcBits, SrcSign> V) : V(V.V) {}
164 template <unsigned SrcBits, bool SrcSign>
165 static typename std::enable_if<SrcBits != 0, Integral>::type
166 from(Integral<SrcBits, SrcSign> Value) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2908 unsigned SrcBits = C->getType()->getScalarSizeInBits(); local
2911 (SrcBits == DstBits ? Instruction::BitCast :
2912 (SrcBits > DstBits ? Instruction::Trunc :
2922 unsigned SrcBits = C->getType()->getScalarSizeInBits(); local
2925 (SrcBits == DstBits ? Instruction::BitCast :
2926 (SrcBits > DstBits ? Instruction::Trunc :
2936 unsigned SrcBits = C->getType()->getScalarSizeInBits(); local
2939 (SrcBits == DstBits ? Instruction::BitCast :
2940 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt));
2949 unsigned SrcBits local
2975 TypeSize SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr local
3037 TypeSize SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr local
3098 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr local
[all...]
H A DConstants.cpp1715 unsigned SrcBits = C->getType()->getScalarSizeInBits(); local
1718 (SrcBits == DstBits ? Instruction::BitCast :
1719 (SrcBits > DstBits ? Instruction::Trunc :
1727 unsigned SrcBits = C->getType()->getScalarSizeInBits(); local
1729 if (SrcBits == DstBits)
1732 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp4126 unsigned SrcBits = SrcVT.getSizeInBits(); local
4173 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift);
4233 unsigned SrcBits = SrcVT.getSizeInBits(); local
4278 if (Shift >= SrcBits && IsZExt)
4289 SrcBits = SrcVT.getSizeInBits();
4293 unsigned ImmR = std::min<unsigned>(SrcBits - 1, Shift);
4294 unsigned ImmS = SrcBits - 1;
4354 unsigned SrcBits = SrcVT.getSizeInBits(); local
4399 if (Shift >= SrcBits && IsZExt)
4402 unsigned ImmR = std::min<unsigned>(SrcBits
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2676 unsigned SrcBits = SrcVT.getSizeInBits(); local
2679 assert((SrcBits < DestBits) && "can only extend to larger types");
2682 assert((SrcBits == 16 || SrcBits == 8 || SrcBits == 1) &&
2686 unsigned Bitness = SrcBits / 8; // {1,8,16}=>{0,1,2}
H A DARMISelLowering.cpp7553 // trunc. So only std::min(SrcBits, DestBits) actually get defined in this
14882 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); local
14884 return (SrcBits == 64 && DestBits == 32);
14891 unsigned SrcBits = SrcVT.getSizeInBits(); local
14893 return (SrcBits == 64 && DestBits == 32);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1003 unsigned SrcBits = Src->getType()->getScalarSizeInBits(); local
1006 if (SrcBits <= DstBits)
1056 unsigned SrcBits = SrcTy->getScalarSizeInBits(); local
1058 (void)SrcBits; // Only used in assert()
1061 assert(((SrcBits != DstBits) || (SrcSigned != DstSigned)) &&
1117 unsigned SrcBits = SrcTy->getScalarSizeInBits(); local
1125 if (SrcSigned == DstSigned && SrcBits == DstBits)
1134 if ((DstBits > SrcBits) && DstSigned)
1137 (SrcBits > DstBits) && SrcSigned) {
1162 (SrcBits > DstBit
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp2253 unsigned SrcBits = SE.getTypeSizeInBits(ExitCount->getType()); local
2261 IntegerType *CountTy = IntegerType::get(Loc->getContext(), SrcBits);
2321 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp315 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); local
317 return (SrcBits == 64 && DestBits == 32);
324 unsigned SrcBits = SrcVT.getSizeInBits(); local
326 return (SrcBits == 64 && DestBits == 32);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1545 SrcBits = X->getType()->getScalarSizeInBits(); local
1549 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) {
1551 APInt NewRHS = C.zext(SrcBits);
1552 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3587 unsigned SrcBits = SrcVT.getScalarSizeInBits();
3594 if (VTBits == SrcBits)
3600 if ((SrcBits % VTBits) == 0) {
3603 unsigned Scale = SrcBits / VTBits;
3611 if (Tmp == SrcBits)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp[all...]

Completed in 611 milliseconds